Dazzle.DockRevealer¶
- Subclasses:
Methods¶
- Inherited:
Dazzle.Bin (1), 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 |
If the child is fully revealed |
||
r/w/en |
Position |
||
r/w/en |
If the position has been set |
||
r/w/en |
If the child should be revealed |
||
r/w/en |
Length of duration in milliseconds |
||
r/w/en |
Transition Type |
Style Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Dazzle.DockRevealer(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
This widget is a bit like
Gtk.Revealer
with a couple of important differences. First, it only supports a couple transition types (the direction to slide reveal). Additionally, the size of the child allocation will not change during the animation. This is not as generally useful as an upstream GTK+ widget, but is extremely important for the panel case to avoid things looking strange while animating into and out of view.- classmethod new()¶
- Return type:
- animate_to_position(position, transition_duration)¶
- get_transition_type()¶
- Return type:
- is_animating()¶
-
This is a helper to check if the revealer is animating. You probably don’t want to poll this function. Connect to notify::child-revealed or notify::reveal-child instead.
- set_transition_type(transition_type)¶
- Parameters:
transition_type (
Dazzle.DockRevealerTransitionType
) –
Property Details¶
- Dazzle.DockRevealer.props.child_revealed¶
-
If the child is fully revealed
- Dazzle.DockRevealer.props.position¶
- Name:
position
- Type:
- Default Value:
0
- Flags:
Position
- Dazzle.DockRevealer.props.position_set¶
- Name:
position-set
- Type:
- Default Value:
- Flags:
If the position has been set
- Dazzle.DockRevealer.props.reveal_child¶
- Name:
reveal-child
- Type:
- Default Value:
- Flags:
If the child should be revealed
- Dazzle.DockRevealer.props.transition_duration¶
- Name:
transition-duration
- Type:
- Default Value:
0
- Flags:
Length of duration in milliseconds
- Dazzle.DockRevealer.props.transition_type¶
- Name:
transition-type
- Type:
- Default Value:
- Flags:
Transition Type