GObject.Object
Atk.Misc
Import line: | Atk = imports.gi.Atk; |
GIR File: | Atk-1.0.gir |
C documentation: | AtkMisc |
Class : | Misc |
Extends: | GObject.Object |
Properties | Defined By | |
---|---|---|
parent : GObject.Object
read only
|
Atk.Misc |
Method / Constructor | Defined By | |
---|---|---|
new Atk.Misc
(Object properties)
Create a new Atk.Misc
Create a new Atk.Misc
|
||
Atk.Misc.get_instance
()
:
Atk.Misc
Obtain the singleton instance of AtkMisc for this application.
Obtain the singleton instance of AtkMisc for this application.
|
Atk.Misc | |
threads_enter
()
:
none
Take the thread mutex for the GUI toolkit,
if one exists.
Take the thread mutex for the GUI toolkit,
if one exists. (This method is implemented by the toolkit ATK implementation layer; for instance, for GTK+, GAIL implements this via GDK_THREADS_ENTER).
|
Atk.Misc | |
threads_leave
()
:
none
Release the thread mutex for the GUI toolkit,
if one exists.
Release the thread mutex for the GUI toolkit,
if one exists. This method, and atk_misc_threads_enter, are needed in some situations by threaded application code which services ATK requests, since fulfilling ATK requests often requires calling into the GUI toolkit. If a long-running or potentially blocking call takes place inside such a block, it should be bracketed by atk_misc_threads_leave/atk_misc_threads_enter calls. (This method is implemented by the toolkit ATK implementation layer; for instance, for GTK+, GAIL implements this via GDK_THREADS_LEAVE).
|
Atk.Misc |
None |