Gtk::ListHeader is used by list widgets to represent the headers they display.
More...
|
| ListHeader (ListHeader && src) noexcept |
|
ListHeader & | operator= (ListHeader && src) noexcept |
|
| ~ListHeader () noexcept override |
|
GtkListHeader * | gobj () |
| Provides access to the underlying C GObject. More...
|
|
const GtkListHeader * | gobj () const |
| Provides access to the underlying C GObject. More...
|
|
GtkListHeader * | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. More...
|
|
Glib::RefPtr< Glib::ObjectBase > | get_item () |
| Gets the model item at the start of the section. More...
|
|
Glib::RefPtr< const Glib::ObjectBase > | get_item () const |
| Gets the model item at the start of the section. More...
|
|
guint | get_start () const |
| Gets the start position in the model of the section that self is currently the header for. More...
|
|
guint | get_end () const |
| Gets the end position in the model of the section that self is currently the header for. More...
|
|
guint | get_n_items () const |
| Gets the the number of items in the section. More...
|
|
void | set_child (Widget & child) |
| Sets the child to be used for this listitem. More...
|
|
void | unset_child () |
|
Widget * | get_child () |
| Gets the child previously set via set_child() or nullptr if none was set. More...
|
|
const Widget * | get_child () const |
| Gets the child previously set via set_child() or nullptr if none was set. More...
|
|
Glib::PropertyProxy< Widget * > | property_child () |
| Widget used for display. More...
|
|
Glib::PropertyProxy_ReadOnly< Widget * > | property_child () const |
| Widget used for display. More...
|
|
Glib::PropertyProxy_ReadOnly< guint > | property_end () const |
| The first position no longer part of this section. More...
|
|
Glib::PropertyProxy_ReadOnly< Glib::RefPtr< Glib::ObjectBase > > | property_item () const |
| The item at the start of the section. More...
|
|
Glib::PropertyProxy_ReadOnly< guint > | property_n_items () const |
| Number of items in this section. More...
|
|
Glib::PropertyProxy_ReadOnly< guint > | property_start () const |
| First position of items in this section. More...
|
|
| Object (const Object &)=delete |
|
Object & | operator= (const Object &)=delete |
|
| Object (Object &&src) noexcept |
|
Object & | operator= (Object &&src) noexcept |
|
void * | get_data (const QueryQuark &key) |
|
void | set_data (const Quark &key, void *data) |
|
void | set_data_with_c_callback (const Quark &key, void *data, GDestroyNotify notify) |
|
void | set_data (const Quark &key, void *data, DestroyNotify notify) |
|
void | remove_data (const QueryQuark &quark) |
|
void * | steal_data (const QueryQuark &quark) |
|
Glib::RefPtr< Glib::Object > | wrap (GObject *object, bool take_copy=false) |
|
| 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 |
|
PropertyType | get_property (const Glib::ustring &property_name) const |
|
sigc::connection | connect_property_changed (const Glib::ustring &property_name, const sigc::slot< void()> &slot) |
|
sigc::connection | connect_property_changed (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) noexcept |
|
| ~trackable () |
|
void | add_destroy_notify_callback (notifiable *data, func_destroy_notify func) const |
|
void | notify_callbacks () |
|
trackable & | operator= (const trackable &src) |
|
trackable & | operator= (trackable &&src) noexcept |
|
void | remove_destroy_notify_callback (notifiable *data) const |
|
Gtk::ListHeader is used by list widgets to represent the headers they display.
The Gtk::ListHeaders are managed just like Gtk::ListItems via their factory, but provide a different set of properties suitable for managing the header instead of individual items.
- See also
- Gtk::ListView, Gio::ListModel
- Since gtkmm 4.12: