gtkmm 4.18.0
|
Holds properties of a Gtk::Stack page. More...
#include <gtkmm/stackpage.h>
Public Member Functions | |
StackPage (StackPage &&src) noexcept | |
StackPage & | operator= (StackPage &&src) noexcept |
~StackPage () noexcept override | |
GtkStackPage * | gobj () |
Provides access to the underlying C GObject. | |
const GtkStackPage * | gobj () const |
Provides access to the underlying C GObject. | |
GtkStackPage * | gobj_copy () |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
Widget * | get_child () |
Returns the stack child to which self belongs. | |
const Widget * | get_child () const |
Returns the stack child to which self belongs. | |
bool | get_visible () const |
Returns whether page is visible in its Gtk::Stack . | |
void | set_visible (bool visible=true) |
Sets whether page is visible in its Gtk::Stack . | |
bool | get_needs_attention () const |
Returns whether the page is marked as “needs attention”. | |
void | set_needs_attention (bool setting=true) |
Sets whether the page is marked as “needs attention”. | |
bool | get_use_underline () const |
Gets whether underlines in the page title indicate mnemonics. | |
void | set_use_underline (bool setting=true) |
Sets whether underlines in the page title indicate mnemonics. | |
Glib::ustring | get_name () const |
Returns the name of the page. | |
void | set_name (const Glib::ustring &setting) |
Sets the name of the page. | |
Glib::ustring | get_title () const |
Gets the page title. | |
void | set_title (const Glib::ustring &setting) |
Sets the page title. | |
Glib::ustring | get_icon_name () const |
Returns the icon name of the page. | |
void | set_icon_name (const Glib::ustring &setting) |
Sets the icon name of the page. | |
Glib::PropertyProxy_ReadOnly< Widget * > | property_child () const |
The child that this page is for. | |
Glib::PropertyProxy< Glib::ustring > | property_name () |
The name of the child page. | |
Glib::PropertyProxy_ReadOnly< Glib::ustring > | property_name () const |
The name of the child page. | |
Glib::PropertyProxy< Glib::ustring > | property_title () |
The title of the child page. | |
Glib::PropertyProxy_ReadOnly< Glib::ustring > | property_title () const |
The title of the child page. | |
Glib::PropertyProxy< Glib::ustring > | property_icon_name () |
The icon name of the child page. | |
Glib::PropertyProxy_ReadOnly< Glib::ustring > | property_icon_name () const |
The icon name of the child page. | |
Glib::PropertyProxy< bool > | property_needs_attention () |
Whether the page requires the user attention. | |
Glib::PropertyProxy_ReadOnly< bool > | property_needs_attention () const |
Whether the page requires the user attention. | |
Glib::PropertyProxy< bool > | property_visible () |
Whether this page is visible. | |
Glib::PropertyProxy_ReadOnly< bool > | property_visible () const |
Whether this page is visible. | |
Glib::PropertyProxy< bool > | property_use_underline () |
If set, an underline in the title indicates a mnemonic. | |
Glib::PropertyProxy_ReadOnly< bool > | property_use_underline () const |
If set, an underline in the title indicates a mnemonic. | |
![]() | |
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 |
![]() | |
Accessible (Accessible &&src) noexcept | |
Accessible & | operator= (Accessible &&src) noexcept |
~Accessible () noexcept override | |
GtkAccessible * | gobj () |
Provides access to the underlying C GObject. | |
const GtkAccessible * | gobj () const |
Provides access to the underlying C GObject. | |
Glib::RefPtr< ATContext > | get_at_context () |
Retrieves the implementation for the given accessible object. | |
Glib::RefPtr< const ATContext > | get_at_context () const |
Retrieves the implementation for the given accessible object. | |
bool | get_platform_state (PlatformState state) const |
Queries a platform state, such as focus. | |
void | update_platform_state (PlatformState state) |
Informs ATs that the platform state has changed. | |
Glib::RefPtr< Accessible > | get_accessible_parent () |
Retrieves the accessible parent for an accessible object. | |
Glib::RefPtr< const Accessible > | get_accessible_parent () const |
Retrieves the accessible parent for an accessible object. | |
void | set_accessible_parent (const Glib::RefPtr< Accessible > & parent, const Glib::RefPtr< Accessible > & next_sibling) |
Sets the parent and sibling of an accessible object. | |
Glib::RefPtr< Accessible > | get_first_accessible_child () |
Retrieves the first accessible child of an accessible object. | |
Glib::RefPtr< const Accessible > | get_first_accessible_child () const |
Retrieves the first accessible child of an accessible object. | |
Glib::RefPtr< Accessible > | get_next_accessible_sibling () |
Retrieves the next accessible sibling of an accessible object. | |
Glib::RefPtr< const Accessible > | get_next_accessible_sibling () const |
Retrieves the next accessible sibling of an accessible object. | |
void | update_next_accessible_sibling (const Glib::RefPtr< Accessible > &new_sibling) |
Updates the next accessible sibling. | |
bool | get_bounds (int &x, int &y, int & width, int &height) const |
Queries the coordinates and dimensions of this accessible. | |
Role | get_accessible_role () const |
Retrieves the accessible role of an accessible object. | |
void | update_state (State state, const Glib::ValueBase & value) |
Updates an accessible state. | |
void | update_property (Property property, const Glib::ValueBase & value) |
Updates an accessible property. | |
void | update_relation (Relation relation, const Glib::ValueBase & value) |
Updates an accessible relation. | |
void | reset_state (State state) |
Resets the accessible state to its default value. | |
void | reset_property (Property property) |
Resets the accessible property to its default value. | |
void | reset_relation (Relation relation) |
Resets the accessible relation to its default value. | |
void | announce (const Glib::ustring & message, AnnouncementPriority priority) |
Requests the user's screen reader to announce the given message. | |
Glib::PropertyProxy< Role > | property_accessible_role () |
The accessible role of the given Gtk::Accessible implementation. | |
Glib::PropertyProxy_ReadOnly< Role > | property_accessible_role () const |
The accessible role of the given Gtk::Accessible implementation. | |
![]() | |
Interface () | |
Interface (Interface &&src) noexcept | |
Interface & | operator= (Interface &&src) noexcept |
Interface (const Glib::Interface_Class &interface_class) | |
Interface (GObject *castitem) | |
~Interface () noexcept override | |
Interface (const Interface &)=delete | |
Interface & | operator= (const Interface &)=delete |
GObject * | gobj () |
const GObject * | gobj () const |
Static Public Member Functions | |
static GType | get_type () |
Get the GType for this class, for use with the underlying GObject type system. | |
![]() | |
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. | |
Related Symbols | |
(Note that these are not member symbols.) | |
Glib::RefPtr< Gtk::StackPage > | wrap (GtkStackPage *object, bool take_copy=false) |
A Glib::wrap() method for this object. | |
![]() | |
Glib::RefPtr< Gtk::Accessible > | wrap (GtkAccessible *object, bool take_copy=false) |
A Glib::wrap() method for this object. | |
Holds properties of a Gtk::Stack page.
Use Gtk::Stack::get_page() to get a pointer to an StackPage object.
|
noexcept |
|
overridenoexcept |
Widget * Gtk::StackPage::get_child | ( | ) |
Returns the stack child to which self belongs.
Returns the stack child to which self belongs.
Glib::ustring Gtk::StackPage::get_icon_name | ( | ) | const |
Returns the icon name of the page.
Glib::ustring Gtk::StackPage::get_name | ( | ) | const |
Returns the name of the page.
bool Gtk::StackPage::get_needs_attention | ( | ) | const |
Returns whether the page is marked as “needs attention”.
Glib::ustring Gtk::StackPage::get_title | ( | ) | const |
Gets the page title.
|
static |
Get the GType for this class, for use with the underlying GObject type system.
bool Gtk::StackPage::get_use_underline | ( | ) | const |
Gets whether underlines in the page title indicate mnemonics.
bool Gtk::StackPage::get_visible | ( | ) | const |
Returns whether page is visible in its Gtk::Stack
.
This is independent from the Gtk::Widget::property_visible() property of its widget.
true
if page is visible.
|
inline |
Provides access to the underlying C GObject.
|
inline |
Provides access to the underlying C GObject.
GtkStackPage * Gtk::StackPage::gobj_copy | ( | ) |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
Glib::PropertyProxy_ReadOnly< Widget * > Gtk::StackPage::property_child | ( | ) | const |
The child that this page is for.
Glib::PropertyProxy< Glib::ustring > Gtk::StackPage::property_icon_name | ( | ) |
The icon name of the child page.
Default value: ""
Glib::PropertyProxy_ReadOnly< Glib::ustring > Gtk::StackPage::property_icon_name | ( | ) | const |
The icon name of the child page.
Default value: ""
Glib::PropertyProxy< Glib::ustring > Gtk::StackPage::property_name | ( | ) |
The name of the child page.
Default value: ""
Glib::PropertyProxy_ReadOnly< Glib::ustring > Gtk::StackPage::property_name | ( | ) | const |
The name of the child page.
Default value: ""
Glib::PropertyProxy< bool > Gtk::StackPage::property_needs_attention | ( | ) |
Whether the page requires the user attention.
This is used by the Gtk::StackSwitcher to change the appearance of the corresponding button when a page needs attention and it is not the current one.
Default value: false
Glib::PropertyProxy_ReadOnly< bool > Gtk::StackPage::property_needs_attention | ( | ) | const |
Whether the page requires the user attention.
This is used by the Gtk::StackSwitcher to change the appearance of the corresponding button when a page needs attention and it is not the current one.
Default value: false
Glib::PropertyProxy< Glib::ustring > Gtk::StackPage::property_title | ( | ) |
The title of the child page.
Default value: ""
Glib::PropertyProxy_ReadOnly< Glib::ustring > Gtk::StackPage::property_title | ( | ) | const |
The title of the child page.
Default value: ""
Glib::PropertyProxy< bool > Gtk::StackPage::property_use_underline | ( | ) |
If set, an underline in the title indicates a mnemonic.
Default value: false
Glib::PropertyProxy_ReadOnly< bool > Gtk::StackPage::property_use_underline | ( | ) | const |
If set, an underline in the title indicates a mnemonic.
Default value: false
Glib::PropertyProxy< bool > Gtk::StackPage::property_visible | ( | ) |
Whether this page is visible.
Default value: true
Glib::PropertyProxy_ReadOnly< bool > Gtk::StackPage::property_visible | ( | ) | const |
Whether this page is visible.
Default value: true
void Gtk::StackPage::set_icon_name | ( | const Glib::ustring & | setting | ) |
Sets the icon name of the page.
setting | The new value to set. |
void Gtk::StackPage::set_name | ( | const Glib::ustring & | setting | ) |
Sets the name of the page.
setting | The new value to set. |
Sets whether the page is marked as “needs attention”.
setting | The new value to set. |
void Gtk::StackPage::set_title | ( | const Glib::ustring & | setting | ) |
Sets the page title.
setting | The new value to set. |
Sets whether underlines in the page title indicate mnemonics.
setting | The new value to set. |
Sets whether page is visible in its Gtk::Stack
.
visible | The new property value. |
|
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. |