![]() |
![]() |
![]() |
GTranslator Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
GtranslatorPlugin; void gtranslator_plugin_activate (GtranslatorPlugin *plugin, GtranslatorWindow *window); void gtranslator_plugin_deactivate (GtranslatorPlugin *plugin, GtranslatorWindow *window); void gtranslator_plugin_update_ui (GtranslatorPlugin *plugin, GtranslatorWindow *window); gboolean gtranslator_plugin_is_configurable (GtranslatorPlugin *plugin); GtkWidget * gtranslator_plugin_create_configure_dialog (GtranslatorPlugin *plugin); #define GTR_PLUGIN_REGISTER_TYPE_WITH_CODE (PluginName, plugin_name, CODE) #define GTR_PLUGIN_REGISTER_TYPE (PluginName, plugin_name) #define GTR_PLUGIN_DEFINE_TYPE_WITH_CODE (ObjectName, object_name, PARENT_TYPE, CODE) #define GTR_PLUGIN_DEFINE_TYPE (ObjectName, object_name, PARENT_TYPE)
void gtranslator_plugin_activate (GtranslatorPlugin *plugin, GtranslatorWindow *window);
Activates the plugin.
|
a GtranslatorPlugin |
|
a GtranslatorWindow |
void gtranslator_plugin_deactivate (GtranslatorPlugin *plugin, GtranslatorWindow *window);
Deactivates the plugin.
|
a GtranslatorPlugin |
|
a GtranslatorWindow |
void gtranslator_plugin_update_ui (GtranslatorPlugin *plugin, GtranslatorWindow *window);
Triggers an update of the user interface to take into account state changes caused by the plugin.
|
a GtranslatorPlugin |
|
a GtranslatorWindow |
gboolean gtranslator_plugin_is_configurable (GtranslatorPlugin *plugin);
Whether the plugin is configurable.
|
a GtranslatorPlugin |
Returns : |
TRUE if the plugin is configurable: |
GtkWidget * gtranslator_plugin_create_configure_dialog (GtranslatorPlugin *plugin);
Creates the configure dialog widget for the plugin.
|
a GtranslatorPlugin |
Returns : |
the configure dialog widget for the plugin. |
#define GTR_PLUGIN_REGISTER_TYPE_WITH_CODE(PluginName, plugin_name, CODE)
Utility macro used to register plugins with additional code.
|
|
|
|
|
#define GTR_PLUGIN_REGISTER_TYPE(PluginName, plugin_name)
Utility macro used to register plugins.
|
|
|
#define GTR_PLUGIN_DEFINE_TYPE_WITH_CODE(ObjectName, object_name, PARENT_TYPE, CODE)
Utility macro used to register gobject types in plugins with additional code.
|
|
|
|
|
|
|