gtkmm 4.16.0
|
An object containing layout properties. More...
#include <gtkmm/layoutchild.h>
Public Member Functions | |
LayoutChild (LayoutChild &&src) noexcept | |
LayoutChild & | operator= (LayoutChild &&src) noexcept |
~LayoutChild () noexcept override | |
GtkLayoutChild * | gobj () |
Provides access to the underlying C GObject. | |
const GtkLayoutChild * | gobj () const |
Provides access to the underlying C GObject. | |
GtkLayoutChild * | gobj_copy () |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
Glib::RefPtr< LayoutManager > | get_layout_manager () |
Retrieves the Gtk::LayoutManager instance that created the given layout_child. | |
Glib::RefPtr< const LayoutManager > | get_layout_manager () const |
Retrieves the Gtk::LayoutManager instance that created the given layout_child. | |
Widget * | get_child_widget () |
Retrieves the Gtk::Widget associated to the given layout_child. | |
const Widget * | get_child_widget () const |
Retrieves the Gtk::Widget associated to the given layout_child. | |
Glib::PropertyProxy_ReadOnly< Glib::RefPtr< LayoutManager > > | property_layout_manager () const |
The layout manager that created the Gtk::LayoutChild instance. | |
Glib::PropertyProxy_ReadOnly< Widget * > | property_child_widget () const |
The widget that is associated to the Gtk::LayoutChild instance. | |
Static Public Member Functions | |
static GType | get_type () |
Get the GType for this class, for use with the underlying GObject type system. | |
Protected Member Functions | |
LayoutChild () | |
There is no create() method that corresponds to this constructor, because only derived classes shall be created. | |
Related Symbols | |
(Note that these are not member symbols.) | |
Glib::RefPtr< Gtk::LayoutChild > | wrap (GtkLayoutChild *object, bool take_copy=false) |
A Glib::wrap() method for this object. | |
An object containing layout properties.
Gtk::LayoutChild is the base class for objects that are meant to hold layout properties. If a Gtk::LayoutManager has per-child properties, like their packing type, or the horizontal and vertical span, or the icon name, then the layout manager should use a Gtk::LayoutChild implementation to store those properties.
A Gtk::LayoutChild instance is only ever valid while a widget is part of a layout.
|
noexcept |
|
overridenoexcept |
|
protected |
There is no create() method that corresponds to this constructor, because only derived classes shall be created.
Widget * Gtk::LayoutChild::get_child_widget | ( | ) |
Retrieves the Gtk::Widget
associated to the given layout_child.
Gtk::Widget
. Retrieves the Gtk::Widget
associated to the given layout_child.
Gtk::Widget
. Glib::RefPtr< LayoutManager > Gtk::LayoutChild::get_layout_manager | ( | ) |
Retrieves the Gtk::LayoutManager
instance that created the given layout_child.
Gtk::LayoutManager
. Glib::RefPtr< const LayoutManager > Gtk::LayoutChild::get_layout_manager | ( | ) | const |
Retrieves the Gtk::LayoutManager
instance that created the given layout_child.
Gtk::LayoutManager
.
|
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.
GtkLayoutChild * Gtk::LayoutChild::gobj_copy | ( | ) |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
|
noexcept |
Glib::PropertyProxy_ReadOnly< Widget * > Gtk::LayoutChild::property_child_widget | ( | ) | const |
The widget that is associated to the Gtk::LayoutChild
instance.
Glib::PropertyProxy_ReadOnly< Glib::RefPtr< LayoutManager > > Gtk::LayoutChild::property_layout_manager | ( | ) | const |
The layout manager that created the Gtk::LayoutChild
instance.
|
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. |