Interface

GnomeCmdFileActions

Description

interface GnomeCmd.FileActions : GObject.Object

No description available.

Prerequisite

In order to implement FileActions, your type must inherit fromGObject.

Instance methods

gnome_cmd_file_actions_create_main_menu

Creates a menu model to be shown in an application’s main menu.

gnome_cmd_file_actions_create_popup_menu_items

Creates a menu model to be shown in a context popup menu.

gnome_cmd_file_actions_execute

Executes a custom action defined by a plug-in.

Interface structure

struct GnomeCmdFileActionsInterface {
  GTypeInterface g_iface;
  GMenuModel* (* create_main_menu) (
    GnomeCmdFileActions* fa
  );
  GMenuModel* (* create_popup_menu_items) (
    GnomeCmdFileActions* fa,
    GnomeCmdState* state
  );
  void (* execute) (
    GnomeCmdFileActions* fa,
    const gchar* action,
    GVariant* parameter,
    GtkWindow* parent_window,
    GnomeCmdState* state
  );
  
}

No description available.

Interface members
g_iface
GTypeInterface
 

No description available.

create_main_menu
GMenuModel* (* create_main_menu) (
    GnomeCmdFileActions* fa
  )
 

No description available.

create_popup_menu_items
GMenuModel* (* create_popup_menu_items) (
    GnomeCmdFileActions* fa,
    GnomeCmdState* state
  )
 

No description available.

execute
void (* execute) (
    GnomeCmdFileActions* fa,
    const gchar* action,
    GVariant* parameter,
    GtkWindow* parent_window,
    GnomeCmdState* state
  )
 

No description available.

Virtual methods

GnomeCmd.FileActions.create_main_menu

Creates a menu model to be shown in an application’s main menu.

GnomeCmd.FileActions.create_popup_menu_items

Creates a menu model to be shown in a context popup menu.

GnomeCmd.FileActions.execute

Executes a custom action defined by a plug-in.