|
| SimpleAction (SimpleAction&& src) noexcept |
|
SimpleAction& | operator= (SimpleAction&& src) noexcept |
|
| ~SimpleAction () noexceptoverride |
|
GSimpleAction* | gobj () |
| Provides access to the underlying C GObject. More...
|
|
const GSimpleAction* | gobj () const |
| Provides access to the underlying C GObject. More...
|
|
GSimpleAction* | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. More...
|
|
void | set_enabled (bool enabled=true) |
| Sets the action as enabled or not. More...
|
|
void | set_state_hint (const Glib::VariantBase& state_hint) |
| Sets the state hint for the action. More...
|
|
Glib::PropertyProxy< bool > | property_enabled () |
| If action is currently enabled. More...
|
|
Glib::PropertyProxy_ReadOnly< bool > | property_enabled () const |
| If action is currently enabled. More...
|
|
Glib::PropertyProxy_ReadOnly< Glib::ustring > | property_name () const |
| The name of the action. More...
|
|
Glib::PropertyProxy_ReadOnly< Glib::VariantType > | property_parameter_type () const |
| The type of the parameter that must be given when activating the action. More...
|
|
Glib::PropertyProxy< Glib::VariantBase > | property_state () |
| The state of the action, or nullptr if the action is stateless. More...
|
|
Glib::PropertyProxy_ReadOnly< Glib::VariantBase > | property_state () const |
| The state of the action, or nullptr if the action is stateless. More...
|
|
Glib::PropertyProxy_ReadOnly< Glib::VariantType > | property_state_type () const |
| The VariantType of the state that the action has, or nullptr if the action is stateless. More...
|
|
Glib::SignalProxy< void, const Glib::VariantBase& > | signal_activate () |
|
Glib::SignalProxy< void, const Glib::VariantBase& > | signal_change_state () |
|
| 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 (const Quark& key, void* data, DestroyNotify notify) |
|
void | remove_data (const QueryQuark& quark) |
|
void* | steal_data (const QueryQuark& quark) |
|
| ObjectBase (const ObjectBase&)=delete |
|
ObjectBase& | operator= (const ObjectBase&)=delete |
|
void | set_property_value (const Glib::ustring& property_name, const Glib::ValueBase& value) |
| You probably want to use a specific property_*() accessor method instead. More...
|
|
void | get_property_value (const Glib::ustring& property_name, Glib::ValueBase& value) const |
| You probably want to use a specific property_*() accessor method instead. More...
|
|
template<class PropertyType > |
void | set_property (const Glib::ustring& property_name, const PropertyType& value) |
| You probably want to use a specific property_*() accessor method instead. More...
|
|
template<class PropertyType > |
void | get_property (const Glib::ustring& property_name, PropertyType& value) const |
| You probably want to use a specific property_*() accessor method instead. More...
|
|
void | connect_property_changed (const Glib::ustring& property_name, const sigc::slot< void >& slot) |
| You can use the signal_changed() signal of the property proxy instead. More...
|
|
void | connect_property_changed (const Glib::ustring& property_name, sigc::slot< void >&& slot) |
| You can use the signal_changed() signal of the property proxy instead. More...
|
|
sigc::connection | connect_property_changed_with_return (const Glib::ustring& property_name, const sigc::slot< void >& slot) |
| You can use the signal_changed() signal of the property proxy instead. More...
|
|
sigc::connection | connect_property_changed_with_return (const Glib::ustring& property_name, sigc::slot< void >&& slot) |
| You can use the signal_changed() signal of the property proxy instead. More...
|
|
void | freeze_notify () |
| Increases the freeze count on object. More...
|
|
void | thaw_notify () |
| Reverts the effect of a previous call to freeze_notify(). More...
|
|
virtual void | reference () const |
| Increment the reference count for this object. More...
|
|
virtual void | unreference () const |
| Decrement the reference count for this object. More...
|
|
GObject* | gobj () |
| Provides access to the underlying C GObject. More...
|
|
const GObject* | gobj () const |
| Provides access to the underlying C GObject. More...
|
|
GObject* | gobj_copy () const |
| Give a ref-ed copy to someone. Use for direct struct access. More...
|
|
| 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 |
|
| Action (Action&& src) noexcept |
|
Action& | operator= (Action&& src) noexcept |
|
| ~Action () noexceptoverride |
|
GAction* | gobj () |
| Provides access to the underlying C GObject. More...
|
|
const GAction* | gobj () const |
| Provides access to the underlying C GObject. More...
|
|
Glib::ustring | get_name () const |
| Queries the name of action. More...
|
|
Glib::VariantType | get_parameter_type () const |
| Queries the type of the parameter that must be given when activating action. More...
|
|
Glib::VariantType | get_state_type () const |
| Queries the type of the state of action. More...
|
|
template<typename T_Value > |
void | get_state_hint (T_Value& value) const |
| Requests a hint about the valid range of values for the state of the action. More...
|
|
Glib::VariantBase | get_state_hint_variant () const |
| Requests a hint about the valid range of values for the state of action. More...
|
|
bool | get_enabled () const |
| Checks if action is currently enabled. More...
|
|
template<typename T_Value > |
void | change_state (const T_Value& value) |
| Request for the state of action to be changed to value, assuming that the action has the expected state type. More...
|
|
template<typename T_Value > |
void | change_state (const Glib::Variant< T_Value >& value) |
|
void | change_state_variant (const Glib::VariantBase& value) |
| Request for the state of action to be changed to value. More...
|
|
void | change_state (const Glib::VariantBase& value) |
| Request for the state of action to be changed to value. More...
|
|
template<typename T_Value > |
void | get_state (T_Value& value) const |
| Queries the current state of the action. More...
|
|
Glib::VariantBase | get_state_variant () const |
| Queries the current state of action. More...
|
|
void | activate () |
| Activates the action. More...
|
|
template<typename T_Value > |
void | activate (const T_Value& parameter) |
| Activates the action. More...
|
|
template<typename T_Value > |
void | activate (const Glib::Variant< T_Value >& parameter) |
|
void | activate_variant (const Glib::VariantBase& parameter) |
| Activates the action. More...
|
|
void | activate (const Glib::VariantBase& parameter) |
| Activates the action. More...
|
|
template<typename T_Value > |
Glib::ustring | print_detailed_name (const T_Value& target_value) |
| Formats a detailed action name from the action's action_name and target_value. More...
|
|
Glib::PropertyProxy_ReadOnly< bool > | property_enabled () const |
| If action is currently enabled. More...
|
|
Glib::PropertyProxy_ReadOnly< Glib::ustring > | property_name () const |
| The name of the action. More...
|
|
Glib::PropertyProxy_ReadOnly< Glib::VariantType > | property_parameter_type () const |
| The type of the parameter that must be given when activating the action. More...
|
|
Glib::PropertyProxy_ReadOnly< Glib::VariantBase > | property_state () const |
| The state of the action, or nullptr if the action is stateless. More...
|
|
Glib::PropertyProxy_ReadOnly< Glib::VariantType > | property_state_type () const |
| The VariantType of the state that the action has, or nullptr if the action is stateless. More...
|
|
virtual Glib::ustring | get_name_vfunc () const |
|
virtual Glib::VariantType | get_parameter_type_vfunc () const |
|
virtual Glib::VariantType | get_state_type_vfunc () const |
|
virtual Glib::VariantBase | get_state_hint_vfunc () const |
|
virtual bool | get_enabled_vfunc () const |
|
virtual Glib::VariantBase | get_state_vfunc () const |
|
virtual void | change_state_vfunc (const Glib::VariantBase& value) |
|
virtual void | activate_vfunc (const Glib::VariantBase& parameter) |
|
| Interface () |
| A Default constructor. More...
|
|
| Interface (Interface&& src) noexcept |
|
Interface& | operator= (Interface&& src) noexcept |
|
| Interface (const Glib::Interface_Class& interface_class) |
| Called by constructors of derived classes. More...
|
|
| Interface (GObject* castitem) |
| Called by constructors of derived classes. More...
|
|
| ~Interface () noexceptoverride |
|
| Interface (const Interface&)=delete |
|
Interface& | operator= (const Interface&)=delete |
|
GObject* | gobj () |
|
const GObject* | gobj () const |
|
|
static GType | get_type () |
| Get the GType for this class, for use with the underlying GObject type system. More...
|
|
static Glib::RefPtr< SimpleAction > | create (const Glib::ustring& name) |
|
static Glib::RefPtr< SimpleAction > | create (const Glib::ustring& name, const Glib::VariantType& parameter_type) |
| Creates a new action. More...
|
|
static Glib::RefPtr< SimpleAction > | create (const Glib::ustring& name, const Glib::VariantType& parameter_type, const Glib::VariantBase& state) |
| Creates a new stateful action. More...
|
|
static Glib::RefPtr< SimpleAction > | create (const Glib::ustring& name, const Glib::VariantBase& state) |
| Creates a new stateful action. More...
|
|
static Glib::RefPtr< SimpleAction > | create_bool (const Glib::ustring& name, bool state=false) |
| Creates a new boolean stateful action. More...
|
|
static Glib::RefPtr< SimpleAction > | create_radio_string (const Glib::ustring& name, const Glib::ustring& initial_state) |
| Creates a new radio action with a string-based target value. More...
|
|
static Glib::RefPtr< SimpleAction > | create_radio_integer (const Glib::ustring& name, gint32 initial_state) |
| Creates a new radio action with an integer-based target value. More...
|
|
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...
|
|
static bool | name_is_valid (const Glib::ustring& action_name) |
| Checks if action_name is valid. More...
|
|
template<typename T_Value > |
static void | parse_detailed_name (const Glib::ustring& detailed_name, Glib::ustring& action_name, T_Value& target_value) |
| Parses a detailed action name into its separate name and target components. More...
|
|
static void | parse_detailed_name_variant (const Glib::ustring& detailed_name, Glib::ustring& action_name, Glib::VariantBase& target_value) |
| Parses a detailed action name into its separate name and target components. More...
|
|
static Glib::ustring | print_detailed_name_variant (const Glib::ustring& action_name, const Glib::VariantBase& target_value) |
| Formats a detailed action name from action_name and target_value. More...
|
|
SimpleAction - A simple Action implementation.
A SimpleAction is the obvious simple implementation of the Action interface. This is the easiest way to create an action for purposes of adding it to a SimpleActionGroup.
See also Gtk::Action.
- Since glibmm 2.32: