Added documentation for GtkWidget::popup_menu.

2004-01-22  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkwidget.c (gtk_widget_class_init): Added documentation for
	GtkWidget::popup_menu.
This commit is contained in:
Federico Mena Quintero
2004-01-22 21:34:16 +00:00
committed by Federico Mena Quintero
parent d49500e4b7
commit 2361bd9f39
6 changed files with 37 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2004-01-22 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkwidget.c (gtk_widget_class_init): Added documentation for
GtkWidget::popup_menu.
Thu Jan 22 21:45:24 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkmenu.c (gtk_menu_remove): Remove the attach

View File

@@ -1,3 +1,8 @@
2004-01-22 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkwidget.c (gtk_widget_class_init): Added documentation for
GtkWidget::popup_menu.
Thu Jan 22 21:45:24 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkmenu.c (gtk_menu_remove): Remove the attach

View File

@@ -1,3 +1,8 @@
2004-01-22 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkwidget.c (gtk_widget_class_init): Added documentation for
GtkWidget::popup_menu.
Thu Jan 22 21:45:24 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkmenu.c (gtk_menu_remove): Remove the attach

View File

@@ -1,3 +1,8 @@
2004-01-22 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkwidget.c (gtk_widget_class_init): Added documentation for
GtkWidget::popup_menu.
Thu Jan 22 21:45:24 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkmenu.c (gtk_menu_remove): Remove the attach

View File

@@ -1,3 +1,8 @@
2004-01-22 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkwidget.c (gtk_widget_class_init): Added documentation for
GtkWidget::popup_menu.
Thu Jan 22 21:45:24 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkmenu.c (gtk_menu_remove): Remove the attach

View File

@@ -1279,6 +1279,18 @@ gtk_widget_class_init (GtkWidgetClass *klass)
_gtk_marshal_BOOLEAN__BOXED,
G_TYPE_BOOLEAN, 1,
GDK_TYPE_EVENT | G_SIGNAL_TYPE_STATIC_SCOPE);
/**
* GtkWidget::popup-menu
* @widget: the object which received the signal
* @returns: TRUE if a menu was activated
*
* This signal gets emitted whenever a widget should pop up a context-sensitive
* menu. This usually happens through the standard key binding mechanism; by
* pressing a certain key while a widget is focused, the user can cause the
* widget to pop up a menu. For example, the #GtkEntry widget creates a menu
* with clipboard commands. See <xref linkend="checklist-popup-menu"/> for an
* example of how to use this signal.
*/
widget_signals[POPUP_MENU] =
g_signal_new ("popup_menu",
G_TYPE_FROM_CLASS (gobject_class),