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.


Namespace: Gtk
Package: gtk4

Content:

Properties:

Methods:

Inherited Members:

All known members inherited from class Gtk.Widget
All known members inherited from class GLib.Object



2022 vala-language.org