pub struct Terminal { /* private fields */ }
Expand description
§Properties
§allow-bold
Controls whether or not the terminal will attempt to draw bold text, by using a bold font variant.
Readable | Writeable
§allow-hyperlink
Controls whether or not hyperlinks (OSC 8 escape sequence) are recognized and displayed.
Readable | Writeable
§audible-bell
Controls whether or not the terminal will beep when the child outputs the “bl” sequence.
Readable | Writeable
§backspace-binding
Controls what string or control sequence the terminal sends to its child when the user presses the backspace key.
Readable | Writeable
§bold-is-bright
Whether the SGR 1 attribute also switches to the bright counterpart of the first 8 palette colors, in addition to making them bold (legacy behavior) or if SGR 1 only enables bold and leaves the color intact.
Readable | Writeable
§cell-height-scale
Scale factor for the cell height, to increase line spacing. (The font’s height is not affected.)
Readable | Writeable
§cell-width-scale
Scale factor for the cell width, to increase letter spacing. (The font’s width is not affected.)
Readable | Writeable
§cjk-ambiguous-width
This setting controls whether ambiguous-width characters are narrow or wide. (Note that when using a non-UTF-8 encoding set via vte_terminal_set_encoding(), the width of ambiguous-width characters is fixed and determined by the encoding itself.)
This setting only takes effect the next time the terminal is reset, either via escape sequence or with vte_terminal_reset().
Readable | Writeable
§context-menu
The menu used for context menus. Note that context menu model set with the #VteTerminal::context-menu-model property or vte_terminal_set_context_menu_model() takes precedence over this.
Readable | Writeable
§context-menu-model
The menu model used for context menus. If non-None
, the context menu is
generated from this model, and overrides a context menu set with the
#VteTerminal::context-menu property or vte_terminal_set_context_menu().
Readable | Writeable
§current-container-name
The name of the current container, or None
if unset.
Readable
§current-container-runtime
The name of the runtime toolset used to set up the current
container, or None
if unset.
Readable
§current-directory-uri
The current directory URI, or None
if unset.
Readable
§current-file-uri
The current file URI, or None
if unset.
Readable
§cursor-blink-mode
Sets whether or not the cursor will blink. Using CursorBlinkMode::System
will use the #GtkSettings:gtk-cursor-blink setting.
Readable | Writeable
§cursor-shape
Controls the shape of the cursor.
Readable | Writeable
§delete-binding
Controls what string or control sequence the terminal sends to its child when the user presses the delete key.
Readable | Writeable
§enable-a11y
Controls whether or not a11y is enabled for the widget.
Readable | Writeable
§enable-bidi
Controls whether or not the terminal will perform bidirectional text rendering.
Readable | Writeable
§enable-fallback-scrolling
Readable | Writeable
§enable-shaping
Controls whether or not the terminal will shape Arabic text.
Readable | Writeable
§enable-sixel
Controls whether SIXEL image support is enabled.
Readable | Writeable
§encoding
Controls the encoding the terminal will expect data from the child to be encoded with. For certain terminal types, applications executing in the terminal can change the encoding. The default is defined by the application’s locale settings.
Readable | Writeable
§font-desc
Specifies the font used for rendering all text displayed by the terminal, overriding any fonts set using gtk_widget_modify_font(). The terminal will immediately attempt to load the desired font, retrieve its metrics, and attempt to resize itself to keep the same number of rows and columns.
Readable | Writeable
§font-options
The terminal’s font options, or None
to use the default font options.
Note that on GTK4, the terminal by default uses font options
with CAIRO_HINT_METRICS_ON
set; to override that, use this
function to set a #cairo_font_options_t that has
CAIRO_HINT_METRICS_OFF
set.
Readable | Writeable
§font-scale
The terminal’s font scale.
Readable | Writeable
§hyperlink-hover-uri
The currently hovered hyperlink URI, or None
if unset.
Readable
§icon-title
Readable
§input-enabled
Controls whether the terminal allows user input. When user input is disabled, key press and mouse button press and motion events are not sent to the terminal’s child.
Readable | Writeable
§pointer-autohide
Controls the value of the terminal’s mouse autohide setting. When autohiding is enabled, the mouse cursor will be hidden when the user presses a key and shown when the user moves the mouse.
Readable | Writeable
§pty
The PTY object for the terminal.
Readable | Writeable
§rewrap-on-resize
Controls whether or not the terminal will rewrap its contents, including the scrollback buffer, whenever the terminal’s width changes.
Readable | Writeable
§scroll-on-insert
Controls whether or not the terminal will forcibly scroll to the bottom of the viewable history when the text is inserted (e.g. by a paste).
Readable | Writeable
§scroll-on-keystroke
Controls whether or not the terminal will forcibly scroll to the bottom of the viewable history when the user presses a key. Modifier keys do not trigger this behavior.
Readable | Writeable
§scroll-on-output
Controls whether or not the terminal will forcibly scroll to the bottom of the viewable history when the new data is received from the child.
Readable | Writeable
§scroll-unit-is-pixels
Controls whether the terminal’s GtkAdjustment values unit is lines or pixels. This can be enabled when the terminal is the child of a GtkScrolledWindow to fix some bugs with its kinetic scrolling.
Readable | Writeable
§scrollback-lines
The length of the scrollback buffer used by the terminal. The size of the scrollback buffer will be set to the larger of this value and the number of visible rows the widget can display, so 0 can safely be used to disable scrollback. Note that this setting only affects the normal screen buffer. For terminal types which have an alternate screen buffer, no scrollback is allowed on the alternate screen buffer.
Readable | Writeable
§text-blink-mode
Controls whether or not the terminal will allow blinking text.
Readable | Writeable
§window-title
The terminal’s title.
Readable
§word-char-exceptions
The set of characters which will be considered parts of a word when doing word-wise selection, in addition to the default which only considers alphanumeric characters part of a word.
If None
, a built-in set is used.
Readable
§xalign
The horizontal alignment of @terminal within its allocation.
Readable | Writeable
§xfill
The horizontal fillment of @terminal within its allocation.
Readable | Writeable
§yalign
The vertical alignment of @terminal within its allocation
Readable | Writeable
§yfill
The vertical fillment of @terminal within its allocation.
Note that #VteTerminal:yfill=true
is only supported with
#VteTerminal:yalign=Align::Start
, and is ignored for
all other yalign values.
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
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 GtkRoot
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
will automatically be set to true
and there will be taken care of query-tooltip
in
the default signal handler.
Note that if both tooltip-text
and
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
will automatically be set to true
and there will be taken care of query-tooltip
in
the default signal handler.
Note that if both tooltip-text
and
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
implementation.
The accessible role cannot be changed once set.
Readable | Writeable
Scrollable
§hadjustment
Horizontal GtkAdjustment
of the scrollable widget.
This adjustment is shared between the scrollable widget and its parent.
Readable | Writeable | Construct
§hscroll-policy
Determines when horizontal scrolling should start.
Readable | Writeable
§vadjustment
Vertical GtkAdjustment
of the scrollable widget.
This adjustment is shared between the scrollable widget and its parent.
Readable | Writeable | Construct
§vscroll-policy
Determines when vertical scrolling should start.
Readable | Writeable
§Signals
§bell
This signal is emitted when the a child sends a bell request to the terminal.
§char-size-changed
Emitted whenever the cell size changes, e.g. due to a change in font, font-scale or cell-width/height-scale.
Note that this signal should rather be called “cell-size-changed”.
§child-exited
This signal is emitted when the terminal detects that a child watched using vte_terminal_watch_child() has exited.
§commit
Emitted whenever the terminal receives input from the user and prepares to send it to the child process.
§contents-changed
Emitted whenever the visible appearance of the terminal has changed. Used primarily by #VteTerminalAccessible.
§copy-clipboard
Emitted whenever vte_terminal_copy_clipboard() is called.
Action
§current-directory-uri-changed
Emitted when the current directory URI is modified.
§current-file-uri-changed
Emitted when the current file URI is modified.
§cursor-moved
Emitted whenever the cursor moves to a new character cell. Used primarily by #VteTerminalAccessible.
§decrease-font-size
Emitted when the user hits the ‘-’ key while holding the Control key.
§deiconify-window
Never emitted.
§encoding-changed
Emitted whenever the terminal’s current encoding has changed.
Note: support for non-UTF-8 is deprecated.
§eof
Emitted when the terminal receives an end-of-file from a child which is running in the terminal. This signal is frequently (but not always) emitted with a #VteTerminal::child-exited signal.
§hyperlink-hover-uri-changed
Emitted when the hovered hyperlink changes.
@uri and @bbox are owned by VTE, must not be modified, and might change after the signal handlers returns.
The signal is not re-emitted when the bounding box changes for the same hyperlink. This might change in a future VTE version without notice.
§icon-title-changed
§iconify-window
Never emitted.
§increase-font-size
Emitted when the user hits the ‘+’ key while holding the Control key.
§lower-window
Never emitted.
§maximize-window
Never emitted.
§move-window
Never emitted.
§notification-received
Emitted when a process running in the terminal wants to send a notification to the desktop environment.
§paste-clipboard
Emitted whenever vte_terminal_paste_clipboard() is called.
Action
§raise-window
Never emitted.
§refresh-window
Never emitted.
§resize-window
Emitted at the child application’s request.
§restore-window
Never emitted.
§selection-changed
Emitted whenever the contents of terminal’s selection changes.
§setup-context-menu
Emitted with non-None
context before @terminal shows a context menu.
The handler may set either a menu model using
vte_terminal_set_context_menu_model(), or a menu using
vte_terminal_set_context_menu(), which will then be used as context
menu.
If neither a menu model nor a menu are set, a context menu
will not be shown.
Note that @context is only valid during the signal emission; you may not retain it to call methods on it afterwards.
Also emitted with None
context after the context menu has been dismissed.
§shell-precmd
Emitted right before an interactive shell shows a first-level prompt.
§shell-preexec
Emitted when the interactive shell has read in a complete command and is about to execute it.
§window-title-changed
Emitted when the #VteTerminal:window-title property is modified.
Widget
§destroy
Signals that all holders of a reference to the widget should release the reference that they hold.
May result in finalization of the widget if all references are released.
This signal is not suitable for saving widget state.
§direction-changed
Emitted when the text direction of a widget changes.
§hide
Emitted when @widget is hidden.
§keynav-failed
Emitted if keyboard navigation fails.
See [WidgetExtManual::keynav_failed()
][crate::gtk::prelude::WidgetExtManual::keynav_failed()] for details.
§map
Emitted when @widget is going to be mapped.
A widget is mapped when the widget is visible (which is controlled with
visible
) and all its parents up to the toplevel widget
are also visible.
The ::map signal can be used to determine whether a widget will be drawn,
for instance it can resume an animation that was stopped during the
emission of unmap
.
§mnemonic-activate
Emitted when a widget is activated via a mnemonic.
The default handler for this signal activates @widget if @group_cycling
is false
, or just makes @widget grab focus if @group_cycling is true
.
§move-focus
Emitted when the focus is moved.
The ::move-focus signal is a keybinding signal.
The default bindings for this signal are Tab to move forward, and Shift+Tab to move backward.
Action
§query-tooltip
Emitted when the widget’s tooltip is about to be shown.
This happens when the has-tooltip
property
is true
and the hover timeout has expired with the cursor hovering
“above” @widget; or emitted when @widget got focus in keyboard mode.
Using the given coordinates, the signal handler should determine
whether a tooltip should be shown for @widget. If this is the case
true
should be returned, false
otherwise. Note that if
@keyboard_mode is true
, the values of @x and @y are undefined and
should not be used.
The signal handler is free to manipulate @tooltip with the therefore destined function calls.
§realize
Emitted when @widget is associated with a GdkSurface
.
This means that [WidgetExtManual::realize()
][crate::gtk::prelude::WidgetExtManual::realize()] has been called
or the widget has been mapped (that is, it is going to be drawn).
§show
Emitted when @widget is shown.
§state-flags-changed
Emitted when the widget state changes.
See [WidgetExtManual::state_flags()
][crate::gtk::prelude::WidgetExtManual::state_flags()].
§unmap
Emitted when @widget is going to be unmapped.
A widget is unmapped when either it or any of its parents up to the toplevel widget have been set as hidden.
As ::unmap indicates that a widget will not be shown any longer, it can be used to, for example, stop an animation on the widget.
§unrealize
Emitted when the GdkSurface
associated with @widget is destroyed.
This means that [WidgetExtManual::unrealize()
][crate::gtk::prelude::WidgetExtManual::unrealize()] has been called
or the widget has been unmapped (that is, it is going to be hidden).
§Implements
TerminalExt
, gtk::prelude::WidgetExt
, gtk::prelude::AccessibleExt
, gtk::prelude::BuildableExt
, gtk::prelude::ConstraintTargetExt
, gtk::prelude::ScrollableExt
GLib type: GObject with reference counted clone semantics.
Implementations§
Trait Implementations§
source§impl HasParamSpec for Terminal
impl HasParamSpec for Terminal
source§impl<T: TerminalImpl> IsSubclassable<T> for Terminal
impl<T: TerminalImpl> IsSubclassable<T> for Terminal
source§fn class_init(class: &mut Class<Self>)
fn class_init(class: &mut Class<Self>)
source§fn instance_init(instance: &mut InitializingObject<T>)
fn instance_init(instance: &mut InitializingObject<T>)
source§impl Ord for Terminal
impl Ord for Terminal
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<OT: ObjectType> PartialEq<OT> for Terminal
impl<OT: ObjectType> PartialEq<OT> for Terminal
source§impl<OT: ObjectType> PartialOrd<OT> for Terminal
impl<OT: ObjectType> PartialOrd<OT> for Terminal
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 Terminal
impl StaticType for Terminal
source§fn static_type() -> Type
fn static_type() -> Type
Self
.impl Eq for Terminal
impl IsA<Accessible> for Terminal
impl IsA<Buildable> for Terminal
impl IsA<ConstraintTarget> for Terminal
impl IsA<Scrollable> for Terminal
impl IsA<Widget> for Terminal
Auto Trait Implementations§
impl Freeze for Terminal
impl RefUnwindSafe for Terminal
impl !Send for Terminal
impl !Sync for Terminal
impl Unpin for Terminal
impl UnwindSafe for Terminal
Blanket Implementations§
source§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
source§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
source§impl<O> BuildableExt for O
impl<O> BuildableExt for O
fn buildable_id(&self) -> Option<GString>
source§impl<T> Cast for Twhere
T: ObjectType,
impl<T> Cast for Twhere
T: ObjectType,
source§fn upcast<T>(self) -> Twhere
T: ObjectType,
Self: IsA<T>,
fn upcast<T>(self) -> Twhere
T: ObjectType,
Self: IsA<T>,
T
. Read moresource§fn upcast_ref<T>(&self) -> &Twhere
T: ObjectType,
Self: IsA<T>,
fn upcast_ref<T>(&self) -> &Twhere
T: ObjectType,
Self: IsA<T>,
T
. Read moresource§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 moresource§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 moresource§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 moresource§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 moresource§unsafe fn unsafe_cast<T>(self) -> Twhere
T: ObjectType,
unsafe fn unsafe_cast<T>(self) -> Twhere
T: ObjectType,
T
unconditionally. Read moresource§unsafe fn unsafe_cast_ref<T>(&self) -> &Twhere
T: ObjectType,
unsafe fn unsafe_cast_ref<T>(&self) -> &Twhere
T: ObjectType,
&T
unconditionally. Read moresource§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§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>,
source§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>,
source§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>,
source§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>,
source§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>,
source§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>,
source§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>
source§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>
source§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>
source§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>
source§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>
source§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>
source§impl<O> GObjectPropertyExpressionExt for O
impl<O> GObjectPropertyExpressionExt for O
source§fn property_expression(&self, property_name: &str) -> PropertyExpression
fn property_expression(&self, property_name: &str) -> PropertyExpression
source§fn property_expression_weak(&self, property_name: &str) -> PropertyExpression
fn property_expression_weak(&self, property_name: &str) -> PropertyExpression
source§fn this_expression(property_name: &str) -> PropertyExpression
fn this_expression(property_name: &str) -> PropertyExpression
this
object.source§impl<T> IntoClosureReturnValue for T
impl<T> IntoClosureReturnValue for T
fn into_closure_return_value(self) -> Option<Value>
source§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>)
fn parent_instance_init<T>(instance: &mut InitializingObject<T>)
source§impl<T> ObjectExt for Twhere
T: ObjectType,
impl<T> ObjectExt for Twhere
T: ObjectType,
source§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
.source§fn object_class(&self) -> &Class<Object>
fn object_class(&self) -> &Class<Object>
ObjectClass
of the object. Read moresource§fn class_of<U>(&self) -> Option<&Class<U>>where
U: IsClass,
fn class_of<U>(&self) -> Option<&Class<U>>where
U: IsClass,
T
. Read moresource§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 moresource§fn set_property_from_value(&self, property_name: &str, value: &Value)
fn set_property_from_value(&self, property_name: &str, value: &Value)
source§fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])
fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])
source§fn set_properties_from_value(&self, property_values: &[(&str, Value)])
fn set_properties_from_value(&self, property_values: &[(&str, Value)])
source§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 moresource§fn property_value(&self, property_name: &str) -> Value
fn property_value(&self, property_name: &str) -> Value
property_name
of the object. Read moresource§fn property_type(&self, property_name: &str) -> Option<Type>
fn property_type(&self, property_name: &str) -> Option<Type>
property_name
of this object. Read moresource§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.source§fn list_properties(&self) -> PtrSlice<ParamSpec>
fn list_properties(&self) -> PtrSlice<ParamSpec>
ParamSpec
of the properties of this object.source§fn freeze_notify(&self) -> PropertyNotificationFreezeGuard
fn freeze_notify(&self) -> PropertyNotificationFreezeGuard
source§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 moresource§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 moresource§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 moresource§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 moresource§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 moresource§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 moresource§fn block_signal(&self, handler_id: &SignalHandlerId)
fn block_signal(&self, handler_id: &SignalHandlerId)
source§fn unblock_signal(&self, handler_id: &SignalHandlerId)
fn unblock_signal(&self, handler_id: &SignalHandlerId)
source§fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)
fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)
source§fn stop_signal_emission_by_name(&self, signal_name: &str)
fn stop_signal_emission_by_name(&self, signal_name: &str)
source§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 moresource§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 moresource§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 moresource§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 moresource§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 moresource§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 moresource§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 moresource§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 moresource§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.source§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,
source§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.source§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,
source§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>
source§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,
source§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>
source§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,
source§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>
source§fn disconnect(&self, handler_id: SignalHandlerId)
fn disconnect(&self, handler_id: SignalHandlerId)
source§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 moresource§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 moresource§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 moresource§fn notify(&self, property_name: &str)
fn notify(&self, property_name: &str)
source§fn notify_by_pspec(&self, pspec: &ParamSpec)
fn notify_by_pspec(&self, pspec: &ParamSpec)
source§fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
source§fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>where
F: FnOnce() + 'static,
fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>where
F: FnOnce() + 'static,
source§fn bind_property<'a, 'f, 't, O>(
&'a self,
source_property: &'a str,
target: &'a O,
target_property: &'a str,
) -> BindingBuilder<'a, 'f, 't>where
O: ObjectType,
fn bind_property<'a, 'f, 't, O>(
&'a self,
source_property: &'a str,
target: &'a O,
target_property: &'a str,
) -> BindingBuilder<'a, 'f, 't>where
O: ObjectType,
source§unsafe fn run_dispose(&self)
unsafe fn run_dispose(&self)
source§impl<T> PropertyGet for Twhere
T: HasParamSpec,
impl<T> PropertyGet for Twhere
T: HasParamSpec,
source§impl<O> ScrollableExt for Owhere
O: IsA<Scrollable>,
impl<O> ScrollableExt for Owhere
O: IsA<Scrollable>,
fn border(&self) -> Option<Border>
fn hadjustment(&self) -> Option<Adjustment>
fn hscroll_policy(&self) -> ScrollablePolicy
fn vadjustment(&self) -> Option<Adjustment>
fn vscroll_policy(&self) -> ScrollablePolicy
fn set_hadjustment(&self, hadjustment: Option<&impl IsA<Adjustment>>)
fn set_hscroll_policy(&self, policy: ScrollablePolicy)
fn set_vadjustment(&self, vadjustment: Option<&impl IsA<Adjustment>>)
fn set_vscroll_policy(&self, policy: ScrollablePolicy)
fn connect_hadjustment_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_hscroll_policy_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_vadjustment_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_vscroll_policy_notify<F>(&self, f: F) -> SignalHandlerId
source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
source§fn ensure_type()
fn ensure_type()
source§impl<O> TerminalExt for O
impl<O> TerminalExt for O
source§fn check_hyperlink_at(&self, x: f64, y: f64) -> Option<GString>
fn check_hyperlink_at(&self, x: f64, y: f64) -> Option<GString>
v0_70
only.source§fn check_match_at(&self, x: f64, y: f64) -> (Option<GString>, i32)
fn check_match_at(&self, x: f64, y: f64) -> (Option<GString>, i32)
v0_70
only.None
, the number
associated with the matched regular expression will be stored in @tag. Read moresource§fn copy_clipboard_format(&self, format: Format)
fn copy_clipboard_format(&self, format: Format)
source§fn copy_primary(&self)
fn copy_primary(&self)
source§fn feed(&self, data: &[u8])
fn feed(&self, data: &[u8])
source§fn feed_child(&self, text: &[u8])
fn feed_child(&self, text: &[u8])
source§fn allows_hyperlink(&self) -> bool
fn allows_hyperlink(&self) -> bool
source§fn is_audible_bell(&self) -> bool
fn is_audible_bell(&self) -> bool
source§fn is_bold_is_bright(&self) -> bool
fn is_bold_is_bright(&self) -> bool
source§fn cell_height_scale(&self) -> f64
fn cell_height_scale(&self) -> f64
source§fn cell_width_scale(&self) -> f64
fn cell_width_scale(&self) -> f64
source§fn char_height(&self) -> c_long
fn char_height(&self) -> c_long
source§fn char_width(&self) -> c_long
fn char_width(&self) -> c_long
source§fn cjk_ambiguous_width(&self) -> i32
fn cjk_ambiguous_width(&self) -> i32
source§fn color_background_for_draw(&self) -> RGBA
fn color_background_for_draw(&self) -> RGBA
source§fn column_count(&self) -> c_long
fn column_count(&self) -> c_long
source§fn cursor_blink_mode(&self) -> CursorBlinkMode
fn cursor_blink_mode(&self) -> CursorBlinkMode
source§fn cursor_position(&self) -> (c_long, c_long)
fn cursor_position(&self) -> (c_long, c_long)
source§fn cursor_shape(&self) -> CursorShape
fn cursor_shape(&self) -> CursorShape
source§fn enables_a11y(&self) -> bool
fn enables_a11y(&self) -> bool
v0_78
only.source§fn enables_bidi(&self) -> bool
fn enables_bidi(&self) -> bool
source§fn enables_fallback_scrolling(&self) -> bool
fn enables_fallback_scrolling(&self) -> bool
source§fn enables_shaping(&self) -> bool
fn enables_shaping(&self) -> bool
source§fn enables_sixel(&self) -> bool
fn enables_sixel(&self) -> bool
source§fn font(&self) -> Option<FontDescription>
fn font(&self) -> Option<FontDescription>
source§fn font_options(&self) -> Option<FontOptions>
fn font_options(&self) -> Option<FontOptions>
v0_74
only.source§fn font_scale(&self) -> f64
fn font_scale(&self) -> f64
source§fn has_selection(&self) -> bool
fn has_selection(&self) -> bool
source§fn is_input_enabled(&self) -> bool
fn is_input_enabled(&self) -> bool
source§fn is_mouse_autohide(&self) -> bool
fn is_mouse_autohide(&self) -> bool
source§fn is_scroll_on_keystroke(&self) -> bool
fn is_scroll_on_keystroke(&self) -> bool
source§fn is_scroll_on_output(&self) -> bool
fn is_scroll_on_output(&self) -> bool
source§fn is_scroll_unit_is_pixels(&self) -> bool
fn is_scroll_unit_is_pixels(&self) -> bool
source§fn scrollback_lines(&self) -> c_long
fn scrollback_lines(&self) -> c_long
source§fn text_blink_mode(&self) -> TextBlinkMode
fn text_blink_mode(&self) -> TextBlinkMode
source§fn text_format(&self, format: Format) -> Option<GString>
fn text_format(&self, format: Format) -> Option<GString>
v0_76
only.source§fn text_range_format(
&self,
format: Format,
start_row: c_long,
start_col: c_long,
end_row: c_long,
end_col: c_long,
) -> (Option<GString>, usize)
fn text_range_format( &self, format: Format, start_row: c_long, start_col: c_long, end_row: c_long, end_col: c_long, ) -> (Option<GString>, usize)
v0_72
only.source§fn text_selected(&self, format: Format) -> Option<GString>
fn text_selected(&self, format: Format) -> Option<GString>
v0_70
only.Format::Html
format. Read moresource§fn text_selected_full(&self, format: Format) -> (Option<GString>, usize)
fn text_selected_full(&self, format: Format) -> (Option<GString>, usize)
v0_72
only.source§fn word_char_exceptions(&self) -> Option<GString>
fn word_char_exceptions(&self) -> Option<GString>
source§fn match_add_regex(&self, regex: &Regex, flags: u32) -> i32
fn match_add_regex(&self, regex: &Regex, flags: u32) -> i32
source§fn match_remove(&self, tag: i32)
fn match_remove(&self, tag: i32)
source§fn match_remove_all(&self)
fn match_remove_all(&self)
source§fn match_set_cursor_name(&self, tag: i32, cursor_name: &str)
fn match_set_cursor_name(&self, tag: i32, cursor_name: &str)
source§fn paste_clipboard(&self)
fn paste_clipboard(&self)
source§fn paste_primary(&self)
fn paste_primary(&self)
source§fn paste_text(&self, text: &str)
fn paste_text(&self, text: &str)
source§fn pty_new_sync(
&self,
flags: PtyFlags,
cancellable: Option<&impl IsA<Cancellable>>,
) -> Result<Pty, Error>
fn pty_new_sync( &self, flags: PtyFlags, cancellable: Option<&impl IsA<Cancellable>>, ) -> Result<Pty, Error>
source§fn reset(&self, clear_tabstops: bool, clear_history: bool)
fn reset(&self, clear_tabstops: bool, clear_history: bool)
source§fn search_find_next(&self) -> bool
fn search_find_next(&self) -> bool
source§fn search_find_previous(&self) -> bool
fn search_find_previous(&self) -> bool
source§fn search_get_wrap_around(&self) -> bool
fn search_get_wrap_around(&self) -> bool
source§fn search_set_wrap_around(&self, wrap_around: bool)
fn search_set_wrap_around(&self, wrap_around: bool)
source§fn select_all(&self)
fn select_all(&self)
source§fn set_allow_hyperlink(&self, allow_hyperlink: bool)
fn set_allow_hyperlink(&self, allow_hyperlink: bool)
source§fn set_audible_bell(&self, is_audible: bool)
fn set_audible_bell(&self, is_audible: bool)
source§fn set_backspace_binding(&self, binding: EraseBinding)
fn set_backspace_binding(&self, binding: EraseBinding)
source§fn set_bold_is_bright(&self, bold_is_bright: bool)
fn set_bold_is_bright(&self, bold_is_bright: bool)
source§fn set_cell_height_scale(&self, scale: f64)
fn set_cell_height_scale(&self, scale: f64)
source§fn set_cell_width_scale(&self, scale: f64)
fn set_cell_width_scale(&self, scale: f64)
source§fn set_cjk_ambiguous_width(&self, width: i32)
fn set_cjk_ambiguous_width(&self, width: i32)
source§fn set_clear_background(&self, setting: bool)
fn set_clear_background(&self, setting: bool)
source§fn set_color_background(&self, background: &RGBA)
fn set_color_background(&self, background: &RGBA)
source§fn set_color_bold(&self, bold: Option<&RGBA>)
fn set_color_bold(&self, bold: Option<&RGBA>)
source§fn set_color_cursor(&self, cursor_background: Option<&RGBA>)
fn set_color_cursor(&self, cursor_background: Option<&RGBA>)
source§fn set_color_cursor_foreground(&self, cursor_foreground: Option<&RGBA>)
fn set_color_cursor_foreground(&self, cursor_foreground: Option<&RGBA>)
source§fn set_color_foreground(&self, foreground: &RGBA)
fn set_color_foreground(&self, foreground: &RGBA)
source§fn set_color_highlight(&self, highlight_background: Option<&RGBA>)
fn set_color_highlight(&self, highlight_background: Option<&RGBA>)
source§fn set_color_highlight_foreground(&self, highlight_foreground: Option<&RGBA>)
fn set_color_highlight_foreground(&self, highlight_foreground: Option<&RGBA>)
v0_76
only.v0_76
only.source§fn set_cursor_blink_mode(&self, mode: CursorBlinkMode)
fn set_cursor_blink_mode(&self, mode: CursorBlinkMode)
CursorBlinkMode::System
will use the #GtkSettings::gtk-cursor-blink setting. Read moresource§fn set_cursor_shape(&self, shape: CursorShape)
fn set_cursor_shape(&self, shape: CursorShape)
source§fn set_default_colors(&self)
fn set_default_colors(&self)
source§fn set_delete_binding(&self, binding: EraseBinding)
fn set_delete_binding(&self, binding: EraseBinding)
source§fn set_enable_a11y(&self, enable_a11y: bool)
fn set_enable_a11y(&self, enable_a11y: bool)
v0_78
only.source§fn set_enable_bidi(&self, enable_bidi: bool)
fn set_enable_bidi(&self, enable_bidi: bool)
source§fn set_enable_fallback_scrolling(&self, enable: bool)
fn set_enable_fallback_scrolling(&self, enable: bool)
source§fn set_enable_shaping(&self, enable_shaping: bool)
fn set_enable_shaping(&self, enable_shaping: bool)
source§fn set_enable_sixel(&self, enabled: bool)
fn set_enable_sixel(&self, enabled: bool)
source§fn set_font(&self, font_desc: Option<&FontDescription>)
fn set_font(&self, font_desc: Option<&FontDescription>)
source§fn set_font_options(&self, font_options: Option<&FontOptions>)
fn set_font_options(&self, font_options: Option<&FontOptions>)
v0_74
only.source§fn set_font_scale(&self, scale: f64)
fn set_font_scale(&self, scale: f64)
source§fn set_input_enabled(&self, enabled: bool)
fn set_input_enabled(&self, enabled: bool)
source§fn set_mouse_autohide(&self, setting: bool)
fn set_mouse_autohide(&self, setting: bool)
source§fn set_scroll_on_insert(&self, scroll: bool)
fn set_scroll_on_insert(&self, scroll: bool)
v0_76
only.source§fn set_scroll_on_keystroke(&self, scroll: bool)
fn set_scroll_on_keystroke(&self, scroll: bool)
source§fn set_scroll_on_output(&self, scroll: bool)
fn set_scroll_on_output(&self, scroll: bool)
source§fn set_scroll_unit_is_pixels(&self, enable: bool)
fn set_scroll_unit_is_pixels(&self, enable: bool)
source§fn set_scrollback_lines(&self, lines: c_long)
fn set_scrollback_lines(&self, lines: c_long)
source§fn set_size(&self, columns: c_long, rows: c_long)
fn set_size(&self, columns: c_long, rows: c_long)
source§fn set_text_blink_mode(&self, text_blink_mode: TextBlinkMode)
fn set_text_blink_mode(&self, text_blink_mode: TextBlinkMode)
source§fn set_word_char_exceptions(&self, exceptions: &str)
fn set_word_char_exceptions(&self, exceptions: &str)
source§fn set_xalign(&self, align: Align)
fn set_xalign(&self, align: Align)
v0_76
only.source§fn set_xfill(&self, fill: bool)
fn set_xfill(&self, fill: bool)
v0_76
only.source§fn set_yalign(&self, align: Align)
fn set_yalign(&self, align: Align)
v0_76
only.source§fn set_yfill(&self, fill: bool)
fn set_yfill(&self, fill: bool)
v0_76
only.Align::Start
, and is ignored for all other yalign values. Read moresource§fn unselect_all(&self)
fn unselect_all(&self)
source§fn write_contents_sync(
&self,
stream: &impl IsA<OutputStream>,
flags: WriteFlags,
cancellable: Option<&impl IsA<Cancellable>>,
) -> Result<(), Error>
fn write_contents_sync( &self, stream: &impl IsA<OutputStream>, flags: WriteFlags, cancellable: Option<&impl IsA<Cancellable>>, ) -> Result<(), Error>
source§fn backspace_binding(&self) -> EraseBinding
fn backspace_binding(&self) -> EraseBinding
source§fn delete_binding(&self) -> EraseBinding
fn delete_binding(&self) -> EraseBinding
source§fn font_desc(&self) -> Option<FontDescription>
fn font_desc(&self) -> Option<FontDescription>
source§fn set_font_desc(&self, font_desc: Option<&FontDescription>)
fn set_font_desc(&self, font_desc: Option<&FontDescription>)
source§fn hyperlink_hover_uri(&self) -> Option<GString>
fn hyperlink_hover_uri(&self) -> Option<GString>
None
if unset.source§fn is_pointer_autohide(&self) -> bool
fn is_pointer_autohide(&self) -> bool
source§fn set_pointer_autohide(&self, pointer_autohide: bool)
fn set_pointer_autohide(&self, pointer_autohide: bool)
source§fn connect_bell<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_bell<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
source§fn connect_char_size_changed<F: Fn(&Self, u32, u32) + 'static>(
&self,
f: F,
) -> SignalHandlerId
fn connect_char_size_changed<F: Fn(&Self, u32, u32) + 'static>( &self, f: F, ) -> SignalHandlerId
source§fn connect_child_exited<F: Fn(&Self, i32) + 'static>(
&self,
f: F,
) -> SignalHandlerId
fn connect_child_exited<F: Fn(&Self, i32) + 'static>( &self, f: F, ) -> SignalHandlerId
source§fn connect_commit<F: Fn(&Self, &str, u32) + 'static>(
&self,
f: F,
) -> SignalHandlerId
fn connect_commit<F: Fn(&Self, &str, u32) + 'static>( &self, f: F, ) -> SignalHandlerId
source§fn connect_contents_changed<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId
fn connect_contents_changed<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
source§fn connect_copy_clipboard<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId
fn connect_copy_clipboard<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn emit_copy_clipboard(&self)
source§fn connect_current_directory_uri_changed<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId
fn connect_current_directory_uri_changed<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
source§fn connect_current_file_uri_changed<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId
fn connect_current_file_uri_changed<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
source§fn connect_cursor_moved<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_cursor_moved<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
source§fn connect_decrease_font_size<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId
fn connect_decrease_font_size<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
source§fn connect_encoding_changed<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId
fn connect_encoding_changed<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
source§fn connect_eof<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_eof<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
source§fn connect_increase_font_size<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId
fn connect_increase_font_size<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
source§fn connect_notification_received<F: Fn(&Self, &str, Option<&str>) + 'static>(
&self,
f: F,
) -> SignalHandlerId
fn connect_notification_received<F: Fn(&Self, &str, Option<&str>) + 'static>( &self, f: F, ) -> SignalHandlerId
source§fn connect_paste_clipboard<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId
fn connect_paste_clipboard<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn emit_paste_clipboard(&self)
source§fn connect_resize_window<F: Fn(&Self, u32, u32) + 'static>(
&self,
f: F,
) -> SignalHandlerId
fn connect_resize_window<F: Fn(&Self, u32, u32) + 'static>( &self, f: F, ) -> SignalHandlerId
source§fn connect_selection_changed<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId
fn connect_selection_changed<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
source§fn connect_shell_precmd<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_shell_precmd<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
source§fn connect_shell_preexec<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_shell_preexec<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
source§fn connect_window_title_changed<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId
fn connect_window_title_changed<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_allow_hyperlink_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_audible_bell_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_backspace_binding_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_bold_is_bright_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_cell_height_scale_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_cell_width_scale_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_cjk_ambiguous_width_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
v0_76
only.v0_76
only.fn connect_current_container_name_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_current_container_runtime_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_current_directory_uri_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_current_file_uri_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_cursor_blink_mode_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_cursor_shape_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_delete_binding_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
source§fn connect_enable_a11y_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId
fn connect_enable_a11y_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
v0_78
only.fn connect_enable_bidi_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_enable_fallback_scrolling_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_enable_shaping_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_enable_sixel_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_font_desc_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
source§fn connect_font_options_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId
fn connect_font_options_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
v0_74
only.fn connect_font_scale_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_hyperlink_hover_uri_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_input_enabled_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_pointer_autohide_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_pty_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
source§fn connect_scroll_on_insert_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId
fn connect_scroll_on_insert_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
v0_76
only.fn connect_scroll_on_keystroke_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_scroll_on_output_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_scroll_unit_is_pixels_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_scrollback_lines_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_text_blink_mode_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_window_title_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_word_char_exceptions_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
source§fn connect_xalign_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_xalign_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
v0_76
only.source§fn connect_xfill_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_xfill_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
v0_76
only.source§fn connect_yalign_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_yalign_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
v0_76
only.source§fn connect_yfill_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_yfill_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
v0_76
only.source§impl<O> TerminalExtManual for O
impl<O> TerminalExtManual for O
source§fn check_regex_simple_at(
&self,
x: f64,
y: f64,
regexes: &[&Regex],
match_flags: u32,
) -> Vec<GString>
fn check_regex_simple_at( &self, x: f64, y: f64, regexes: &[&Regex], match_flags: u32, ) -> Vec<GString>
v0_70
only.None
is stored there. Each non-None
element of @matches should be freed with
g_free(). Read more