Interface
IdeApplicationAddin
since: 45
Prerequisite
In order to implement ApplicationAddin, your type must inherit fromGObject
.
Instance methods
ide_application_addin_activate
This function is activated when the GApplication::activate signal is emitted.
since: 45
ide_application_addin_add_option_entries
This function is called to allow the application a chance to add various
command-line options to the GOptionContext
. See
g_application_add_main_option_entries()
for more information on how to
add arguments.
since: 45
ide_application_addin_handle_command_line
This function is called to allow the addin to procses command line arguments that were parsed based on options added in ide_application_addin_add_option_entries().
since: 45
ide_application_addin_load
This interface method is called when the application is started or the plugin has just been activated.
since: 45
ide_application_addin_open
This function is activated when the GApplication::open
signal is emitted.
since: 45
ide_application_addin_unload
This inteface method is called when the application is shutting down or the plugin has been unloaded.
since: 45
Interface structure
struct IdeApplicationAddinInterface {
GTypeInterface parent_interface;
void (* load) (
IdeApplicationAddin* self,
IdeApplication* application
);
void (* unload) (
IdeApplicationAddin* self,
IdeApplication* application
);
void (* activate) (
IdeApplicationAddin* self,
IdeApplication* application
);
void (* open) (
IdeApplicationAddin* self,
IdeApplication* application,
GFile** files,
gint n_files,
const gchar* hint
);
void (* add_option_entries) (
IdeApplicationAddin* self,
IdeApplication* application
);
void (* handle_command_line) (
IdeApplicationAddin* self,
IdeApplication* application,
GApplicationCommandLine* cmdline
);
void (* workbench_added) (
IdeApplicationAddin* self,
IdeWorkbench* workbench
);
void (* workbench_removed) (
IdeApplicationAddin* self,
IdeWorkbench* workbench
);
}
Interface members
parent_interface |
|
No description available. | |
load |
|
No description available. | |
unload |
|
No description available. | |
activate |
|
No description available. | |
open |
|
No description available. | |
add_option_entries |
|
No description available. | |
handle_command_line |
|
No description available. | |
workbench_added |
|
No description available. | |
workbench_removed |
|
No description available. |
Virtual methods
Ide.ApplicationAddin.activate
This function is activated when the GApplication::activate signal is emitted.
since: 45
Ide.ApplicationAddin.add_option_entries
This function is called to allow the application a chance to add various
command-line options to the GOptionContext
. See
g_application_add_main_option_entries()
for more information on how to
add arguments.
since: 45
Ide.ApplicationAddin.handle_command_line
This function is called to allow the addin to procses command line arguments that were parsed based on options added in ide_application_addin_add_option_entries().
since: 45
Ide.ApplicationAddin.load
This interface method is called when the application is started or the plugin has just been activated.
since: 45
Ide.ApplicationAddin.open
This function is activated when the GApplication::open
signal is emitted.
since: 45
Ide.ApplicationAddin.unload
This inteface method is called when the application is shutting down or the plugin has been unloaded.
since: 45