diff --git a/docs/reference/gtk/tmpl/.gitignore b/docs/reference/gtk/tmpl/.gitignore index ae6f64520c..409c0e8bd5 100644 --- a/docs/reference/gtk/tmpl/.gitignore +++ b/docs/reference/gtk/tmpl/.gitignore @@ -103,6 +103,7 @@ gtktexttag.sgml gtktexttagtable.sgml gtktextview.sgml gtktoggleaction.sgml +gtktoggletoolbutton.sgml gtktoolbar.sgml gtktoolitem.sgml gtktooltip.sgml diff --git a/docs/reference/gtk/tmpl/gtktoggletoolbutton.sgml b/docs/reference/gtk/tmpl/gtktoggletoolbutton.sgml deleted file mode 100644 index 738e4b9291..0000000000 --- a/docs/reference/gtk/tmpl/gtktoggletoolbutton.sgml +++ /dev/null @@ -1,105 +0,0 @@ - -GtkToggleToolButton - - -A GtkToolItem containing a toggle button - - - - A #GtkToggleToolButton is a #GtkToolItem that contains a toggle - button. - - - - Use gtk_toggle_tool_button_new() to create a new - #GtkToggleToolButton. Use gtk_toggle_tool_button_new_from_stock() to - create a new #GtkToggleToolButton containing a stock item. - - - - - - - - #GtkToolbar - The toolbar widget - #GtkToolButton - - - The parent class of #GtkToggleToolButton. The properties - "label_widget", "label", "icon_widget", and "stock_id" on - #GtkToolButton determine the label and icon used on - #GtkToggleToolButtons. - - - #GtkSeparatorToolItem - - A subclass of #GtkToolItem that separates groups of - items on a toolbar. - - - - - - - - - - - - - - - The #GtkToggleToolButton struct contains only private data and - should only be accessed through the functions described below. - - - - - - - - -@toggletoolbutton: the object which received the signal. - - - - - - - - - - - -@void: -@Returns: - - - - - - - -@stock_id: -@Returns: - - - - - - - -@button: -@is_active: - - - - - - - -@button: -@Returns: - - diff --git a/gtk/gtktoggletoolbutton.c b/gtk/gtktoggletoolbutton.c index e6cea93c93..9207ca6341 100644 --- a/gtk/gtktoggletoolbutton.c +++ b/gtk/gtktoggletoolbutton.c @@ -32,6 +32,21 @@ #include "gtkprivate.h" +/** + * SECTION:gtktoggletoolbutton + * @Short_description: A GtkToolItem containing a toggle button + * @Title: GtkToggleToolButton + * @See_also: #GtkToolbar, #GtkToolButton, #GtkSeparatorToolItem + * + * A #GtkToggleToolButton is a #GtkToolItem that contains a toggle + * button. + * + * Use gtk_toggle_tool_button_new() to create a new + * #GtkToggleToolButton. Use gtk_toggle_tool_button_new_from_stock() to + * create a new #GtkToggleToolButton containing a stock item. + */ + + #define MENU_ID "gtk-toggle-tool-button-menu-id" enum {