| Top |
CtkSeparatorToolItemCtkSeparatorToolItem — A toolbar item that separates groups of other toolbar items |
| CtkToolItem * | ctk_separator_tool_item_new () |
| void | ctk_separator_tool_item_set_draw () |
| gboolean | ctk_separator_tool_item_get_draw () |
GObject
╰── GInitiallyUnowned
╰── CtkWidget
╰── CtkContainer
╰── CtkBin
╰── CtkToolItem
╰── CtkSeparatorToolItem
CtkSeparatorToolItem implements AtkImplementorIface, CtkBuildable and CtkActivatable.
A CtkSeparatorToolItem is a CtkToolItem that separates groups of other CtkToolItems. Depending on the theme, a CtkSeparatorToolItem will often look like a vertical line on horizontally docked toolbars.
If the CtkToolbar child property “expand” is TRUE and the property
“draw” is FALSE, a CtkSeparatorToolItem will act as
a “spring” that forces other items to the ends of the toolbar.
Use ctk_separator_tool_item_new() to create a new CtkSeparatorToolItem.
CtkToolItem *
ctk_separator_tool_item_new (void);
Create a new CtkSeparatorToolItem
Since: 2.4
void ctk_separator_tool_item_set_draw (CtkSeparatorToolItem *item,gboolean draw);
Whether item
is drawn as a vertical line, or just blank.
Setting this to FALSE along with ctk_tool_item_set_expand() is useful
to create an item that forces following items to the end of the toolbar.
Since: 2.4
gboolean
ctk_separator_tool_item_get_draw (CtkSeparatorToolItem *item);
Returns whether item
is drawn as a line, or just blank.
See ctk_separator_tool_item_set_draw().
Since: 2.4