Dazzle.ProgressMenuButton¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.MenuButton (13), Gtk.ToggleButton (10), Gtk.Button (29), Gtk.Bin (1), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Actionable (5), Gtk.Activatable (6)
- Structs:
Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)
class |
|
|
|
|
|
|
|
|
Virtual Methods¶
Properties¶
- Inherited:
Gtk.MenuButton (6), Gtk.ToggleButton (3), Gtk.Button (9), Gtk.Container (3), Gtk.Widget (39), Gtk.Actionable (2), Gtk.Activatable (2)
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/en |
Progress |
||
r/w/en |
Show progress instead of image |
||
r/w/en |
Show Theatric |
||
r/w |
Theatric Icon Name |
||
r/w |
Transition Duration |
Style Properties¶
- Inherited:
Signals¶
Fields¶
- Inherited:
Gtk.ToggleButton (1), Gtk.Button (6), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Dazzle.ProgressMenuButton(*args, **kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Return type:
- reset_theatrics()¶
To avoid suprious animations from the button, you must call this function any time you want to allow animations to continue. This is because animations are automatically started upon reaching a progress of 1.0.
If you are performing operations in the background, calling this function every time you add an operation is a good strategry.
Property Details¶
- Dazzle.ProgressMenuButton.props.progress¶
- Name:
progress
- Type:
- Default Value:
0.0
- Flags:
Progress
- Dazzle.ProgressMenuButton.props.show_progress¶
- Name:
show-progress
- Type:
- Default Value:
- Flags:
Show progress instead of image
- Dazzle.ProgressMenuButton.props.show_theatric¶
- Name:
show-theatric
- Type:
- Default Value:
- Flags:
Show Theatric
- Dazzle.ProgressMenuButton.props.theatric_icon_name¶
- Name:
theatric-icon-name
- Type:
- Default Value:
'folder-download-symbolic'
- Flags:
Theatric Icon Name