| Top |
The CtkToolShell interface allows container widgets to provide additional information when embedding CtkToolItem widgets.
PangoEllipsizeMode
ctk_tool_shell_get_ellipsize_mode (CtkToolShell *shell);
Retrieves the current ellipsize mode for the tool shell. Tool items must not
call this function directly, but rely on ctk_tool_item_get_ellipsize_mode()
instead.
Since: 2.20
CtkIconSize
ctk_tool_shell_get_icon_size (CtkToolShell *shell);
Retrieves the icon size for the tool shell. Tool items must not call this
function directly, but rely on ctk_tool_item_get_icon_size() instead.
Since: 2.14
CtkOrientation
ctk_tool_shell_get_orientation (CtkToolShell *shell);
Retrieves the current orientation for the tool shell. Tool items must not
call this function directly, but rely on ctk_tool_item_get_orientation()
instead.
Since: 2.14
CtkReliefStyle
ctk_tool_shell_get_relief_style (CtkToolShell *shell);
Returns the relief style of buttons on shell
. Tool items must not call this
function directly, but rely on ctk_tool_item_get_relief_style() instead.
Since: 2.14
CtkToolbarStyle
ctk_tool_shell_get_style (CtkToolShell *shell);
Retrieves whether the tool shell has text, icons, or both. Tool items must
not call this function directly, but rely on ctk_tool_item_get_toolbar_style()
instead.
Since: 2.14
gfloat
ctk_tool_shell_get_text_alignment (CtkToolShell *shell);
Retrieves the current text alignment for the tool shell. Tool items must not
call this function directly, but rely on ctk_tool_item_get_text_alignment()
instead.
Since: 2.20
CtkOrientation
ctk_tool_shell_get_text_orientation (CtkToolShell *shell);
Retrieves the current text orientation for the tool shell. Tool items must not
call this function directly, but rely on ctk_tool_item_get_text_orientation()
instead.
Since: 2.20
void
ctk_tool_shell_rebuild_menu (CtkToolShell *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
ctk_tool_item_rebuild_menu() instead.
Since: 2.14
CtkSizeGroup *
ctk_tool_shell_get_text_size_group (CtkToolShell *shell);
Retrieves the current text size group for the tool shell. Tool items must not
call this function directly, but rely on ctk_tool_item_get_text_size_group()
instead.
Since: 2.20
typedef struct _CtkToolShell CtkToolShell;
Dummy structure for accessing instances of CtkToolShellIface.
struct CtkToolShellIface {
CtkIconSize (*get_icon_size) (CtkToolShell *shell);
CtkOrientation (*get_orientation) (CtkToolShell *shell);
CtkToolbarStyle (*get_style) (CtkToolShell *shell);
CtkReliefStyle (*get_relief_style) (CtkToolShell *shell);
void (*rebuild_menu) (CtkToolShell *shell);
CtkOrientation (*get_text_orientation) (CtkToolShell *shell);
gfloat (*get_text_alignment) (CtkToolShell *shell);
PangoEllipsizeMode (*get_ellipsize_mode) (CtkToolShell *shell);
CtkSizeGroup * (*get_text_size_group) (CtkToolShell *shell);
};
Virtual function table for the CtkToolShell interface.
mandatory implementation of |
||
mandatory implementation of |
||
mandatory implementation of |
||
optional implementation of |
||
optional implementation of |
||
optional implementation of |
||
optional implementation of |
||
optional implementation of |
||
optional implementation of |