Gtk.Tool_Shell

Entities

Simple Types

Access Types

Subtypes

Constants

Subprograms

Description

The Gtk.Tool_Shell.Gtk_Tool_Shell interface allows container widgets to provide additional information when embedding Gtk.Tool_Item.Gtk_Tool_Item widgets.

"+"

function "+" (W : Gtk_Tool_Shell) return Gtk_Tool_Shell
Parameters
W
Return Value

Get_Ellipsize_Mode

function Get_Ellipsize_Mode
   (Self : Gtk_Tool_Shell) return Pango.Layout.Pango_Ellipsize_Mode

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. Since: gtk+ 2.20

Parameters
Self
Return Value

the current ellipsize mode of Shell

Get_Icon_Size

function Get_Icon_Size
   (Self : Gtk_Tool_Shell) return Gtk.Enums.Gtk_Icon_Size

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. Since: gtk+ 2.14

Parameters
Self
Return Value

the current size (Gtk.Enums.Gtk_Icon_Size) for icons of Shell

Get_Orientation

function Get_Orientation
   (Self : Gtk_Tool_Shell) return Gtk.Enums.Gtk_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. Since: gtk+ 2.14

Parameters
Self
Return Value

the current orientation of Shell

Get_Relief_Style

function Get_Relief_Style
   (Self : Gtk_Tool_Shell) return Gtk.Enums.Gtk_Relief_Style

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. Since: gtk+ 2.14

Parameters
Self
Return Value

The relief style of buttons on Shell.

Get_Style

function Get_Style
   (Self : Gtk_Tool_Shell) return Gtk.Enums.Gtk_Toolbar_Style

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. Since: gtk+ 2.14

Parameters
Self
Return Value

the current style of Shell

Get_Text_Alignment

function Get_Text_Alignment (Self : Gtk_Tool_Shell) return 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. Since: gtk+ 2.20

Parameters
Self
Return Value

the current text alignment of Shell

Get_Text_Orientation

function Get_Text_Orientation
   (Self : Gtk_Tool_Shell) return Gtk.Enums.Gtk_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. Since: gtk+ 2.20

Parameters
Self
Return Value

the current text orientation of Shell

Get_Text_Size_Group

function Get_Text_Size_Group
   (Self : Gtk_Tool_Shell) return Gtk.Size_Group.Gtk_Size_Group

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. Since: gtk+ 2.20

Parameters
Self
Return Value

the current text size group of Shell

Get_Type

function Get_Type return Glib.GType
Return Value

Gtk_Tool_Shell

type Gtk_Tool_Shell is new Glib.Types.GType_Interface;

Null_Gtk_Tool_Shell

Null_Gtk_Tool_Shell : constant Gtk_Tool_Shell;

Rebuild_Menu

procedure Rebuild_Menu (Self : Gtk_Tool_Shell)

Calling this function signals the tool shell that the overflow menu item for tool items have changed. If there is an overflow menu and if it is visible when this function it called, the menu will be rebuilt. Tool items must not call this function directly, but rely on Gtk.Tool_Item.Rebuild_Menu instead. Since: gtk+ 2.14

Parameters
Self

Set_Get_Ellipsize_Mode

procedure Set_Get_Ellipsize_Mode
  (Self    : Tool_Shell_Interface_Descr;
   Handler : Virtual_Get_Ellipsize_Mode)
Parameters
Self
Handler

Set_Get_Icon_Size

procedure Set_Get_Icon_Size
  (Self    : Tool_Shell_Interface_Descr;
   Handler : Virtual_Get_Icon_Size)
Parameters
Self
Handler

Set_Get_Orientation

procedure Set_Get_Orientation
  (Self    : Tool_Shell_Interface_Descr;
   Handler : Virtual_Get_Orientation)
Parameters
Self
Handler

Set_Get_Relief_Style

