GObject.Object
TelepathyGLib.ContactSearch
Import line: | TelepathyGLib = imports.gi.TelepathyGLib; |
GIR File: | TelepathyGLib-0.12.gir |
C documentation: | TelepathyGLibContactSearch |
Class : | ContactSearch |
Implements: | Gio.AsyncInitable |
Extends: | GObject.Object |
Properties | Defined By | |
---|---|---|
account : TelepathyGLib.Account
|
TelepathyGLib.ContactSearch | |
limit : guint32
|
TelepathyGLib.ContactSearch | |
parent : GObject.Object
read only
|
TelepathyGLib.ContactSearch | |
priv : TelepathyGLib.ContactSearchPrivate
read only
|
TelepathyGLib.ContactSearch | |
server : String
|
TelepathyGLib.ContactSearch | |
state : guint32
read only
|
TelepathyGLib.ContactSearch |
Method / Constructor | Defined By | |
---|---|---|
new TelepathyGLib.ContactSearch
(Object properties)
Create a new TelepathyGLib.ContactSearch
Create a new TelepathyGLib.ContactSearch
|
||
Create a new TelepathyGLib.ContactSearch
Create a new TelepathyGLib.ContactSearch
|
||
TelepathyGLib.ContactSearch.new_async
(Account account, String server, guint32 limit, Function callback, void* user_data)
:
none
|
TelepathyGLib.ContactSearch | |
get_account
()
:
TelepathyGLib.Account
|
TelepathyGLib.ContactSearch | |
get_limit
()
:
guint32
|
TelepathyGLib.ContactSearch | |
get_search_keys
()
:
Array
|
TelepathyGLib.ContactSearch | |
get_server
()
:
String
|
TelepathyGLib.ContactSearch | |
Starts asynchronous initialization of the object implementing the
interface.
Starts asynchronous initialization of the object implementing the
interface. This must be done before any real use of the object after initial construction. If the object also implements GInitable you can optionally call g_initable_init() instead. When the initialization is finished, callback will be called. You can then call g_async_initable_init_finish() to get the result of the initialization. Implementations may also support cancellation. If cancellable is not NULL, then initialization can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error G_IO_ERROR_CANCELLED will be returned. If cancellable is not NULL, and the object doesn't support cancellable initialization, the error G_IO_ERROR_NOT_SUPPORTED will be returned. If this function is not called, or returns with an error, then all operations on the object should fail, generally returning the error G_IO_ERROR_NOT_INITIALIZED. to this function with the same argument should return the same results. Only the first call initializes the object; further calls return the result of the first call. This is so that it's safe to implement the singleton pattern in the GObject constructor function. For classes that also support the GInitable interface, the default implementation of this method will run the g_initable_init() function in a thread, so if you want to support asynchronous initialization via threads, just implement the GAsyncInitable interface without overriding any interface methods.
|
Gio.AsyncInitable | |
init_finish
(AsyncResult res)
:
gboolean
Finishes asynchronous initialization and returns the result.
Finishes asynchronous initialization and returns the result.
See g_async_initable_init_async(). will return FALSE and set error appropriately if present.
|
Gio.AsyncInitable | |
new_finish
(AsyncResult res)
:
GObject.Object
Finishes the async construction for the various g_async_initable_new calls,
returning the created object or NULL on error.
Finishes the async construction for the various g_async_initable_new calls,
returning the created object or NULL on error. g_object_unref().
|
Gio.AsyncInitable | |
TelepathyGLib.ContactSearch | ||
reset_finish
(AsyncResult result)
:
Array
|
TelepathyGLib.ContactSearch | |
start
(Object criteria)
:
none
|
TelepathyGLib.ContactSearch |
Event | Defined By | |
---|---|---|
search_results_received (ContactSearch self, Array results)
:
none
|
TelepathyGLib.ContactSearch |