Dazzle.SimplePopover

g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget Dazzle.SimplePopover Dazzle.SimplePopover GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Bin Gtk.Bin Gtk.Popover Gtk.Popover Gtk.Bin->Gtk.Popover Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.Container->Gtk.Bin Gtk.Popover->Dazzle.SimplePopover Gtk.Widget->Gtk.Container

Subclasses:

None

Methods

Inherited:

Gtk.Popover (19), Gtk.Bin (1), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10)

Structs:

Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)

class

new ()

get_button_text ()

get_message ()

get_ready ()

get_text ()

get_title ()

set_button_text (button_text)

set_message (message)

set_ready (ready)

set_text (text)

set_title (title)

Virtual Methods

Inherited:

Gtk.Popover (1), Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10)

do_activate (text)

do_changed ()

do_insert_text (position, chars, n_chars)

Properties

Inherited:

Gtk.Popover (6), Gtk.Container (3), Gtk.Widget (39)

Name

Type

Flags

Short Description

button-text

str

r/w

Button Text

message

str

r/w

Message

ready

bool

r/w

Ready

text

str

r/w

Text

title

str

r/w

Title

Style Properties

Inherited:

Gtk.Widget (17)

Signals

Inherited:

Gtk.Popover (1), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Name

Short Description

activate

This signal is emitted when the popover’s forward button is activated.

changed

This signal is emitted when the entry text changes.

insert-text

Use this signal to determine if text should be allowed to be inserted into the text buffer.

Fields

Inherited:

Gtk.Popover (1), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Name

Type

Access

Description

parent_instance

Gtk.Popover

r

Class Details

class Dazzle.SimplePopover(**kwargs)
Bases:

Gtk.Popover

Abstract:

No

Structure:

Dazzle.SimplePopoverClass

classmethod new()
Return type:

Gtk.Widget

get_button_text()
Return type:

str

get_message()
Return type:

str

get_ready()
Return type:

bool

get_text()
Return type:

str

get_title()
Return type:

str

set_button_text(button_text)
Parameters:

button_text (str) –

set_message(message)
Parameters:

message (str) –

set_ready(ready)
Parameters:

ready (bool) –

set_text(text)
Parameters:

text (str) –

set_title(title)
Parameters:

title (str) –

do_activate(text) virtual
Parameters:

text (str) –

do_changed() virtual
do_insert_text(position, chars, n_chars) virtual
Parameters:
  • position (int) –

  • chars (str) –

  • n_chars (int) –

Return type:

bool

Signal Details

Dazzle.SimplePopover.signals.activate(simple_popover, text)
Signal Name:

activate

Flags:

RUN_LAST

Parameters:
  • simple_popover (Dazzle.SimplePopover) – The object which received the signal

  • text (str) – The text at the time of activation.

This signal is emitted when the popover’s forward button is activated. Connect to this signal to perform your forward progress.

Dazzle.SimplePopover.signals.changed(simple_popover)
Signal Name:

changed

Flags:

RUN_LAST

Parameters:

simple_popover (Dazzle.SimplePopover) – The object which received the signal

This signal is emitted when the entry text changes.

Dazzle.SimplePopover.signals.insert_text(simple_popover, position, chars, n_chars)
Signal Name:

insert-text

Flags:

RUN_LAST

Parameters:
  • simple_popover (Dazzle.SimplePopover) – The object which received the signal

  • position (int) – the position in UTF-8 characters.

  • chars (str) – the None terminated UTF-8 text to insert.

  • n_chars (int) – the number of UTF-8 characters in chars.

Return type:

bool

Use this signal to determine if text should be allowed to be inserted into the text buffer. Return Gdk.EVENT_STOP to prevent the text from being inserted.

Property Details

Dazzle.SimplePopover.props.button_text
Name:

button-text

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Button Text

Dazzle.SimplePopover.props.message
Name:

message

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Message

Dazzle.SimplePopover.props.ready
Name:

ready

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

Ready

Dazzle.SimplePopover.props.text
Name:

text

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Text

Dazzle.SimplePopover.props.title
Name:

title

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Title