A base class for containers containing ToolItem widgets.
More...
#include <gtkmm/toolshell.h>
|
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...
|
|
|
(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...
|
|
A base class for containers containing ToolItem widgets.
This interface allows container widgets to provide additional information when embedding ToolItem widgets.
- Since gtkmm 2.14:
◆ ToolShell() [1/2]
Gtk::ToolShell::ToolShell |
( |
| ) |
|
|
protected |
You should derive from this class to use it.
◆ ToolShell() [2/2]
Gtk::ToolShell::ToolShell |
( |
ToolShell && |
src | ) |
|
|
noexcept |
◆ ~ToolShell()
Gtk::ToolShell::~ToolShell |
( |
| ) |
|
|
overridenoexcept |
◆ add_interface()
static void Gtk::ToolShell::add_interface |
( |
GType |
gtype_implementer | ) |
|
|
static |
◆ get_ellipsize_mode()
Pango::EllipsizeMode Gtk::ToolShell::get_ellipsize_mode |
( |
| ) |
const |
◆ get_icon_size()
IconSize Gtk::ToolShell::get_icon_size |
( |
| ) |
const |
◆ get_icon_size_vfunc()
virtual IconSize Gtk::ToolShell::get_icon_size_vfunc |
( |
| ) |
|
|
protectedvirtual |
◆ get_orientation()
◆ get_orientation_vfunc()
virtual Orientation Gtk::ToolShell::get_orientation_vfunc |
( |
| ) |
|
|
protectedvirtual |
◆ get_relief_style()
◆ get_relief_style_vfunc()
virtual ReliefStyle Gtk::ToolShell::get_relief_style_vfunc |
( |
| ) |
|
|
protectedvirtual |
◆ get_style()
◆ get_style_vfunc()
◆ get_text_alignment()
float Gtk::ToolShell::get_text_alignment |
( |
| ) |
const |
◆ get_text_orientation()
Orientation Gtk::ToolShell::get_text_orientation |
( |
| ) |
const |
◆ get_text_size_group() [1/2]
Glib::RefPtr< SizeGroup > Gtk::ToolShell::get_text_size_group |
( |
| ) |
|
◆ get_text_size_group() [2/2]
Glib::RefPtr< const SizeGroup > Gtk::ToolShell::get_text_size_group |
( |
| ) |
const |
◆ get_type()
static GType Gtk::ToolShell::get_type |
( |
| ) |
|
|
static |
Get the GType for this class, for use with the underlying GObject type system.
◆ gobj() [1/2]
GtkToolShell * Gtk::ToolShell::gobj |
( |
| ) |
|
|
inline |
Provides access to the underlying C GObject.
◆ gobj() [2/2]
const GtkToolShell * Gtk::ToolShell::gobj |
( |
| ) |
const |
|
inline |
Provides access to the underlying C GObject.
◆ operator=()
◆ rebuild_menu()
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.
- Since gtkmm 2.14:
◆ rebuild_menu_vfunc()
virtual void Gtk::ToolShell::rebuild_menu_vfunc |
( |
| ) |
|
|
protectedvirtual |
◆ wrap()
Glib::RefPtr< Gtk::ToolShell > wrap |
( |
GtkToolShell * |
object, |
|
|
bool |
take_copy = false |
|
) |
| |
|
related |
A Glib::wrap() method for this object.
- Parameters
-
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. |
- Returns
- A C++ instance that wraps this C instance.