forked from AuroraMiddleware/gtk
docs: Document various entry ::activate signals
This commit is contained in:
parent
aac9414117
commit
4a2c817690
@ -941,6 +941,14 @@ gtk_entry_class_init (GtkEntryClass *class)
|
||||
g_object_class_override_property (gobject_class, PROP_EDITING_CANCELED, "editing-canceled");
|
||||
gtk_editable_install_properties (gobject_class, PROP_EDITING_CANCELED + 1);
|
||||
|
||||
/**
|
||||
* GtkEntry:activate:
|
||||
* @self: The widget on which the signal is emitted
|
||||
*
|
||||
* The ::activate signal is forwarded from the
|
||||
* #GtkText::activated signal, which is a keybinding
|
||||
* signal for all forms of the Enter key.
|
||||
*/
|
||||
signals[ACTIVATE] =
|
||||
g_signal_new (I_("activate"),
|
||||
G_OBJECT_CLASS_TYPE (gobject_class),
|
||||
|
@ -452,6 +452,14 @@ gtk_password_entry_class_init (GtkPasswordEntryClass *klass)
|
||||
g_object_class_install_properties (object_class, NUM_PROPERTIES, props);
|
||||
gtk_editable_install_properties (object_class, NUM_PROPERTIES);
|
||||
|
||||
/**
|
||||
* GtkPasswordEntry:activate:
|
||||
* @self: The widget on which the signal is emitted
|
||||
*
|
||||
* The ::activate signal is forwarded from the
|
||||
* #GtkText::activated signal, which is a keybinding
|
||||
* signal for all forms of the Enter key.
|
||||
*/
|
||||
signals[ACTIVATE] =
|
||||
g_signal_new (I_("activate"),
|
||||
G_OBJECT_CLASS_TYPE (object_class),
|
||||
|
@ -295,6 +295,14 @@ gtk_search_entry_class_init (GtkSearchEntryClass *klass)
|
||||
g_object_class_install_properties (object_class, NUM_PROPERTIES, props);
|
||||
gtk_editable_install_properties (object_class, NUM_PROPERTIES);
|
||||
|
||||
/**
|
||||
* GtkSearchEntry:activate:
|
||||
* @self: The widget on which the signal is emitted
|
||||
*
|
||||
* The ::activate signal is forwarded from the
|
||||
* #GtkText::activated signal, which is a keybinding
|
||||
* signal for all forms of the Enter key.
|
||||
*/
|
||||
signals[ACTIVATE] =
|
||||
g_signal_new (I_("activate"),
|
||||
G_OBJECT_CLASS_TYPE (object_class),
|
||||
|
@ -949,7 +949,7 @@ gtk_text_class_init (GtkTextClass *class)
|
||||
|
||||
/**
|
||||
* GtkText::activate:
|
||||
* @self: The self on which the signal is emitted
|
||||
* @self: The widget on which the signal is emitted
|
||||
*
|
||||
* The ::activate signal is emitted when the user hits
|
||||
* the Enter key.
|
||||
|
Loading…
Reference in New Issue
Block a user