Class: Handy::Flap
- Inherits:
-
Gtk::Container
- Object
- Gtk::Container
- Handy::Flap
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#content ⇒ Gtk::Widget
The content widget.
-
#content=(content) ⇒ Gtk::Widget
The content widget.
-
#flap ⇒ Gtk::Widget
The flap widget.
-
#flap=(flap) ⇒ Gtk::Widget
The flap widget.
-
#flap_position ⇒ Gtk::PackType
The flap position.
-
#flap_position=(flap_position) ⇒ Gtk::PackType
The flap position.
-
#fold_duration ⇒ Integer
The fold transition animation duration, in milliseconds.
-
#fold_duration=(fold_duration) ⇒ Integer
The fold transition animation duration, in milliseconds.
-
#fold_policy ⇒ Handy::FlapFoldPolicy
The current fold policy.
-
#fold_policy=(fold_policy) ⇒ Handy::FlapFoldPolicy
The current fold policy.
-
#folded ⇒ Boolean
Gets whether self is currently folded.
-
#folded=(folded) ⇒ Boolean
Whether the flap is currently folded.
-
#folded? ⇒ Boolean
Whether the flap is currently folded.
-
#initialize ⇒ Gtk::Widget
constructor
Creates a new
HdyFlap. -
#locked ⇒ Boolean
Gets whether self is locked.
-
#locked=(locked) ⇒ Boolean
Whether the flap is locked.
-
#locked? ⇒ Boolean
Whether the flap is locked.
-
#modal ⇒ Boolean
Gets whether the self is modal.
-
#modal=(modal) ⇒ Boolean
Whether the flap is modal.
-
#modal? ⇒ Boolean
Whether the flap is modal.
-
#reveal_duration ⇒ Integer
The reveal transition animation duration, in milliseconds.
-
#reveal_duration=(reveal_duration) ⇒ Integer
The reveal transition animation duration, in milliseconds.
-
#reveal_flap ⇒ Boolean
Gets whether the flap widget is revealed for self.
-
#reveal_flap=(reveal_flap) ⇒ Boolean
Whether the flap widget is revealed.
-
#reveal_flap? ⇒ Boolean
Whether the flap widget is revealed.
-
#reveal_progress ⇒ Float
The current reveal transition progress.
-
#reveal_progress=(reveal_progress) ⇒ Float
The current reveal transition progress.
-
#separator ⇒ Gtk::Widget
The separator widget.
-
#separator=(separator) ⇒ Gtk::Widget
The separator widget.
-
#swipe_to_close ⇒ Boolean
Gets whether self can be closed with a swipe gesture.
-
#swipe_to_close=(swipe_to_close) ⇒ Boolean
Whether the flap can be closed with a swipe gesture.
-
#swipe_to_close? ⇒ Boolean
Whether the flap can be closed with a swipe gesture.
-
#swipe_to_open ⇒ Boolean
Gets whether self can be opened with a swipe gesture.
-
#swipe_to_open=(swipe_to_open) ⇒ Boolean
Whether the flap can be opened with a swipe gesture.
-
#swipe_to_open? ⇒ Boolean
Whether the flap can be opened with a swipe gesture.
-
#transition_type ⇒ Handy::FlapTransitionType
the type of animation used for reveal and fold transitions.
-
#transition_type=(transition_type) ⇒ Handy::FlapTransitionType
the type of animation used for reveal and fold transitions.
Constructor Details
#initialize ⇒ Gtk::Widget
Creates a new HdyFlap.
Instance Method Details
#content ⇒ Gtk::Widget
The content widget.
It's always displayed when unfolded, and partially visible when folded.
#content=(content) ⇒ Gtk::Widget
The content widget.
It's always displayed when unfolded, and partially visible when folded.
#flap ⇒ Gtk::Widget
The flap widget.
It's only visible when [propertyFlap:reveal-progress] is greater than 0.
#flap=(flap) ⇒ Gtk::Widget
The flap widget.
It's only visible when [propertyFlap:reveal-progress] is greater than 0.
#flap_position ⇒ Gtk::PackType
The flap position.
If GTK_PACK_START, the flap is displayed before the content, if
GTK_PACK_END, it's displayed after the content.
#flap_position=(flap_position) ⇒ Gtk::PackType
The flap position.
If GTK_PACK_START, the flap is displayed before the content, if
GTK_PACK_END, it's displayed after the content.
#fold_duration ⇒ Integer
The fold transition animation duration, in milliseconds.
#fold_duration=(fold_duration) ⇒ Integer
The fold transition animation duration, in milliseconds.
#fold_policy ⇒ Handy::FlapFoldPolicy
The current fold policy.
See [enumFlapFoldPolicy] for available policies.
#fold_policy=(fold_policy) ⇒ Handy::FlapFoldPolicy
The current fold policy.
See [enumFlapFoldPolicy] for available policies.
#folded ⇒ Boolean
Gets whether self is currently folded.
#folded=(folded) ⇒ Boolean
Whether the flap is currently folded.
See [propertyFlap:fold-policy].
#folded? ⇒ Boolean
Whether the flap is currently folded.
See [propertyFlap:fold-policy].
#locked ⇒ Boolean
Gets whether self is locked.
#locked=(locked) ⇒ Boolean
Whether the flap is locked.
If FALSE, folding when the flap is revealed automatically closes it, and
unfolding it when the flap is not revealed opens it. If TRUE,
[propertyFlap:reveal-flap] value never changes on its own.
#locked? ⇒ Boolean
Whether the flap is locked.
If FALSE, folding when the flap is revealed automatically closes it, and
unfolding it when the flap is not revealed opens it. If TRUE,
[propertyFlap:reveal-flap] value never changes on its own.
#modal ⇒ Boolean
Gets whether the self is modal.
#modal=(modal) ⇒ Boolean
Whether the flap is modal.
If TRUE, clicking the content widget while flap is revealed, as well as
pressing the Esc key, will close the flap. If FALSE, clicks
are passed through to the content widget.
#modal? ⇒ Boolean
Whether the flap is modal.
If TRUE, clicking the content widget while flap is revealed, as well as
pressing the Esc key, will close the flap. If FALSE, clicks
are passed through to the content widget.
#reveal_duration ⇒ Integer
The reveal transition animation duration, in milliseconds.
#reveal_duration=(reveal_duration) ⇒ Integer
The reveal transition animation duration, in milliseconds.
#reveal_flap ⇒ Boolean
Gets whether the flap widget is revealed for self.
#reveal_flap=(reveal_flap) ⇒ Boolean
Whether the flap widget is revealed.
#reveal_flap? ⇒ Boolean
Whether the flap widget is revealed.
#reveal_progress ⇒ Float
The current reveal transition progress.
0 means fully hidden, 1 means fully revealed. See [propertyFlap:reveal-flap].
#reveal_progress=(reveal_progress) ⇒ Float
The current reveal transition progress.
0 means fully hidden, 1 means fully revealed. See [propertyFlap:reveal-flap].
#separator ⇒ Gtk::Widget
The separator widget.
It's displayed between content and flap when there's no shadow to display.
When exactly it's visible depends on the [propertyFlap:transition-type]
value. If NULL, no separator will be used.
#separator=(separator) ⇒ Gtk::Widget
The separator widget.
It's displayed between content and flap when there's no shadow to display.
When exactly it's visible depends on the [propertyFlap:transition-type]
value. If NULL, no separator will be used.
#swipe_to_close ⇒ Boolean
Gets whether self can be closed with a swipe gesture.
#swipe_to_close=(swipe_to_close) ⇒ Boolean
Whether the flap can be closed with a swipe gesture.
The area that can be swiped depends on the [propertyFlap:transition-type] value.
#swipe_to_close? ⇒ Boolean
Whether the flap can be closed with a swipe gesture.
The area that can be swiped depends on the [propertyFlap:transition-type] value.
#swipe_to_open ⇒ Boolean
Gets whether self can be opened with a swipe gesture.
#swipe_to_open=(swipe_to_open) ⇒ Boolean
Whether the flap can be opened with a swipe gesture.
The area that can be swiped depends on the [propertyFlap:transition-type] value.
#swipe_to_open? ⇒ Boolean
Whether the flap can be opened with a swipe gesture.
The area that can be swiped depends on the [propertyFlap:transition-type] value.
#transition_type ⇒ Handy::FlapTransitionType
the type of animation used for reveal and fold transitions.
[propertyFlap:flap] is transparent by default, which means the content
will be seen through it with HDY_FLAP_TRANSITION_TYPE_OVER transitions;
add the .background style class to it if this is unwanted.
#transition_type=(transition_type) ⇒ Handy::FlapTransitionType
the type of animation used for reveal and fold transitions.
[propertyFlap:flap] is transparent by default, which means the content
will be seen through it with HDY_FLAP_TRANSITION_TYPE_OVER transitions;
add the .background style class to it if this is unwanted.