[−][src]Struct libhandy4::Squeezer
Implementations
impl Squeezer
[src]
pub fn new() -> Squeezer
[src]
pub fn add<P: IsA<Widget>>(&self, child: &P) -> Option<SqueezerPage>
[src]
pub fn get_homogeneous(&self) -> bool
[src]
Gets whether self
is homogeneous.
See Squeezer::set_homogeneous
.
Returns
true
if self
is homogeneous, false
is not
pub fn get_interpolate_size(&self) -> bool
[src]
Gets whether self
should interpolate its size on visible child change.
See Squeezer::set_interpolate_size
.
Returns
true
if self
interpolates its size on visible child change, false
if not
pub fn get_page<P: IsA<Widget>>(&self, child: &P) -> Option<SqueezerPage>
[src]
pub fn get_pages(&self) -> Option<SelectionModel>
[src]
Returns a gio::ListModel
that contains the pages of the squeezer, and can be
used to keep an up-to-date view. The model also implements gtk::SelectionModel
and can be used to track the visible page.
Returns
a gtk::SelectionModel
for the squeezer's children
pub fn get_transition_duration(&self) -> u32
[src]
Gets the amount of time (in milliseconds) that transitions between children
in self
will take.
Returns
the transition duration
pub fn get_transition_running(&self) -> bool
[src]
Gets whether self
is currently in a transition from one child to another.
Returns
true
if the transition is currently running, false
otherwise.
pub fn get_transition_type(&self) -> SqueezerTransitionType
[src]
Gets the type of animation that will be used for transitions between children
in self
.
Returns
the current transition type of self
pub fn get_visible_child(&self) -> Option<Widget>
[src]
Gets the currently visible child of self
, or None
if there are no visible
children.
Returns
the visible child of the Squeezer
pub fn get_xalign(&self) -> f32
[src]
pub fn get_yalign(&self) -> f32
[src]
pub fn remove<P: IsA<Widget>>(&self, child: &P)
[src]
pub fn set_homogeneous(&self, homogeneous: bool)
[src]
Sets self
to be homogeneous or not. If it is homogeneous, self
will request
the same size for all its children for its opposite orientation, e.g. if
self
is oriented horizontally and is homogeneous, it will request the same
height for all its children. If it isn't, self
may change size when a
different child becomes visible.
homogeneous
true
to make self
homogeneous
pub fn set_interpolate_size(&self, interpolate_size: bool)
[src]
Sets whether or not self
will interpolate the size of its opposing
orientation when changing the visible child. If true
, self
will interpolate
its size between the one of the previous visible child and the one of the new
visible child, according to the set transition duration and the orientation,
e.g. if self
is horizontal, it will interpolate the its height.
interpolate_size
true
to interpolate the size
pub fn set_transition_duration(&self, duration: u32)
[src]
Sets the duration that transitions between children in self
will take.
duration
the new duration, in milliseconds
pub fn set_transition_type(&self, transition: SqueezerTransitionType)
[src]
Sets the type of animation that will be used for transitions between children
in self
. Available types include various kinds of fades and slides.
The transition type can be changed without problems at runtime, so it is possible to change the animation based on the child that is about to become current.
transition
the new transition type
pub fn set_xalign(&self, xalign: f32)
[src]
pub fn set_yalign(&self, yalign: f32)
[src]
pub fn connect_property_homogeneous_notify<F: Fn(&Squeezer) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_interpolate_size_notify<F: Fn(&Squeezer) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_pages_notify<F: Fn(&Squeezer) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_transition_duration_notify<F: Fn(&Squeezer) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_transition_running_notify<F: Fn(&Squeezer) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_transition_type_notify<F: Fn(&Squeezer) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_visible_child_notify<F: Fn(&Squeezer) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_xalign_notify<F: Fn(&Squeezer) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_yalign_notify<F: Fn(&Squeezer) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
Trait Implementations
impl Clone for Squeezer
[src]
impl Debug for Squeezer
[src]
impl Default for Squeezer
[src]
impl Display for Squeezer
[src]
impl Eq for Squeezer
[src]
impl Hash for Squeezer
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl IsA<Accessible> for Squeezer
[src]
impl IsA<Buildable> for Squeezer
[src]
impl IsA<ConstraintTarget> for Squeezer
[src]
impl IsA<Orientable> for Squeezer
[src]
impl IsA<Widget> for Squeezer
[src]
impl Ord for Squeezer
[src]
pub fn cmp(&self, other: &Squeezer) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl ParentClassIs for Squeezer
[src]
type Parent = Widget
impl<T: ObjectType> PartialEq<T> for Squeezer
[src]
impl<T: ObjectType> PartialOrd<T> for Squeezer
[src]
pub fn partial_cmp(&self, other: &T) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StaticType for Squeezer
[src]
pub fn static_type() -> Type
[src]
impl StructuralEq for Squeezer
[src]
Auto Trait Implementations
impl RefUnwindSafe for Squeezer
[src]
impl !Send for Squeezer
[src]
impl !Sync for Squeezer
[src]
impl Unpin for Squeezer
[src]
impl UnwindSafe for Squeezer
[src]
Blanket Implementations
impl<O> AccessibleExt for O where
O: IsA<Accessible>,
O: IsA<Accessible>,
pub fn get_accessible_role(&self) -> AccessibleRole
pub fn reset_property(&self, property: AccessibleProperty)
pub fn reset_relation(&self, relation: AccessibleRelation)
pub fn reset_state(&self, state: AccessibleState)
pub fn set_property_accessible_role(&self, accessible_role: AccessibleRole)
pub fn connect_property_accessible_role_notify<F>(
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<O> BuildableExt for O where
O: IsA<Buildable>,
O: IsA<Buildable>,
pub fn get_buildable_id(&self) -> Option<GString>
impl<Super, Sub> CanDowncast<Sub> for Super where
Sub: IsA<Super>,
Super: IsA<Super>,
Sub: IsA<Super>,
Super: IsA<Super>,
impl<T> Cast for T where
T: ObjectType,
T: ObjectType,
pub fn upcast<T>(self) -> T where
Self: IsA<T>,
T: ObjectType,
Self: IsA<T>,
T: ObjectType,
pub fn upcast_ref<T>(&self) -> &T where
Self: IsA<T>,
T: ObjectType,
Self: IsA<T>,
T: ObjectType,
pub fn downcast<T>(self) -> Result<T, Self> where
Self: CanDowncast<T>,
T: ObjectType,
Self: CanDowncast<T>,
T: ObjectType,
pub fn downcast_ref<T>(&self) -> Option<&T> where
Self: CanDowncast<T>,
T: ObjectType,
Self: CanDowncast<T>,
T: ObjectType,
pub fn dynamic_cast<T>(self) -> Result<T, Self> where
T: ObjectType,
T: ObjectType,
pub fn dynamic_cast_ref<T>(&self) -> Option<&T> where
T: ObjectType,
T: ObjectType,
pub unsafe fn unsafe_cast<T>(self) -> T where
T: ObjectType,
T: ObjectType,
pub unsafe fn unsafe_cast_ref<T>(&self) -> &T where
T: ObjectType,
T: ObjectType,
impl<O> ConstraintTargetExt for O where
O: IsA<ConstraintTarget>,
O: IsA<ConstraintTarget>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ObjectExt for T where
T: ObjectType,
T: ObjectType,
pub fn is<U>(&self) -> bool where
U: StaticType,
U: StaticType,
pub fn get_type(&self) -> Type
pub fn get_object_class(&self) -> &Class<Object>
pub fn set_properties(
&self,
property_values: &[(&str, &dyn ToValue)]
) -> Result<(), BoolError>
&self,
property_values: &[(&str, &dyn ToValue)]
) -> Result<(), BoolError>
pub fn set_properties_generic(
&self,
property_values: &[(&str, Value)]
) -> Result<(), BoolError>
&self,
property_values: &[(&str, Value)]
) -> Result<(), BoolError>
pub fn set_property<'a, N, V>(
&self,
property_name: N,
value: &V
) -> Result<(), BoolError> where
V: ToValue,
N: Into<&'a str>,
&self,
property_name: N,
value: &V
) -> Result<(), BoolError> where
V: ToValue,
N: Into<&'a str>,
pub fn set_property_generic<'a, N>(
&self,
property_name: N,
value: &Value
) -> Result<(), BoolError> where
N: Into<&'a str>,
&self,
property_name: N,
value: &Value
) -> Result<(), BoolError> where
N: Into<&'a str>,
pub fn get_property<'a, N>(&self, property_name: N) -> Result<Value, BoolError> where
N: Into<&'a str>,
N: Into<&'a str>,
pub unsafe fn set_qdata<QD>(&self, key: Quark, value: QD) where
QD: 'static,
QD: 'static,
pub unsafe fn get_qdata<QD>(&self, key: Quark) -> Option<&QD> where
QD: 'static,
QD: 'static,
pub unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD> where
QD: 'static,
QD: 'static,
pub unsafe fn set_data<QD>(&self, key: &str, value: QD) where
QD: 'static,
QD: 'static,
pub unsafe fn get_data<QD>(&self, key: &str) -> Option<&QD> where
QD: 'static,
QD: 'static,
pub unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD> where
QD: 'static,
QD: 'static,
pub fn block_signal(&self, handler_id: &SignalHandlerId)
pub fn unblock_signal(&self, handler_id: &SignalHandlerId)
pub fn stop_signal_emission(&self, signal_name: &str)
pub fn disconnect(&self, handler_id: SignalHandlerId)
pub fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&T, &ParamSpec),
F: 'static + Send + Sync + Fn(&T, &ParamSpec),
pub fn connect_notify_local<F>(
&self,
name: Option<&str>,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&T, &ParamSpec),
&self,
name: Option<&str>,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&T, &ParamSpec),
pub unsafe fn connect_notify_unsafe<F>(
&self,
name: Option<&str>,
f: F
) -> SignalHandlerId where
F: Fn(&T, &ParamSpec),
&self,
name: Option<&str>,
f: F
) -> SignalHandlerId where
F: Fn(&T, &ParamSpec),
pub fn notify<'a, N>(&self, property_name: N) where
N: Into<&'a str>,
N: Into<&'a str>,
pub fn notify_by_pspec(&self, pspec: &ParamSpec)
pub fn has_property<'a, N>(&self, property_name: N, type_: Option<Type>) -> bool where
N: Into<&'a str>,
N: Into<&'a str>,
pub fn get_property_type<'a, N>(&self, property_name: N) -> Option<Type> where
N: Into<&'a str>,
N: Into<&'a str>,
pub fn find_property<'a, N>(&self, property_name: N) -> Option<ParamSpec> where
N: Into<&'a str>,
N: Into<&'a str>,
pub fn list_properties(&self) -> Vec<ParamSpec, Global>
pub fn connect<'a, N, F>(
&self,
signal_name: N,
after: bool,
callback: F
) -> Result<SignalHandlerId, BoolError> where
F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,
N: Into<&'a str>,
&self,
signal_name: N,
after: bool,
callback: F
) -> Result<SignalHandlerId, BoolError> where
F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,
N: Into<&'a str>,
pub fn connect_local<'a, N, F>(
&self,
signal_name: N,
after: bool,
callback: F
) -> Result<SignalHandlerId, BoolError> where
F: Fn(&[Value]) -> Option<Value> + 'static,
N: Into<&'a str>,
&self,
signal_name: N,
after: bool,
callback: F
) -> Result<SignalHandlerId, BoolError> where
F: Fn(&[Value]) -> Option<Value> + 'static,
N: Into<&'a str>,
pub unsafe fn connect_unsafe<'a, N, F>(
&self,
signal_name: N,
after: bool,
callback: F
) -> Result<SignalHandlerId, BoolError> where
F: Fn(&[Value]) -> Option<Value>,
N: Into<&'a str>,
&self,
signal_name: N,
after: bool,
callback: F
) -> Result<SignalHandlerId, BoolError> where
F: Fn(&[Value]) -> Option<Value>,
N: Into<&'a str>,
pub fn emit<'a, N>(
&self,
signal_name: N,
args: &[&dyn ToValue]
) -> Result<Option<Value>, BoolError> where
N: Into<&'a str>,
&self,
signal_name: N,
args: &[&dyn ToValue]
) -> Result<Option<Value>, BoolError> where
N: Into<&'a str>,
pub fn emit_generic<'a, N>(
&self,
signal_name: N,
args: &[Value]
) -> Result<Option<Value>, BoolError> where
N: Into<&'a str>,
&self,
signal_name: N,
args: &[Value]
) -> Result<Option<Value>, BoolError> where
N: Into<&'a str>,
pub fn downgrade(&self) -> WeakRef<T>
pub fn bind_property<'a, O, N, M>(
&'a self,
source_property: N,
target: &'a O,
target_property: M
) -> BindingBuilder<'a> where
O: ObjectType,
N: Into<&'a str>,
M: Into<&'a str>,
&'a self,
source_property: N,
target: &'a O,
target_property: M
) -> BindingBuilder<'a> where
O: ObjectType,
N: Into<&'a str>,
M: Into<&'a str>,
pub fn ref_count(&self) -> u32
impl<O> OrientableExt for O where
O: IsA<Orientable>,
O: IsA<Orientable>,
pub fn get_orientation(&self) -> Orientation
pub fn set_orientation(&self, orientation: Orientation)
pub fn connect_property_orientation_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToSendValue for T where
T: ToValue + SetValue + Send + ?Sized,
T: ToValue + SetValue + Send + ?Sized,
pub fn to_send_value(&self) -> SendValue
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> ToValue for T where
T: SetValue + ?Sized,
T: SetValue + ?Sized,
pub fn to_value(&self) -> Value
pub fn to_value_type(&self) -> Type
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<O> WidgetExt for O where
O: IsA<Widget>,
O: IsA<Widget>,
pub fn action_set_enabled(&self, action_name: &str, enabled: bool)
pub fn activate(&self) -> bool
pub fn activate_action_variant(
&self,
name: &str,
args: Option<&Variant>
) -> bool
&self,
name: &str,
args: Option<&Variant>
) -> bool
pub fn activate_default(&self)
pub fn add_controller<P>(&self, controller: &P) where
P: IsA<EventController>,
P: IsA<EventController>,
pub fn add_css_class(&self, css_class: &str)
pub fn add_mnemonic_label<P>(&self, label: &P) where
P: IsA<Widget>,
P: IsA<Widget>,
pub fn allocate(
&self,
width: i32,
height: i32,
baseline: i32,
transform: Option<&Transform>
)
&self,
width: i32,
height: i32,
baseline: i32,
transform: Option<&Transform>
)
pub fn child_focus(&self, direction: DirectionType) -> bool
pub fn compute_bounds<P>(&self, target: &P) -> Option<Rect> where
P: IsA<Widget>,
P: IsA<Widget>,
pub fn compute_expand(&self, orientation: Orientation) -> bool
pub fn compute_point<P>(&self, target: &P, point: &Point) -> Option<Point> where
P: IsA<Widget>,
P: IsA<Widget>,
pub fn compute_transform<P>(&self, target: &P) -> Option<Matrix> where
P: IsA<Widget>,
P: IsA<Widget>,
pub fn contains(&self, x: f64, y: f64) -> bool
pub fn create_pango_context(&self) -> Context
pub fn create_pango_layout(&self, text: Option<&str>) -> Layout
pub fn drag_check_threshold(
&self,
start_x: i32,
start_y: i32,
current_x: i32,
current_y: i32
) -> bool
&self,
start_x: i32,
start_y: i32,
current_x: i32,
current_y: i32
) -> bool
pub fn error_bell(&self)
pub fn get_allocated_baseline(&self) -> i32
pub fn get_allocated_height(&self) -> i32
pub fn get_allocated_width(&self) -> i32
pub fn get_allocation(&self) -> Rectangle
pub fn get_ancestor(&self, widget_type: Type) -> Option<Widget>
pub fn get_can_focus(&self) -> bool
pub fn get_can_target(&self) -> bool
pub fn get_child_visible(&self) -> bool
pub fn get_clipboard(&self) -> Clipboard
pub fn get_css_classes(&self) -> Vec<GString, Global>
pub fn get_css_name(&self) -> Option<GString>
pub fn get_cursor(&self) -> Option<Cursor>
pub fn get_direction(&self) -> TextDirection
pub fn get_display(&self) -> Display
pub fn get_first_child(&self) -> Option<Widget>
pub fn get_focus_child(&self) -> Option<Widget>
pub fn get_focus_on_click(&self) -> bool
pub fn get_focusable(&self) -> bool
pub fn get_font_map(&self) -> Option<FontMap>
pub fn get_font_options(&self) -> Option<FontOptions>
pub fn get_frame_clock(&self) -> Option<FrameClock>
pub fn get_halign(&self) -> Align
pub fn get_has_tooltip(&self) -> bool
pub fn get_height(&self) -> i32
pub fn get_hexpand(&self) -> bool
pub fn get_hexpand_set(&self) -> bool
pub fn get_last_child(&self) -> Option<Widget>
pub fn get_layout_manager(&self) -> Option<LayoutManager>
pub fn get_mapped(&self) -> bool
pub fn get_margin_bottom(&self) -> i32
pub fn get_margin_end(&self) -> i32
pub fn get_margin_start(&self) -> i32
pub fn get_margin_top(&self) -> i32
pub fn get_name(&self) -> Option<GString>
pub fn get_native(&self) -> Option<Native>
pub fn get_next_sibling(&self) -> Option<Widget>
pub fn get_opacity(&self) -> f64
pub fn get_overflow(&self) -> Overflow
pub fn get_pango_context(&self) -> Context
pub fn get_parent(&self) -> Option<Widget>
pub fn get_preferred_size(&self) -> (Requisition, Requisition)
pub fn get_prev_sibling(&self) -> Option<Widget>
pub fn get_primary_clipboard(&self) -> Clipboard
pub fn get_realized(&self) -> bool
pub fn get_receives_default(&self) -> bool
pub fn get_request_mode(&self) -> SizeRequestMode
pub fn get_root(&self) -> Option<Root>
pub fn get_scale_factor(&self) -> i32
pub fn get_sensitive(&self) -> bool
pub fn get_settings(&self) -> Settings
pub fn get_size(&self, orientation: Orientation) -> i32
pub fn get_size_request(&self) -> (i32, i32)
pub fn get_state_flags(&self) -> StateFlags
pub fn get_style_context(&self) -> StyleContext
pub fn get_template_child(
&self,
widget_type: Type,
name: &str
) -> Option<Object>
&self,
widget_type: Type,
name: &str
) -> Option<Object>
pub fn get_tooltip_markup(&self) -> Option<GString>
pub fn get_tooltip_text(&self) -> Option<GString>
pub fn get_valign(&self) -> Align
pub fn get_vexpand(&self) -> bool
pub fn get_vexpand_set(&self) -> bool
pub fn get_visible(&self) -> bool
pub fn get_width(&self) -> i32
pub fn grab_focus(&self) -> bool
pub fn has_css_class(&self, css_class: &str) -> bool
pub fn has_default(&self) -> bool
pub fn has_focus(&self) -> bool
pub fn has_visible_focus(&self) -> bool
pub fn hide(&self)
pub fn in_destruction(&self) -> bool
pub fn init_template(&self)
pub fn insert_action_group<P>(&self, name: &str, group: Option<&P>) where
P: IsA<ActionGroup>,
P: IsA<ActionGroup>,
pub fn insert_after<P, Q>(&self, parent: &P, previous_sibling: Option<&Q>) where
P: IsA<Widget>,
Q: IsA<Widget>,
P: IsA<Widget>,
Q: IsA<Widget>,
pub fn insert_before<P, Q>(&self, parent: &P, next_sibling: Option<&Q>) where
P: IsA<Widget>,
Q: IsA<Widget>,
P: IsA<Widget>,
Q: IsA<Widget>,
pub fn is_ancestor<P>(&self, ancestor: &P) -> bool where
P: IsA<Widget>,
P: IsA<Widget>,
pub fn is_drawable(&self) -> bool
pub fn is_focus(&self) -> bool
pub fn is_sensitive(&self) -> bool
pub fn is_visible(&self) -> bool
pub fn keynav_failed(&self, direction: DirectionType) -> bool
pub fn list_mnemonic_labels(&self) -> Vec<Widget, Global>
pub fn map(&self)
pub fn measure(
&self,
orientation: Orientation,
for_size: i32
) -> (i32, i32, i32, i32)
&self,
orientation: Orientation,
for_size: i32
) -> (i32, i32, i32, i32)
pub fn mnemonic_activate(&self, group_cycling: bool) -> bool
pub fn observe_children(&self) -> ListModel
pub fn observe_controllers(&self) -> ListModel
pub fn pick(&self, x: f64, y: f64, flags: PickFlags) -> Option<Widget>
pub fn queue_allocate(&self)
pub fn queue_draw(&self)
pub fn queue_resize(&self)
pub fn realize(&self)
pub fn remove_controller<P>(&self, controller: &P) where
P: IsA<EventController>,
P: IsA<EventController>,
pub fn remove_css_class(&self, css_class: &str)
pub fn remove_mnemonic_label<P>(&self, label: &P) where
P: IsA<Widget>,
P: IsA<Widget>,
pub fn set_can_focus(&self, can_focus: bool)
pub fn set_can_target(&self, can_target: bool)
pub fn set_child_visible(&self, child_visible: bool)
pub fn set_css_classes(&self, classes: &[&str])
pub fn set_cursor(&self, cursor: Option<&Cursor>)
pub fn set_cursor_from_name(&self, name: Option<&str>)
pub fn set_direction(&self, dir: TextDirection)
pub fn set_focus_child<P>(&self, child: Option<&P>) where
P: IsA<Widget>,
P: IsA<Widget>,
pub fn set_focus_on_click(&self, focus_on_click: bool)
pub fn set_focusable(&self, focusable: bool)
pub fn set_font_map<P>(&self, font_map: Option<&P>) where
P: IsA<FontMap>,
P: IsA<FontMap>,
pub fn set_font_options(&self, options: Option<&FontOptions>)
pub fn set_halign(&self, align: Align)
pub fn set_has_tooltip(&self, has_tooltip: bool)
pub fn set_hexpand(&self, expand: bool)
pub fn set_hexpand_set(&self, set: bool)
pub fn set_layout_manager<P>(&self, layout_manager: Option<&P>) where
P: IsA<LayoutManager>,
P: IsA<LayoutManager>,
pub fn set_margin_bottom(&self, margin: i32)
pub fn set_margin_end(&self, margin: i32)
pub fn set_margin_start(&self, margin: i32)
pub fn set_margin_top(&self, margin: i32)
pub fn set_name(&self, name: &str)
pub fn set_opacity(&self, opacity: f64)
pub fn set_overflow(&self, overflow: Overflow)
pub fn set_parent<P>(&self, parent: &P) where
P: IsA<Widget>,
P: IsA<Widget>,
pub fn set_receives_default(&self, receives_default: bool)
pub fn set_sensitive(&self, sensitive: bool)
pub fn set_size_request(&self, width: i32, height: i32)
pub fn set_state_flags(&self, flags: StateFlags, clear: bool)
pub fn set_tooltip_markup(&self, markup: Option<&str>)
pub fn set_tooltip_text(&self, text: Option<&str>)
pub fn set_valign(&self, align: Align)
pub fn set_vexpand(&self, expand: bool)
pub fn set_vexpand_set(&self, set: bool)
pub fn set_visible(&self, visible: bool)
pub fn should_layout(&self) -> bool
pub fn show(&self)
pub fn size_allocate(&self, allocation: &Rectangle, baseline: i32)
pub fn snapshot_child<P>(&self, child: &P, snapshot: &Snapshot) where
P: IsA<Widget>,
P: IsA<Widget>,
pub fn translate_coordinates<P>(
&self,
dest_widget: &P,
src_x: f64,
src_y: f64
) -> Option<(f64, f64)> where
P: IsA<Widget>,
&self,
dest_widget: &P,
src_x: f64,
src_y: f64
) -> Option<(f64, f64)> where
P: IsA<Widget>,
pub fn trigger_tooltip_query(&self)
pub fn unmap(&self)
pub fn unparent(&self)
pub fn unrealize(&self)
pub fn unset_state_flags(&self, flags: StateFlags)
pub fn get_property_has_default(&self) -> bool
pub fn get_property_has_focus(&self) -> bool
pub fn get_property_height_request(&self) -> i32
pub fn set_property_height_request(&self, height_request: i32)
pub fn get_property_width_request(&self) -> i32
pub fn set_property_width_request(&self, width_request: i32)
pub fn connect_destroy<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_direction_changed<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O, TextDirection),
F: 'static + Fn(&O, TextDirection),
pub fn connect_hide<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_keynav_failed<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O, DirectionType) -> Inhibit,
F: 'static + Fn(&O, DirectionType) -> Inhibit,
pub fn connect_map<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_mnemonic_activate<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O, bool) -> Inhibit,
F: 'static + Fn(&O, bool) -> Inhibit,
pub fn connect_move_focus<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O, DirectionType),
F: 'static + Fn(&O, DirectionType),
pub fn emit_move_focus(&self, direction: DirectionType)
pub fn connect_query_tooltip<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O, i32, i32, bool, &Tooltip) -> bool,
F: 'static + Fn(&O, i32, i32, bool, &Tooltip) -> bool,
pub fn connect_realize<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_show<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_state_flags_changed<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O, StateFlags),
F: 'static + Fn(&O, StateFlags),
pub fn connect_unmap<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_unrealize<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_property_can_focus_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_property_can_target_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_property_css_classes_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_property_cursor_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_property_focus_on_click_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_property_focusable_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_property_halign_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_property_has_default_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_property_has_focus_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_property_has_tooltip_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_property_height_request_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_property_hexpand_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_property_hexpand_set_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_property_layout_manager_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_property_margin_bottom_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_property_margin_end_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_property_margin_start_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_property_margin_top_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_property_name_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_property_opacity_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_property_overflow_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_property_parent_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_property_receives_default_notify<F>(
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
pub fn connect_property_root_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_property_scale_factor_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_property_sensitive_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_property_tooltip_markup_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_property_tooltip_text_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_property_valign_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_property_vexpand_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_property_vexpand_set_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_property_visible_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_property_width_request_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
impl<O> WidgetExtManual for O where
O: IsA<Widget>,
O: IsA<Widget>,
pub fn add_tick_callback<P>(&self, callback: P) -> TickCallbackId where
P: 'static + Fn(&O, &FrameClock) -> Continue,
P: 'static + Fn(&O, &FrameClock) -> Continue,