Actionable
Object Hierarchy:
Gtk.Actionable
Gtk.Actionable
Gtk.Actionable
Gtk.Widget
Gtk.Widget
Gtk.Widget->Gtk.Actionable
GLib.InitiallyUnowned
GLib.InitiallyUnowned
GLib.InitiallyUnowned->Gtk.Widget
GLib.Object
GLib.Object
GLib.Object->GLib.InitiallyUnowned
Gtk.Accessible
Gtk.Accessible
Gtk.Accessible->Gtk.Widget
Gtk.Buildable
Gtk.Buildable
Gtk.Buildable->Gtk.Widget
Gtk.ConstraintTarget
Gtk.ConstraintTarget
Gtk.ConstraintTarget->Gtk.Widget
Description:
[
CCode ( type_cname =
"GtkActionableInterface" , type_id =
"gtk_actionable_get_type ()" ) ]
public interface Actionable :
Widget
The `GtkActionable` interface provides a convenient way of asscociating widgets with actions.
It primarily consists of two properties: [[email protected] :action-name] and [[email protected] :action-target]. There are
also some convenience APIs for setting these properties.
The action will be looked up in action groups that are found among the widgets ancestors. Most commonly, these will be the actions with
the “win.” or “app.” prefix that are associated with the `GtkApplicationWindow` or `GtkApplication`, but other action groups that
are added with [[email protected] _action_group] will be consulted as well.
All known implementing classes:
Content:
Properties:
Methods:
public abstract unowned string ? get_action_name ()
Gets the action name for this .
public abstract unowned Variant ? get_action_target_value ()
Gets the current target value of this
.
public abstract void set_action_name (string ? action_name)
Specifies the name of the action with which this widget should be
associated.
public void set_action_target (string format_string, ...)
Sets the target of an actionable widget.
public abstract void set_action_target_value (Variant ? target_value)
Sets the target value of an actionable widget.
public void set_detailed_action_name (string detailed_action_name)
Sets the action-name and associated string target value of an
actionable widget.
Inherited Members:
All known members inherited from class Gtk.Widget
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref
All known members inherited from interface Gtk.Accessible
All known members inherited from interface Gtk.Buildable