Description Usage Arguments Author(s)
Sets the cursor position in an entry to the given value.
WARNING: gtk_entry_set_position
has been deprecated since version 2.0 and should not be used in newly-written code. Use gtkEditableSetPosition
instead.
1 | gtkEntrySetPosition(object, position)
|
|
a |
|
the position of the cursor. The cursor is displayed before the character with the given (base 0) index in the widget. The value must be less than or equal to the number of characters in the widget. A value of -1 indicates that the position should be set after the last character in the entry. Note that this position is in characters, not in bytes. |
Derived by RGtkGen from GTK+ documentation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.