| Peas Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
PeasExtension; PeasExtensionClass; gboolean peas_extension_call (PeasExtension *exten,const gchar *method_name,...); gboolean peas_extension_call_valist (PeasExtension *exten,const gchar *method_name,va_list args);
A PeasExtension is an object which proxies an actual extension. The application writer will use these objects in order to call methods on an instance of an actual extension exported by a loaded plugin.
typedef struct {
GObjectClass parent_class;
/* Virtual public methods */
gboolean (*call) (PeasExtension *exten,
const gchar *method,
va_list args);
} PeasExtensionClass;
gboolean peas_extension_call (PeasExtension *exten,const gchar *method_name,...);
Call a method of the object behind extension.
|
A PeasExtension. |
|
the name of the method that should be called. |
|
arguments for the method. |
Returns : |
TRUE on successful call.
|
gboolean peas_extension_call_valist (PeasExtension *exten,const gchar *method_name,va_list args);
Call a method of the object behind extension, using args as arguments.
|
A PeasExtension. |
|
the name of the method that should be called. |
|
the arguments for the method. |
Returns : |
TRUE on successful call.
|