Correct misleading docs. Add docs for the "activate" signal. (#129358,

Thu Dec 18 01:37:59 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkwidget.c (gtk_widget_activate): Correct misleading docs.
	* gtk/gtkbutton.c (gtk_button_class_init): Add docs for the
	"activate" signal.  (#129358, Ka-Hing Cheung)
This commit is contained in:
Matthias Clasen 2003-12-18 00:39:17 +00:00 committed by Matthias Clasen
parent 66def98927
commit 3050f437c5
7 changed files with 41 additions and 3 deletions

View File

@ -1,3 +1,9 @@
Thu Dec 18 01:37:59 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkwidget.c (gtk_widget_activate): Correct misleading docs.
* gtk/gtkbutton.c (gtk_button_class_init): Add docs for the
"activate" signal. (#129358, Ka-Hing Cheung)
Thu Dec 18 01:21:59 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_class_init): Jonathan got

View File

@ -1,3 +1,9 @@
Thu Dec 18 01:37:59 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkwidget.c (gtk_widget_activate): Correct misleading docs.
* gtk/gtkbutton.c (gtk_button_class_init): Add docs for the
"activate" signal. (#129358, Ka-Hing Cheung)
Thu Dec 18 01:21:59 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_class_init): Jonathan got

View File

@ -1,3 +1,9 @@
Thu Dec 18 01:37:59 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkwidget.c (gtk_widget_activate): Correct misleading docs.
* gtk/gtkbutton.c (gtk_button_class_init): Add docs for the
"activate" signal. (#129358, Ka-Hing Cheung)
Thu Dec 18 01:21:59 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_class_init): Jonathan got

View File

@ -1,3 +1,9 @@
Thu Dec 18 01:37:59 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkwidget.c (gtk_widget_activate): Correct misleading docs.
* gtk/gtkbutton.c (gtk_button_class_init): Add docs for the
"activate" signal. (#129358, Ka-Hing Cheung)
Thu Dec 18 01:21:59 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_class_init): Jonathan got

View File

@ -1,3 +1,9 @@
Thu Dec 18 01:37:59 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkwidget.c (gtk_widget_activate): Correct misleading docs.
* gtk/gtkbutton.c (gtk_button_class_init): Add docs for the
"activate" signal. (#129358, Ka-Hing Cheung)
Thu Dec 18 01:21:59 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_class_init): Jonathan got

View File

@ -316,6 +316,15 @@ gtk_button_class_init (GtkButtonClass *klass)
NULL, NULL,
_gtk_marshal_VOID__VOID,
G_TYPE_NONE, 0);
/**
* GtkButton::activate:
*
* The "activate" signal on GtkButton is an action signal and
* emitting it causes the button to animate press then release.
* Applications should never connect to this signal, but use the
* "clicked" signal.
*/
button_signals[ACTIVATE] =
g_signal_new ("activate",
G_OBJECT_CLASS_TYPE (object_class),

View File

@ -3557,9 +3557,8 @@ gtk_widget_event_internal (GtkWidget *widget,
*
* For widgets that can be "activated" (buttons, menu items, etc.)
* this function activates them. Activation is what happens when you
* press Enter on a widget during key navigation; clicking a button,
* selecting a menu item, etc. If @widget isn't activatable,
* the function returns %FALSE.
* press Enter on a widget during key navigation. If @widget isn't
* activatable, the function returns %FALSE.
*
* Return value: %TRUE if the widget was activatable
**/