[−][src]Struct libhandy4::ViewSwitcherTitle
Implementations
impl ViewSwitcherTitle
[src]
pub fn new() -> ViewSwitcherTitle
[src]
pub fn get_policy(&self) -> ViewSwitcherPolicy
[src]
pub fn get_stack(&self) -> Option<Stack>
[src]
Get the gtk::Stack
being controlled by the ViewSwitcher
.
Returns
the gtk::Stack
, or None
if none has been set
pub fn get_subtitle(&self) -> Option<GString>
[src]
Gets the subtitle of self
. See ViewSwitcherTitle::set_subtitle
.
Returns
the subtitle of self
, or None
.
pub fn get_title(&self) -> Option<GString>
[src]
pub fn get_title_visible(&self) -> bool
[src]
Get whether the title label of self
is visible.
Returns
true
if the title label of self
is visible, false
if not.
pub fn get_view_switcher_enabled(&self) -> bool
[src]
Gets whether self
's view switcher is enabled.
See ViewSwitcherTitle::set_view_switcher_enabled
.
Returns
true
if the view switcher is enabled, false
otherwise.
pub fn set_policy(&self, policy: ViewSwitcherPolicy)
[src]
pub fn set_stack(&self, stack: Option<&Stack>)
[src]
pub fn set_subtitle(&self, subtitle: Option<&str>)
[src]
Sets the subtitle of self
. The subtitle should give a user additional
details.
subtitle
a subtitle, or None
pub fn set_title(&self, title: Option<&str>)
[src]
Sets the title of self
. The title should give a user additional details. A
good title should not include the application name.
title
a title, or None
pub fn set_view_switcher_enabled(&self, enabled: bool)
[src]
Make self
enable or disable its view switcher. If it is disabled, the title
will be displayed instead. This allows to programmatically and prematurely
hide the view switcher of self
even if it fits in the available space.
This can be used e.g. to ensure the view switcher is hidden below a certain window width, or any other constraint you find suitable.
enabled
true
to enable the view switcher, false
to disable it
pub fn connect_property_policy_notify<F: Fn(&ViewSwitcherTitle) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_stack_notify<F: Fn(&ViewSwitcherTitle) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_subtitle_notify<F: Fn(&ViewSwitcherTitle) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_title_notify<F: Fn(&ViewSwitcherTitle) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_title_visible_notify<F: Fn(&ViewSwitcherTitle) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_view_switcher_enabled_notify<F: Fn(&ViewSwitcherTitle) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
Trait Implementations
impl Clone for ViewSwitcherTitle
[src]
pub fn clone(&self) -> ViewSwitcherTitle
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ViewSwitcherTitle
[src]
impl Default for ViewSwitcherTitle
[src]
impl Display for ViewSwitcherTitle
[src]
impl Eq for ViewSwitcherTitle
[src]
impl Hash for ViewSwitcherTitle
[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 ViewSwitcherTitle
[src]
impl IsA<Buildable> for ViewSwitcherTitle
[src]
impl IsA<ConstraintTarget> for ViewSwitcherTitle
[src]
impl IsA<Widget> for ViewSwitcherTitle
[src]
impl Ord for ViewSwitcherTitle
[src]
pub fn cmp(&self, other: &ViewSwitcherTitle) -> 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 ViewSwitcherTitle
[src]
type Parent = Widget
impl<T: ObjectType> PartialEq<T> for ViewSwitcherTitle
[src]
impl<T: ObjectType> PartialOrd<T> for ViewSwitcherTitle
[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 ViewSwitcherTitle
[src]
pub fn static_type() -> Type
[src]
impl StructuralEq for ViewSwitcherTitle
[src]
Auto Trait Implementations
impl RefUnwindSafe for ViewSwitcherTitle
[src]
impl !Send for ViewSwitcherTitle
[src]
impl !Sync for ViewSwitcherTitle
[src]
impl Unpin for ViewSwitcherTitle
[src]
impl UnwindSafe for ViewSwitcherTitle
[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<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,