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.Valueto rendercontext (
Gda.SqlRenderingContext) – the rendering context
- Returns:
a new string, or
Noneif 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.ThreadWrapperinstance (
objectorNone) – a pointer to the instance which emitted the signalsigname (
str) – the name of the signal being emittedn_param_values (
int) – number ofGObject.Valuein param_valuesparam_values (
GObject.Value) – array of n_param_valuesGObject.Valuedata (
objectorNone) – 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 (
objectorNone) – 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 (
objectorNone) – 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().