GOffice.PluginService

g GObject.Object GObject.Object GOffice.PluginService GOffice.PluginService GObject.Object->GOffice.PluginService

Subclasses:

GOffice.PluginServiceFileOpener, GOffice.PluginServiceFileSaver, GOffice.PluginServiceGeneral, GOffice.PluginServicePluginLoader, GOffice.PluginServiceResource, GOffice.PluginServiceSimple

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

define (type_str, ctor)

class

new (plugin, tree, ret_error)

activate (ret_error)

deactivate (ret_error)

get_cbs ()

get_description ()

get_id ()

get_plugin ()

load (ret_error)

plugin_loader_generate_type (ret_error)

unload (ret_error)

Virtual Methods

Inherited:

GObject.Object (7)

do_activate (ret_error)

do_deactivate (ret_error)

do_get_description ()

do_read_xml (tree, ret_error)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

cbs_ptr

object

r

g_object

GObject.Object

r

id

str

r

is_active

bool

r

is_loaded

bool

r

plugin

GOffice.Plugin

r

saved_description

str

r

Class Details

class GOffice.PluginService(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

GOffice.PluginServiceClass

classmethod define(type_str, ctor)
Parameters:

Allow the definition of new service types

classmethod new(plugin, tree, ret_error)
Parameters:
Return type:

GOffice.PluginService

activate(ret_error)
Parameters:

ret_error (GOffice.ErrorInfo) –

deactivate(ret_error)
Parameters:

ret_error (GOffice.ErrorInfo) –

get_cbs()
Returns:

the callbacks for the service

Return type:

object or None

get_description()
Return type:

str

get_id()
Return type:

str

get_plugin()
Returns:

the plugin offering self

Return type:

GOffice.Plugin

load(ret_error)
Parameters:

ret_error (GOffice.ErrorInfo) –

plugin_loader_generate_type(ret_error)
Parameters:

ret_error (GOffice.ErrorInfo) –

Return type:

GObject.GType

unload(ret_error)
Parameters:

ret_error (GOffice.ErrorInfo) –

do_activate(ret_error) virtual
Parameters:

ret_error (GOffice.ErrorInfo) –

do_deactivate(ret_error) virtual
Parameters:

ret_error (GOffice.ErrorInfo) –

do_get_description() virtual
Return type:

str

do_read_xml(tree, ret_error) virtual
Parameters: