| GTK+ Reference Manual | ||||
|---|---|---|---|---|
GtkSeparatorToolItemGtkSeparatorToolItem — A toolbar item that separates groups of other toolbar items |
#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);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkToolItem +----GtkSeparatorToolItem
A
If the property "expand" is
Use gtk_separator_tool_item_new() to create a new GtkSeparatorToolItem.
typedef struct _GtkSeparatorToolItem GtkSeparatorToolItem;
The GtkSeparatorToolItem struct contains only private data and should only be accessed through the functions described below.
GtkToolItem* gtk_separator_tool_item_new (void);
Create a new GtkSeparatorToolItem
| Returns : | the new GtkSeparatorToolItem |
Since 2.4
void gtk_separator_tool_item_set_draw (GtkSeparatorToolItem *item,gboolean draw);
When separator_tool_items is drawn as a vertical line, or just blank.
Setting this gtk_tool_item_set_expand() is useful
to create an item that forces following items to the end of the toolbar.
item : |
a GtkSeparatorToolItem |
draw : |
whether separator_tool_item is drawn as a vertical line
|
Since 2.4
gboolean gtk_separator_tool_item_get_draw (GtkSeparatorToolItem *item);
Returns whether separator_tool_item is drawn as a
line, or just blank. See gtk_separator_tool_item_set_draw().
item : |
a GtkSeparatorToolItem |
| Returns : | separator_tool_item is drawn as a line, or just blank.
|
Since 2.4