GtkEntry: Focus the entry without selecting the text
Focusing the text entry without selecting all the text is needed in some places (GtkTreeView, and some uses of GtkSearchEntry) so create a private helper to avoid replicating the hacks. https://bugzilla.gnome.org/show_bug.cgi?id=700787
This commit is contained in:
@ -87,7 +87,8 @@ void _gtk_entry_get_borders (GtkEntry *entry,
|
||||
GtkIMContext* _gtk_entry_get_im_context (GtkEntry *entry);
|
||||
void _gtk_entry_set_is_cell_renderer (GtkEntry *entry,
|
||||
gboolean is_cell_renderer);
|
||||
|
||||
void _gtk_entry_grab_focus (GtkEntry *entry,
|
||||
gboolean select_all);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user