gtkmm
3.22.1
|
A base class for containers containing ToolItem widgets. More...
#include <gtkmm/toolshell.h>
Public Member Functions | |
ToolShell (ToolShell&& src) noexcept | |
ToolShell& | operator= (ToolShell&& src) noexcept |
~ToolShell () noexceptoverride | |
GtkToolShell* | gobj () |
Provides access to the underlying C GObject. More... | |
const GtkToolShell* | gobj () const |
Provides access to the underlying C GObject. More... | |
IconSize | get_icon_size () const |
Retrieves the icon size for the tool shell. More... | |
Orientation | get_orientation () const |
Retrieves the current orientation for the tool shell. More... | |
ToolbarStyle | get_style () const |
Retrieves whether the tool shell has text, icons, or both. More... | |
ReliefStyle | get_relief_style () const |
Returns the relief style of buttons on shell. More... | |
void | rebuild_menu () |
Calling this function signals the tool shell that the overflow menu item for tool items have changed. More... | |
Orientation | get_text_orientation () const |
Retrieves the current text orientation for the tool shell. More... | |
float | get_text_alignment () const |
Retrieves the current text alignment for the tool shell. More... | |
Pango::EllipsizeMode | get_ellipsize_mode () const |
Retrieves the current ellipsize mode for the tool shell. More... | |
Glib::RefPtr< SizeGroup > | get_text_size_group () |
Retrieves the current text size group for the tool shell. More... | |
Glib::RefPtr< const SizeGroup > | get_text_size_group () const |
Retrieves the current text size group for the tool shell. More... | |
![]() | |
Interface () | |
Interface (Interface &&src) noexcept | |
Interface & | operator= (Interface &&src) noexcept |
Interface (const Glib::Interface_Class &interface_class) | |
Interface (GObject *castitem) | |
~Interface () noexceptoverride | |
Interface (const Interface &)=delete | |
Interface & | operator= (const Interface &)=delete |
GObject * | gobj () |
const GObject * | gobj () const |
![]() | |
ObjectBase (const ObjectBase &)=delete | |
ObjectBase & | operator= (const ObjectBase &)=delete |
void | set_property_value (const Glib::ustring &property_name, const Glib::ValueBase &value) |
void | get_property_value (const Glib::ustring &property_name, Glib::ValueBase &value) const |
void | set_property (const Glib::ustring &property_name, const PropertyType &value) |
void | get_property (const Glib::ustring &property_name, PropertyType &value) const |
void | connect_property_changed (const Glib::ustring &property_name, const sigc::slot< void > &slot) |
void | connect_property_changed (const Glib::ustring &property_name, sigc::slot< void > &&slot) |
sigc::connection | connect_property_changed_with_return (const Glib::ustring &property_name, const sigc::slot< void > &slot) |
sigc::connection | connect_property_changed_with_return (const Glib::ustring &property_name, sigc::slot< void > &&slot) |
void | freeze_notify () |
void | thaw_notify () |
virtual void | reference () const |
virtual void | unreference () const |
GObject * | gobj () |
const GObject * | gobj () const |
GObject * | gobj_copy () const |
![]() | |
trackable () noexcept | |
trackable (const trackable &src) noexcept | |
trackable (trackable &&src) | |
~trackable () | |
void | add_destroy_notify_callback (void *data, func_destroy_notify func) const |
void | notify_callbacks () |
trackable & | operator= (const trackable &src) |
trackable & | operator= (trackable &&src) |
void | remove_destroy_notify_callback (void *data) const |
Static Public Member Functions | |
static void | add_interface (GType gtype_implementer) |
static GType | get_type () |
Get the GType for this class, for use with the underlying GObject type system. More... | |
Protected Member Functions | |
ToolShell () | |
You should derive from this class to use it. More... | |
virtual IconSize | get_icon_size_vfunc () |
virtual Orientation | get_orientation_vfunc () |
virtual ToolbarStyle | get_style_vfunc () |
virtual ReliefStyle | get_relief_style_vfunc () |
virtual void | rebuild_menu_vfunc () |
![]() | |
ObjectBase () | |
ObjectBase (const char *custom_type_name) | |
ObjectBase (const std::type_info &custom_type_info) | |
ObjectBase (ObjectBase &&src) noexcept | |
ObjectBase & | operator= (ObjectBase &&src) noexcept |
virtual | ~ObjectBase () noexcept=0 |
void | initialize (GObject *castitem) |
void | initialize_move (GObject *castitem, Glib::ObjectBase *previous_wrapper) |
Related Functions | |
(Note that these are not member functions.) | |
Glib::RefPtr< Gtk::ToolShell > | wrap (GtkToolShell* object, bool take_copy=false) |
A Glib::wrap() method for this object. More... | |
Additional Inherited Members | |
![]() | |
typedef internal::func_destroy_notify | func_destroy_notify |
A base class for containers containing ToolItem widgets.
This interface allows container widgets to provide additional information when embedding ToolItem widgets.
|
protected |
You should derive from this class to use it.
|
noexcept |
|
overridenoexcept |
|
static |
Pango::EllipsizeMode Gtk::ToolShell::get_ellipsize_mode | ( | ) | const |
Retrieves the current ellipsize mode for the tool shell.
Tool items must not call this function directly, but rely on Gtk::ToolItem::get_ellipsize_mode() instead.
IconSize Gtk::ToolShell::get_icon_size | ( | ) | const |
Retrieves the icon size for the tool shell.
Tool items must not call this function directly, but rely on Gtk::ToolItem::get_icon_size() instead.
|
protectedvirtual |
Orientation Gtk::ToolShell::get_orientation | ( | ) | const |
Retrieves the current orientation for the tool shell.
Tool items must not call this function directly, but rely on Gtk::ToolItem::get_orientation() instead.
|
protectedvirtual |
ReliefStyle Gtk::ToolShell::get_relief_style | ( | ) | const |
Returns the relief style of buttons on shell.
Tool items must not call this function directly, but rely on Gtk::ToolItem::get_relief_style() instead.
|
protectedvirtual |
ToolbarStyle Gtk::ToolShell::get_style | ( | ) | const |
Retrieves whether the tool shell has text, icons, or both.
Tool items must not call this function directly, but rely on Gtk::ToolItem::get_toolbar_style() instead.
|
protectedvirtual |
float Gtk::ToolShell::get_text_alignment | ( | ) | const |
Retrieves the current text alignment for the tool shell.
Tool items must not call this function directly, but rely on Gtk::ToolItem::get_text_alignment() instead.
Orientation Gtk::ToolShell::get_text_orientation | ( | ) | const |
Retrieves the current text orientation for the tool shell.
Tool items must not call this function directly, but rely on Gtk::ToolItem::get_text_orientation() instead.
Glib::RefPtr<SizeGroup> Gtk::ToolShell::get_text_size_group | ( | ) |
Retrieves the current text size group for the tool shell.
Tool items must not call this function directly, but rely on Gtk::ToolItem::get_text_size_group() instead.
Glib::RefPtr<const SizeGroup> Gtk::ToolShell::get_text_size_group | ( | ) | const |
Retrieves the current text size group for the tool shell.
Tool items must not call this function directly, but rely on Gtk::ToolItem::get_text_size_group() instead.
|
static |
Get the GType for this class, for use with the underlying GObject type system.
|
inline |
Provides access to the underlying C GObject.
|
inline |
Provides access to the underlying C GObject.
void Gtk::ToolShell::rebuild_menu | ( | ) |
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::ToolItem::rebuild_menu() instead.
|
protectedvirtual |
|
related |
A Glib::wrap() method for this object.
object | The C instance. |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |