Polkit.SystemBusName¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/c |
The unique name on the system message bus |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Polkit.SystemBusName(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
An object that represents a process owning a unique name on the system bus.
- classmethod new(name)¶
- Parameters:
name (
str
) – A unique system bus name.- Returns:
A
Polkit.SystemBusName
. Free withGObject.Object.unref
().- Return type:
Creates a new
Polkit.SystemBusName
for name.
- get_name()¶
- Returns:
The unique system bus name for self. Do not free, this string is owned by self.
- Return type:
Gets the unique system bus name for self.
- get_process_sync(cancellable)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.- Raises:
- Returns:
A
Polkit.UnixProcess
object orNone
if error is set.- Return type:
Synchronously gets a
Polkit.UnixProcess
object for selfthe calling thread is blocked until a reply is received.
- get_user_sync(cancellable)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.- Raises:
- Returns:
A
Polkit.UnixUser
object orNone
if error is set.- Return type:
Synchronously gets a
Polkit.UnixUser
object for self; the calling thread is blocked until a reply is received.