Callbacks¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Details¶
- Gda.AttributesManagerFunc(att_name, value, data)¶
- Parameters:
att_name (
str
) –value (
GObject.Value
) –
- Gda.AttributesManagerSignal(obj, att_name, value, data)¶
- Parameters:
obj (
GObject.Object
) –att_name (
str
) –value (
GObject.Value
) –
- Gda.ServerProviderAsyncCallback(provider, cnc, task_id, result_status, error, data)¶
- Parameters:
provider (
Gda.ServerProvider
) –cnc (
Gda.Connection
) –task_id (
int
) –result_status (
bool
) –error (
GLib.Error
) –
Function to be called by Libgda when the associated asynchronous method invoked finishes.
- Gda.ServerProviderExecCallback(provider, cnc, task_id, result_obj, error, data)¶
- Parameters:
provider (
Gda.ServerProvider
) –cnc (
Gda.Connection
) –task_id (
int
) –result_obj (
GObject.Object
) –error (
GLib.Error
) –
Function to be called by Libgda when the associated asynchronous method invoked finishes
- Gda.SqlRenderingValue(value, context)¶
- Parameters:
value (
GObject.Value
) – theGObject.Value
to rendercontext (
Gda.SqlRenderingContext
) – the rendering context
- Returns:
a new string, or
None
if an error occurred- Return type:
Rendering function type to render a
GObject.Value
- Gda.ThreadWrapperCallback(wrapper, instance, signame, n_param_values, param_values, gda_reserved, data)¶
- Parameters:
wrapper (
Gda.ThreadWrapper
) – theGda.ThreadWrapper
instance (
object
orNone
) – a pointer to the instance which emitted the signalsigname (
str
) – the name of the signal being emittedn_param_values (
int
) – number ofGObject.Value
in param_valuesparam_values (
GObject.Value
) – array of n_param_valuesGObject.Value
data (
object
orNone
) – a pointer to the data (which is the data argument passed toGda.ThreadWrapper.connect_raw
())
Specifies the type of function to be passed to
Gda.ThreadWrapper.connect_raw
()
- Gda.ThreadWrapperFunc(arg)¶
- Parameters:
arg (
object
orNone
) – pointer to the data (which is the arg argument passed toGda.ThreadWrapper.execute_void
())- Returns:
a pointer to some data which will be returned by
Gda.ThreadWrapper.fetch_result
()- Return type:
Specifies the type of function to be passed to
Gda.ThreadWrapper.execute
().
- Gda.ThreadWrapperVoidFunc(arg)¶
- Parameters:
arg (
object
orNone
) – a pointer to the data (which is the arg argument passed toGda.ThreadWrapper.execute_void
())
Specifies the type of function to be passed to
Gda.ThreadWrapper.execute_void
().