| Top |
GeditAppActivatable is an interface which should be implemented by extensions that should be activated on a GeditApp.
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.
struct GeditAppActivatableInterface {
GTypeInterface parent_interface;
void (*activate) (GeditAppActivatable *activatable);
void (*deactivate) (GeditAppActivatable *activatable);
};
The virtual function table for GeditAppActivatable.
GTypeInterface |
The parent interface. |
|
The virtual function pointer for |
||
The virtual function pointer for
|