Top |
GeditAppActivatable is an interface which should be implemented by extensions that should be activated on a gedit application.
void
gedit_app_activatable_activate (GeditAppActivatable *activatable
);
Activates the extension on the application.
void
gedit_app_activatable_deactivate (GeditAppActivatable *activatable
);
Deactivates the extension from the application.
GeditMenuExtension * gedit_app_activatable_extend_menu (GeditAppActivatable *activatable
,const gchar *extension_point
);
Gets the GeditMenuExtension for the menu extension_point
. Note that
the extension point could be in different menus (gear menu, app menu, etc)
depending on the platform.
“app”
property“app” GeditApp *
The app property contains the gedit app for this GeditAppActivatable instance.
Owner: GeditAppActivatable
Flags: Read / Write / Construct Only