Class
VteTerminal
Constructors
vte_terminal_new
Creates a new terminal widget.
Instance methods
vte_terminal_check_hyperlink_at
Returns a nonempty string: the target of the explicit hyperlink (printed using the OSC 8
escape sequence) at the position (x, y), or NULL
.
Available since: 0.70
vte_terminal_check_match_at
Checks if the text in and around the position (x, y) matches any of the
regular expressions previously set using vte_terminal_match_add()
. If a
match exists, the text string is returned and if tag
is not NULL
, the number
associated with the matched regular expression will be stored in tag
.
Available since: 0.70
vte_terminal_check_regex_array_at
Like vte_terminal_check_regex_simple_at()
, but returns an array of strings,
containing the matching text (or NULL
if no match) corresponding to each of the
regexes in regexes
.
Available since: 0.70
vte_terminal_check_regex_simple_at
Checks each regex in regexes
if the text in and around the position (x, y)
matches the regular expressions. If a match exists, the matched
text is stored in matches
at the position of the regex in regexes
; otherwise
NULL
is stored there. Each non-NULL
element of matches
should be freed with
g_free()
.
Available since: 0.70
vte_terminal_copy_clipboard
Places the selected text in the terminal in the #GDK_SELECTION_CLIPBOARD selection.
Deprecated since: 0.50
vte_terminal_copy_clipboard_format
Places the selected text in the terminal in the #GDK_SELECTION_CLIPBOARD
selection in the form specified by format
.
Available since: 0.50
vte_terminal_copy_primary
Places the selected text in the terminal in the #GDK_SELECTION_PRIMARY selection.
vte_terminal_feed
Interprets data
as if it were data received from a child process.
vte_terminal_feed_child
Sends a block of UTF-8 text to the child as if it were entered by the user at the keyboard.
vte_terminal_get_allow_bold
Checks whether or not the terminal will attempt to draw bold text, by using a bold font variant.
Deprecated since: 0.60
vte_terminal_get_allow_hyperlink
Checks whether or not hyperlinks (OSC 8 escape sequence) are allowed.
Available since: 0.50
vte_terminal_get_audible_bell
Checks whether or not the terminal will beep when the child outputs the “bl” sequence.
vte_terminal_get_bold_is_bright
Checks 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.
Available since: 0.52
vte_terminal_get_char_height
vte_terminal_get_char_width
vte_terminal_get_cjk_ambiguous_width
Returns 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.)
vte_terminal_get_color_background_for_draw
Returns the background colour, as used by terminal
when
drawing the background, which may be different from
the color set by vte_terminal_set_color_background()
.
Available since: 0.54
vte_terminal_get_column_count
vte_terminal_get_current_container_name
vte_terminal_get_current_container_runtime
vte_terminal_get_current_directory_uri
vte_terminal_get_current_file_uri
vte_terminal_get_cursor_blink_mode
Returns the currently set cursor blink mode.
vte_terminal_get_cursor_position
Reads the location of the insertion cursor and returns it. The row coordinate is absolute.
vte_terminal_get_cursor_shape
Returns the currently set cursor shape.
vte_terminal_get_enable_bidi
Checks whether the terminal performs bidirectional text rendering.
Available since: 0.58
vte_terminal_get_enable_shaping
Checks whether the terminal shapes Arabic text.
Available since: 0.58
vte_terminal_get_encoding
Determines the name of the encoding in which the terminal expects data to be
encoded, or NULL
if UTF-8 is in use.
Deprecated since: 0.54
vte_terminal_get_font
Queries the terminal for information about the fonts which will be used to draw text in the terminal. The actual font takes the font scale into account, this is not reflected in the return value, the unscaled font is returned.
vte_terminal_get_font_scale
vte_terminal_get_has_selection
Checks if the terminal currently contains selected text. Note that this
is different from determining if the terminal is the owner of any
GtkClipboard
items.
vte_terminal_get_icon_title
vte_terminal_get_input_enabled
Returns whether the terminal allow user input.
vte_terminal_get_mouse_autohide
Determines 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. This setting can be changed
using vte_terminal_set_mouse_autohide()
.
vte_terminal_get_pty
Returns the VtePty
of terminal
.
vte_terminal_get_rewrap_on_resize
Checks whether or not the terminal will rewrap its contents upon resize.
vte_terminal_get_row_count
vte_terminal_get_text
Extracts a view of the visible part of the terminal. If is_selected
is not
NULL
, characters will only be read if is_selected
returns TRUE
after being
passed the column and row, respectively. A VteCharAttributes
structure
is added to attributes
for each byte added to the returned string detailing
the character’s position, colors, and other characteristics.
vte_terminal_get_text_blink_mode
Checks whether or not the terminal will allow blinking text.
Available since: 0.52
vte_terminal_get_text_include_trailing_spaces
Extracts a view of the visible part of the terminal. If is_selected
is not
NULL
, characters will only be read if is_selected
returns TRUE
after being
passed the column and row, respectively. A VteCharAttributes
structure
is added to attributes
for each byte added to the returned string detailing
the character’s position, colors, and other characteristics.
Deprecated since: 0.56
vte_terminal_get_text_range
Extracts a view of the visible part of the terminal. If is_selected
is not
NULL
, characters will only be read if is_selected
returns TRUE
after being
passed the column and row, respectively. A VteCharAttributes
structure
is added to attributes
for each byte added to the returned string detailing
the character’s position, colors, and other characteristics. The
entire scrollback buffer is scanned, so it is possible to read the entire
contents of the buffer using this function.
vte_terminal_get_text_range_format
Returns the specified range of text in the specified format.
Available since: 0.72
vte_terminal_get_text_selected
Gets the currently selected text in the format specified by format
.
Since 0.72, this function also supports VTE_FORMAT_HTML
format.xg.
Available since: 0.70
vte_terminal_get_text_selected_full
Gets the currently selected text in the format specified by format
.
Available since: 0.72
vte_terminal_get_window_title
vte_terminal_get_word_char_exceptions
Returns 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.
Available since: 0.40
vte_terminal_match_add_regex
Adds the regular expression regex
to the list of matching expressions. When the
user moves the mouse cursor over a section of displayed text which matches
this expression, the text will be highlighted.
Available since: 0.46
vte_terminal_match_check
Checks if the text in and around the specified position matches any of the
regular expressions previously set using vte_terminal_match_add()
. If a
match exists, the text string is returned and if tag
is not NULL
, the number
associated with the matched regular expression will be stored in tag
.
Deprecated since: 0.46
vte_terminal_match_remove
Removes the regular expression which is associated with the given tag
from
the list of expressions which the terminal will highlight when the user
moves the mouse cursor over matching text.
vte_terminal_match_remove_all
Clears the list of regular expressions the terminal uses to highlight text when the user moves the mouse cursor.
vte_terminal_match_set_cursor
Sets which cursor the terminal will use if the pointer is over the pattern
specified by tag
. The terminal keeps a reference to cursor
.
Deprecated since: 0.40
vte_terminal_match_set_cursor_name
Sets which cursor the terminal will use if the pointer is over the pattern
specified by tag
.
vte_terminal_paste_clipboard
Sends the contents of the #GDK_SELECTION_CLIPBOARD selection to the terminal’s child. It’s called on paste menu item, or when user presses Shift+Insert.
vte_terminal_paste_text
Sends text
to the terminal’s child as if retrived from the clipboard,
this differs from vte_terminal_feed_child()
in that it may process
text
before passing it to the child (e.g. apply bracketed mode)
Available since: 0.68
vte_terminal_pty_new_sync
Creates a new VtePty
, sets the emulation property
from VteTerminal:emulation
, and sets the size using
terminal
‘s size.
vte_terminal_reset
Resets as much of the terminal’s internal state as possible, discarding any unprocessed input data, resetting character attributes, cursor state, national character set state, status line, terminal modes (insert/delete), selection state, and encoding.
vte_terminal_search_find_next
Searches the next string matching the search regex set with
vte_terminal_search_set_regex()
.
vte_terminal_search_find_previous
Searches the previous string matching the search regex set with
vte_terminal_search_set_regex()
.
vte_terminal_search_get_wrap_around
vte_terminal_search_set_regex
Sets the regex to search for. Unsets the search regex when passed NULL
.
Available since: 0.46
vte_terminal_search_set_wrap_around
Sets whether search should wrap around to the beginning of the terminal content when reaching its end.
vte_terminal_select_all
Selects all text within the terminal (not including the scrollback buffer).
vte_terminal_set_allow_bold
Controls whether or not the terminal will attempt to draw bold text, by using a bold font variant.
Deprecated since: 0.60
vte_terminal_set_allow_hyperlink
Controls whether or not hyperlinks (OSC 8 escape sequence) are allowed.
Available since: 0.50
vte_terminal_set_audible_bell
Controls whether or not the terminal will beep when the child outputs the “bl” sequence.
vte_terminal_set_backspace_binding
Modifies the terminal’s backspace key binding, which controls what string or control sequence the terminal sends to its child when the user presses the backspace key.
vte_terminal_set_bold_is_bright
Sets 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.
Available since: 0.52
vte_terminal_set_cell_height_scale
Sets the terminal’s cell height scale to scale
.
Available since: 0.52
vte_terminal_set_cell_width_scale
Sets the terminal’s cell width scale to scale
.
Available since: 0.52
vte_terminal_set_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.)
vte_terminal_set_clear_background
Sets whether to paint the background with the background colour.
The default is TRUE
.
Available since: 0.52
vte_terminal_set_color_background
Sets the background color for text which does not have a specific background color assigned. Only has effect when no background image is set and when the terminal is not transparent.
vte_terminal_set_color_bold
Sets the color used to draw bold text in the default foreground color.
If bold
is NULL
then the default color is used.
vte_terminal_set_color_cursor
Sets the background color for text which is under the cursor. If NULL
, text
under the cursor will be drawn with foreground and background colors reversed.
vte_terminal_set_color_cursor_foreground
Sets the foreground color for text which is under the cursor. If NULL
, text
under the cursor will be drawn with foreground and background colors reversed.
Available since: 0.44
vte_terminal_set_color_foreground
Sets the foreground color used to draw normal text.
vte_terminal_set_color_highlight
Sets the background color for text which is highlighted. If NULL
,
it is unset. If neither highlight background nor highlight foreground are set,
highlighted text (which is usually highlighted because it is selected) will
be drawn with foreground and background colors reversed.
vte_terminal_set_color_highlight_foreground
Sets the foreground color for text which is highlighted. If NULL
,
it is unset. If neither highlight background nor highlight foreground are set,
highlighted text (which is usually highlighted because it is selected) will
be drawn with foreground and background colors reversed.
vte_terminal_set_colors
palette
specifies the new values for the 256 palette colors: 8 standard colors,
their 8 bright counterparts, 6x6x6 color cube, and 24 grayscale colors.
Omitted entries will default to a hardcoded value.
vte_terminal_set_cursor_blink_mode
Sets whether or not the cursor will blink. Using VTE_CURSOR_BLINK_SYSTEM
will use the GtkSettings::gtk-cursor-blink
setting.
vte_terminal_set_cursor_shape
Sets the shape of the cursor drawn.
vte_terminal_set_default_colors
Reset the terminal palette to reasonable compiled-in default color.
vte_terminal_set_delete_binding
Modifies the terminal’s delete key binding, which controls what string or control sequence the terminal sends to its child when the user presses the delete key.
vte_terminal_set_enable_bidi
Controls whether or not the terminal will perform bidirectional text rendering.
Available since: 0.58
vte_terminal_set_enable_fallback_scrolling
Controls whether the terminal uses scroll events to scroll the history if the event was not otherwise consumed by it.
Available since: 0.64
vte_terminal_set_enable_shaping
Controls whether or not the terminal will shape Arabic text.
Available since: 0.58
vte_terminal_set_encoding
Changes 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. If codeset
is NULL
, it uses “UTF-8”.
Deprecated since: 0.54
vte_terminal_set_font
Sets 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. The font scale is applied to the specified font.
vte_terminal_set_font_scale
Sets the terminal’s font scale to scale
.
vte_terminal_set_input_enabled
Enables or disables user input. When user input is disabled, the terminal’s child will not receive any key press, or mouse button press or motion events sent to it.
vte_terminal_set_mouse_autohide
Changes 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. This setting can be read using
vte_terminal_get_mouse_autohide()
.
vte_terminal_set_pty
Sets pty
as the PTY to use in terminal
.
Use NULL
to unset the PTY.
vte_terminal_set_rewrap_on_resize
Controls whether or not the terminal will rewrap its contents, including the scrollback history, whenever the terminal’s width changes.
vte_terminal_set_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.
vte_terminal_set_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.
vte_terminal_set_scroll_speed
Sets the number of lines by which the buffer is moved when scrolling with a mouse wheel. Setting it to zero will cause the buffer to be moved by an amount depending on the number of visible rows the widget can display.
vte_terminal_set_scroll_unit_is_pixels
Controls whether the terminal’s scroll unit is lines or pixels.
Available since: 0.66
vte_terminal_set_scrollback_lines
Sets 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.
vte_terminal_set_size
Attempts to change the terminal’s size in terms of rows and columns. If the attempt succeeds, the widget will resize itself to the proper size.
vte_terminal_set_text_blink_mode
Controls whether or not the terminal will allow blinking text.
Available since: 0.52
vte_terminal_set_word_char_exceptions
With this function you can provide a 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.
Available since: 0.40
vte_terminal_spawn_async
A convenience function that wraps creating the VtePty
and spawning
the child process on it. Like vte_terminal_spawn_with_fds_async()
,
except that this function does not allow passing file descriptors to
the child process. See vte_terminal_spawn_with_fds_async()
for more information.
Available since: 0.48
vte_terminal_spawn_sync
Starts the specified command under a newly-allocated controlling
pseudo-terminal. The argv
and envv
lists should be NULL
-terminated.
The “TERM” environment variable is automatically set to a default value,
but can be overridden from envv
.
pty_flags
controls logging the session to the specified system log files.
Deprecated since: 0.48
vte_terminal_spawn_with_fds_async
A convenience function that wraps creating the VtePty
and spawning
the child process on it. See vte_pty_new_sync()
, vte_pty_spawn_with_fds_async()
,
and vte_pty_spawn_finish()
for more information.
Available since: 0.62
vte_terminal_unselect_all
Clears the current selection.
vte_terminal_watch_child
Watches child_pid
. When the process exists, the VteTerminal::child-exited
signal will be called with the child’s exit status.
vte_terminal_write_contents_sync
Write contents of the current contents of terminal
(including any
scrollback history) to stream
according to flags
.
Properties
Vte.Terminal:allow-bold
Controls whether or not the terminal will attempt to draw bold text, by using a bold font variant.
Deprecated since: 0.60
Vte.Terminal:allow-hyperlink
Controls whether or not hyperlinks (OSC 8 escape sequence) are recognized and displayed.
Available since: 0.50
Vte.Terminal:audible-bell
Controls whether or not the terminal will beep when the child outputs the “bl” sequence.
Vte.Terminal:backspace-binding
Controls what string or control sequence the terminal sends to its child when the user presses the backspace key.
Vte.Terminal: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.
Available since: 0.52
Vte.Terminal:cell-height-scale
Scale factor for the cell height, to increase line spacing. (The font’s height is not affected.)
Available since: 0.52
Vte.Terminal:cell-width-scale
Scale factor for the cell width, to increase letter spacing. (The font’s width is not affected.)
Available since: 0.52
Vte.Terminal: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.)
Vte.Terminal:current-container-name
The name of the current container, or NULL
if unset.
Vte.Terminal:current-container-runtime
The name of the runtime toolset used to set up the current
container, or NULL
if unset.
Vte.Terminal:current-directory-uri
The current directory URI, or NULL
if unset.
Vte.Terminal:current-file-uri
The current file URI, or NULL
if unset.
Vte.Terminal:cursor-blink-mode
Sets whether or not the cursor will blink. Using VTE_CURSOR_BLINK_SYSTEM
will use the GtkSettings:gtk-cursor-blink
setting.
Vte.Terminal:cursor-shape
Controls the shape of the cursor.
Vte.Terminal:delete-binding
Controls what string or control sequence the terminal sends to its child when the user presses the delete key.
Vte.Terminal:enable-bidi
Controls whether or not the terminal will perform bidirectional text rendering.
Available since: 0.58
Vte.Terminal:enable-fallback-scrolling
Vte.Terminal:enable-shaping
Controls whether or not the terminal will shape Arabic text.
Available since: 0.58
Vte.Terminal: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.
Deprecated since: 0.54
Vte.Terminal: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.
Vte.Terminal:font-scale
The terminal’s font scale.
Vte.Terminal:hyperlink-hover-uri
The currently hovered hyperlink URI, or NULL
if unset.
Available since: 0.50
Vte.Terminal: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.
Vte.Terminal: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.
Vte.Terminal:pty
The PTY object for the terminal.
Vte.Terminal:rewrap-on-resize
Controls whether or not the terminal will rewrap its contents, including the scrollback buffer, whenever the terminal’s width changes.
Vte.Terminal: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.
Vte.Terminal: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.
Vte.Terminal:scroll-speed
The number of lines by which the buffer is moved when scrolling with a mouse wheel on top of the terminal Setting it to zero will cause the buffer to be moved by an amount depending on the number of visible rows the widget can display.
Vte.Terminal: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.
Available since: 0.66
Vte.Terminal: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.
Vte.Terminal:text-blink-mode
Controls whether or not the terminal will allow blinking text.
Available since: 0.52
Vte.Terminal:window-title
The terminal’s title.
Vte.Terminal: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.
Available since: 0.40
Signals
Vte.Terminal::bell
This signal is emitted when the a child sends a bell request to the terminal.
Vte.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.
Vte.Terminal::child-exited
This signal is emitted when the terminal detects that a child
watched using vte_terminal_watch_child()
has exited.
Vte.Terminal::commit
Emitted whenever the terminal receives input from the user and prepares to send it to the child process.
Vte.Terminal::contents-changed
Emitted whenever the visible appearance of the terminal has changed.
Used primarily by VteTerminalAccessible
.
Vte.Terminal::copy-clipboard
Emitted whenever vte_terminal_copy_clipboard()
is called.
Vte.Terminal::current-directory-uri-changed
Emitted when the current directory URI is modified.
Vte.Terminal::current-file-uri-changed
Emitted when the current file URI is modified.
Vte.Terminal::cursor-moved
Emitted whenever the cursor moves to a new character cell. Used
primarily by VteTerminalAccessible
.
Vte.Terminal::decrease-font-size
Emitted when the user hits the ‘-‘ key while holding the Control key.
Vte.Terminal::deiconify-window
Never emitted.
Vte.Terminal::encoding-changed
Emitted whenever the terminal’s current encoding has changed.
Vte.Terminal::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.
Vte.Terminal::hyperlink-hover-uri-changed
Emitted when the hovered hyperlink changes.
Available since: 0.50
Vte.Terminal::iconify-window
Never emitted.
Vte.Terminal::increase-font-size
Emitted when the user hits the ‘+’ key while holding the Control key.
Vte.Terminal::lower-window
Never emitted.
Vte.Terminal::maximize-window
Never emitted.
Vte.Terminal::move-window
Never emitted.
Vte.Terminal::notification-received
Emitted when a process running in the terminal wants to send a notification to the desktop environment.
Vte.Terminal::paste-clipboard
Emitted whenever vte_terminal_paste_clipboard()
is called.
Vte.Terminal::raise-window
Never emitted.
Vte.Terminal::refresh-window
Never emitted.
Vte.Terminal::resize-window
Emitted at the child application’s request.
Vte.Terminal::restore-window
Never emitted.
Vte.Terminal::selection-changed
Emitted whenever the contents of terminal’s selection changes.
Vte.Terminal::shell-precmd
Emitted right before an interactive shell shows a first-level prompt.
Vte.Terminal::shell-preexec
Emitted when the interactive shell has read in a complete command and is about to execute it.
Vte.Terminal::window-title-changed
Emitted when the VteTerminal:window-title
property is modified.
Class structure
struct VteTerminalClass {
GtkWidgetClass parent_class;
void (* eof) (
VteTerminal* terminal
);
void (* child_exited) (
VteTerminal* terminal,
int status
);
void (* encoding_changed) (
VteTerminal* terminal
);
void (* char_size_changed) (
VteTerminal* terminal,
guint char_width,
guint char_height
);
void (* window_title_changed) (
VteTerminal* terminal
);
void (* icon_title_changed) (
VteTerminal* terminal
);
void (* selection_changed) (
VteTerminal* terminal
);
void (* contents_changed) (
VteTerminal* terminal
);
void (* cursor_moved) (
VteTerminal* terminal
);
void (* commit) (
VteTerminal* terminal,
const gchar* text,
guint size
);
void (* deiconify_window) (
VteTerminal* terminal
);
void (* iconify_window) (
VteTerminal* terminal
);
void (* raise_window) (
VteTerminal* terminal
);
void (* lower_window) (
VteTerminal* terminal
);
void (* refresh_window) (
VteTerminal* terminal
);
void (* restore_window) (
VteTerminal* terminal
);
void (* maximize_window) (
VteTerminal* terminal
);
void (* resize_window) (
VteTerminal* terminal,
guint width,
guint height
);
void (* move_window) (
VteTerminal* terminal,
guint x,
guint y
);
void (* increase_font_size) (
VteTerminal* terminal
);
void (* decrease_font_size) (
VteTerminal* terminal
);
void (* copy_clipboard) (
VteTerminal* terminal
);
void (* paste_clipboard) (
VteTerminal* terminal
);
void (* bell) (
VteTerminal* terminal
);
void (* notification_received) (
VteTerminal* terminal,
const gchar* summary,
const gchar* body
);
void (* shell_precmd) (
VteTerminal* terminal
);
void (* shell_preexec) (
VteTerminal* terminal
);
None _padding;
VteTerminalClassPrivate* priv;
}
Class members
parent_class |
|
No description available. | |
eof |
|
No description available. | |
child_exited |
|
No description available. | |
encoding_changed |
|
No description available. | |
char_size_changed |
|
No description available. | |
window_title_changed |
|
No description available. | |
icon_title_changed |
|
No description available. | |
selection_changed |
|
No description available. | |
contents_changed |
|
No description available. | |
cursor_moved |
|
No description available. | |
commit |
|
No description available. | |
deiconify_window |
|
No description available. | |
iconify_window |
|
No description available. | |
raise_window |
|
No description available. | |
lower_window |
|
No description available. | |
refresh_window |
|
No description available. | |
restore_window |
|
No description available. | |
maximize_window |
|
No description available. | |
resize_window |
|
No description available. | |
move_window |
|
No description available. | |
increase_font_size |
|
No description available. | |
decrease_font_size |
|
No description available. | |
copy_clipboard |
|
No description available. | |
paste_clipboard |
|
No description available. | |
bell |
|
No description available. | |
notification_received |
|
No description available. | |
shell_precmd |
|
No description available. | |
shell_preexec |
|
No description available. | |
_padding |
|
No description available. | |
priv |
|
No description available. |
Virtual methods
Vte.TerminalClass.bell
Vte.TerminalClass.char_size_changed
Vte.TerminalClass.child_exited
Vte.TerminalClass.commit
Vte.TerminalClass.contents_changed
Vte.TerminalClass.copy_clipboard
Places the selected text in the terminal in the #GDK_SELECTION_CLIPBOARD selection.
Deprecated since: 0.50
Vte.TerminalClass.cursor_moved
Vte.TerminalClass.decrease_font_size
Vte.TerminalClass.deiconify_window
Vte.TerminalClass.encoding_changed
Vte.TerminalClass.eof
Vte.TerminalClass.icon_title_changed
Vte.TerminalClass.iconify_window
Vte.TerminalClass.increase_font_size
Vte.TerminalClass.lower_window
Vte.TerminalClass.maximize_window
Vte.TerminalClass.move_window
Vte.TerminalClass.notification_received
Vte.TerminalClass.paste_clipboard
Sends the contents of the #GDK_SELECTION_CLIPBOARD selection to the terminal’s child. It’s called on paste menu item, or when user presses Shift+Insert.