Struct sourceview5::Gutter [−][src]
Implementations
impl Gutter
[src]
pub fn get_view(&self) -> Option<View>
[src]
Returns
the associated View
.
pub fn insert<P: IsA<GutterRenderer>>(
&self,
renderer: &P,
position: i32
) -> bool
[src]
&self,
renderer: &P,
position: i32
) -> bool
Insert renderer
into the gutter. If renderer
is yet unowned then gutter
claims its ownership. Otherwise just increases renderer’s reference count.
renderer
cannot be already inserted to another gutter.
renderer
a gutter renderer (must inherit from GutterRenderer
).
position
the renderer position.
Returns
true
if operation succeeded. Otherwise false
.
pub fn remove<P: IsA<GutterRenderer>>(&self, renderer: &P)
[src]
pub fn reorder<P: IsA<GutterRenderer>>(&self, renderer: &P, position: i32)
[src]
Reorders renderer
in self
to new position
.
renderer
a gtk::CellRenderer
.
position
the new renderer position.
pub fn get_property_window_type(&self) -> TextWindowType
[src]
The text window type on which the window is placed.
Trait Implementations
impl Clone for Gutter
[src]
impl Debug for Gutter
[src]
impl Display for Gutter
[src]
impl Eq for Gutter
[src]
impl Hash for Gutter
[src]
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 Gutter
[src]
impl IsA<Buildable> for Gutter
[src]
impl IsA<ConstraintTarget> for Gutter
[src]
impl IsA<Widget> for Gutter
[src]
impl Ord for Gutter
[src]
fn cmp(&self, other: &Gutter) -> 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 Gutter
[src]
type Parent = Widget
impl<T: ObjectType> PartialEq<T> for Gutter
[src]
impl<T: ObjectType> PartialOrd<T> for Gutter
[src]
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 Gutter
[src]
fn static_type() -> Type
[src]
impl StructuralEq for Gutter
[src]
Auto Trait Implementations
impl RefUnwindSafe for Gutter
impl !Send for Gutter
impl !Sync for Gutter
impl Unpin for Gutter
impl UnwindSafe for Gutter
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<O> AccessibleExtManual for O where
O: IsA<Accessible>,
O: IsA<Accessible>,
pub fn update_property(&self, properties: &[(AccessibleProperty, &dyn ToValue)])
pub fn update_relation(&self, relations: &[(AccessibleRelation, &dyn ToValue)])
pub fn update_state(&self, states: &[(AccessibleState, &dyn ToValue)])
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 get_class(&self) -> &Class<T> where
T: IsClass,
T: IsClass,
pub fn get_class_of<U>(&self) -> Option<&Class<U>> where
U: IsClass,
U: IsClass,
pub fn get_interface<U>(&self) -> Option<InterfaceRef<'_, U>> where
U: IsInterface,
U: IsInterface,
pub fn set_properties(
&self,
property_values: &[(&str, &dyn ToValue)]
) -> Result<(), BoolError>
&self,
property_values: &[(&str, &dyn ToValue)]
) -> Result<(), BoolError>
pub fn set_properties_from_value(
&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_from_value<'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<NonNull<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<NonNull<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 + Fn(&T, &ParamSpec) + Send + Sync,
F: 'static + Fn(&T, &ParamSpec) + Send + Sync,
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_id<F>(
&self,
signal_id: SignalId,
details: Option<Quark>,
after: bool,
callback: F
) -> Result<SignalHandlerId, BoolError> where
F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,
&self,
signal_id: SignalId,
details: Option<Quark>,
after: bool,
callback: F
) -> Result<SignalHandlerId, BoolError> where
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
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 fn connect_local_id<F>(
&self,
signal_id: SignalId,
details: Option<Quark>,
after: bool,
callback: F
) -> Result<SignalHandlerId, BoolError> where
F: Fn(&[Value]) -> Option<Value> + 'static,
&self,
signal_id: SignalId,
details: Option<Quark>,
after: bool,
callback: F
) -> Result<SignalHandlerId, BoolError> where
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
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 unsafe fn connect_unsafe_id<F>(
&self,
signal_id: SignalId,
details: Option<Quark>,
after: bool,
callback: F
) -> Result<SignalHandlerId, BoolError> where
F: Fn(&[Value]) -> Option<Value>,
&self,
signal_id: SignalId,
details: Option<Quark>,
after: bool,
callback: F
) -> Result<SignalHandlerId, BoolError> where
F: Fn(&[Value]) -> Option<Value>,
pub fn emit(
&self,
signal_id: SignalId,
args: &[&dyn ToValue]
) -> Result<Option<Value>, BoolError>
&self,
signal_id: SignalId,
args: &[&dyn ToValue]
) -> Result<Option<Value>, BoolError>
pub fn emit_with_details(
&self,
signal_id: SignalId,
details: Quark,
args: &[&dyn ToValue]
) -> Result<Option<Value>, BoolError>
&self,
signal_id: SignalId,
details: Quark,
args: &[&dyn ToValue]
) -> Result<Option<Value>, BoolError>
pub fn emit_by_name<'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 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
pub fn emit_with_values(
&self,
signal_id: SignalId,
args: &[Value]
) -> Result<Option<Value>, BoolError>
&self,
signal_id: SignalId,
args: &[Value]
) -> Result<Option<Value>, BoolError>
pub fn emit_by_name_with_values<'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 emit_with_details_and_values(
&self,
signal_id: SignalId,
details: Quark,
args: &[Value]
) -> Result<Option<Value>, BoolError>
&self,
signal_id: SignalId,
details: Quark,
args: &[Value]
) -> Result<Option<Value>, BoolError>
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: SetValue + Send + ToValue + ?Sized,
T: SetValue + Send + ToValue + ?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(&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) -> 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_widget_name(&self) -> 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_widget_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,