Gtk.Actionable

const Gtk = imports.gi.Gtk;

let actionable = new Gtk.Actionable({
    action_name: value,
    action_target: value,
});
  

This interface provides a convenient way of associating widgets with actions on a Gtk.ApplicationWindow or Gtk.Application.

It primarily consists of two properties: Gtk.action-name and Gtk.action-target. There are also some convenience APIs for setting these properties.

This interface is presently only meaningful if used on a widget that is (or will be) located inside of a Gtk.ApplicationWindow and can only be used to associate the widget with actions on that window, or its associated Gtk.Application.

Hierarchy

  • Gtk.Actionable