Struct libhelium::DatePicker
source · pub struct DatePicker { /* private fields */ }
Expand description
§Properties
§format
Readable | Writeable | Construct Only
§date
Readable | Writeable
Entry
§activates-default
Whether to activate the default widget when Enter is pressed.
Readable | Writeable
§attributes
A list of Pango attributes to apply to the text of the entry.
This is mainly useful to change the size or weight of the text.
The PangoAttribute
’s @start_index and @end_index must refer to the
Gtk::EntryBuffer
text, i.e. without the preedit string.
Readable | Writeable
§buffer
The buffer object which actually stores the text.
Readable | Writeable | Construct
§completion
The auxiliary completion object to use with the entry.
Readable | Writeable
§enable-emoji-completion
Whether to suggest Emoji replacements for :-delimited names
like :heart:
.
Readable | Writeable
§extra-menu
A menu model whose contents will be appended to the context menu.
Readable | Writeable
§has-frame
Whether the entry should draw a frame.
Readable | Writeable
§im-module
Which IM (input method) module should be used for this entry.
See Gtk::IMContext
.
Setting this to a non-None
value overrides the system-wide IM
module setting. See the GtkSettings [gtk-im-module
][struct@crate::Gtk::Settings#gtk-im-module]
property.
Readable | Writeable
§input-hints
Additional hints that allow input methods to fine-tune their behavior.
Also see [input-purpose
][struct@crate::gtk::Entry#input-purpose]
Readable | Writeable
§input-purpose
The purpose of this text field.
This property can be used by on-screen keyboards and other input methods to adjust their behaviour.
Note that setting the purpose to GTK_INPUT_PURPOSE_PASSWORD
or
GTK_INPUT_PURPOSE_PIN
is independent from setting
[visibility
][struct@crate::gtk::Entry#visibility].
Readable | Writeable
§invisible-char
The character to use when masking entry contents (“password mode”).
Readable | Writeable
§invisible-char-set
Whether the invisible char has been set for the [gtk::Entry
][crate::gtk::Entry].
Readable | Writeable
§max-length
Maximum number of characters for this entry.
Readable | Writeable
§overwrite-mode
If text is overwritten when typing in the [gtk::Entry
][crate::gtk::Entry].
Readable | Writeable
§placeholder-text
The text that will be displayed in the [gtk::Entry
][crate::gtk::Entry] when it is empty
and unfocused.
Readable | Writeable
§primary-icon-activatable
Whether the primary icon is activatable.
GTK emits the [icon-press
][struct@crate::gtk::Entry#icon-press] and
[icon-release
][struct@crate::gtk::Entry#icon-release] signals only on sensitive,
activatable icons.
Sensitive, but non-activatable icons can be used for purely informational purposes.
Readable | Writeable
§primary-icon-gicon
The GIcon
to use for the primary icon for the entry.
Readable | Writeable
§primary-icon-name
The icon name to use for the primary icon for the entry.
Readable | Writeable
§primary-icon-paintable
A [gdk::Paintable
][crate::gdk::Paintable] to use as the primary icon for the entry.
Readable | Writeable
§primary-icon-sensitive
Whether the primary icon is sensitive.
An insensitive icon appears grayed out. GTK does not emit the
[icon-press
][struct@crate::gtk::Entry#icon-press] and [icon-release
][struct@crate::gtk::Entry#icon-release]
signals and does not allow DND from insensitive icons.
An icon should be set insensitive if the action that would trigger when clicked is currently not available.
Readable | Writeable
§primary-icon-storage-type
The representation which is used for the primary icon of the entry.
Readable
§primary-icon-tooltip-markup
The contents of the tooltip on the primary icon, with markup.
Also see [EntryExtManual::set_icon_tooltip_markup()
][crate::gtk::prelude::EntryExtManual::set_icon_tooltip_markup()].
Readable | Writeable
§primary-icon-tooltip-text
The contents of the tooltip on the primary icon.
Also see [EntryExtManual::set_icon_tooltip_text()
][crate::gtk::prelude::EntryExtManual::set_icon_tooltip_text()].
Readable | Writeable
§progress-fraction
The current fraction of the task that’s been completed.
Readable | Writeable
§progress-pulse-step
The fraction of total entry width to move the progress bouncing block for each pulse.
See [EntryExtManual::progress_pulse()
][crate::gtk::prelude::EntryExtManual::progress_pulse()].
Readable | Writeable
§scroll-offset
Number of pixels of the entry scrolled off the screen to the left.
Readable
§secondary-icon-activatable
Whether the secondary icon is activatable.
GTK emits the [icon-press
][struct@crate::gtk::Entry#icon-press] and
[icon-release
][struct@crate::gtk::Entry#icon-release] signals only on sensitive,
activatable icons.
Sensitive, but non-activatable icons can be used for purely informational purposes.
Readable | Writeable
§secondary-icon-gicon
The GIcon
to use for the secondary icon for the entry.
Readable | Writeable
§secondary-icon-name
The icon name to use for the secondary icon for the entry.
Readable | Writeable
§secondary-icon-paintable
A [gdk::Paintable
][crate::gdk::Paintable] to use as the secondary icon for the entry.
Readable | Writeable
§secondary-icon-sensitive
Whether the secondary icon is sensitive.
An insensitive icon appears grayed out. GTK does not emit the
[icon-press
][struct@crate::gtk::Entry#icon-press][ and [icon-release
][struct@crate::gtk::Entry#icon-release]
signals and does not allow DND from insensitive icons.
An icon should be set insensitive if the action that would trigger when clicked is currently not available.
Readable | Writeable
§secondary-icon-storage-type
The representation which is used for the secondary icon of the entry.
Readable
§secondary-icon-tooltip-markup
The contents of the tooltip on the secondary icon, with markup.
Also see [EntryExtManual::set_icon_tooltip_markup()
][crate::gtk::prelude::EntryExtManual::set_icon_tooltip_markup()].
Readable | Writeable
§secondary-icon-tooltip-text
The contents of the tooltip on the secondary icon.
Also see [EntryExtManual::set_icon_tooltip_text()
][crate::gtk::prelude::EntryExtManual::set_icon_tooltip_text()].
Readable | Writeable
§show-emoji-icon
Whether the entry will show an Emoji icon in the secondary icon position to open the Emoji chooser.
Readable | Writeable
§tabs
A list of tabstops to apply to the text of the entry.
Readable | Writeable
§text-length
The length of the text in the [gtk::Entry
][crate::gtk::Entry].
Readable
§truncate-multiline
When true
, pasted multi-line text is truncated to the first line.
Readable | Writeable
§visibility
Whether the entry should show the “invisible char” instead of the actual text (“password mode”).
Readable | Writeable
Widget
§can-focus
Whether the widget or any of its descendents can accept the input focus.
This property is meant to be set by widget implementations, typically in their instance init function.
Readable | Writeable
§can-target
Whether the widget can receive pointer events.
Readable | Writeable
§css-classes
A list of css classes applied to this widget.
Readable | Writeable
§css-name
The name of this widget in the CSS tree.
This property is meant to be set by widget implementations, typically in their instance init function.
Readable | Writeable | Construct Only
§cursor
The cursor used by @widget.
Readable | Writeable
§focus-on-click
Whether the widget should grab focus when it is clicked with the mouse.
This property is only relevant for widgets that can take focus.
Readable | Writeable
§focusable
Whether this widget itself will accept the input focus.
Readable | Writeable
§halign
How to distribute horizontal space if widget gets extra space.
Readable | Writeable
§has-default
Whether the widget is the default widget.
Readable
§has-focus
Whether the widget has the input focus.
Readable
§has-tooltip
Enables or disables the emission of the ::query-tooltip signal on @widget.
A value of true
indicates that @widget can have a tooltip, in this case
the widget will be queried using [query-tooltip
][struct@crate::gtk::Widget#query-tooltip] to
determine whether it will provide a tooltip or not.
Readable | Writeable
§height-request
Override for height request of the widget.
If this is -1, the natural request will be used.
Readable | Writeable
§hexpand
Whether to expand horizontally.
Readable | Writeable
§hexpand-set
Whether to use the hexpand
property.
Readable | Writeable
§layout-manager
The GtkLayoutManager
instance to use to compute the preferred size
of the widget, and allocate its children.
This property is meant to be set by widget implementations, typically in their instance init function.
Readable | Writeable
§margin-bottom
Margin on bottom side of widget.
This property adds margin outside of the widget’s normal size
request, the margin will be added in addition to the size from
[WidgetExtManual::set_size_request()
][crate::gtk::prelude::WidgetExtManual::set_size_request()] for example.
Readable | Writeable
§margin-end
Margin on end of widget, horizontally.
This property supports left-to-right and right-to-left text directions.
This property adds margin outside of the widget’s normal size
request, the margin will be added in addition to the size from
[WidgetExtManual::set_size_request()
][crate::gtk::prelude::WidgetExtManual::set_size_request()] for example.
Readable | Writeable
§margin-start
Margin on start of widget, horizontally.
This property supports left-to-right and right-to-left text directions.
This property adds margin outside of the widget’s normal size
request, the margin will be added in addition to the size from
[WidgetExtManual::set_size_request()
][crate::gtk::prelude::WidgetExtManual::set_size_request()] for example.
Readable | Writeable
§margin-top
Margin on top side of widget.
This property adds margin outside of the widget’s normal size
request, the margin will be added in addition to the size from
[WidgetExtManual::set_size_request()
][crate::gtk::prelude::WidgetExtManual::set_size_request()] for example.
Readable | Writeable
§name
The name of the widget.
Readable | Writeable
§opacity
The requested opacity of the widget.
Readable | Writeable
§overflow
How content outside the widget’s content area is treated.
This property is meant to be set by widget implementations, typically in their instance init function.
Readable | Writeable
§parent
The parent widget of this widget.
Readable
§receives-default
Whether the widget will receive the default action when it is focused.
Readable | Writeable
§root
The [gtk::Root
][crate::gtk::Root] widget of the widget tree containing this widget.
This will be None
if the widget is not contained in a root widget.
Readable
§scale-factor
The scale factor of the widget.
Readable
§sensitive
Whether the widget responds to input.
Readable | Writeable
§tooltip-markup
Sets the text of tooltip to be the given string, which is marked up with Pango markup.
Also see Gtk::Tooltip::set_markup()
.
This is a convenience property which will take care of getting the
tooltip shown if the given string is not None
:
[has-tooltip
][struct@crate::gtk::Widget#has-tooltip] will automatically be set to true
and there will be taken care of [query-tooltip
][struct@crate::gtk::Widget#query-tooltip] in
the default signal handler.
Note that if both [tooltip-text
][struct@crate::gtk::Widget#tooltip-text] and
[tooltip-markup
][struct@crate::gtk::Widget#tooltip-markup] are set, the last one wins.
Readable | Writeable
§tooltip-text
Sets the text of tooltip to be the given string.
Also see Gtk::Tooltip::set_text()
.
This is a convenience property which will take care of getting the
tooltip shown if the given string is not None
:
[has-tooltip
][struct@crate::gtk::Widget#has-tooltip] will automatically be set to true
and there will be taken care of [query-tooltip
][struct@crate::gtk::Widget#query-tooltip] in
the default signal handler.
Note that if both [tooltip-text
][struct@crate::gtk::Widget#tooltip-text] and
[tooltip-markup
][struct@crate::gtk::Widget#tooltip-markup] are set, the last one wins.
Readable | Writeable
§valign
How to distribute vertical space if widget gets extra space.
Readable | Writeable
§vexpand
Whether to expand vertically.
Readable | Writeable
§vexpand-set
Whether to use the vexpand
property.
Readable | Writeable
§visible
Whether the widget is visible.
Readable | Writeable
§width-request
Override for width request of the widget.
If this is -1, the natural request will be used.
Readable | Writeable
Accessible
§accessible-role
The accessible role of the given [gtk::Accessible
][crate::gtk::Accessible] implementation.
The accessible role cannot be changed once set.
Readable | Writeable
CellEditable
§editing-canceled
Indicates whether editing on the cell has been canceled.
Readable | Writeable
Editable
§cursor-position
The current position of the insertion cursor in chars.
Readable
§editable
Whether the entry contents can be edited.
Readable | Writeable
§enable-undo
If undo/redo should be enabled for the editable.
Readable | Writeable
§max-width-chars
The desired maximum width of the entry, in characters.
Readable | Writeable
§selection-bound
The position of the opposite end of the selection from the cursor in chars.
Readable
§text
The contents of the entry.
Readable | Writeable
§width-chars
Number of characters to leave space for in the entry.
Readable | Writeable
§xalign
The horizontal alignment, from 0 (left) to 1 (right).
Reversed for RTL layouts.
Readable | Writeable
§Implements
DatePickerExt
, [trait@gtk::prelude::EntryExt
], [trait@gtk::prelude::WidgetExt
], [trait@glib::ObjectExt
], [trait@gtk::prelude::AccessibleExt
], [trait@gtk::prelude::BuildableExt
], [trait@gtk::prelude::ConstraintTargetExt
], [trait@gtk::prelude::CellEditableExt
], [trait@gtk::prelude::EditableExt
]
GLib type: GObject with reference counted clone semantics.
Implementations§
source§impl DatePicker
impl DatePicker
pub const NONE: Option<&'static DatePicker> = None
sourcepub fn with_format(format: &str) -> DatePicker
pub fn with_format(format: &str) -> DatePicker
pub fn new() -> DatePicker
sourcepub fn builder() -> DatePickerBuilder
pub fn builder() -> DatePickerBuilder
Creates a new builder-pattern struct instance to construct DatePicker
objects.
This method returns an instance of DatePickerBuilder
which can be used to create DatePicker
objects.
Trait Implementations§
source§impl Clone for DatePicker
impl Clone for DatePicker
source§impl Debug for DatePicker
impl Debug for DatePicker
source§impl Default for DatePicker
impl Default for DatePicker
source§impl HasParamSpec for DatePicker
impl HasParamSpec for DatePicker
type ParamSpec = ParamSpecObject
§type SetValue = DatePicker
type SetValue = DatePicker
type BuilderFn = fn(_: &str) -> ParamSpecObjectBuilder<'_, DatePicker>
fn param_spec_builder() -> Self::BuilderFn
source§impl Hash for DatePicker
impl Hash for DatePicker
source§impl Ord for DatePicker
impl Ord for DatePicker
source§fn cmp(&self, other: &Self) -> Ordering
fn cmp(&self, other: &Self) -> Ordering
Comparison for two GObjects.
Compares the memory addresses of the provided objects.
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl ParentClassIs for DatePicker
impl ParentClassIs for DatePicker
source§impl<OT: ObjectType> PartialEq<OT> for DatePicker
impl<OT: ObjectType> PartialEq<OT> for DatePicker
source§impl<OT: ObjectType> PartialOrd<OT> for DatePicker
impl<OT: ObjectType> PartialOrd<OT> for DatePicker
source§fn partial_cmp(&self, other: &OT) -> Option<Ordering>
fn partial_cmp(&self, other: &OT) -> Option<Ordering>
Partial comparison for two GObjects.
Compares the memory addresses of the provided objects.
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl StaticType for DatePicker
impl StaticType for DatePicker
source§fn static_type() -> Type
fn static_type() -> Type
Self
.impl Eq for DatePicker
impl IsA<Accessible> for DatePicker
impl IsA<Buildable> for DatePicker
impl IsA<CellEditable> for DatePicker
impl IsA<ConstraintTarget> for DatePicker
impl IsA<Editable> for DatePicker
impl IsA<Entry> for DatePicker
impl IsA<Widget> for DatePicker
Auto Trait Implementations§
impl Freeze for DatePicker
impl RefUnwindSafe for DatePicker
impl !Send for DatePicker
impl !Sync for DatePicker
impl Unpin for DatePicker
impl UnwindSafe for DatePicker
Blanket Implementations§
§impl<O> AccessibleExt for Owhere
O: IsA<Accessible>,
impl<O> AccessibleExt for Owhere
O: IsA<Accessible>,
fn accessible_role(&self) -> AccessibleRole
fn reset_property(&self, property: AccessibleProperty)
fn reset_relation(&self, relation: AccessibleRelation)
fn reset_state(&self, state: AccessibleState)
fn set_accessible_role(&self, accessible_role: AccessibleRole)
fn connect_accessible_role_notify<F>(&self, f: F) -> SignalHandlerId
§impl<O> AccessibleExtManual for Owhere
O: IsA<Accessible>,
impl<O> AccessibleExtManual for Owhere
O: IsA<Accessible>,
fn update_property(&self, properties: &[Property<'_>])
fn update_relation(&self, relations: &[Relation<'_>])
fn update_state(&self, states: &[State])
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<O> BuildableExt for Owhere
O: IsA<Buildable>,
impl<O> BuildableExt for Owhere
O: IsA<Buildable>,
fn buildable_id(&self) -> Option<GString>
§impl<T> Cast for Twhere
T: ObjectType,
impl<T> Cast for Twhere
T: ObjectType,
§fn upcast<T>(self) -> Twhere
T: ObjectType,
Self: IsA<T>,
fn upcast<T>(self) -> Twhere
T: ObjectType,
Self: IsA<T>,
T
. Read more§fn upcast_ref<T>(&self) -> &Twhere
T: ObjectType,
Self: IsA<T>,
fn upcast_ref<T>(&self) -> &Twhere
T: ObjectType,
Self: IsA<T>,
T
. Read more§fn downcast<T>(self) -> Result<T, Self>where
T: ObjectType,
Self: MayDowncastTo<T>,
fn downcast<T>(self) -> Result<T, Self>where
T: ObjectType,
Self: MayDowncastTo<T>,
T
. Read more§fn downcast_ref<T>(&self) -> Option<&T>where
T: ObjectType,
Self: MayDowncastTo<T>,
fn downcast_ref<T>(&self) -> Option<&T>where
T: ObjectType,
Self: MayDowncastTo<T>,
T
. Read more§fn dynamic_cast<T>(self) -> Result<T, Self>where
T: ObjectType,
fn dynamic_cast<T>(self) -> Result<T, Self>where
T: ObjectType,
T
. This handles upcasting, downcasting
and casting between interface and interface implementors. All checks are performed at
runtime, while upcast
will do many checks at compile-time already. downcast
will
perform the same checks at runtime as dynamic_cast
, but will also ensure some amount of
compile-time safety. Read more§fn dynamic_cast_ref<T>(&self) -> Option<&T>where
T: ObjectType,
fn dynamic_cast_ref<T>(&self) -> Option<&T>where
T: ObjectType,
T
. This handles upcasting, downcasting
and casting between interface and interface implementors. All checks are performed at
runtime, while downcast
and upcast
will do many checks at compile-time already. Read more§unsafe fn unsafe_cast<T>(self) -> Twhere
T: ObjectType,
unsafe fn unsafe_cast<T>(self) -> Twhere
T: ObjectType,
T
unconditionally. Read more§unsafe fn unsafe_cast_ref<T>(&self) -> &Twhere
T: ObjectType,
unsafe fn unsafe_cast_ref<T>(&self) -> &Twhere
T: ObjectType,
&T
unconditionally. Read more§impl<O> CellEditableExt for Owhere
O: IsA<CellEditable>,
impl<O> CellEditableExt for Owhere
O: IsA<CellEditable>,
fn editing_done(&self)
fn remove_widget(&self)
fn start_editing(&self, event: Option<impl AsRef<Event>>)
fn is_editing_canceled(&self) -> bool
fn set_editing_canceled(&self, editing_canceled: bool)
fn connect_editing_done<F>(&self, f: F) -> SignalHandlerId
fn connect_remove_widget<F>(&self, f: F) -> SignalHandlerId
fn connect_editing_canceled_notify<F>(&self, f: F) -> SignalHandlerId
source§impl<O> DatePickerExt for Owhere
O: IsA<DatePicker>,
impl<O> DatePickerExt for Owhere
O: IsA<DatePicker>,
§impl<O> EditableExt for Owhere
O: IsA<Editable>,
impl<O> EditableExt for Owhere
O: IsA<Editable>,
fn delete_selection(&self)
fn delete_text(&self, start_pos: i32, end_pos: i32)
fn finish_delegate(&self)
fn alignment(&self) -> f32
fn chars(&self, start_pos: i32, end_pos: i32) -> GString
fn delegate(&self) -> Option<Editable>
fn is_editable(&self) -> bool
fn enables_undo(&self) -> bool
fn max_width_chars(&self) -> i32
fn position(&self) -> i32
fn selection_bounds(&self) -> Option<(i32, i32)>
fn text(&self) -> GString
fn width_chars(&self) -> i32
fn init_delegate(&self)
fn insert_text(&self, text: &str, position: &mut i32)
fn select_region(&self, start_pos: i32, end_pos: i32)
fn set_alignment(&self, xalign: f32)
fn set_editable(&self, is_editable: bool)
fn set_enable_undo(&self, enable_undo: bool)
fn set_max_width_chars(&self, n_chars: i32)
fn set_position(&self, position: i32)
fn set_text(&self, text: &str)
fn set_width_chars(&self, n_chars: i32)
fn selection_bound(&self) -> i32
fn connect_changed<F>(&self, f: F) -> SignalHandlerId
fn connect_delete_text<F>(&self, f: F) -> SignalHandlerId
fn connect_cursor_position_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_editable_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_enable_undo_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_max_width_chars_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_selection_bound_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_text_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_width_chars_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_xalign_notify<F>(&self, f: F) -> SignalHandlerId
§impl<O> EditableExtManual for Owhere
O: IsA<Editable>,
impl<O> EditableExtManual for Owhere
O: IsA<Editable>,
§impl<O> EntryExt for Owhere
O: IsA<Entry>,
impl<O> EntryExt for Owhere
O: IsA<Entry>,
fn activates_default(&self) -> bool
fn alignment(&self) -> f32
fn attributes(&self) -> Option<AttrList>
fn buffer(&self) -> EntryBuffer
fn completion(&self) -> Option<EntryCompletion>
fn current_icon_drag_source(&self) -> i32
fn has_frame(&self) -> bool
fn icon_is_activatable(&self, icon_pos: EntryIconPosition) -> bool
fn icon_area(&self, icon_pos: EntryIconPosition) -> Rectangle
fn icon_at_pos(&self, x: i32, y: i32) -> i32
fn icon_gicon(&self, icon_pos: EntryIconPosition) -> Option<Icon>
fn icon_name(&self, icon_pos: EntryIconPosition) -> Option<GString>
fn icon_paintable(&self, icon_pos: EntryIconPosition) -> Option<Paintable>
fn icon_is_sensitive(&self, icon_pos: EntryIconPosition) -> bool
fn icon_storage_type(&self, icon_pos: EntryIconPosition) -> ImageType
fn icon_tooltip_markup(&self, icon_pos: EntryIconPosition) -> Option<GString>
fn icon_tooltip_text(&self, icon_pos: EntryIconPosition) -> Option<GString>
fn input_hints(&self) -> InputHints
fn input_purpose(&self) -> InputPurpose
fn max_length(&self) -> i32
fn is_overwrite_mode(&self) -> bool
fn placeholder_text(&self) -> Option<GString>
fn progress_fraction(&self) -> f64
fn progress_pulse_step(&self) -> f64
fn tabs(&self) -> Option<TabArray>
fn text_length(&self) -> u16
fn is_visible(&self) -> bool
fn grab_focus_without_selecting(&self) -> bool
fn progress_pulse(&self)
fn reset_im_context(&self)
fn set_activates_default(&self, setting: bool)
fn set_alignment(&self, xalign: f32)
fn set_attributes(&self, attrs: &AttrList)
fn set_buffer(&self, buffer: &impl IsA<EntryBuffer>)
fn set_completion(&self, completion: Option<&EntryCompletion>)
fn set_has_frame(&self, setting: bool)
fn set_icon_activatable(&self, icon_pos: EntryIconPosition, activatable: bool)
fn set_icon_drag_source( &self, icon_pos: EntryIconPosition, provider: &impl IsA<ContentProvider>, actions: DragAction, )
fn set_icon_from_gicon( &self, icon_pos: EntryIconPosition, icon: Option<&impl IsA<Icon>>, )
fn set_icon_from_icon_name( &self, icon_pos: EntryIconPosition, icon_name: Option<&str>, )
fn set_icon_from_paintable( &self, icon_pos: EntryIconPosition, paintable: Option<&impl IsA<Paintable>>, )
fn set_icon_sensitive(&self, icon_pos: EntryIconPosition, sensitive: bool)
fn set_icon_tooltip_markup( &self, icon_pos: EntryIconPosition, tooltip: Option<&str>, )
fn set_icon_tooltip_text( &self, icon_pos: EntryIconPosition, tooltip: Option<&str>, )
fn set_input_hints(&self, hints: InputHints)
fn set_input_purpose(&self, purpose: InputPurpose)
fn set_invisible_char(&self, ch: Option<char>)
fn set_max_length(&self, max: i32)
fn set_overwrite_mode(&self, overwrite: bool)
fn set_placeholder_text(&self, text: Option<&str>)
fn set_progress_fraction(&self, fraction: f64)
fn set_progress_pulse_step(&self, fraction: f64)
fn set_tabs(&self, tabs: Option<&TabArray>)
fn set_visibility(&self, visible: bool)
fn unset_invisible_char(&self)
fn enables_emoji_completion(&self) -> bool
fn set_enable_emoji_completion(&self, enable_emoji_completion: bool)
fn im_module(&self) -> Option<GString>
fn set_im_module(&self, im_module: Option<&str>)
fn is_invisible_char_set(&self) -> bool
fn is_primary_icon_activatable(&self) -> bool
fn set_primary_icon_activatable(&self, primary_icon_activatable: bool)
fn primary_icon_gicon(&self) -> Option<Icon>
fn set_primary_icon_gicon<P>(&self, primary_icon_gicon: Option<&P>)where
P: IsA<Icon>,
fn primary_icon_name(&self) -> Option<GString>
fn set_primary_icon_name(&self, primary_icon_name: Option<&str>)
fn primary_icon_paintable(&self) -> Option<Paintable>
fn set_primary_icon_paintable<P>(&self, primary_icon_paintable: Option<&P>)where
P: IsA<Paintable>,
fn is_primary_icon_sensitive(&self) -> bool
fn set_primary_icon_sensitive(&self, primary_icon_sensitive: bool)
fn primary_icon_storage_type(&self) -> ImageType
fn primary_icon_tooltip_markup(&self) -> Option<GString>
fn set_primary_icon_tooltip_markup( &self, primary_icon_tooltip_markup: Option<&str>, )
fn primary_icon_tooltip_text(&self) -> Option<GString>
fn set_primary_icon_tooltip_text(&self, primary_icon_tooltip_text: Option<&str>)
fn scroll_offset(&self) -> i32
fn is_secondary_icon_activatable(&self) -> bool
fn set_secondary_icon_activatable(&self, secondary_icon_activatable: bool)
fn secondary_icon_gicon(&self) -> Option<Icon>
fn set_secondary_icon_gicon<P>(&self, secondary_icon_gicon: Option<&P>)where
P: IsA<Icon>,
fn secondary_icon_name(&self) -> Option<GString>
fn set_secondary_icon_name(&self, secondary_icon_name: Option<&str>)
fn secondary_icon_paintable(&self) -> Option<Paintable>
fn set_secondary_icon_paintable<P>(&self, secondary_icon_paintable: Option<&P>)where
P: IsA<Paintable>,
fn is_secondary_icon_sensitive(&self) -> bool
fn set_secondary_icon_sensitive(&self, secondary_icon_sensitive: bool)
fn secondary_icon_storage_type(&self) -> ImageType
fn secondary_icon_tooltip_markup(&self) -> Option<GString>
fn set_secondary_icon_tooltip_markup( &self, secondary_icon_tooltip_markup: Option<&str>, )
fn secondary_icon_tooltip_text(&self) -> Option<GString>
fn set_secondary_icon_tooltip_text( &self, secondary_icon_tooltip_text: Option<&str>, )
fn shows_emoji_icon(&self) -> bool
fn set_show_emoji_icon(&self, show_emoji_icon: bool)
fn must_truncate_multiline(&self) -> bool
fn set_truncate_multiline(&self, truncate_multiline: bool)
fn connect_activate<F>(&self, f: F) -> SignalHandlerId
fn emit_activate(&self)
fn connect_icon_press<F>(&self, f: F) -> SignalHandlerId
fn connect_icon_release<F>(&self, f: F) -> SignalHandlerId
fn connect_activates_default_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_attributes_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_buffer_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_completion_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_enable_emoji_completion_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_has_frame_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_im_module_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_input_hints_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_input_purpose_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_invisible_char_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_invisible_char_set_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_max_length_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_overwrite_mode_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_placeholder_text_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_primary_icon_activatable_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_primary_icon_gicon_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_primary_icon_name_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_primary_icon_paintable_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_primary_icon_sensitive_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_primary_icon_storage_type_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_primary_icon_tooltip_markup_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_primary_icon_tooltip_text_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_progress_fraction_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_progress_pulse_step_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_scroll_offset_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_secondary_icon_activatable_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_secondary_icon_gicon_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_secondary_icon_name_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_secondary_icon_paintable_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_secondary_icon_sensitive_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_secondary_icon_storage_type_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_secondary_icon_tooltip_markup_notify<F>( &self, f: F, ) -> SignalHandlerId
fn connect_secondary_icon_tooltip_text_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_show_emoji_icon_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_tabs_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_text_length_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_truncate_multiline_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_visibility_notify<F>(&self, f: F) -> SignalHandlerId
§impl<O> EntryExtManual for Owhere
O: IsA<Entry>,
impl<O> EntryExtManual for Owhere
O: IsA<Entry>,
fn invisible_char(&self) -> Option<char>
§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_num_as_vec(ptr: *const GList, num: usize) -> Vec<T>
unsafe fn from_glib_container_num_as_vec(_: *const GList, _: usize) -> Vec<T>
unsafe fn from_glib_full_num_as_vec(_: *const GList, _: usize) -> Vec<T>
§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_num_as_vec(ptr: *const GPtrArray, num: usize) -> Vec<T>
unsafe fn from_glib_container_num_as_vec( _: *const GPtrArray, _: usize, ) -> Vec<T>
unsafe fn from_glib_full_num_as_vec(_: *const GPtrArray, _: usize) -> Vec<T>
§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_num_as_vec(ptr: *const GSList, num: usize) -> Vec<T>
unsafe fn from_glib_container_num_as_vec(_: *const GSList, _: usize) -> Vec<T>
unsafe fn from_glib_full_num_as_vec(_: *const GSList, _: usize) -> Vec<T>
§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_num_as_vec(ptr: *mut GList, num: usize) -> Vec<T>
unsafe fn from_glib_container_num_as_vec(ptr: *mut GList, num: usize) -> Vec<T>
unsafe fn from_glib_full_num_as_vec(ptr: *mut GList, num: usize) -> Vec<T>
§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_num_as_vec(ptr: *mut GPtrArray, num: usize) -> Vec<T>
unsafe fn from_glib_container_num_as_vec( ptr: *mut GPtrArray, num: usize, ) -> Vec<T>
unsafe fn from_glib_full_num_as_vec(ptr: *mut GPtrArray, num: usize) -> Vec<T>
§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_num_as_vec(ptr: *mut GSList, num: usize) -> Vec<T>
unsafe fn from_glib_container_num_as_vec(ptr: *mut GSList, num: usize) -> Vec<T>
unsafe fn from_glib_full_num_as_vec(ptr: *mut GSList, num: usize) -> Vec<T>
§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_as_vec(ptr: *const GList) -> Vec<T>
unsafe fn from_glib_container_as_vec(_: *const GList) -> Vec<T>
unsafe fn from_glib_full_as_vec(_: *const GList) -> Vec<T>
§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_as_vec(ptr: *const GPtrArray) -> Vec<T>
unsafe fn from_glib_container_as_vec(_: *const GPtrArray) -> Vec<T>
unsafe fn from_glib_full_as_vec(_: *const GPtrArray) -> Vec<T>
§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_as_vec(ptr: *const GSList) -> Vec<T>
unsafe fn from_glib_container_as_vec(_: *const GSList) -> Vec<T>
unsafe fn from_glib_full_as_vec(_: *const GSList) -> Vec<T>
§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_as_vec(ptr: *mut GList) -> Vec<T>
unsafe fn from_glib_container_as_vec(ptr: *mut GList) -> Vec<T>
unsafe fn from_glib_full_as_vec(ptr: *mut GList) -> Vec<T>
§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_as_vec(ptr: *mut GPtrArray) -> Vec<T>
unsafe fn from_glib_container_as_vec(ptr: *mut GPtrArray) -> Vec<T>
unsafe fn from_glib_full_as_vec(ptr: *mut GPtrArray) -> Vec<T>
§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_as_vec(ptr: *mut GSList) -> Vec<T>
unsafe fn from_glib_container_as_vec(ptr: *mut GSList) -> Vec<T>
unsafe fn from_glib_full_as_vec(ptr: *mut GSList) -> Vec<T>
§impl<O> GObjectPropertyExpressionExt for Owhere
O: IsA<Object>,
impl<O> GObjectPropertyExpressionExt for Owhere
O: IsA<Object>,
§fn property_expression(&self, property_name: &str) -> PropertyExpression
fn property_expression(&self, property_name: &str) -> PropertyExpression
§fn property_expression_weak(&self, property_name: &str) -> PropertyExpression
fn property_expression_weak(&self, property_name: &str) -> PropertyExpression
§fn this_expression(property_name: &str) -> PropertyExpression
fn this_expression(property_name: &str) -> PropertyExpression
this
object.§impl<T> IntoClosureReturnValue for Twhere
T: Into<Value>,
impl<T> IntoClosureReturnValue for Twhere
T: Into<Value>,
fn into_closure_return_value(self) -> Option<Value>
§impl<U> IsSubclassableExt for Uwhere
U: IsClass + ParentClassIs,
impl<U> IsSubclassableExt for Uwhere
U: IsClass + ParentClassIs,
fn parent_class_init<T>(class: &mut Class<U>)where
T: ObjectSubclass,
<U as ParentClassIs>::Parent: IsSubclassable<T>,
fn parent_instance_init<T>(instance: &mut InitializingObject<T>)where
T: ObjectSubclass,
<U as ParentClassIs>::Parent: IsSubclassable<T>,
§impl<T> ObjectExt for Twhere
T: ObjectType,
impl<T> ObjectExt for Twhere
T: ObjectType,
§fn is<U>(&self) -> boolwhere
U: StaticType,
fn is<U>(&self) -> boolwhere
U: StaticType,
true
if the object is an instance of (can be cast to) T
.§fn object_class(&self) -> &Class<Object>
fn object_class(&self) -> &Class<Object>
ObjectClass
] of the object. Read more§fn class_of<U>(&self) -> Option<&Class<U>>where
U: IsClass,
fn class_of<U>(&self) -> Option<&Class<U>>where
U: IsClass,
T
. Read more§fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>where
U: IsInterface,
fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>where
U: IsInterface,
T
of the object. Read more§fn set_property(&self, property_name: &str, value: impl Into<Value>)
fn set_property(&self, property_name: &str, value: impl Into<Value>)
§fn set_property_from_value(&self, property_name: &str, value: &Value)
fn set_property_from_value(&self, property_name: &str, value: &Value)
§fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])
fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])
§fn set_properties_from_value(&self, property_values: &[(&str, Value)])
fn set_properties_from_value(&self, property_values: &[(&str, Value)])
§fn property<V>(&self, property_name: &str) -> Vwhere
V: for<'b> FromValue<'b> + 'static,
fn property<V>(&self, property_name: &str) -> Vwhere
V: for<'b> FromValue<'b> + 'static,
property_name
of the object and cast it to the type V. Read more§fn property_value(&self, property_name: &str) -> Value
fn property_value(&self, property_name: &str) -> Value
property_name
of the object. Read more§fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool
fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool
§fn property_type(&self, property_name: &str) -> Option<Type>
fn property_type(&self, property_name: &str) -> Option<Type>
property_name
of this object. Read more§fn find_property(&self, property_name: &str) -> Option<ParamSpec>
fn find_property(&self, property_name: &str) -> Option<ParamSpec>
ParamSpec
of the property property_name
of this object.§fn list_properties(&self) -> PtrSlice<ParamSpec>
fn list_properties(&self) -> PtrSlice<ParamSpec>
ParamSpec
of the properties of this object.§fn freeze_notify(&self) -> PropertyNotificationFreezeGuard
fn freeze_notify(&self) -> PropertyNotificationFreezeGuard
§unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)where
QD: 'static,
unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)where
QD: 'static,
key
. Read more§unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>where
QD: 'static,
unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>where
QD: 'static,
key
. Read more§unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>where
QD: 'static,
unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>where
QD: 'static,
key
. Read more§unsafe fn set_data<QD>(&self, key: &str, value: QD)where
QD: 'static,
unsafe fn set_data<QD>(&self, key: &str, value: QD)where
QD: 'static,
key
. Read more§unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>where
QD: 'static,
unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>where
QD: 'static,
key
. Read more§unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>where
QD: 'static,
unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>where
QD: 'static,
key
. Read more§fn block_signal(&self, handler_id: &SignalHandlerId)
fn block_signal(&self, handler_id: &SignalHandlerId)
§fn unblock_signal(&self, handler_id: &SignalHandlerId)
fn unblock_signal(&self, handler_id: &SignalHandlerId)
§fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)
fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)
§fn stop_signal_emission_by_name(&self, signal_name: &str)
fn stop_signal_emission_by_name(&self, signal_name: &str)
§fn connect<F>(
&self,
signal_name: &str,
after: bool,
callback: F,
) -> SignalHandlerId
fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
signal_name
on this object. Read more§fn connect_id<F>(
&self,
signal_id: SignalId,
details: Option<Quark>,
after: bool,
callback: F,
) -> SignalHandlerId
fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
signal_id
on this object. Read more§fn connect_local<F>(
&self,
signal_name: &str,
after: bool,
callback: F,
) -> SignalHandlerId
fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
signal_name
on this object. Read more§fn connect_local_id<F>(
&self,
signal_id: SignalId,
details: Option<Quark>,
after: bool,
callback: F,
) -> SignalHandlerId
fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
signal_id
on this object. Read more§unsafe fn connect_unsafe<F>(
&self,
signal_name: &str,
after: bool,
callback: F,
) -> SignalHandlerId
unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
signal_name
on this object. Read more§unsafe fn connect_unsafe_id<F>(
&self,
signal_id: SignalId,
details: Option<Quark>,
after: bool,
callback: F,
) -> SignalHandlerId
unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
signal_id
on this object. Read more§fn connect_closure(
&self,
signal_name: &str,
after: bool,
closure: RustClosure,
) -> SignalHandlerId
fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, ) -> SignalHandlerId
signal_name
on this object. Read more§fn connect_closure_id(
&self,
signal_id: SignalId,
details: Option<Quark>,
after: bool,
closure: RustClosure,
) -> SignalHandlerId
fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, ) -> SignalHandlerId
signal_id
on this object. Read more§fn watch_closure(&self, closure: &impl AsRef<Closure>)
fn watch_closure(&self, closure: &impl AsRef<Closure>)
closure
to the lifetime of the object. When
the object’s reference count drops to zero, the closure will be
invalidated. An invalidated closure will ignore any calls to
invoke_with_values
, or
invoke
when using Rust closures.§fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> Rwhere
R: TryFromClosureReturnValue,
fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> Rwhere
R: TryFromClosureReturnValue,
§fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>
fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>
Self::emit
] but takes Value
for the arguments.§fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> Rwhere
R: TryFromClosureReturnValue,
fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> Rwhere
R: TryFromClosureReturnValue,
§fn emit_by_name_with_values(
&self,
signal_name: &str,
args: &[Value],
) -> Option<Value>
fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], ) -> Option<Value>
§fn emit_by_name_with_details<R>(
&self,
signal_name: &str,
details: Quark,
args: &[&dyn ToValue],
) -> Rwhere
R: TryFromClosureReturnValue,
fn emit_by_name_with_details<R>(
&self,
signal_name: &str,
details: Quark,
args: &[&dyn ToValue],
) -> Rwhere
R: TryFromClosureReturnValue,
§fn emit_by_name_with_details_and_values(
&self,
signal_name: &str,
details: Quark,
args: &[Value],
) -> Option<Value>
fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], ) -> Option<Value>
§fn emit_with_details<R>(
&self,
signal_id: SignalId,
details: Quark,
args: &[&dyn ToValue],
) -> Rwhere
R: TryFromClosureReturnValue,
fn emit_with_details<R>(
&self,
signal_id: SignalId,
details: Quark,
args: &[&dyn ToValue],
) -> Rwhere
R: TryFromClosureReturnValue,
§fn emit_with_details_and_values(
&self,
signal_id: SignalId,
details: Quark,
args: &[Value],
) -> Option<Value>
fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], ) -> Option<Value>
§fn disconnect(&self, handler_id: SignalHandlerId)
fn disconnect(&self, handler_id: SignalHandlerId)
§fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
notify
signal of the object. Read more§fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
notify
signal of the object. Read more§unsafe fn connect_notify_unsafe<F>(
&self,
name: Option<&str>,
f: F,
) -> SignalHandlerId
unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
notify
signal of the object. Read more