Struct ux::Box [−][src]
pub struct Box(_, _);
Trait Implementations
impl IsA<Animatable> for Box
[src]
impl IsA<Animatable> for Box
[src]impl IsA<InitiallyUnowned> for Box
[src]
impl IsA<InitiallyUnowned> for Box
[src]impl<T> PartialEq<T> for Box where
T: ObjectType,
[src]
impl<T> PartialEq<T> for Box where
T: ObjectType,
[src]impl<T> PartialOrd<T> for Box where
T: ObjectType,
[src]
impl<T> PartialOrd<T> for Box where
T: ObjectType,
[src]impl StaticType for Box
[src]
impl StaticType for Box
[src]pub fn static_type() -> Type
[src]
Auto Trait Implementations
impl RefUnwindSafe for Box
impl RefUnwindSafe for Box
impl UnwindSafe for Box
impl UnwindSafe for Box
Blanket Implementations
impl<O> ActorExt for O where
O: IsA<Actor>,
[src]
impl<O> ActorExt for O where
O: IsA<Actor>,
[src]pub fn add_action<P>(&self, action: &P) where
P: IsA<Action>,
[src]
P: IsA<Action>,
pub fn add_action_with_name<P>(&self, name: &str, action: &P) where
P: IsA<Action>,
[src]
P: IsA<Action>,
pub fn add_child<P>(&self, child: &P) where
P: IsA<Actor>,
[src]
P: IsA<Actor>,
pub fn add_constraint<P>(&self, constraint: &P) where
P: IsA<Constraint>,
[src]
P: IsA<Constraint>,
pub fn add_constraint_with_name<P>(&self, name: &str, constraint: &P) where
P: IsA<Constraint>,
[src]
P: IsA<Constraint>,
pub fn add_effect<P>(&self, effect: &P) where
P: IsA<Effect>,
[src]
P: IsA<Effect>,
pub fn add_effect_with_name<P>(&self, name: &str, effect: &P) where
P: IsA<Effect>,
[src]
P: IsA<Effect>,
pub fn add_transition<P>(&self, name: &str, transition: &P) where
P: IsA<Transition>,
[src]
P: IsA<Transition>,
pub fn allocate(&self, box_: &ActorBox, flags: AllocationFlags)
[src]
pub fn allocate_align_fill(
&self,
box_: &ActorBox,
x_align: f64,
y_align: f64,
x_fill: bool,
y_fill: bool,
flags: AllocationFlags
)
[src]
&self,
box_: &ActorBox,
x_align: f64,
y_align: f64,
x_fill: bool,
y_fill: bool,
flags: AllocationFlags
)
pub fn allocate_available_size(
&self,
x: f32,
y: f32,
available_width: f32,
available_height: f32,
flags: AllocationFlags
)
[src]
&self,
x: f32,
y: f32,
available_width: f32,
available_height: f32,
flags: AllocationFlags
)
pub fn allocate_preferred_size(&self, flags: AllocationFlags)
[src]
pub fn apply_relative_transform_to_point<P>(
&self,
ancestor: Option<&P>,
point: &Vertex
) -> Vertex where
P: IsA<Actor>,
[src]
&self,
ancestor: Option<&P>,
point: &Vertex
) -> Vertex where
P: IsA<Actor>,
pub fn apply_transform_to_point(&self, point: &Vertex) -> Vertex
[src]
pub fn bind_model<P, Q>(&self, model: Option<&P>, create_child_func: Q) where
P: IsA<ListModel>,
Q: 'static + Fn(&Object) -> Actor,
[src]
P: IsA<ListModel>,
Q: 'static + Fn(&Object) -> Actor,
pub fn clear_actions(&self)
[src]
pub fn clear_constraints(&self)
[src]
pub fn clear_effects(&self)
[src]
pub fn contains<P>(&self, descendant: &P) -> bool where
P: IsA<Actor>,
[src]
P: IsA<Actor>,
pub fn continue_paint(&self)
[src]
pub fn create_pango_context(&self) -> Option<Context>
[src]
pub fn create_pango_layout(&self, text: Option<&str>) -> Option<Layout>
[src]
pub fn destroy(&self)
[src]
pub fn destroy_all_children(&self)
[src]
pub fn event(&self, event: &Event, capture: bool) -> bool
[src]
pub fn get_action(&self, name: &str) -> Option<Action>
[src]
pub fn get_actions(&self) -> Vec<Action, Global>ⓘ
[src]
pub fn get_allocation_box(&self) -> ActorBox
[src]
pub fn get_background_color(&self) -> InternalColor
[src]
pub fn get_child_at_index(&self, index_: i32) -> Option<Actor>
[src]
pub fn get_child_transform(&self) -> Matrix
[src]
pub fn get_children(&self) -> Vec<Actor, Global>ⓘ
[src]
pub fn get_clip(&self) -> (f32, f32, f32, f32)
[src]
pub fn get_clip_to_allocation(&self) -> bool
[src]
pub fn get_constraint(&self, name: &str) -> Option<Constraint>
[src]
pub fn get_constraints(&self) -> Vec<Constraint, Global>ⓘ
[src]
pub fn get_content(&self) -> Option<Content>
[src]
pub fn get_content_box(&self) -> ActorBox
[src]
pub fn get_content_gravity(&self) -> ContentGravity
[src]
pub fn get_content_repeat(&self) -> ContentRepeat
[src]
pub fn get_content_scaling_filters(&self) -> (ScalingFilter, ScalingFilter)
[src]
pub fn get_default_paint_volume(&self) -> Option<PaintVolume>
[src]
pub fn get_easing_delay(&self) -> u32
[src]
pub fn get_easing_duration(&self) -> u32
[src]
pub fn get_easing_mode(&self) -> AnimationMode
[src]
pub fn get_effect(&self, name: &str) -> Option<Effect>
[src]
pub fn get_effects(&self) -> Vec<Effect, Global>ⓘ
[src]
pub fn get_first_child(&self) -> Option<Actor>
[src]
pub fn get_fixed_position_set(&self) -> bool
[src]
pub fn get_flags(&self) -> ActorFlags
[src]
pub fn get_height(&self) -> f32
[src]
pub fn get_last_child(&self) -> Option<Actor>
[src]
pub fn get_layout_manager(&self) -> Option<LayoutManager>
[src]
pub fn get_margin(&self) -> Margin
[src]
pub fn get_margin_bottom(&self) -> f32
[src]
pub fn get_margin_left(&self) -> f32
[src]
pub fn get_margin_right(&self) -> f32
[src]
pub fn get_margin_top(&self) -> f32
[src]
pub fn get_n_children(&self) -> i32
[src]
pub fn get_name(&self) -> Option<GString>
[src]
pub fn get_next_sibling(&self) -> Option<Actor>
[src]
pub fn get_offscreen_redirect(&self) -> OffscreenRedirect
[src]
pub fn get_opacity(&self) -> u8
[src]
pub fn get_paint_box(&self) -> Option<ActorBox>
[src]
pub fn get_paint_opacity(&self) -> u8
[src]
pub fn get_paint_visibility(&self) -> bool
[src]
pub fn get_paint_volume(&self) -> Option<PaintVolume>
[src]
pub fn get_pango_context(&self) -> Option<Context>
[src]
pub fn get_parent(&self) -> Option<Actor>
[src]
pub fn get_pivot_point(&self) -> (f32, f32)
[src]
pub fn get_pivot_point_z(&self) -> f32
[src]
pub fn get_position(&self) -> (f32, f32)
[src]
pub fn get_preferred_height(&self, for_width: f32) -> (f32, f32)
[src]
pub fn get_preferred_size(&self) -> (f32, f32, f32, f32)
[src]
pub fn get_preferred_width(&self, for_height: f32) -> (f32, f32)
[src]
pub fn get_previous_sibling(&self) -> Option<Actor>
[src]
pub fn get_reactive(&self) -> bool
[src]
pub fn get_request_mode(&self) -> RequestMode
[src]
pub fn get_rotation_angle(&self, axis: RotateAxis) -> f64
[src]
pub fn get_scale(&self) -> (f64, f64)
[src]
pub fn get_scale_z(&self) -> f64
[src]
pub fn get_size(&self) -> (f32, f32)
[src]
pub fn get_stage(&self) -> Option<Stage>
[src]
pub fn get_text_direction(&self) -> TextDirection
[src]
pub fn get_transform(&self) -> Matrix
[src]
pub fn get_transformed_paint_volume<P>(
&self,
relative_to_ancestor: &P
) -> Option<PaintVolume> where
P: IsA<Actor>,
[src]
&self,
relative_to_ancestor: &P
) -> Option<PaintVolume> where
P: IsA<Actor>,
pub fn get_transformed_position(&self) -> (f32, f32)
[src]
pub fn get_transformed_size(&self) -> (f32, f32)
[src]
pub fn get_transition(&self, name: &str) -> Option<Transition>
[src]
pub fn get_translation(&self) -> (f32, f32, f32)
[src]
pub fn get_width(&self) -> f32
[src]
pub fn get_x(&self) -> f32
[src]
pub fn get_x_align(&self) -> ActorAlign
[src]
pub fn get_x_expand(&self) -> bool
[src]
pub fn get_y(&self) -> f32
[src]
pub fn get_y_align(&self) -> ActorAlign
[src]
pub fn get_y_expand(&self) -> bool
[src]
pub fn get_z_position(&self) -> f32
[src]
pub fn grab_key_focus(&self)
[src]
pub fn has_actions(&self) -> bool
[src]
pub fn has_allocation(&self) -> bool
[src]
pub fn has_clip(&self) -> bool
[src]
pub fn has_constraints(&self) -> bool
[src]
pub fn has_effects(&self) -> bool
[src]
pub fn has_key_focus(&self) -> bool
[src]
pub fn has_overlaps(&self) -> bool
[src]
pub fn has_pointer(&self) -> bool
[src]
pub fn hide(&self)
[src]
pub fn insert_child_above<P, Q>(&self, child: &P, sibling: Option<&Q>) where
P: IsA<Actor>,
Q: IsA<Actor>,
[src]
P: IsA<Actor>,
Q: IsA<Actor>,
pub fn insert_child_at_index<P>(&self, child: &P, index_: i32) where
P: IsA<Actor>,
[src]
P: IsA<Actor>,
pub fn insert_child_below<P, Q>(&self, child: &P, sibling: Option<&Q>) where
P: IsA<Actor>,
Q: IsA<Actor>,
[src]
P: IsA<Actor>,
Q: IsA<Actor>,
pub fn is_in_clone_paint(&self) -> bool
[src]
pub fn is_mapped(&self) -> bool
[src]
pub fn is_realized(&self) -> bool
[src]
pub fn is_rotated(&self) -> bool
[src]
pub fn is_scaled(&self) -> bool
[src]
pub fn is_visible(&self) -> bool
[src]
pub fn map(&self)
[src]
pub fn move_by(&self, dx: f32, dy: f32)
[src]
pub fn needs_expand(&self, orientation: Orientation) -> bool
[src]
pub fn paint(&self)
[src]
pub fn queue_redraw(&self)
[src]
pub fn queue_redraw_with_clip(&self, clip: Option<&RectangleInt>)
[src]
pub fn queue_relayout(&self)
[src]
pub fn remove_action<P>(&self, action: &P) where
P: IsA<Action>,
[src]
P: IsA<Action>,
pub fn remove_action_by_name(&self, name: &str)
[src]
pub fn remove_all_children(&self)
[src]
pub fn remove_all_transitions(&self)
[src]
pub fn remove_child<P>(&self, child: &P) where
P: IsA<Actor>,
[src]
P: IsA<Actor>,
pub fn remove_clip(&self)
[src]
pub fn remove_constraint<P>(&self, constraint: &P) where
P: IsA<Constraint>,
[src]
P: IsA<Constraint>,
pub fn remove_constraint_by_name(&self, name: &str)
[src]
pub fn remove_effect<P>(&self, effect: &P) where
P: IsA<Effect>,
[src]
P: IsA<Effect>,
pub fn remove_effect_by_name(&self, name: &str)
[src]
pub fn remove_transition(&self, name: &str)
[src]
pub fn replace_child<P, Q>(&self, old_child: &P, new_child: &Q) where
P: IsA<Actor>,
Q: IsA<Actor>,
[src]
P: IsA<Actor>,
Q: IsA<Actor>,
pub fn restore_easing_state(&self)
[src]
pub fn save_easing_state(&self)
[src]
pub fn set_allocation(&self, box_: &ActorBox, flags: AllocationFlags)
[src]
pub fn set_background_color(&self, color: Option<Color<f64>>)
[src]
pub fn set_child_above_sibling<P, Q>(&self, child: &P, sibling: Option<&Q>) where
P: IsA<Actor>,
Q: IsA<Actor>,
[src]
P: IsA<Actor>,
Q: IsA<Actor>,
pub fn set_child_at_index<P>(&self, child: &P, index_: i32) where
P: IsA<Actor>,
[src]
P: IsA<Actor>,
pub fn set_child_below_sibling<P, Q>(&self, child: &P, sibling: Option<&Q>) where
P: IsA<Actor>,
Q: IsA<Actor>,
[src]
P: IsA<Actor>,
Q: IsA<Actor>,
pub fn set_child_transform(&self, transform: Option<&Matrix>)
[src]
pub fn set_clip(&self, xoff: f32, yoff: f32, width: f32, height: f32)
[src]
pub fn set_clip_to_allocation(&self, clip_set: bool)
[src]
pub fn set_content<P>(&self, content: Option<&P>) where
P: IsA<Content>,
[src]
P: IsA<Content>,
pub fn set_content_gravity(&self, gravity: ContentGravity)
[src]
pub fn set_content_repeat(&self, repeat: ContentRepeat)
[src]
pub fn set_content_scaling_filters(
&self,
min_filter: ScalingFilter,
mag_filter: ScalingFilter
)
[src]
&self,
min_filter: ScalingFilter,
mag_filter: ScalingFilter
)
pub fn set_easing_delay(&self, msecs: u32)
[src]
pub fn set_easing_duration(&self, msecs: u32)
[src]
pub fn set_easing_mode(&self, mode: AnimationMode)
[src]
pub fn set_fixed_position_set(&self, is_set: bool)
[src]
pub fn set_flags(&self, flags: ActorFlags)
[src]
pub fn set_height(&self, height: f32)
[src]
pub fn set_layout_manager<P>(&self, manager: Option<&P>) where
P: IsA<LayoutManager>,
[src]
P: IsA<LayoutManager>,
pub fn set_margin(&self, margin: &Margin)
[src]
pub fn set_margin_bottom(&self, margin: f32)
[src]
pub fn set_margin_left(&self, margin: f32)
[src]
pub fn set_margin_right(&self, margin: f32)
[src]
pub fn set_margin_top(&self, margin: f32)
[src]
pub fn set_name(&self, name: &str)
[src]
pub fn set_offscreen_redirect(&self, redirect: OffscreenRedirect)
[src]
pub fn set_opacity(&self, opacity: u8)
[src]
pub fn set_pivot_point(&self, pivot_x: f32, pivot_y: f32)
[src]
pub fn set_pivot_point_z(&self, pivot_z: f32)
[src]
pub fn set_position(&self, x: f32, y: f32)
[src]
pub fn set_reactive(&self, reactive: bool)
[src]
pub fn set_request_mode(&self, mode: RequestMode)
[src]
pub fn set_rotation_angle(&self, axis: RotateAxis, angle: f64)
[src]
pub fn set_scale(&self, scale_x: f64, scale_y: f64)
[src]
pub fn set_scale_z(&self, scale_z: f64)
[src]
pub fn set_size(&self, width: f32, height: f32)
[src]
pub fn set_text_direction(&self, text_dir: TextDirection)
[src]
pub fn set_transform(&self, transform: Option<&Matrix>)
[src]
pub fn set_translation(
&self,
translate_x: f32,
translate_y: f32,
translate_z: f32
)
[src]
&self,
translate_x: f32,
translate_y: f32,
translate_z: f32
)
pub fn set_width(&self, width: f32)
[src]
pub fn set_x(&self, x: f32)
[src]
pub fn set_x_align(&self, x_align: ActorAlign)
[src]
pub fn set_x_expand(&self, expand: bool)
[src]
pub fn set_y(&self, y: f32)
[src]
pub fn set_y_align(&self, y_align: ActorAlign)
[src]
pub fn set_y_expand(&self, expand: bool)
[src]
pub fn set_z_position(&self, z_position: f32)
[src]
pub fn should_pick_paint(&self) -> bool
[src]
pub fn show(&self)
[src]
pub fn transform_stage_point(&self, x: f32, y: f32) -> Option<(f32, f32)>
[src]
pub fn unmap(&self)
[src]
pub fn unset_flags(&self, flags: ActorFlags)
[src]
pub fn set_property_actions<P>(&self, actions: Option<&P>) where
P: IsA<Action> + SetValueOptional,
[src]
P: IsA<Action> + SetValueOptional,
pub fn get_property_allocation(&self) -> Option<ActorBox>
[src]
pub fn get_property_background_color_set(&self) -> bool
[src]
pub fn get_property_child_transform_set(&self) -> bool
[src]
pub fn get_property_clip_rect(&self) -> Option<InternalRect>
[src]
pub fn set_property_clip_rect(&self, clip_rect: Option<&InternalRect>)
[src]
pub fn set_property_constraints<P>(&self, constraints: Option<&P>) where
P: IsA<Constraint> + SetValueOptional,
[src]
P: IsA<Constraint> + SetValueOptional,
pub fn set_property_effect<P>(&self, effect: Option<&P>) where
P: IsA<Effect> + SetValueOptional,
[src]
P: IsA<Effect> + SetValueOptional,
pub fn get_property_fixed_x(&self) -> f32
[src]
pub fn set_property_fixed_x(&self, fixed_x: f32)
[src]
pub fn get_property_fixed_y(&self) -> f32
[src]
pub fn set_property_fixed_y(&self, fixed_y: f32)
[src]
pub fn get_property_has_clip(&self) -> bool
[src]
pub fn get_property_has_pointer(&self) -> bool
[src]
pub fn get_property_magnification_filter(&self) -> ScalingFilter
[src]
pub fn set_property_magnification_filter(
&self,
magnification_filter: ScalingFilter
)
[src]
&self,
magnification_filter: ScalingFilter
)
pub fn get_property_mapped(&self) -> bool
[src]
pub fn get_property_min_height(&self) -> f32
[src]
pub fn set_property_min_height(&self, min_height: f32)
[src]
pub fn get_property_min_height_set(&self) -> bool
[src]
pub fn set_property_min_height_set(&self, min_height_set: bool)
[src]
pub fn get_property_min_width(&self) -> f32
[src]
pub fn set_property_min_width(&self, min_width: f32)
[src]
pub fn get_property_min_width_set(&self) -> bool
[src]
pub fn set_property_min_width_set(&self, min_width_set: bool)
[src]
pub fn get_property_minification_filter(&self) -> ScalingFilter
[src]
pub fn set_property_minification_filter(
&self,
minification_filter: ScalingFilter
)
[src]
&self,
minification_filter: ScalingFilter
)
pub fn get_property_natural_height(&self) -> f32
[src]
pub fn set_property_natural_height(&self, natural_height: f32)
[src]
pub fn get_property_natural_height_set(&self) -> bool
[src]
pub fn set_property_natural_height_set(&self, natural_height_set: bool)
[src]
pub fn get_property_natural_width(&self) -> f32
[src]
pub fn set_property_natural_width(&self, natural_width: f32)
[src]
pub fn get_property_natural_width_set(&self) -> bool
[src]
pub fn set_property_natural_width_set(&self, natural_width_set: bool)
[src]
pub fn get_property_realized(&self) -> bool
[src]
pub fn get_property_rotation_angle_x(&self) -> f64
[src]
pub fn set_property_rotation_angle_x(&self, rotation_angle_x: f64)
[src]
pub fn get_property_rotation_angle_y(&self) -> f64
[src]
pub fn set_property_rotation_angle_y(&self, rotation_angle_y: f64)
[src]
pub fn get_property_rotation_angle_z(&self) -> f64
[src]
pub fn set_property_rotation_angle_z(&self, rotation_angle_z: f64)
[src]
pub fn get_property_scale_x(&self) -> f64
[src]
pub fn set_property_scale_x(&self, scale_x: f64)
[src]
pub fn get_property_scale_y(&self) -> f64
[src]
pub fn set_property_scale_y(&self, scale_y: f64)
[src]
pub fn get_property_show_on_set_parent(&self) -> bool
[src]
pub fn set_property_show_on_set_parent(&self, show_on_set_parent: bool)
[src]
pub fn get_property_transform_set(&self) -> bool
[src]
pub fn get_property_translation_x(&self) -> f32
[src]
pub fn set_property_translation_x(&self, translation_x: f32)
[src]
pub fn get_property_translation_y(&self) -> f32
[src]
pub fn set_property_translation_y(&self, translation_y: f32)
[src]
pub fn get_property_translation_z(&self) -> f32
[src]
pub fn set_property_translation_z(&self, translation_z: f32)
[src]
pub fn get_property_visible(&self) -> bool
[src]
pub fn set_property_visible(&self, visible: bool)
[src]
pub fn connect_allocation_changed<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O, &ActorBox, AllocationFlags),
[src]
F: 'static + Fn(&O, &ActorBox, AllocationFlags),
pub fn connect_button_press_event<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O, &ButtonEvent) -> bool,
[src]
F: 'static + Fn(&O, &ButtonEvent) -> bool,
pub fn connect_button_release_event<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O, &ButtonEvent) -> bool,
[src]
F: 'static + Fn(&O, &ButtonEvent) -> bool,
pub fn connect_captured_event<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O, &Event) -> bool,
[src]
F: 'static + Fn(&O, &Event) -> bool,
pub fn connect_destroy<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_enter_event<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O, &CrossingEvent) -> bool,
[src]
F: 'static + Fn(&O, &CrossingEvent) -> bool,
pub fn connect_event<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O, &Event) -> bool,
[src]
F: 'static + Fn(&O, &Event) -> bool,
pub fn connect_hide<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_key_focus_in<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_key_focus_out<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_key_press_event<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O, &KeyEvent) -> bool,
[src]
F: 'static + Fn(&O, &KeyEvent) -> bool,
pub fn connect_key_release_event<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O, &KeyEvent) -> bool,
[src]
F: 'static + Fn(&O, &KeyEvent) -> bool,
pub fn connect_leave_event<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O, &CrossingEvent) -> bool,
[src]
F: 'static + Fn(&O, &CrossingEvent) -> bool,
pub fn connect_motion_event<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O, &MotionEvent) -> bool,
[src]
F: 'static + Fn(&O, &MotionEvent) -> bool,
pub fn connect_parent_set<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O, Option<&Actor>),
[src]
F: 'static + Fn(&O, Option<&Actor>),
pub fn connect_queue_redraw<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O, &Actor),
[src]
F: 'static + Fn(&O, &Actor),
pub fn connect_queue_relayout<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_scroll_event<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O, &ScrollEvent) -> bool,
[src]
F: 'static + Fn(&O, &ScrollEvent) -> bool,
pub fn connect_show<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_touch_event<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O, &Event) -> bool,
[src]
F: 'static + Fn(&O, &Event) -> bool,
pub fn connect_transition_stopped<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O, &str, bool),
[src]
F: 'static + Fn(&O, &str, bool),
pub fn connect_transitions_completed<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_actions_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_allocation_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_background_color_notify<F>(
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
pub fn connect_property_background_color_set_notify<F>(
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
pub fn connect_property_child_transform_notify<F>(
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
pub fn connect_property_child_transform_set_notify<F>(
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
pub fn connect_property_clip_rect_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_clip_to_allocation_notify<F>(
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
pub fn connect_property_constraints_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_content_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_content_box_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_content_gravity_notify<F>(
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
pub fn connect_property_content_repeat_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_effect_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_first_child_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_fixed_position_set_notify<F>(
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
pub fn connect_property_fixed_x_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_fixed_y_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_has_clip_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_has_pointer_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_height_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_last_child_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_layout_manager_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_magnification_filter_notify<F>(
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
pub fn connect_property_mapped_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_margin_bottom_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_margin_left_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_margin_right_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_margin_top_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_min_height_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_min_height_set_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_min_width_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_min_width_set_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_minification_filter_notify<F>(
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
pub fn connect_property_name_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_natural_height_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_natural_height_set_notify<F>(
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
pub fn connect_property_natural_width_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_natural_width_set_notify<F>(
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
pub fn connect_property_offscreen_redirect_notify<F>(
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
pub fn connect_property_opacity_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_pivot_point_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_pivot_point_z_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_position_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_reactive_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_realized_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_request_mode_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_rotation_angle_x_notify<F>(
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
pub fn connect_property_rotation_angle_y_notify<F>(
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
pub fn connect_property_rotation_angle_z_notify<F>(
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
pub fn connect_property_scale_x_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_scale_y_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_scale_z_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_show_on_set_parent_notify<F>(
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
pub fn connect_property_size_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_text_direction_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_transform_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_transform_set_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_translation_x_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_translation_y_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_translation_z_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_visible_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_width_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_x_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_x_align_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_x_expand_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_y_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_y_align_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_y_expand_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_z_position_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
impl<O> AnimatableExt for O where
O: IsA<Animatable>,
[src]
impl<O> AnimatableExt for O where
O: IsA<Animatable>,
[src]pub fn find_property(&self, property_name: &str) -> Option<ParamSpec>
[src]
pub fn get_initial_state(&self, property_name: &str, value: &mut Value)
[src]
pub fn interpolate_value<P>(
&self,
property_name: &str,
interval: &P,
progress: f64
) -> Option<Value> where
P: IsA<Interval>,
[src]
&self,
property_name: &str,
interval: &P,
progress: f64
) -> Option<Value> where
P: IsA<Interval>,
pub fn set_final_state(&self, property_name: &str, value: &Value)
[src]
impl<Super, Sub> CanDowncast<Sub> for Super where
Sub: IsA<Super>,
Super: IsA<Super>,
[src]
impl<Super, Sub> CanDowncast<Sub> for Super where
Sub: IsA<Super>,
Super: IsA<Super>,
[src]impl<T> Cast for T where
T: ObjectType,
[src]
impl<T> Cast for T where
T: ObjectType,
[src]pub fn upcast<T>(self) -> T where
Self: IsA<T>,
T: ObjectType,
[src]
Self: IsA<T>,
T: ObjectType,
pub fn upcast_ref<T>(&self) -> &T where
Self: IsA<T>,
T: ObjectType,
[src]
Self: IsA<T>,
T: ObjectType,
pub fn downcast<T>(self) -> Result<T, Self> where
Self: CanDowncast<T>,
T: ObjectType,
[src]
Self: CanDowncast<T>,
T: ObjectType,
pub fn downcast_ref<T>(&self) -> Option<&T> where
Self: CanDowncast<T>,
T: ObjectType,
[src]
Self: CanDowncast<T>,
T: ObjectType,
pub fn dynamic_cast<T>(self) -> Result<T, Self> where
T: ObjectType,
[src]
T: ObjectType,
pub fn dynamic_cast_ref<T>(&self) -> Option<&T> where
T: ObjectType,
[src]
T: ObjectType,
pub unsafe fn unsafe_cast<T>(self) -> T where
T: ObjectType,
[src]
T: ObjectType,
pub unsafe fn unsafe_cast_ref<T>(&self) -> &T where
T: ObjectType,
[src]
T: ObjectType,
impl<O> ContainerExt for O where
O: IsA<Container>,
[src]
impl<O> ContainerExt for O where
O: IsA<Container>,
[src]pub fn child_get_property<P>(
&self,
child: &P,
property: &str,
value: &mut Value
) where
P: IsA<Actor>,
[src]
&self,
child: &P,
property: &str,
value: &mut Value
) where
P: IsA<Actor>,
pub fn child_set_property<P>(&self, child: &P, property: &str, value: &Value) where
P: IsA<Actor>,
[src]
P: IsA<Actor>,
pub fn create_child_meta<P>(&self, actor: &P) where
P: IsA<Actor>,
[src]
P: IsA<Actor>,
pub fn destroy_child_meta<P>(&self, actor: &P) where
P: IsA<Actor>,
[src]
P: IsA<Actor>,
pub fn find_child_by_name(&self, child_name: &str) -> Option<Actor>
[src]
pub fn get_child_meta<P>(&self, actor: &P) -> Option<ChildMeta> where
P: IsA<Actor>,
[src]
P: IsA<Actor>,
pub fn connect_actor_added<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O, &Actor),
[src]
F: 'static + Fn(&O, &Actor),
pub fn connect_actor_removed<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O, &Actor),
[src]
F: 'static + Fn(&O, &Actor),
pub fn connect_child_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O, &Actor, &ParamSpec),
[src]
F: 'static + Fn(&O, &Actor, &ParamSpec),
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]pub fn into_color(self) -> To
[src]
impl<T> ObjectExt for T where
T: ObjectType,
[src]
impl<T> ObjectExt for T where
T: ObjectType,
[src]pub fn is<U>(&self) -> bool where
U: StaticType,
[src]
U: StaticType,
pub fn get_type(&self) -> Type
[src]
pub fn get_object_class(&self) -> &ObjectClass
[src]
pub fn set_properties(
&self,
property_values: &[(&str, &dyn ToValue)]
) -> Result<(), BoolError>
[src]
&self,
property_values: &[(&str, &dyn ToValue)]
) -> Result<(), BoolError>
pub fn set_property<'a, N>(
&self,
property_name: N,
value: &dyn ToValue
) -> Result<(), BoolError> where
N: Into<&'a str>,
[src]
&self,
property_name: N,
value: &dyn ToValue
) -> 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>,
[src]
N: Into<&'a str>,
pub unsafe fn set_qdata<QD>(&self, key: Quark, value: QD) where
QD: 'static,
[src]
QD: 'static,
pub unsafe fn get_qdata<QD>(&self, key: Quark) -> Option<&QD> where
QD: 'static,
[src]
QD: 'static,
pub unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD> where
QD: 'static,
[src]
QD: 'static,
pub unsafe fn set_data<QD>(&self, key: &str, value: QD) where
QD: 'static,
[src]
QD: 'static,
pub unsafe fn get_data<QD>(&self, key: &str) -> Option<&QD> where
QD: 'static,
[src]
QD: 'static,
pub unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD> where
QD: 'static,
[src]
QD: 'static,
pub fn block_signal(&self, handler_id: &SignalHandlerId)
[src]
pub fn unblock_signal(&self, handler_id: &SignalHandlerId)
[src]
pub fn stop_signal_emission(&self, signal_name: &str)
[src]
pub fn disconnect(&self, handler_id: SignalHandlerId)
[src]
pub fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId where
F: 'static + Fn(&T, &ParamSpec) + Send + Sync,
[src]
F: 'static + Fn(&T, &ParamSpec) + Send + Sync,
pub unsafe fn connect_notify_unsafe<F>(
&self,
name: Option<&str>,
f: F
) -> SignalHandlerId where
F: Fn(&T, &ParamSpec),
[src]
&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>,
[src]
N: Into<&'a str>,
pub fn notify_by_pspec(&self, pspec: &ParamSpec)
[src]
pub fn has_property<'a, N>(&self, property_name: N, type_: Option<Type>) -> bool where
N: Into<&'a str>,
[src]
N: Into<&'a str>,
pub fn get_property_type<'a, N>(&self, property_name: N) -> Option<Type> where
N: Into<&'a str>,
[src]
N: Into<&'a str>,
pub fn find_property<'a, N>(&self, property_name: N) -> Option<ParamSpec> where
N: Into<&'a str>,
[src]
N: Into<&'a str>,
pub fn list_properties(&self) -> Vec<ParamSpec, Global>ⓘ
[src]
pub fn connect<'a, N, F>(
&self,
signal_name: N,
after: bool,
callback: F
) -> Result<SignalHandlerId, BoolError> where
N: Into<&'a str>,
F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,
[src]
&self,
signal_name: N,
after: bool,
callback: F
) -> Result<SignalHandlerId, BoolError> where
N: Into<&'a str>,
F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,
pub fn connect_local<'a, N, F>(
&self,
signal_name: N,
after: bool,
callback: F
) -> Result<SignalHandlerId, BoolError> where
N: Into<&'a str>,
F: Fn(&[Value]) -> Option<Value> + 'static,
[src]
&self,
signal_name: N,
after: bool,
callback: F
) -> Result<SignalHandlerId, BoolError> where
N: Into<&'a str>,
F: Fn(&[Value]) -> Option<Value> + 'static,
pub unsafe fn connect_unsafe<'a, N, F>(
&self,
signal_name: N,
after: bool,
callback: F
) -> Result<SignalHandlerId, BoolError> where
N: Into<&'a str>,
F: Fn(&[Value]) -> Option<Value>,
[src]
&self,
signal_name: N,
after: bool,
callback: F
) -> Result<SignalHandlerId, BoolError> where
N: Into<&'a str>,
F: Fn(&[Value]) -> Option<Value>,
pub fn emit<'a, N>(
&self,
signal_name: N,
args: &[&dyn ToValue]
) -> Result<Option<Value>, BoolError> where
N: Into<&'a str>,
[src]
&self,
signal_name: N,
args: &[&dyn ToValue]
) -> Result<Option<Value>, BoolError> where
N: Into<&'a str>,
pub fn downgrade(&self) -> WeakRef<T>
[src]
pub fn bind_property<'a, O, N, M>(
&'a self,
source_property: N,
target: &'a O,
target_property: M
) -> BindingBuilder<'a> where
N: Into<&'a str>,
O: ObjectType,
M: Into<&'a str>,
[src]
&'a self,
source_property: N,
target: &'a O,
target_property: M
) -> BindingBuilder<'a> where
N: Into<&'a str>,
O: ObjectType,
M: Into<&'a str>,
pub fn ref_count(&self) -> u32
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,