Module: Gtk::ToolShell

Defined in:
(unknown)

Overview

The Gtk::ToolShell interface allows container widgets to provide additional information when embedding Gtk::ToolItem widgets.

Instance Method Summary collapse

Instance Method Details

#ellipsize_modePango::EllipsizeMode

Retrieves the current ellipsize mode for the tool shell. Tool items must not call this function directly, but rely on gtk_tool_item_get_ellipsize_mode() instead.

Returns:

#get_ellipsize_mode(shell) ⇒ Pango::EllipsizeMode

Returns the current ellipsize mode of shell.

Parameters:

Returns:

#get_icon_size(shell) ⇒ Gtk::IconSize

Parameters:

Returns:

#get_orientation(shell) ⇒ Gtk::Orientation

Returns the current orientation of shell.

Parameters:

Returns:

#get_relief_style(shell) ⇒ Gtk::ReliefStyle

Returns The relief style of buttons on shell.

Parameters:

Returns:

#get_style(shell) ⇒ Gtk::ToolbarStyle

Returns the current style of shell.

Parameters:

Returns:

#get_text_alignment(shell) ⇒ Gtk::gfloat

Returns the current text alignment of shell.

Parameters:

Returns:

  • (Gtk::gfloat)

    the current text alignment of shell

#get_text_orientation(shell) ⇒ Gtk::Orientation

Returns the current text orientation of shell.

Parameters:

Returns:

#get_text_size_group(shell) ⇒ Gtk::SizeGroup

Returns the current text size group of shell.

Parameters:

Returns:

#icon_sizeInteger

Retrieves the icon size for the tool shell. Tool items must not call this function directly, but rely on gtk_tool_item_get_icon_size() instead.

Returns:

  • (Integer)

    the current size (Gtk::IconSize) for icons of shell

#orientationGtk::Orientation

Retrieves the current orientation for the tool shell. Tool items must not call this function directly, but rely on gtk_tool_item_get_orientation() instead.

Returns:

#rebuild_menu(shell) ⇒ nil

Parameters:

Returns:

  • (nil)

#relief_styleGtk::ReliefStyle

Returns the relief style of buttons on shell. Tool items must not call this function directly, but rely on gtk_tool_item_get_relief_style() instead.

Returns:

#styleGtk::ToolbarStyle

Retrieves whether the tool shell has text, icons, or both. Tool items must not call this function directly, but rely on gtk_tool_item_get_toolbar_style() instead.

Returns:

#text_alignmentGtk::gfloat

Retrieves the current text alignment for the tool shell. Tool items must not call this function directly, but rely on gtk_tool_item_get_text_alignment() instead.

Returns:

  • (Gtk::gfloat)

    the current text alignment of shell

#text_orientationGtk::Orientation

Retrieves the current text orientation for the tool shell. Tool items must not call this function directly, but rely on gtk_tool_item_get_text_orientation() instead.

Returns:

#text_size_groupGtk::SizeGroup

Retrieves the current text size group for the tool shell. Tool items must not call this function directly, but rely on gtk_tool_item_get_text_size_group() instead.

Returns: