Returns whether item is drawn as a line, or just blank. See gtk.separator_tool_item.SeparatorToolItem.setDraw.
Returns this, for use in with statements.
Whether item is drawn as a vertical line, or just blank. Setting this to false along with gtk.tool_item.ToolItem.setExpand is useful to create an item that forces following items to the end of the toolbar.
Get builder for gtk.separator_tool_item.SeparatorToolItem
Returns this, for use in with statements.
Get builder for gtk.tool_item.ToolItem
Returns the ellipsize mode used for tool_item. Custom subclasses of #GtkToolItem should call this function to find out how text should be ellipsized.
Returns whether tool_item is allocated extra space. See gtk.tool_item.ToolItem.setExpand.
Returns whether tool_item is the same size as other homogeneous items. See gtk.tool_item.ToolItem.setHomogeneous.
Returns the icon size used for tool_item. Custom subclasses of #GtkToolItem should call this function to find out what size icons they should use.
Returns whether tool_item is considered important. See gtk.tool_item.ToolItem.setIsImportant
Returns the orientation used for tool_item. Custom subclasses of #GtkToolItem should call this function to find out what size icons they should use.
If menu_item_id matches the string passed to gtk.tool_item.ToolItem.setProxyMenuItem return the corresponding #GtkMenuItem.
Returns the relief style of tool_item. See gtk.button.Button.setRelief. Custom subclasses of #GtkToolItem should call this function in the handler of the #GtkToolItem::toolbar_reconfigured signal to find out the relief style of buttons.
Returns the text alignment used for tool_item. Custom subclasses of #GtkToolItem should call this function to find out how text should be aligned.
Returns the text orientation used for tool_item. Custom subclasses of #GtkToolItem should call this function to find out how text should be orientated.
Returns the size group used for labels in tool_item. Custom subclasses of #GtkToolItem should call this function and use the size group for labels.
Returns the toolbar style used for tool_item. Custom subclasses of #GtkToolItem should call this function in the handler of the GtkToolItem::toolbar_reconfigured signal to find out in what style the toolbar is displayed and change themselves accordingly
Returns whether tool_item has a drag window. See gtk.tool_item.ToolItem.setUseDragWindow.
Returns whether the tool_item is visible on toolbars that are docked horizontally.
Returns whether tool_item is visible when the toolbar is docked vertically. See gtk.tool_item.ToolItem.setVisibleVertical.
Calling this function signals to the toolbar that the overflow menu item for tool_item has changed. If the overflow menu is visible when this function it called, the menu will be rebuilt.
Returns the #GtkMenuItem that was last set by gtk.tool_item.ToolItem.setProxyMenuItem, ie. the #GtkMenuItem that is going to appear in the overflow menu.
Sets whether tool_item is allocated extra space when there is more room on the toolbar then needed for the items. The effect is that the item gets bigger when the toolbar gets bigger and smaller when the toolbar gets smaller.
Sets whether tool_item is to be allocated the same size as other homogeneous items. The effect is that all homogeneous items will have the same width as the widest of the items.
Sets whether tool_item should be considered important. The #GtkToolButton class uses this property to determine whether to show or hide its label when the toolbar style is gtk.types.ToolbarStyle.BothHoriz. The result is that only tool buttons with the “is_important” property set have labels, an effect known as “priority text”
Sets the #GtkMenuItem used in the toolbar overflow menu. The menu_item_id is used to identify the caller of this function and should also be used with gtk.tool_item.ToolItem.getProxyMenuItem.
Sets the markup text to be displayed as tooltip on the item. See gtk.widget.Widget.setTooltipMarkup.
Sets the text to be displayed as tooltip on the item. See gtk.widget.Widget.setTooltipText.
Sets whether tool_item has a drag window. When true the toolitem can be used as a drag source through gtk.widget.Widget.dragSourceSet. When tool_item has a drag window it will intercept all events, even those that would otherwise be sent to a child of tool_item.
Sets whether tool_item is visible when the toolbar is docked horizontally.
Sets whether tool_item is visible when the toolbar is docked vertically. Some tool items, such as text entries, are too wide to be useful on a vertically docked toolbar. If visible_vertical is false tool_item will not appear on toolbars that are docked vertically.
Emits the signal #GtkToolItem::toolbar_reconfigured on tool_item. #GtkToolbar and other #GtkToolShell implementations use this function to notify children, when some aspect of their configuration changes.
Connect to CreateMenuProxy signal.
Connect to ToolbarReconfigured signal.
A #GtkSeparatorToolItem 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 #GtkToolbar child property “expand” is true and the property #GtkSeparatorToolItem:draw is false, a #GtkSeparatorToolItem will act as a “spring” that forces other items to the ends of the toolbar.
Use gtk.separator_tool_item.SeparatorToolItem.new_ to create a new #GtkSeparatorToolItem.
CSS nodes
GtkSeparatorToolItem has a single CSS node with name separator.