procedure Set_Get_Relief_Style
  (Self    : Tool_Shell_Interface_Descr;
   Handler : Virtual_Get_Relief_Style)
Parameters
Self
Handler

Set_Get_Style

procedure Set_Get_Style
  (Self    : Tool_Shell_Interface_Descr;
   Handler : Virtual_Get_Style)
Parameters
Self
Handler

Set_Get_Text_Alignment

procedure Set_Get_Text_Alignment
  (Self    : Tool_Shell_Interface_Descr;
   Handler : Virtual_Get_Text_Alignment)
Parameters
Self
Handler

Set_Get_Text_Orientation

procedure Set_Get_Text_Orientation
  (Self    : Tool_Shell_Interface_Descr;
   Handler : Virtual_Get_Text_Orientation)
Parameters
Self
Handler

Set_Get_Text_Size_Group

procedure Set_Get_Text_Size_Group
  (Self    : Tool_Shell_Interface_Descr;
   Handler : Virtual_Get_Text_Size_Group)
Parameters
Self
Handler

Set_Rebuild_Menu

procedure Set_Rebuild_Menu
  (Self    : Tool_Shell_Interface_Descr;
   Handler : Virtual_Rebuild_Menu)

See Glib.Object.Add_Interface

Parameters
Self
Handler

Tool_Shell_Interface_Descr

subtype Tool_Shell_Interface_Descr is Glib.Object.Interface_Description;

Virtual_Get_Ellipsize_Mode

type Virtual_Get_Ellipsize_Mode is access function
  (Self : Gtk_Tool_Shell) return Pango.Layout.Pango_Ellipsize_Mode;

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. Since: gtk+ 2.20

Parameters
Self
Return Value

the current ellipsize mode of Shell

Virtual_Get_Icon_Size

type Virtual_Get_Icon_Size is access function (Self : Gtk_Tool_Shell) return Gtk.Enums.Gtk_Icon_Size;
Parameters
Self
Return Value

Virtual_Get_Orientation

type Virtual_Get_Orientation is access function (Self : Gtk_Tool_Shell) return Gtk.Enums.Gtk_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. Since: gtk+ 2.14

Parameters
Self
Return Value

the current orientation of Shell

Virtual_Get_Relief_Style

type Virtual_Get_Relief_Style is access function (Self : Gtk_Tool_Shell) return Gtk.Enums.Gtk_Relief_Style;

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. Since: gtk+ 2.14

Parameters
Self
Return Value

The relief style of buttons on Shell.

Virtual_Get_Style

type Virtual_Get_Style is access function (Self : Gtk_Tool_Shell) return Gtk.Enums.Gtk_Toolbar_Style;

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. Since: gtk+ 2.14

Parameters
Self
Return Value

the current style of Shell

Virtual_Get_Text_Alignment

type Virtual_Get_Text_Alignment is access function (Self : Gtk_Tool_Shell) return 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. Since: gtk+ 2.20

Parameters
Self
Return Value

the current text alignment of Shell

Virtual_Get_Text_Orientation

type Virtual_Get_Text_Orientation is access function (Self : Gtk_Tool_Shell) return Gtk.Enums.Gtk_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. Since: gtk+ 2.20

Parameters
Self
Return Value

the current text orientation of Shell

Virtual_Get_Text_Size_Group

type Virtual_Get_Text_Size_Group is access function (Self : Gtk_Tool_Shell) return System.Address;

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. Since: gtk+ 2.20

Parameters
Self
Return Value

the current text size group of Shell

Virtual_Rebuild_Menu

type Virtual_Rebuild_Menu is access procedure (Self : Gtk_Tool_Shell);

Calling this function signals the tool shell that the overflow menu item for tool items have changed. If there is an overflow menu and if it is visible when this function it called, the menu will be rebuilt. Tool items must not call this function directly, but rely on gtk_tool_item_rebuild_menu instead. Since: gtk+ 2.14

Parameters
Self