Dazzle.SuggestionPopover¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.Window (119), 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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/en |
The model to be visualized |
||
r/w/en |
The widget to be relative to |
||
r/w |
The selected suggestion |
||
r/w |
How to use ellipsis with subtitle |
||
r/w |
How to use ellipsis with title |
Style Properties¶
- Inherited:
Signals¶
- Inherited:
Gtk.Window (5), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)
Name |
Short Description |
---|---|
Fields¶
- Inherited:
Gtk.Window (5), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)
Class Details¶
- class Dazzle.SuggestionPopover(*args, **kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Return type:
- activate_selected()¶
- get_model()¶
- Returns:
A
Gio.ListModel
orNone
.- Return type:
Gets the model being visualized.
- get_relative_to()¶
- Returns:
A
Gtk.Widget
orNone
.- Return type:
Gtk.Widget
orNone
- get_selected()¶
- Returns:
An
Dazzle.Suggestion
orNone
.- Return type:
Gets the currently selected suggestion.
- popdown()¶
- popup()¶
- set_model(model)¶
- Parameters:
model (
Gio.ListModel
) –
- set_relative_to(widget)¶
- Parameters:
widget (
Gtk.Widget
) –
- set_selected(suggestion)¶
- Parameters:
suggestion (
Dazzle.Suggestion
) –
Signal Details¶
- Dazzle.SuggestionPopover.signals.suggestion_activated(suggestion_popover, object)¶
- Signal Name:
suggestion-activated
- Flags:
- Parameters:
suggestion_popover (
Dazzle.SuggestionPopover
) – The object which received the signalobject (
Dazzle.Suggestion
) –
Property Details¶
- Dazzle.SuggestionPopover.props.model¶
- Name:
model
- Type:
- Default Value:
- Flags:
The model to be visualized
- Dazzle.SuggestionPopover.props.relative_to¶
- Name:
relative-to
- Type:
- Default Value:
- Flags:
The widget to be relative to
- Dazzle.SuggestionPopover.props.selected¶
- Name:
selected
- Type:
- Default Value:
- Flags:
The selected suggestion
- Dazzle.SuggestionPopover.props.subtitle_ellipsize¶
- Name:
subtitle-ellipsize
- Type:
- Default Value:
- Flags:
How to use ellipsis with subtitle
- Dazzle.SuggestionPopover.props.title_ellipsize¶
- Name:
title-ellipsize
- Type:
- Default Value:
- Flags:
How to use ellipsis with title