Synopsis
#include <gtk/gtk.h>
GtkSeparatorToolItem;
GtkToolItem* gtk_separator_tool_item_new (void);
void gtk_separator_tool_item_set_draw (GtkSeparatorToolItem *item,
gboolean draw);
gboolean gtk_separator_tool_item_get_draw (GtkSeparatorToolItem *item);
Object Hierarchy
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkToolItem
+----GtkSeparatorToolItem
DescriptionA GtkSeparatorItem is a GtkToolItem that separates groups of other GtkToolItems. Depending on the theme, a GtkSeparatorToolItem will often look like a vertical line on horizontally docked toolbars. If the property "expand" is TRUE and the property "draw" is FALSE, a GtkSeparatorToolItem will act as a "spring" that forces other items to the ends of the toolbar.
Use DetailsGtkSeparatorToolItemtypedef struct _GtkSeparatorToolItem GtkSeparatorToolItem; The GtkSeparatorToolItem struct contains only private data and should only be accessed through the functions described below. gtk_separator_tool_item_new ()GtkToolItem* gtk_separator_tool_item_new (void); Create a new GtkSeparatorToolItem
Since 2.4 gtk_separator_tool_item_set_draw ()void gtk_separator_tool_item_set_draw (GtkSeparatorToolItem *item, gboolean draw);
When
Since 2.4 gtk_separator_tool_item_get_draw ()gboolean gtk_separator_tool_item_get_draw (GtkSeparatorToolItem *item);
Returns whether
Since 2.4 | ||||||||||||||||||||||