PolkitAgent.TextListener¶
- Subclasses:
None
Methods¶
- Inherited:
PolkitAgent.Listener (5), GObject.Object (37), Gio.Initable (2)
- Structs:
class |
|
Virtual Methods¶
- Inherited:
PolkitAgent.Listener (2), GObject.Object (7), Gio.Initable (1)
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
|||
r/w/co |
|||
r/w/co |
Signals¶
- Inherited:
Name |
Short Description |
---|---|
Fields¶
- Inherited:
Class Details¶
- class PolkitAgent.TextListener(**kwargs)¶
- Bases:
- Abstract:
No
PolkitAgent.TextListener
is anPolkitAgent.Listener
implementation that interacts with the user using a textual interface.- classmethod new(cancellable)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.- Raises:
- Returns:
A
PolkitAgent.TextListener
orNone
if error is set. Free withGObject.Object.unref
() when done with it.- Return type:
Creates a new
PolkitAgent.TextListener
for authenticating the user via an textual interface on the controlling terminal (e.g. /dev/tty). This can fail if e.g. the current process has no controlling terminal.
Signal Details¶
- PolkitAgent.TextListener.signals.tty_attrs_changed(text_listener, object)¶
- Signal Name:
tty-attrs-changed
- Flags:
- Parameters:
text_listener (
PolkitAgent.TextListener
) – The object which received the signalobject (
bool
) –
Property Details¶
- PolkitAgent.TextListener.props.delay¶
- Name:
delay
- Type:
- Default Value:
1
- Flags:
- PolkitAgent.TextListener.props.use_alternate_buffer¶
- Name:
use-alternate-buffer
- Type:
- Default Value:
- Flags: