Inhibits various session status changes.
To obtain an ID that can be used to undo the inhibition, use [[email protected]_inhibit_finish] in the callback.
To remove an active inhibitor, call [[email protected]_uninhibit] with the same ID.
this |
a [class@Portal] |
parent |
parent window information |
reason |
user-visible reason for the inhibition |
flags |
information about what to inhibit |
cancellable |
optional [[email protected]] |
callback |
a callback to call when the request is done |
data |
data to pass to |