lightdm-rs/gir-files/Vte-2.91.gir

4334 lines
239 KiB
Plaintext
Raw Normal View History

2020-04-23 21:49:16 +12:00
<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations. -->
<repository xmlns="http://www.gtk.org/introspection/core/1.0" xmlns:c="http://www.gtk.org/introspection/c/1.0" xmlns:glib="http://www.gtk.org/introspection/glib/1.0" version="1.2">
<include name="Gdk" version="3.0"/>
<include name="Gtk" version="3.0"/>
<include name="Pango" version="1.0"/>
<package name="vte-2.91"/>
<c:include name="vte/vte.h"/>
<namespace name="Vte" version="2.91" shared-library="libvte-2.91.so.0" c:identifier-prefixes="Vte" c:symbol-prefixes="vte">
<function-macro name="CHECK_VERSION" c:identifier="VTE_CHECK_VERSION" introspectable="0">
<doc xml:space="preserve" filename="../src/vte/vteversion.h" line="63">Macro to check the library version at compile time.
It returns %1 if the version of VTE is greater or
equal to the required one, and %0 otherwise.</doc>
<source-position filename="../src/vte/vteversion.h" line="73"/>
<parameters>
<parameter name="major">
<doc xml:space="preserve" filename="../src/vte/vteversion.h" line="65">required major version</doc>
</parameter>
<parameter name="minor">
<doc xml:space="preserve" filename="../src/vte/vteversion.h" line="66">required minor version</doc>
</parameter>
<parameter name="micro">
<doc xml:space="preserve" filename="../src/vte/vteversion.h" line="67">required micro version</doc>
</parameter>
</parameters>
</function-macro>
<record name="CharAttributes" c:type="VteCharAttributes">
<source-position filename="../src/vte/vteterminal.h" line="119"/>
<field name="row" readable="0" private="1">
<type name="glong" c:type="long"/>
</field>
<field name="column" readable="0" private="1">
<type name="glong" c:type="long"/>
</field>
<field name="fore" readable="0" private="1">
<type name="Pango.Color" c:type="PangoColor"/>
</field>
<field name="back" readable="0" private="1">
<type name="Pango.Color" c:type="PangoColor"/>
</field>
<field name="underline" readable="0" bits="1" private="1">
<type name="guint" c:type="guint"/>
</field>
<field name="strikethrough" readable="0" bits="1" private="1">
<type name="guint" c:type="guint"/>
</field>
<field name="columns" readable="0" bits="4" private="1">
<type name="guint" c:type="guint"/>
</field>
</record>
<enumeration name="CursorBlinkMode" glib:type-name="VteCursorBlinkMode" glib:get-type="vte_cursor_blink_mode_get_type" c:type="VteCursorBlinkMode">
<doc xml:space="preserve" filename="../src/vte/vteenums.h" line="30">An enumerated type which can be used to indicate the cursor blink mode
for the terminal.</doc>
<member name="system" value="0" c:identifier="VTE_CURSOR_BLINK_SYSTEM" glib:nick="system">
<doc xml:space="preserve" filename="../src/vte/vteenums.h" line="32">Follow GTK+ settings for cursor blinking.</doc>
</member>
<member name="on" value="1" c:identifier="VTE_CURSOR_BLINK_ON" glib:nick="on">
<doc xml:space="preserve" filename="../src/vte/vteenums.h" line="33">Cursor blinks.</doc>
</member>
<member name="off" value="2" c:identifier="VTE_CURSOR_BLINK_OFF" glib:nick="off">
<doc xml:space="preserve" filename="../src/vte/vteenums.h" line="34">Cursor does not blink.</doc>
</member>
</enumeration>
<enumeration name="CursorShape" glib:type-name="VteCursorShape" glib:get-type="vte_cursor_shape_get_type" c:type="VteCursorShape">
<doc xml:space="preserve" filename="../src/vte/vteenums.h" line="45">An enumerated type which can be used to indicate what should the terminal
draw at the cursor position.</doc>
<member name="block" value="0" c:identifier="VTE_CURSOR_SHAPE_BLOCK" glib:nick="block">
<doc xml:space="preserve" filename="../src/vte/vteenums.h" line="47">Draw a block cursor. This is the default.</doc>
</member>
<member name="ibeam" value="1" c:identifier="VTE_CURSOR_SHAPE_IBEAM" glib:nick="ibeam">
<doc xml:space="preserve" filename="../src/vte/vteenums.h" line="48">Draw a vertical bar on the left side of character.
This is similar to the default cursor for other GTK+ widgets.</doc>
</member>
<member name="underline" value="2" c:identifier="VTE_CURSOR_SHAPE_UNDERLINE" glib:nick="underline">
<doc xml:space="preserve" filename="../src/vte/vteenums.h" line="50">Draw a horizontal bar below the character.</doc>
</member>
</enumeration>
<enumeration name="EraseBinding" glib:type-name="VteEraseBinding" glib:get-type="vte_erase_binding_get_type" c:type="VteEraseBinding">
<doc xml:space="preserve" filename="../src/vte/vteenums.h" line="80">An enumerated type which can be used to indicate which string the terminal
should send to an application when the user presses the Delete or Backspace
keys.</doc>
<member name="auto" value="0" c:identifier="VTE_ERASE_AUTO" glib:nick="auto">
<doc xml:space="preserve" filename="../src/vte/vteenums.h" line="82">For backspace, attempt to determine the right value from the terminal's IO settings. For delete, use the control sequence.</doc>
</member>
<member name="ascii_backspace" value="1" c:identifier="VTE_ERASE_ASCII_BACKSPACE" glib:nick="ascii-backspace">
<doc xml:space="preserve" filename="../src/vte/vteenums.h" line="83">Send an ASCII backspace character (0x08).</doc>
</member>
<member name="ascii_delete" value="2" c:identifier="VTE_ERASE_ASCII_DELETE" glib:nick="ascii-delete">
<doc xml:space="preserve" filename="../src/vte/vteenums.h" line="84">Send an ASCII delete character (0x7F).</doc>
</member>
<member name="delete_sequence" value="3" c:identifier="VTE_ERASE_DELETE_SEQUENCE" glib:nick="delete-sequence">
<doc xml:space="preserve" filename="../src/vte/vteenums.h" line="85">Send the "@@7" control sequence.</doc>
</member>
<member name="tty" value="4" c:identifier="VTE_ERASE_TTY" glib:nick="tty">
<doc xml:space="preserve" filename="../src/vte/vteenums.h" line="86">Send terminal's "erase" setting.</doc>
</member>
</enumeration>
<enumeration name="Format" version="0.50" glib:type-name="VteFormat" glib:get-type="vte_format_get_type" c:type="VteFormat">
<doc xml:space="preserve" filename="../src/vte/vteenums.h" line="165">An enumeratio type that can be used to specify the format the selection
should be copied to the clipboard in.</doc>
<member name="text" value="1" c:identifier="VTE_FORMAT_TEXT" glib:nick="text">
<doc xml:space="preserve" filename="../src/vte/vteenums.h" line="167">Export as plain text</doc>
</member>
<member name="html" value="2" c:identifier="VTE_FORMAT_HTML" glib:nick="html">
<doc xml:space="preserve" filename="../src/vte/vteenums.h" line="168">Export as HTML formatted text</doc>
</member>
</enumeration>
<function-macro name="IS_PTY" c:identifier="VTE_IS_PTY" introspectable="0">
<source-position filename="../src/vte/vtepty.h" line="51"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_PTY_CLASS" c:identifier="VTE_IS_PTY_CLASS" introspectable="0">
<source-position filename="../src/vte/vtepty.h" line="52"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_TERMINAL" c:identifier="VTE_IS_TERMINAL" introspectable="0">
<source-position filename="../src/vte/vteterminal.h" line="41"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_TERMINAL_CLASS" c:identifier="VTE_IS_TERMINAL_CLASS" introspectable="0">
<source-position filename="../src/vte/vteterminal.h" line="42"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<constant name="MAJOR_VERSION" value="0" c:type="VTE_MAJOR_VERSION">
<doc xml:space="preserve" filename="../src/vte/vteversion.h" line="39">The major version number of the VTE library
(e.g. in version 3.1.4 this is 3).</doc>
<source-position filename="../src/vte/vteversion.h" line="45"/>
<type name="gint" c:type="gint"/>
</constant>
<constant name="MICRO_VERSION" value="2" c:type="VTE_MICRO_VERSION">
<doc xml:space="preserve" filename="../src/vte/vteversion.h" line="55">The micro version number of the VTE library
(e.g. in version 3.1.4 this is 4).</doc>
<source-position filename="../src/vte/vteversion.h" line="61"/>
<type name="gint" c:type="gint"/>
</constant>
<constant name="MINOR_VERSION" value="58" c:type="VTE_MINOR_VERSION">
<doc xml:space="preserve" filename="../src/vte/vteversion.h" line="47">The minor version number of the VTE library
(e.g. in version 3.1.4 this is 1).</doc>
<source-position filename="../src/vte/vteversion.h" line="53"/>
<type name="gint" c:type="gint"/>
</constant>
<function-macro name="PTY" c:identifier="VTE_PTY" introspectable="0">
<source-position filename="../src/vte/vtepty.h" line="49"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="PTY_CLASS" c:identifier="VTE_PTY_CLASS" introspectable="0">
<source-position filename="../src/vte/vtepty.h" line="50"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="PTY_GET_CLASS" c:identifier="VTE_PTY_GET_CLASS" introspectable="0">
<source-position filename="../src/vte/vtepty.h" line="53"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<class name="Pty" c:symbol-prefix="pty" c:type="VtePty" parent="GObject.Object" glib:type-name="VtePty" glib:get-type="vte_pty_get_type" glib:type-struct="PtyClass">
<source-position filename="../src/vte/vtepty.h" line="56"/>
<implements name="Gio.Initable"/>
<constructor name="new_foreign_sync" c:identifier="vte_pty_new_foreign_sync" throws="1">
<doc xml:space="preserve" filename="../src/pty.cc" line="1056">Creates a new #VtePty for the PTY master @fd.
No entry will be made in the lastlog, utmp or wtmp system files.
Note that the newly created #VtePty will take ownership of @fd
and close it on finalize.</doc>
<source-position filename="../src/vte/vtepty.h" line="67"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve" filename="../src/pty.cc" line="1069">a new #VtePty for @fd, or %NULL on error with @error filled in</doc>
<type name="Pty" c:type="VtePty*"/>
</return-value>
<parameters>
<parameter name="fd" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/pty.cc" line="1058">a file descriptor to the PTY</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="cancellable" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../src/pty.cc" line="1059">a #GCancellable, or %NULL</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
</constructor>
<constructor name="new_sync" c:identifier="vte_pty_new_sync" throws="1">
<doc xml:space="preserve" filename="../src/pty.cc" line="1019">Allocates a new pseudo-terminal.
You can later use fork() or the g_spawn_async() family of functions
to start a process on the PTY.
If using fork(), you MUST call vte_pty_child_setup() in the child.
If using g_spawn_async() and friends, you MUST either use
vte_pty_child_setup() directly as the child setup function, or call
vte_pty_child_setup() from your own child setup function supplied.
When using vte_terminal_spawn_sync() with a custom child setup
function, vte_pty_child_setup() will be called before the supplied
function; you must not call it again.
Also, you MUST pass the %G_SPAWN_DO_NOT_REAP_CHILD flag.</doc>
<source-position filename="../src/vte/vtepty.h" line="62"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve" filename="../src/pty.cc" line="1042">a new #VtePty, or %NULL on error with @error filled in</doc>
<type name="Pty" c:type="VtePty*"/>
</return-value>
<parameters>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/pty.cc" line="1021">flags from #VtePtyFlags</doc>
<type name="PtyFlags" c:type="VtePtyFlags"/>
</parameter>
<parameter name="cancellable" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../src/pty.cc" line="1022">a #GCancellable, or %NULL</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
</constructor>
<method name="child_setup" c:identifier="vte_pty_child_setup">
<doc xml:space="preserve" filename="../src/pty.cc" line="120">FIXMEchpe</doc>
<source-position filename="../src/vte/vtepty.h" line="75"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="pty" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/pty.cc" line="122">a #VtePty</doc>
<type name="Pty" c:type="VtePty*"/>
</instance-parameter>
</parameters>
</method>
<method name="close" c:identifier="vte_pty_close" deprecated="1" deprecated-version="0.42">
<doc xml:space="preserve" filename="../src/pty.cc" line="821">Since 0.42 this is a no-op.</doc>
<source-position filename="../src/vte/vtedeprecated.h" line="96"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="pty" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/pty.cc" line="823">a #VtePty</doc>
<type name="Pty" c:type="VtePty*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_fd" c:identifier="vte_pty_get_fd">
<source-position filename="../src/vte/vtepty.h" line="72"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/pty.cc" line="1089">the file descriptor of the PTY master in @pty. The
file descriptor belongs to @pty and must not be closed of have
its flags changed</doc>
<type name="gint" c:type="int"/>
</return-value>
<parameters>
<instance-parameter name="pty" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/pty.cc" line="1087">a #VtePty</doc>
<type name="Pty" c:type="VtePty*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_size" c:identifier="vte_pty_get_size" throws="1">
<doc xml:space="preserve" filename="../src/pty.cc" line="575">Reads the pseudo terminal's window size.
If getting the window size failed, @error will be set to a #GIOError.</doc>
<source-position filename="../src/vte/vtepty.h" line="78"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/pty.cc" line="586">%TRUE on success, %FALSE on failure with @error filled in</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="pty" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/pty.cc" line="577">a #VtePty</doc>
<type name="Pty" c:type="VtePty*"/>
</instance-parameter>
<parameter name="rows" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
<doc xml:space="preserve" filename="../src/pty.cc" line="578">a location to store the number of rows, or %NULL</doc>
<type name="gint" c:type="int*"/>
</parameter>
<parameter name="columns" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
<doc xml:space="preserve" filename="../src/pty.cc" line="579">a location to store the number of columns, or %NULL</doc>
<type name="gint" c:type="int*"/>
</parameter>
</parameters>
</method>
<method name="set_size" c:identifier="vte_pty_set_size" throws="1">
<doc xml:space="preserve" filename="../src/pty.cc" line="523">Attempts to resize the pseudo terminal's window size. If successful, the
OS kernel will send #SIGWINCH to the child process group.
If setting the window size failed, @error will be set to a #GIOError.</doc>
<source-position filename="../src/vte/vtepty.h" line="84"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/pty.cc" line="535">%TRUE on success, %FALSE on failure with @error filled in</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="pty" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/pty.cc" line="525">a #VtePty</doc>
<type name="Pty" c:type="VtePty*"/>
</instance-parameter>
<parameter name="rows" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/pty.cc" line="526">the desired number of rows</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="columns" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/pty.cc" line="527">the desired number of columns</doc>
<type name="gint" c:type="int"/>
</parameter>
</parameters>
</method>
<method name="set_utf8" c:identifier="vte_pty_set_utf8" throws="1">
<doc xml:space="preserve" filename="../src/pty.cc" line="767">Tells the kernel whether the terminal is UTF-8 or not, in case it can make
use of the info. Linux 2.6.5 or so defines IUTF8 to make the line
discipline do multibyte backspace correctly.</doc>
<source-position filename="../src/vte/vtepty.h" line="90"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/pty.cc" line="777">%TRUE on success, %FALSE on failure with @error filled in</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="pty" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/pty.cc" line="769">a #VtePty</doc>
<type name="Pty" c:type="VtePty*"/>
</instance-parameter>
<parameter name="utf8" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/pty.cc" line="770">whether or not the pty is in UTF-8 mode</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="spawn_async" c:identifier="vte_pty_spawn_async" version="0.48">
<doc xml:space="preserve" filename="../src/pty.cc" line="1184">Starts the specified command under the pseudo-terminal @pty.
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.
Note that %G_SPAWN_DO_NOT_REAP_CHILD will always be added to @spawn_flags.
Note that all open file descriptors will be closed in the child. If you want
to keep some file descriptor open for use in the child process, you need to
use a child setup function that unsets the FD_CLOEXEC flag on that file
descriptor.
See vte_pty_new(), g_spawn_async() and vte_terminal_watch_child() for more information.</doc>
<source-position filename="../src/vte/vtepty.h" line="99"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="pty" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/pty.cc" line="1186">a #VtePty</doc>
<type name="Pty" c:type="VtePty*"/>
</instance-parameter>
<parameter name="working_directory" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../src/pty.cc" line="1187">the name of a directory the command should start
in, or %NULL to use the current working directory</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="argv" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/pty.cc" line="1189">child's argument vector</doc>
<array c:type="char**">
<type name="filename"/>
</array>
</parameter>
<parameter name="envv" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../src/pty.cc" line="1190">a list of environment
variables to be added to the environment before starting the process, or %NULL</doc>
<array c:type="char**">
<type name="filename"/>
</array>
</parameter>
<parameter name="spawn_flags" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/pty.cc" line="1192">flags from #GSpawnFlags</doc>
<type name="GLib.SpawnFlags" c:type="GSpawnFlags"/>
</parameter>
<parameter name="child_setup" transfer-ownership="none" nullable="1" allow-none="1" scope="notified" closure="5" destroy="6">
<doc xml:space="preserve" filename="../src/pty.cc" line="1193">an extra child setup function to run in the child just before exec(), or %NULL</doc>
<type name="GLib.SpawnChildSetupFunc" c:type="GSpawnChildSetupFunc"/>
</parameter>
<parameter name="child_setup_data" transfer-ownership="none" nullable="1" allow-none="1" scope="notified" closure="4">
<doc xml:space="preserve" filename="../src/pty.cc" line="1194">user data for @child_setup, or %NULL</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="child_setup_data_destroy" transfer-ownership="none" scope="async" destroy="5">
<doc xml:space="preserve" filename="../src/pty.cc" line="1195">a #GDestroyNotify for @child_setup_data, or %NULL</doc>
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
<parameter name="timeout" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/pty.cc" line="1196">a timeout value in ms, or -1 to wait indefinitely</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="cancellable" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../src/pty.cc" line="1197">a #GCancellable, or %NULL</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback" transfer-ownership="none" nullable="1" allow-none="1" scope="async" closure="10">
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<method name="spawn_finish" c:identifier="vte_pty_spawn_finish" version="0.48" throws="1">
<source-position filename="../src/vte/vtepty.h" line="113"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/pty.cc" line="1256">%TRUE on success, or %FALSE on error with @error filled in</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="pty" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/pty.cc" line="1251">a #VtePty</doc>
<type name="Pty" c:type="VtePty*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/pty.cc" line="1252">a #GAsyncResult</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
<parameter name="child_pid" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
<doc xml:space="preserve" filename="../src/pty.cc" line="1253">a location to store the child PID, or %NULL</doc>
<type name="GLib.Pid" c:type="GPid*"/>
</parameter>
</parameters>
</method>
<property name="fd" writable="1" construct-only="1" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/pty.cc" line="983">The file descriptor of the PTY master.</doc>
<type name="gint" c:type="gint"/>
</property>
<property name="flags" writable="1" construct-only="1" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/pty.cc" line="968">Flags.</doc>
<type name="PtyFlags"/>
</property>
</class>
<record name="PtyClass" c:type="VtePtyClass" disguised="1" glib:is-gtype-struct-for="Pty">
<source-position filename="../src/vte/vtepty.h" line="56"/>
</record>
<enumeration name="PtyError" glib:type-name="VtePtyError" glib:get-type="vte_pty_error_get_type" c:type="VtePtyError" glib:error-domain="vte-pty-error">
<member name="pty_helper_failed" value="0" c:identifier="VTE_PTY_ERROR_PTY_HELPER_FAILED" glib:nick="pty-helper-failed">
<doc xml:space="preserve" filename="../src/vte/vteenums.h" line="102">Obsolete. Deprecated: 0.42</doc>
</member>
<member name="pty98_failed" value="1" c:identifier="VTE_PTY_ERROR_PTY98_FAILED" glib:nick="pty98-failed">
<doc xml:space="preserve" filename="../src/vte/vteenums.h" line="103">failure when using PTY98 to allocate the PTY</doc>
</member>
<function name="quark" c:identifier="vte_pty_error_quark">
<doc xml:space="preserve" filename="../src/pty.cc" line="1000">Error domain for VTE PTY errors. Errors in this domain will be from the #VtePtyError
enumeration. See #GError for more information on error domains.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/pty.cc" line="1006">the error domain for VTE PTY errors</doc>
<type name="GLib.Quark" c:type="GQuark"/>
</return-value>
</function>
</enumeration>
<bitfield name="PtyFlags" glib:type-name="VtePtyFlags" glib:get-type="vte_pty_flags_get_type" c:type="VtePtyFlags">
<member name="no_lastlog" value="1" c:identifier="VTE_PTY_NO_LASTLOG" glib:nick="no-lastlog">
<doc xml:space="preserve" filename="../src/vte/vteenums.h" line="112">Unused. Deprecated: 0.38</doc>
</member>
<member name="no_utmp" value="2" c:identifier="VTE_PTY_NO_UTMP" glib:nick="no-utmp">
<doc xml:space="preserve" filename="../src/vte/vteenums.h" line="113">Unused. Deprecated: 0.38</doc>
</member>
<member name="no_wtmp" value="4" c:identifier="VTE_PTY_NO_WTMP" glib:nick="no-wtmp">
<doc xml:space="preserve" filename="../src/vte/vteenums.h" line="114">Unused. Deprecated: 0.38</doc>
</member>
<member name="no_helper" value="8" c:identifier="VTE_PTY_NO_HELPER" glib:nick="no-helper">
<doc xml:space="preserve" filename="../src/vte/vteenums.h" line="115">Unused. Deprecated: 0.38</doc>
</member>
<member name="no_fallback" value="16" c:identifier="VTE_PTY_NO_FALLBACK" glib:nick="no-fallback">
<doc xml:space="preserve" filename="../src/vte/vteenums.h" line="116">Unused. Deprecated: 0.38</doc>
</member>
<member name="no_session" value="32" c:identifier="VTE_PTY_NO_SESSION" glib:nick="no-session">
<doc xml:space="preserve" filename="../src/vte/vteenums.h" line="117">Do not start a new session for the child in
vte_pty_child_setup(). See man:setsid(2) for more information. Since: 0.58</doc>
</member>
<member name="no_ctty" value="64" c:identifier="VTE_PTY_NO_CTTY" glib:nick="no-ctty">
<doc xml:space="preserve" filename="../src/vte/vteenums.h" line="119">Do not set the PTY as the controlling TTY for the child
in vte_pty_child_setup(). See man:tty_ioctl(4) for more information. Since: 0.58</doc>
</member>
<member name="default" value="0" c:identifier="VTE_PTY_DEFAULT" glib:nick="default">
<doc xml:space="preserve" filename="../src/vte/vteenums.h" line="121">the default flags</doc>
</member>
</bitfield>
<constant name="REGEX_FLAGS_DEFAULT" value="1075314688" c:type="VTE_REGEX_FLAGS_DEFAULT">
<source-position filename="../src/vte/vteregex.h" line="45"/>
<type name="gint" c:type="gint"/>
</constant>
<record name="Regex" c:type="VteRegex" glib:type-name="VteRegex" glib:get-type="vte_regex_get_type" c:symbol-prefix="regex">
<source-position filename="../src/vte/vteregex.h" line="32"/>
<constructor name="new_for_match" c:identifier="vte_regex_new_for_match" throws="1">
<source-position filename="../src/vte/vteregex.h" line="54"/>
<return-value transfer-ownership="full">
<type name="Regex" c:type="VteRegex*"/>
</return-value>
<parameters>
<parameter name="pattern" transfer-ownership="none">
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="pattern_length" transfer-ownership="none">
<type name="gssize" c:type="gssize"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
</constructor>
<constructor name="new_for_search" c:identifier="vte_regex_new_for_search" throws="1">
<source-position filename="../src/vte/vteregex.h" line="60"/>
<return-value transfer-ownership="full">
<type name="Regex" c:type="VteRegex*"/>
</return-value>
<parameters>
<parameter name="pattern" transfer-ownership="none">
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="pattern_length" transfer-ownership="none">
<type name="gssize" c:type="gssize"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
</constructor>
<method name="jit" c:identifier="vte_regex_jit" throws="1">
<source-position filename="../src/vte/vteregex.h" line="66"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="regex" transfer-ownership="none">
<type name="Regex" c:type="VteRegex*"/>
</instance-parameter>
<parameter name="flags" transfer-ownership="none">
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
</method>
<method name="ref" c:identifier="vte_regex_ref">
<source-position filename="../src/vte/vteregex.h" line="48"/>
<return-value transfer-ownership="full">
<type name="Regex" c:type="VteRegex*"/>
</return-value>
<parameters>
<instance-parameter name="regex" transfer-ownership="none">
<type name="Regex" c:type="VteRegex*"/>
</instance-parameter>
</parameters>
</method>
<method name="substitute" c:identifier="vte_regex_substitute" throws="1">
<source-position filename="../src/vte/vteregex.h" line="71"/>
<return-value transfer-ownership="full">
<type name="utf8" c:type="char*"/>
</return-value>
<parameters>
<instance-parameter name="regex" transfer-ownership="none">
<type name="Regex" c:type="VteRegex*"/>
</instance-parameter>
<parameter name="subject" transfer-ownership="none">
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="replacement" transfer-ownership="none">
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
</method>
<method name="unref" c:identifier="vte_regex_unref">
<source-position filename="../src/vte/vteregex.h" line="51"/>
<return-value transfer-ownership="full">
<type name="Regex" c:type="VteRegex*"/>
</return-value>
<parameters>
<instance-parameter name="regex" transfer-ownership="none">
<type name="Regex" c:type="VteRegex*"/>
</instance-parameter>
</parameters>
</method>
</record>
<enumeration name="RegexError" version="0.46" glib:type-name="VteRegexError" glib:get-type="vte_regex_error_get_type" c:type="VteRegexError" glib:error-domain="vte-regex-error">
<doc xml:space="preserve" filename="../src/vte/vteenums.h" line="145">An enum type for regex errors. In addition to the values listed above,
any PCRE2 error values may occur.</doc>
<member name="incompatible" value="2147483646" c:identifier="VTE_REGEX_ERROR_INCOMPATIBLE" glib:nick="incompatible">
<doc xml:space="preserve" filename="../src/vte/vteenums.h" line="147">The PCRE2 library was built without
Unicode support which is required for VTE</doc>
</member>
<member name="not_supported" value="2147483647" c:identifier="VTE_REGEX_ERROR_NOT_SUPPORTED" glib:nick="not-supported">
<doc xml:space="preserve" filename="../src/vte/vteenums.h" line="149">Regexes are not supported because VTE was
built without PCRE2 support</doc>
</member>
<function name="quark" c:identifier="vte_regex_error_quark">
<return-value transfer-ownership="none">
<type name="GLib.Quark" c:type="GQuark"/>
</return-value>
</function>
</enumeration>
<constant name="SPAWN_NO_PARENT_ENVV" value="33554432" c:type="VTE_SPAWN_NO_PARENT_ENVV">
<source-position filename="../src/vte/vtepty.h" line="33"/>
<type name="gint" c:type="gint"/>
</constant>
<callback name="SelectionFunc" c:type="VteSelectionFunc">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2950">Specifies the type of a selection function used to check whether
a cell has to be selected or not.</doc>
<source-position filename="../src/vte/vteterminal.h" line="121"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2960">%TRUE if cell has to be selected; %FALSE if otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2952">terminal in which the cell is.</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</parameter>
<parameter name="column" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2953">column in which the cell is.</doc>
<type name="glong" c:type="glong"/>
</parameter>
<parameter name="row" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2954">row in which the cell is.</doc>
<type name="glong" c:type="glong"/>
</parameter>
<parameter name="data" transfer-ownership="none" nullable="1" allow-none="1" closure="3">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2955">user data.</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</callback>
<function-macro name="TERMINAL" c:identifier="VTE_TERMINAL" introspectable="0">
<source-position filename="../src/vte/vteterminal.h" line="39"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="TERMINAL_CLASS" c:identifier="VTE_TERMINAL_CLASS" introspectable="0">
<source-position filename="../src/vte/vteterminal.h" line="40"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="TERMINAL_GET_CLASS" c:identifier="VTE_TERMINAL_GET_CLASS" introspectable="0">
<source-position filename="../src/vte/vteterminal.h" line="43"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<constant name="TEST_FLAGS_ALL" value="18446744073709551615" c:type="VTE_TEST_FLAGS_ALL">
<source-position filename="../src/vte/vteglobals.h" line="35"/>
<type name="guint64" c:type="guint64"/>
</constant>
<constant name="TEST_FLAGS_NONE" value="0" c:type="VTE_TEST_FLAGS_NONE">
<source-position filename="../src/vte/vteglobals.h" line="34"/>
<type name="guint64" c:type="guint64"/>
</constant>
<class name="Terminal" c:symbol-prefix="terminal" c:type="VteTerminal" parent="Gtk.Widget" glib:type-name="VteTerminal" glib:get-type="vte_terminal_get_type" glib:type-struct="TerminalClass">
<source-position filename="../src/vte/vteterminal.h" line="111"/>
<implements name="Atk.ImplementorIface"/>
<implements name="Gtk.Buildable"/>
<implements name="Gtk.Scrollable"/>
<constructor name="new" c:identifier="vte_terminal_new">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1947">Creates a new terminal widget.</doc>
<source-position filename="../src/vte/vteterminal.h" line="131"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1952">a new #VteTerminal object</doc>
<type name="Terminal" c:type="GtkWidget*"/>
</return-value>
</constructor>
<virtual-method name="bell">
<source-position filename="../src/vte/vteterminal.h" line="105"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="char_size_changed">
<source-position filename="../src/vte/vteterminal.h" line="74"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="char_width" transfer-ownership="none">
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="char_height" transfer-ownership="none">
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="child_exited">
<source-position filename="../src/vte/vteterminal.h" line="72"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="status" transfer-ownership="none">
<type name="gint" c:type="int"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="commit">
<source-position filename="../src/vte/vteterminal.h" line="80"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="text" transfer-ownership="none">
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="size" transfer-ownership="none">
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="contents_changed">
<source-position filename="../src/vte/vteterminal.h" line="78"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="copy_clipboard" invoker="copy_clipboard" deprecated="1" deprecated-version="0.50">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1960">Places the selected text in the terminal in the #GDK_SELECTION_CLIPBOARD
selection.</doc>
<doc-deprecated xml:space="preserve">Use vte_terminal_copy_clipboard_format() with %VTE_FORMAT_TEXT
instead.</doc-deprecated>
<source-position filename="../src/vte/vteterminal.h" line="102"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1962">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="cursor_moved">
<source-position filename="../src/vte/vteterminal.h" line="79"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="decrease_font_size">
<source-position filename="../src/vte/vteterminal.h" line="96"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="deiconify_window">
<source-position filename="../src/vte/vteterminal.h" line="82"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="encoding_changed">
<source-position filename="../src/vte/vteterminal.h" line="73"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="eof">
<source-position filename="../src/vte/vteterminal.h" line="71"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="icon_title_changed">
<source-position filename="../src/vte/vteterminal.h" line="76"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="iconify_window">
<source-position filename="../src/vte/vteterminal.h" line="83"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="increase_font_size">
<source-position filename="../src/vte/vteterminal.h" line="95"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="lower_window">
<source-position filename="../src/vte/vteterminal.h" line="85"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="maximize_window">
<source-position filename="../src/vte/vteterminal.h" line="88"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="move_window">
<source-position filename="../src/vte/vteterminal.h" line="90"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="x" transfer-ownership="none">
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="y" transfer-ownership="none">
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="paste_clipboard" invoker="paste_clipboard">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2021">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.</doc>
<source-position filename="../src/vte/vteterminal.h" line="103"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2023">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="raise_window">
<source-position filename="../src/vte/vteterminal.h" line="84"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="refresh_window">
<source-position filename="../src/vte/vteterminal.h" line="86"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="resize_window">
<source-position filename="../src/vte/vteterminal.h" line="89"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="width" transfer-ownership="none">
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="height" transfer-ownership="none">
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="restore_window">
<source-position filename="../src/vte/vteterminal.h" line="87"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="selection_changed">
<source-position filename="../src/vte/vteterminal.h" line="77"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="text_deleted">
<source-position filename="../src/vte/vteterminal.h" line="100"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="text_inserted">
<source-position filename="../src/vte/vteterminal.h" line="99"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="text_modified">
<source-position filename="../src/vte/vteterminal.h" line="98"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="text_scrolled">
<source-position filename="../src/vte/vteterminal.h" line="101"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="delta" transfer-ownership="none">
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="window_title_changed">
<source-position filename="../src/vte/vteterminal.h" line="75"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</virtual-method>
<method name="copy_clipboard" c:identifier="vte_terminal_copy_clipboard" deprecated="1" deprecated-version="0.50">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1960">Places the selected text in the terminal in the #GDK_SELECTION_CLIPBOARD
selection.</doc>
<doc-deprecated xml:space="preserve">Use vte_terminal_copy_clipboard_format() with %VTE_FORMAT_TEXT
instead.</doc-deprecated>
<source-position filename="../src/vte/vtedeprecated.h" line="100"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1962">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="copy_clipboard_format" c:identifier="vte_terminal_copy_clipboard_format" version="0.50">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1979">Places the selected text in the terminal in the #GDK_SELECTION_CLIPBOARD
selection in the form specified by @format.
For all formats, the selection data (see #GtkSelectionData) will include the
text targets (see gtk_target_list_add_text_targets() and
gtk_selection_data_targets_includes_text()). For %VTE_FORMAT_HTML,
the selection will also include the "text/html" target, which when requested,
returns the HTML data in UTF-16 with a U+FEFF BYTE ORDER MARK character at
the start.</doc>
<source-position filename="../src/vte/vteterminal.h" line="181"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1981">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="format" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1982">a #VteFormat</doc>
<type name="Format" c:type="VteFormat"/>
</parameter>
</parameters>
</method>
<method name="copy_primary" c:identifier="vte_terminal_copy_primary">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2006">Places the selected text in the terminal in the #GDK_SELECTION_PRIMARY
selection.</doc>
<source-position filename="../src/vte/vteterminal.h" line="186"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2008">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="event_check_gregex_simple" c:identifier="vte_terminal_event_check_gregex_simple" version="0.44" deprecated="1" deprecated-version="0.46">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2243">This function does nothing.</doc>
<doc-deprecated xml:space="preserve">Use vte_terminal_event_check_regex_simple() instead.</doc-deprecated>
<source-position filename="../src/vte/vtedeprecated.h" line="63"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2254">%FALSE</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2245">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="event" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2246">a #GdkEvent</doc>
<type name="Gdk.Event" c:type="GdkEvent*"/>
</parameter>
<parameter name="regexes" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2247">an array of #GRegex</doc>
<array length="2" zero-terminated="0" c:type="GRegex**">
<type name="GLib.Regex" c:type="GRegex*"/>
</array>
</parameter>
<parameter name="n_regexes" direction="out" caller-allocates="0" transfer-ownership="full">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2248">number of items in @regexes</doc>
<type name="gsize" c:type="gsize"/>
</parameter>
<parameter name="match_flags" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2249">the #GRegexMatchFlags to use when matching the regexes</doc>
<type name="GLib.RegexMatchFlags" c:type="GRegexMatchFlags"/>
</parameter>
<parameter name="matches" direction="out" caller-allocates="1" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2250">a location to store the matches</doc>
<array length="2" zero-terminated="0" c:type="char**">
<type name="utf8" c:type="char*"/>
</array>
</parameter>
</parameters>
</method>
<method name="event_check_regex_simple" c:identifier="vte_terminal_event_check_regex_simple" version="0.46">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2205">Checks each regex in @regexes if the text in and around the position of
the event 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.</doc>
<source-position filename="../src/vte/vteterminal.h" line="413"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2219">%TRUE iff any of the regexes produced a match</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2207">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="event" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2208">a #GdkEvent</doc>
<type name="Gdk.Event" c:type="GdkEvent*"/>
</parameter>
<parameter name="regexes" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2209">an array of #VteRegex</doc>
<array length="2" zero-terminated="0" c:type="VteRegex**">
<type name="Regex" c:type="VteRegex*"/>
</array>
</parameter>
<parameter name="n_regexes" direction="out" caller-allocates="0" transfer-ownership="full">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2210">number of items in @regexes</doc>
<type name="gsize" c:type="gsize"/>
</parameter>
<parameter name="match_flags" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2211">PCRE2 match flags, or 0</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="matches" direction="out" caller-allocates="1" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2212">a location to store the matches</doc>
<array length="2" zero-terminated="0" c:type="char**">
<type name="utf8" c:type="char*"/>
</array>
</parameter>
</parameters>
</method>
<method name="feed" c:identifier="vte_terminal_feed">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2890">Interprets @data as if it were data received from a child process. This
can either be used to drive the terminal without a child process, or just
to mess with your users.</doc>
<source-position filename="../src/vte/vteterminal.h" line="166"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2892">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2893">a string in the terminal's current encoding</doc>
<array length="1" zero-terminated="0" c:type="const char*">
<type name="guint8"/>
</array>
</parameter>
<parameter name="length" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2894">the length of the string, or -1 to use the full length or a nul-terminated string</doc>
<type name="gssize" c:type="gssize"/>
</parameter>
</parameters>
</method>
<method name="feed_child" c:identifier="vte_terminal_feed_child">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2911">Sends a block of UTF-8 text to the child as if it were entered by the user
at the keyboard.</doc>
<source-position filename="../src/vte/vteterminal.h" line="170"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2913">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="text" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2914">data to send to the child</doc>
<array length="1" zero-terminated="0" c:type="const char*">
<type name="gchar"/>
</array>
</parameter>
<parameter name="length" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2915">length of @text in bytes, or -1 if @text is NUL-terminated</doc>
<type name="gssize" c:type="gssize"/>
</parameter>
</parameters>
</method>
<method name="feed_child_binary" c:identifier="vte_terminal_feed_child_binary">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2931">Sends a block of binary data to the child.</doc>
<source-position filename="../src/vte/vteterminal.h" line="174"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2933">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2934">data to send to the child</doc>
<array length="1" zero-terminated="0" c:type="const guint8*">
<type name="guint8"/>
</array>
</parameter>
<parameter name="length" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2935">length of @data</doc>
<type name="gsize" c:type="gsize"/>
</parameter>
</parameters>
</method>
<method name="get_allow_bold" c:identifier="vte_terminal_get_allow_bold">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3163">Checks whether or not the terminal will attempt to draw bold text,
either by using a bold font variant or by repainting text with a different
offset.</doc>
<source-position filename="../src/vte/vteterminal.h" line="309"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3171">%TRUE if bolding is enabled, %FALSE if not</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3165">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_allow_hyperlink" c:identifier="vte_terminal_get_allow_hyperlink" version="0.50">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3199">Checks whether or not hyperlinks (OSC 8 escape sequence) are allowed.</doc>
<source-position filename="../src/vte/vteterminal.h" line="321"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3205">%TRUE if hyperlinks are enabled, %FALSE if not</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3201">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_audible_bell" c:identifier="vte_terminal_get_audible_bell">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3235">Checks whether or not the terminal will beep when the child outputs the
"bl" sequence.</doc>
<source-position filename="../src/vte/vteterminal.h" line="234"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3242">%TRUE if audible bell is enabled, %FALSE if not</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3237">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_bold_is_bright" c:identifier="vte_terminal_get_bold_is_bright" version="0.52">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3289">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.</doc>
<source-position filename="../src/vte/vteterminal.h" line="315"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3297">%TRUE if bold also enables bright, %FALSE if not</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3291">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_cell_height_scale" c:identifier="vte_terminal_get_cell_height_scale" version="0.52">
<source-position filename="../src/vte/vteterminal.h" line="222"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3968">the terminal's cell height scale</doc>
<type name="gdouble" c:type="double"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3966">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_cell_width_scale" c:identifier="vte_terminal_get_cell_width_scale" version="0.52">
<source-position filename="../src/vte/vteterminal.h" line="216"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4007">the terminal's cell width scale</doc>
<type name="gdouble" c:type="double"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4005">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_char_height" c:identifier="vte_terminal_get_char_height">
<source-position filename="../src/vte/vteterminal.h" line="454"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3332">the height of a character cell
Note that this method should rather be called vte_terminal_get_cell_height,
because the return value takes cell-height-scale into account.</doc>
<type name="glong" c:type="glong"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3330">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_char_width" c:identifier="vte_terminal_get_char_width">
<source-position filename="../src/vte/vteterminal.h" line="452"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3348">the width of a character cell
Note that this method should rather be called vte_terminal_get_cell_width,
because the return value takes cell-width-scale into account.</doc>
<type name="glong" c:type="glong"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3346">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_cjk_ambiguous_width" c:identifier="vte_terminal_get_cjk_ambiguous_width">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3360">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.)</doc>
<source-position filename="../src/vte/vteterminal.h" line="442"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3369">1 if ambiguous-width characters are narrow, or 2 if they are wide</doc>
<type name="gint" c:type="int"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3362">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_color_background_for_draw" c:identifier="vte_terminal_get_color_background_for_draw" version="0.54">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4564">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().
Note: you must only call this function while handling the
GtkWidget::draw signal.
This function is rarely useful. One use for it is if you disable
drawing the background (see vte_terminal_set_clear_background())
and then need to draw the background yourself.</doc>
<source-position filename="../src/vte/vteterminal.h" line="478"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4566">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="color" direction="out" caller-allocates="1" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4567">a location to store a #GdbRGBA color</doc>
<type name="Gdk.RGBA" c:type="GdkRGBA*"/>
</parameter>
</parameters>
</method>
<method name="get_column_count" c:identifier="vte_terminal_get_column_count">
<source-position filename="../src/vte/vteterminal.h" line="458"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3631">the number of columns</doc>
<type name="glong" c:type="glong"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3629">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_current_directory_uri" c:identifier="vte_terminal_get_current_directory_uri">
<source-position filename="../src/vte/vteterminal.h" line="462"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3644">the URI of the current directory of the
process running in the terminal, or %NULL</doc>
<type name="utf8" c:type="const char*"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3642">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_current_file_uri" c:identifier="vte_terminal_get_current_file_uri">
<source-position filename="../src/vte/vteterminal.h" line="464"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3659">the URI of the current file the
process running in the terminal is operating on, or %NULL if
not set</doc>
<type name="utf8" c:type="const char*"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3657">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_cursor_blink_mode" c:identifier="vte_terminal_get_cursor_blink_mode">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3671">Returns the currently set cursor blink mode.</doc>
<source-position filename="../src/vte/vteterminal.h" line="283"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3677">cursor blink mode.</doc>
<type name="CursorBlinkMode" c:type="VteCursorBlinkMode"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3673">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_cursor_position" c:identifier="vte_terminal_get_cursor_position">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2539">Reads the location of the insertion cursor and returns it. The row
coordinate is absolute.
This method is unaware of BiDi. The returned column is logical column.</doc>
<source-position filename="../src/vte/vteterminal.h" line="380"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2541">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="column" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2542">a location to store the column, or %NULL</doc>
<type name="glong" c:type="glong*"/>
</parameter>
<parameter name="row" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2543">a location to store the row, or %NULL</doc>
<type name="glong" c:type="glong*"/>
</parameter>
</parameters>
</method>
<method name="get_cursor_shape" c:identifier="vte_terminal_get_cursor_shape">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3706">Returns the currently set cursor shape.</doc>
<source-position filename="../src/vte/vteterminal.h" line="290"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3712">cursor shape.</doc>
<type name="CursorShape" c:type="VteCursorShape"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3708">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_enable_bidi" c:identifier="vte_terminal_get_enable_bidi" version="0.58">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3759">Checks whether the terminal performs bidirectional text rendering.</doc>
<source-position filename="../src/vte/vteterminal.h" line="340"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3765">%TRUE if BiDi is enabled, %FALSE if not</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3761">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_enable_shaping" c:identifier="vte_terminal_get_enable_shaping" version="0.58">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3795">Checks whether the terminal shapes Arabic text.</doc>
<source-position filename="../src/vte/vteterminal.h" line="346"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3801">%TRUE if Arabic shaping is enabled, %FALSE if not</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3797">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_encoding" c:identifier="vte_terminal_get_encoding" deprecated="1" deprecated-version="0.54">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3831">Determines the name of the encoding in which the terminal expects data to be
encoded, or %NULL if UTF-8 is in use.</doc>
<doc-deprecated xml:space="preserve">Support for non-UTF-8 is deprecated.</doc-deprecated>
<source-position filename="../src/vte/vtedeprecated.h" line="126"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3838">the current encoding for the terminal</doc>
<type name="utf8" c:type="const char*"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3833">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_font" c:identifier="vte_terminal_get_font">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3891">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.</doc>
<source-position filename="../src/vte/vteterminal.h" line="304"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3900">a #PangoFontDescription describing the font the
terminal uses to render text at the default font scale of 1.0.</doc>
<type name="Pango.FontDescription" c:type="const PangoFontDescription*"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3893">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_font_scale" c:identifier="vte_terminal_get_font_scale">
<source-position filename="../src/vte/vteterminal.h" line="210"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3936">the terminal's font scale</doc>
<type name="gdouble" c:type="gdouble"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3934">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_geometry_hints" c:identifier="vte_terminal_get_geometry_hints" deprecated="1" deprecated-version="0.52">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4046">Fills in some @hints from @terminal's geometry. The hints
filled are those covered by the %GDK_HINT_RESIZE_INC,
%GDK_HINT_MIN_SIZE and %GDK_HINT_BASE_SIZE flags.
See gtk_window_set_geometry_hints() for more information.
@terminal must be realized (see gtk_widget_get_realized()).</doc>
<source-position filename="../src/vte/vtedeprecated.h" line="104"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4048">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="hints" direction="out" caller-allocates="1" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4049">a #GdkGeometry to fill in</doc>
<type name="Gdk.Geometry" c:type="GdkGeometry*"/>
</parameter>
<parameter name="min_rows" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4050">the minimum number of rows to request</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="min_columns" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4051">the minimum number of columns to request</doc>
<type name="gint" c:type="int"/>
</parameter>
</parameters>
</method>
<method name="get_has_selection" c:identifier="vte_terminal_get_has_selection">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4136">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.</doc>
<source-position filename="../src/vte/vteterminal.h" line="325"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4144">%TRUE if part of the text in the terminal is selected.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4138">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_icon_title" c:identifier="vte_terminal_get_icon_title" deprecated="1" deprecated-version="0.54">
<source-position filename="../src/vte/vtedeprecated.h" line="116"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4157">%NULL</doc>
<type name="utf8" c:type="const char*"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4155">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_input_enabled" c:identifier="vte_terminal_get_input_enabled">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4167">Returns whether the terminal allow user input.</doc>
<source-position filename="../src/vte/vteterminal.h" line="471"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4169">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_mouse_autohide" c:identifier="vte_terminal_get_mouse_autohide">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4200">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().</doc>
<source-position filename="../src/vte/vteterminal.h" line="353"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4209">%TRUE if autohiding is enabled, %FALSE if not</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4202">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_pty" c:identifier="vte_terminal_get_pty">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4261">Returns the #VtePty of @terminal.</doc>
<source-position filename="../src/vte/vteterminal.h" line="448"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4267">a #VtePty, or %NULL</doc>
<type name="Pty" c:type="VtePty*"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4263">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_rewrap_on_resize" c:identifier="vte_terminal_get_rewrap_on_resize" deprecated="1" deprecated-version="0.58">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4277">Checks whether or not the terminal will rewrap its contents upon resize.</doc>
<source-position filename="../src/vte/vtedeprecated.h" line="141"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4283">%TRUE if rewrapping is enabled, %FALSE if not</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4279">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_row_count" c:identifier="vte_terminal_get_row_count">
<source-position filename="../src/vte/vteterminal.h" line="456"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4319">the number of rows</doc>
<type name="glong" c:type="glong"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4316">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_scroll_on_keystroke" c:identifier="vte_terminal_get_scroll_on_keystroke" version="0.52">
<source-position filename="../src/vte/vteterminal.h" line="244"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4397">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.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4395">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_scroll_on_output" c:identifier="vte_terminal_get_scroll_on_output" version="0.52">
<source-position filename="../src/vte/vteterminal.h" line="239"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4432">whether or not the terminal will forcibly scroll to the bottom of
the viewable history when the new data is received from the child.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4430">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_scrollback_lines" c:identifier="vte_terminal_get_scrollback_lines" version="0.52">
<source-position filename="../src/vte/vteterminal.h" line="297"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4362">length of the scrollback buffer used by the terminal.
A negative value means "infinite scrollback".</doc>
<type name="glong" c:type="glong"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4360">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_text" c:identifier="vte_terminal_get_text">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2978">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.
This method is unaware of BiDi. The columns returned in @attributes are
logical columns.</doc>
<source-position filename="../src/vte/vteterminal.h" line="368"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2994">a newly allocated text string, or %NULL.</doc>
<type name="utf8" c:type="char*"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2980">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="is_selected" transfer-ownership="none" nullable="1" allow-none="1" scope="call" closure="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2981">a #VteSelectionFunc callback</doc>
<type name="SelectionFunc" c:type="VteSelectionFunc"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2982">user data to be passed to the callback</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="attributes" direction="out" caller-allocates="1" transfer-ownership="full">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2983">location for storing text attributes</doc>
<array zero-terminated="0" name="GLib.Array" c:type="GArray*">
<type name="CharAttributes"/>
</array>
</parameter>
</parameters>
</method>
<method name="get_text_blink_mode" c:identifier="vte_terminal_get_text_blink_mode" version="0.52">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3127">Checks whether or not the terminal will allow blinking text.</doc>
<source-position filename="../src/vte/vteterminal.h" line="229"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3133">the blinking setting</doc>
<type name="TextBlinkMode" c:type="VteTextBlinkMode"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3129">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_text_include_trailing_spaces" c:identifier="vte_terminal_get_text_include_trailing_spaces" deprecated="1" deprecated-version="0.56">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3011">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.
This method is unaware of BiDi. The columns returned in @attributes are
logical columns.</doc>
<doc-deprecated xml:space="preserve">Use vte_terminal_get_text() instead.</doc-deprecated>
<source-position filename="../src/vte/vtedeprecated.h" line="130"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3027">a newly allocated text string, or %NULL.</doc>
<type name="utf8" c:type="char*"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3013">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="is_selected" transfer-ownership="none" nullable="1" allow-none="1" scope="call" closure="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3014">a #VteSelectionFunc callback</doc>
<type name="SelectionFunc" c:type="VteSelectionFunc"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3015">user data to be passed to the callback</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="attributes" direction="out" caller-allocates="1" transfer-ownership="full">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3016">location for storing text attributes</doc>
<array zero-terminated="0" name="GLib.Array" c:type="GArray*">
<type name="CharAttributes"/>
</array>
</parameter>
</parameters>
</method>
<method name="get_text_range" c:identifier="vte_terminal_get_text_range">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3040">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.
This method is unaware of BiDi. The columns passed in @start_col and @end_row,
and returned in @attributes are logical columns.</doc>
<source-position filename="../src/vte/vteterminal.h" line="373"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3062">a newly allocated text string, or %NULL.</doc>
<type name="utf8" c:type="char*"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3042">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="start_row" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3043">first row to search for data</doc>
<type name="glong" c:type="glong"/>
</parameter>
<parameter name="start_col" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3044">first column to search for data</doc>
<type name="glong" c:type="glong"/>
</parameter>
<parameter name="end_row" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3045">last row to search for data</doc>
<type name="glong" c:type="glong"/>
</parameter>
<parameter name="end_col" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3046">last column to search for data</doc>
<type name="glong" c:type="glong"/>
</parameter>
<parameter name="is_selected" transfer-ownership="none" nullable="1" allow-none="1" scope="call" closure="5">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3047">a #VteSelectionFunc callback</doc>
<type name="SelectionFunc" c:type="VteSelectionFunc"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3048">user data to be passed to the callback</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="attributes" direction="out" caller-allocates="1" transfer-ownership="full">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3049">location for storing text attributes</doc>
<array zero-terminated="0" name="GLib.Array" c:type="GArray*">
<type name="CharAttributes"/>
</array>
</parameter>
</parameters>
</method>
<method name="get_window_title" c:identifier="vte_terminal_get_window_title">
<source-position filename="../src/vte/vteterminal.h" line="460"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4448">the window title, or %NULL</doc>
<type name="utf8" c:type="const char*"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4446">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_word_char_exceptions" c:identifier="vte_terminal_get_word_char_exceptions" version="0.40">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4457">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.
If %NULL, a built-in set is used.</doc>
<source-position filename="../src/vte/vteterminal.h" line="199"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4467">a string, or %NULL</doc>
<type name="utf8" c:type="const char*"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4459">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="hyperlink_check_event" c:identifier="vte_terminal_hyperlink_check_event" version="0.50">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2181">Returns a nonempty string: the target of the explicit hyperlink (printed using the OSC 8
escape sequence) at the position of the event, or %NULL.
Proper use of the escape sequence should result in URI-encoded URIs with a proper scheme
like "http://", "https://", "file://", "mailto:" etc. This is, however, not enforced by VTE.
The caller must tolerate the returned string potentially not being a valid URI.</doc>
<source-position filename="../src/vte/vteterminal.h" line="385"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2193">a newly allocated string containing the target of the hyperlink</doc>
<type name="utf8" c:type="char*"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2183">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="event" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2184">a #GdkEvent</doc>
<type name="Gdk.Event" c:type="GdkEvent*"/>
</parameter>
</parameters>
</method>
<method name="match_add_gregex" c:identifier="vte_terminal_match_add_gregex" deprecated="1" deprecated-version="0.46">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2054">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.</doc>
<doc-deprecated xml:space="preserve">Use vte_terminal_match_add_regex() or vte_terminal_match_add_regex_full() instead.</doc-deprecated>
<source-position filename="../src/vte/vtedeprecated.h" line="39"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2064">an integer associated with this expression, or -1 if @gregex could not be
transformed into a #VteRegex or @gflags were incompatible</doc>
<type name="gint" c:type="int"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2056">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="gregex" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2057">a #GRegex</doc>
<type name="GLib.Regex" c:type="GRegex*"/>
</parameter>
<parameter name="gflags" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2058">the #GRegexMatchFlags to use when matching the regex</doc>
<type name="GLib.RegexMatchFlags" c:type="GRegexMatchFlags"/>
</parameter>
</parameters>
</method>
<method name="match_add_regex" c:identifier="vte_terminal_match_add_regex" version="0.46">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2086">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.</doc>
<source-position filename="../src/vte/vteterminal.h" line="391"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2096">an integer associated with this expression</doc>
<type name="gint" c:type="int"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2088">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="regex" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2089">a #VteRegex</doc>
<type name="Regex" c:type="VteRegex*"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2090">PCRE2 match flags, or 0</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
</method>
<method name="match_check" c:identifier="vte_terminal_match_check" deprecated="1" deprecated-version="0.46">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2122">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.
If more than one regular expression has been set with
vte_terminal_match_add(), then expressions are checked in the order in
which they were added.</doc>
<doc-deprecated xml:space="preserve">Use vte_terminal_match_check_event() instead.</doc-deprecated>
<source-position filename="../src/vte/vtedeprecated.h" line="57"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2138">a newly allocated string which matches one of the previously
set regular expressions</doc>
<type name="utf8" c:type="char*"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2124">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="column" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2125">the text column</doc>
<type name="glong" c:type="glong"/>
</parameter>
<parameter name="row" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2126">the text row</doc>
<type name="glong" c:type="glong"/>
</parameter>
<parameter name="tag" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2127">a location to store the tag, or %NULL</doc>
<type name="gint" c:type="int*"/>
</parameter>
</parameters>
</method>
<method name="match_check_event" c:identifier="vte_terminal_match_check_event">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2154">Checks if the text in and around the position of the event 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.
If more than one regular expression has been set with
vte_terminal_match_add(), then expressions are checked in the order in
which they were added.</doc>
<source-position filename="../src/vte/vteterminal.h" line="409"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2169">a newly allocated string which matches one of the previously
set regular expressions</doc>
<type name="utf8" c:type="char*"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2156">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="event" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2157">a #GdkEvent</doc>
<type name="Gdk.Event" c:type="GdkEvent*"/>
</parameter>
<parameter name="tag" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2158">a location to store the tag, or %NULL</doc>
<type name="gint" c:type="int*"/>
</parameter>
</parameters>
</method>
<method name="match_remove" c:identifier="vte_terminal_match_remove">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2335">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.</doc>
<source-position filename="../src/vte/vteterminal.h" line="400"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2337">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="tag" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2338">the tag of the regex to remove</doc>
<type name="gint" c:type="int"/>
</parameter>
</parameters>
</method>
<method name="match_remove_all" c:identifier="vte_terminal_match_remove_all">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2352">Clears the list of regular expressions the terminal uses to highlight text
when the user moves the mouse cursor.</doc>
<source-position filename="../src/vte/vteterminal.h" line="403"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2354">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="match_set_cursor" c:identifier="vte_terminal_match_set_cursor" deprecated="1" deprecated-version="0.40">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2275">Sets which cursor the terminal will use if the pointer is over the pattern
specified by @tag. The terminal keeps a reference to @cursor.</doc>
<doc-deprecated xml:space="preserve">Use vte_terminal_match_set_cursor_name() instead.</doc-deprecated>
<source-position filename="../src/vte/vtedeprecated.h" line="45"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2277">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="tag" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2278">the tag of the regex which should use the specified cursor</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="cursor" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2279">the #GdkCursor which the terminal should use when the pattern is
highlighted, or %NULL to use the standard cursor</doc>
<type name="Gdk.Cursor" c:type="GdkCursor*"/>
</parameter>
</parameters>
</method>
<method name="match_set_cursor_name" c:identifier="vte_terminal_match_set_cursor_name">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2316">Sets which cursor the terminal will use if the pointer is over the pattern
specified by @tag.</doc>
<source-position filename="../src/vte/vteterminal.h" line="396"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2318">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="tag" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2319">the tag of the regex which should use the specified cursor</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="cursor_name" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2320">the name of the cursor</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
</method>
<method name="match_set_cursor_type" c:identifier="vte_terminal_match_set_cursor_type" deprecated="1" deprecated-version="0.54">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2296">Sets which cursor the terminal will use if the pointer is over the pattern
specified by @tag.</doc>
<doc-deprecated xml:space="preserve">Use vte_terminal_match_set_cursor_name() instead.</doc-deprecated>
<source-position filename="../src/vte/vtedeprecated.h" line="51"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2298">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="tag" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2299">the tag of the regex which should use the specified cursor</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="cursor_type" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2300">a #GdkCursorType</doc>
<type name="Gdk.CursorType" c:type="GdkCursorType"/>
</parameter>
</parameters>
</method>
<method name="paste_clipboard" c:identifier="vte_terminal_paste_clipboard">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2021">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.</doc>
<source-position filename="../src/vte/vteterminal.h" line="184"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2023">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="paste_primary" c:identifier="vte_terminal_paste_primary">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2037">Sends the contents of the #GDK_SELECTION_PRIMARY selection to the terminal's
child. The terminal will call also paste the
#GDK_SELECTION_PRIMARY selection when the user clicks with the the second
mouse button.</doc>
<source-position filename="../src/vte/vteterminal.h" line="188"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2039">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="pty_new_sync" c:identifier="vte_terminal_pty_new_sync" throws="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2566">Creates a new #VtePty, and sets the emulation property
from #VteTerminal:emulation.
See vte_pty_new() for more information.</doc>
<source-position filename="../src/vte/vteterminal.h" line="134"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2578">a new #VtePty</doc>
<type name="Pty" c:type="VtePty*"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2568">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2569">flags from #VtePtyFlags</doc>
<type name="PtyFlags" c:type="VtePtyFlags"/>
</parameter>
<parameter name="cancellable" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2570">a #GCancellable, or %NULL</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
</method>
<method name="reset" c:identifier="vte_terminal_reset">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3086">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.</doc>
<source-position filename="../src/vte/vteterminal.h" line="357"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3088">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="clear_tabstops" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3089">whether to reset tabstops</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="clear_history" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3090">whether to empty the terminal's scrollback buffer</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="search_find_next" c:identifier="vte_terminal_search_find_next">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2382">Searches the next string matching the search regex set with
vte_terminal_search_set_regex().</doc>
<source-position filename="../src/vte/vteterminal.h" line="434"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2389">%TRUE if a match was found</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2384">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="search_find_previous" c:identifier="vte_terminal_search_find_previous">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2366">Searches the previous string matching the search regex set with
vte_terminal_search_set_regex().</doc>
<source-position filename="../src/vte/vteterminal.h" line="432"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2373">%TRUE if a match was found</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2368">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="search_get_gregex" c:identifier="vte_terminal_search_get_gregex" deprecated="1" deprecated-version="0.46">
<doc-deprecated xml:space="preserve">use vte_terminal_search_get_regex() instead.</doc-deprecated>
<source-position filename="../src/vte/vtedeprecated.h" line="78"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2467">%NULL</doc>
<type name="GLib.Regex" c:type="GRegex*"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2465">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="search_get_regex" c:identifier="vte_terminal_search_get_regex" version="0.46">
<source-position filename="../src/vte/vteterminal.h" line="425"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2424">the search #VteRegex regex set in @terminal, or %NULL</doc>
<type name="Regex" c:type="VteRegex*"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2422">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="search_get_wrap_around" c:identifier="vte_terminal_search_get_wrap_around">
<source-position filename="../src/vte/vteterminal.h" line="430"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2500">whether searching will wrap around</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2498">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="search_set_gregex" c:identifier="vte_terminal_search_set_gregex" deprecated="1" deprecated-version="0.46">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2437">Sets the #GRegex regex to search for. Unsets the search regex when passed %NULL.</doc>
<doc-deprecated xml:space="preserve">use vte_terminal_search_set_regex() instead.</doc-deprecated>
<source-position filename="../src/vte/vtedeprecated.h" line="72"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2439">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="gregex" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2440">a #GRegex, or %NULL</doc>
<type name="GLib.Regex" c:type="GRegex*"/>
</parameter>
<parameter name="gflags" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2441">flags from #GRegexMatchFlags</doc>
<type name="GLib.RegexMatchFlags" c:type="GRegexMatchFlags"/>
</parameter>
</parameters>
</method>
<method name="search_set_regex" c:identifier="vte_terminal_search_set_regex" version="0.46">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2398">Sets the regex to search for. Unsets the search regex when passed %NULL.</doc>
<source-position filename="../src/vte/vteterminal.h" line="421"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2400">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="regex" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2401">a #VteRegex, or %NULL</doc>
<type name="Regex" c:type="VteRegex*"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2402">PCRE2 match flags, or 0</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
</method>
<method name="search_set_wrap_around" c:identifier="vte_terminal_search_set_wrap_around">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2479">Sets whether search should wrap around to the beginning of the
terminal content when reaching its end.</doc>
<source-position filename="../src/vte/vteterminal.h" line="427"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2481">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="wrap_around" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2482">whether search should wrap</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="select_all" c:identifier="vte_terminal_select_all">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2511">Selects all text within the terminal (including the scrollback buffer).</doc>
<source-position filename="../src/vte/vteterminal.h" line="190"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2513">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_allow_bold" c:identifier="vte_terminal_set_allow_bold">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3180">Controls whether or not the terminal will attempt to draw bold text,
either by using a bold font variant or by repainting text with a different
offset.</doc>
<source-position filename="../src/vte/vteterminal.h" line="306"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3182">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="allow_bold" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3183">%TRUE if the terminal should attempt to draw bold text</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_allow_hyperlink" c:identifier="vte_terminal_set_allow_hyperlink" version="0.50">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3216">Controls whether or not hyperlinks (OSC 8 escape sequence) are allowed.</doc>
<source-position filename="../src/vte/vteterminal.h" line="318"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3218">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="allow_hyperlink" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3219">%TRUE if the terminal should allow hyperlinks</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_audible_bell" c:identifier="vte_terminal_set_audible_bell">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3251">Controls whether or not the terminal will beep when the child outputs the
"bl" sequence.</doc>
<source-position filename="../src/vte/vteterminal.h" line="231"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3253">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="is_audible" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3254">%TRUE if the terminal should beep</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_backspace_binding" c:identifier="vte_terminal_set_backspace_binding">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3269">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.</doc>
<source-position filename="../src/vte/vteterminal.h" line="329"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3271">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="binding" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3272">a #VteEraseBinding for the backspace key</doc>
<type name="EraseBinding" c:type="VteEraseBinding"/>
</parameter>
</parameters>
</method>
<method name="set_bold_is_bright" c:identifier="vte_terminal_set_bold_is_bright" version="0.52">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3307">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.</doc>
<source-position filename="../src/vte/vteterminal.h" line="312"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3309">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="bold_is_bright" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3310">%TRUE if bold should also enable bright</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_cell_height_scale" c:identifier="vte_terminal_set_cell_height_scale" version="0.52">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3980">Sets the terminal's cell height scale to @scale.
This can be used to increase the line spacing. (The font's height is not affected.)
Valid values go from 1.0 (default) to 2.0 ("double spacing").</doc>
<source-position filename="../src/vte/vteterminal.h" line="219"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3982">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="scale" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3983">the cell height scale</doc>
<type name="gdouble" c:type="double"/>
</parameter>
</parameters>
</method>
<method name="set_cell_width_scale" c:identifier="vte_terminal_set_cell_width_scale" version="0.52">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4019">Sets the terminal's cell width scale to @scale.
This can be used to increase the letter spacing. (The font's width is not affected.)
Valid values go from 1.0 (default) to 2.0.</doc>
<source-position filename="../src/vte/vteterminal.h" line="213"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4021">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="scale" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4022">the cell width scale</doc>
<type name="gdouble" c:type="double"/>
</parameter>
</parameters>
</method>
<method name="set_cjk_ambiguous_width" c:identifier="vte_terminal_set_cjk_ambiguous_width">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3378">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.)</doc>
<source-position filename="../src/vte/vteterminal.h" line="439"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3380">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="width" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3381">either 1 (narrow) or 2 (wide)</doc>
<type name="gint" c:type="int"/>
</parameter>
</parameters>
</method>
<method name="set_clear_background" c:identifier="vte_terminal_set_clear_background" version="0.52">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4542">Sets whether to paint the background with the background colour.
The default is %TRUE.
This function is rarely useful. One use for it is to add a background
image to the terminal.</doc>
<source-position filename="../src/vte/vteterminal.h" line="475"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4544">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="setting" transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_color_background" c:identifier="vte_terminal_set_color_background">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3398">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.</doc>
<source-position filename="../src/vte/vteterminal.h" line="254"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3400">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="background" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3401">the new background color</doc>
<type name="Gdk.RGBA" c:type="const GdkRGBA*"/>
</parameter>
</parameters>
</method>
<method name="set_color_bold" c:identifier="vte_terminal_set_color_bold">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3420">Sets the color used to draw bold text in the default foreground color.
If @bold is %NULL then the default color is used.</doc>
<source-position filename="../src/vte/vteterminal.h" line="248"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3422">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="bold" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3423">the new bold color or %NULL</doc>
<type name="Gdk.RGBA" c:type="const GdkRGBA*"/>
</parameter>
</parameters>
</method>
<method name="set_color_cursor" c:identifier="vte_terminal_set_color_cursor">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3442">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.</doc>
<source-position filename="../src/vte/vteterminal.h" line="257"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3444">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="cursor_background" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3445">the new color to use for the text cursor, or %NULL</doc>
<type name="Gdk.RGBA" c:type="const GdkRGBA*"/>
</parameter>
</parameters>
</method>
<method name="set_color_cursor_foreground" c:identifier="vte_terminal_set_color_cursor_foreground" version="0.44">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3465">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.</doc>
<source-position filename="../src/vte/vteterminal.h" line="260"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3467">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="cursor_foreground" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3468">the new color to use for the text cursor, or %NULL</doc>
<type name="Gdk.RGBA" c:type="const GdkRGBA*"/>
</parameter>
</parameters>
</method>
<method name="set_color_foreground" c:identifier="vte_terminal_set_color_foreground">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3490">Sets the foreground color used to draw normal text.</doc>
<source-position filename="../src/vte/vteterminal.h" line="251"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3492">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="foreground" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3493">the new foreground color</doc>
<type name="Gdk.RGBA" c:type="const GdkRGBA*"/>
</parameter>
</parameters>
</method>
<method name="set_color_highlight" c:identifier="vte_terminal_set_color_highlight">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3508">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.</doc>
<source-position filename="../src/vte/vteterminal.h" line="263"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3510">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="highlight_background" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3511">the new color to use for highlighted text, or %NULL</doc>
<type name="Gdk.RGBA" c:type="const GdkRGBA*"/>
</parameter>
</parameters>
</method>
<method name="set_color_highlight_foreground" c:identifier="vte_terminal_set_color_highlight_foreground">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3532">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.</doc>
<source-position filename="../src/vte/vteterminal.h" line="266"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3534">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="highlight_foreground" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3535">the new color to use for highlighted text, or %NULL</doc>
<type name="Gdk.RGBA" c:type="const GdkRGBA*"/>
</parameter>
</parameters>
</method>
<method name="set_colors" c:identifier="vte_terminal_set_colors">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3556">@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.
@palette_size must be 0, 8, 16, 232 or 256.
If @foreground is %NULL and @palette_size is greater than 0, the new foreground
color is taken from @palette[7]. If @background is %NULL and @palette_size is
greater than 0, the new background color is taken from @palette[0].</doc>
<source-position filename="../src/vte/vteterminal.h" line="269"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3558">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="foreground" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3559">the new foreground color, or %NULL</doc>
<type name="Gdk.RGBA" c:type="const GdkRGBA*"/>
</parameter>
<parameter name="background" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3560">the new background color, or %NULL</doc>
<type name="Gdk.RGBA" c:type="const GdkRGBA*"/>
</parameter>
<parameter name="palette" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3561">the color palette</doc>
<array length="3" zero-terminated="0" c:type="const GdkRGBA*">
<type name="Gdk.RGBA"/>
</array>
</parameter>
<parameter name="palette_size" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3562">the number of entries in @palette</doc>
<type name="gsize" c:type="gsize"/>
</parameter>
</parameters>
</method>
<method name="set_cursor_blink_mode" c:identifier="vte_terminal_set_cursor_blink_mode">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3687">Sets whether or not the cursor will blink. Using %VTE_CURSOR_BLINK_SYSTEM
will use the #GtkSettings::gtk-cursor-blink setting.</doc>
<source-position filename="../src/vte/vteterminal.h" line="280"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3689">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="mode" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3690">the #VteCursorBlinkMode to use</doc>
<type name="CursorBlinkMode" c:type="VteCursorBlinkMode"/>
</parameter>
</parameters>
</method>
<method name="set_cursor_shape" c:identifier="vte_terminal_set_cursor_shape">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3722">Sets the shape of the cursor drawn.</doc>
<source-position filename="../src/vte/vteterminal.h" line="287"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3724">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="shape" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3725">the #VteCursorShape to use</doc>
<type name="CursorShape" c:type="VteCursorShape"/>
</parameter>
</parameters>
</method>
<method name="set_default_colors" c:identifier="vte_terminal_set_default_colors">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3614">Reset the terminal palette to reasonable compiled-in default color.</doc>
<source-position filename="../src/vte/vteterminal.h" line="276"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3616">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_delete_binding" c:identifier="vte_terminal_set_delete_binding">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3739">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.</doc>
<source-position filename="../src/vte/vteterminal.h" line="332"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3741">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="binding" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3742">a #VteEraseBinding for the delete key</doc>
<type name="EraseBinding" c:type="VteEraseBinding"/>
</parameter>
</parameters>
</method>
<method name="set_enable_bidi" c:identifier="vte_terminal_set_enable_bidi" version="0.58">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3776">Controls whether or not the terminal will perform bidirectional text rendering.</doc>
<source-position filename="../src/vte/vteterminal.h" line="337"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3778">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="enable_bidi" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3779">%TRUE to enable BiDi support</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_enable_shaping" c:identifier="vte_terminal_set_enable_shaping" version="0.58">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3812">Controls whether or not the terminal will shape Arabic text.</doc>
<source-position filename="../src/vte/vteterminal.h" line="343"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3814">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="enable_shaping" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3815">%TRUE to enable Arabic shaping</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_encoding" c:identifier="vte_terminal_set_encoding" deprecated="1" deprecated-version="0.54" throws="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3849">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".
Note: Support for non-UTF-8 is deprecated and may get removed altogether.
Instead of this function, you should use a wrapper like luit(1) when
spawning the child process.</doc>
<doc-deprecated xml:space="preserve">Support for non-UTF-8 is deprecated.</doc-deprecated>
<source-position filename="../src/vte/vtedeprecated.h" line="120"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3863">%TRUE if the encoding could be changed to the specified one,
or %FALSE with @error set to %G_CONVERT_ERROR_NO_CONVERSION.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3851">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="codeset" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3852">a valid #GIConv target, or %NULL to use UTF-8</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
</method>
<method name="set_font" c:identifier="vte_terminal_set_font">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3911">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.</doc>
<source-position filename="../src/vte/vteterminal.h" line="301"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3913">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="font_desc" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3914">a #PangoFontDescription for the desired font, or %NULL</doc>
<type name="Pango.FontDescription" c:type="const PangoFontDescription*"/>
</parameter>
</parameters>
</method>
<method name="set_font_scale" c:identifier="vte_terminal_set_font_scale">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3946">Sets the terminal's font scale to @scale.</doc>
<source-position filename="../src/vte/vteterminal.h" line="207"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3948">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="scale" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3949">the font scale</doc>
<type name="gdouble" c:type="gdouble"/>
</parameter>
</parameters>
</method>
<method name="set_geometry_hints_for_window" c:identifier="vte_terminal_set_geometry_hints_for_window" deprecated="1" deprecated-version="0.52">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4102">Sets @terminal as @window's geometry widget. See
gtk_window_set_geometry_hints() for more information.
@terminal must be realized (see gtk_widget_get_realized()).</doc>
<source-position filename="../src/vte/vtedeprecated.h" line="111"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4104">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="window" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4105">a #GtkWindow</doc>
<type name="Gtk.Window" c:type="GtkWindow*"/>
</parameter>
</parameters>
</method>
<method name="set_input_enabled" c:identifier="vte_terminal_set_input_enabled">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4181">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.</doc>
<source-position filename="../src/vte/vteterminal.h" line="468"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4183">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4184">whether to enable user input</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_mouse_autohide" c:identifier="vte_terminal_set_mouse_autohide">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4218">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().</doc>
<source-position filename="../src/vte/vteterminal.h" line="350"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4220">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="setting" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4221">whether the mouse pointer should autohide</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_pty" c:identifier="vte_terminal_set_pty">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4237">Sets @pty as the PTY to use in @terminal.
Use %NULL to unset the PTY.</doc>
<source-position filename="../src/vte/vteterminal.h" line="445"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4239">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="pty" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4240">a #VtePty, or %NULL</doc>
<type name="Pty" c:type="VtePty*"/>
</parameter>
</parameters>
</method>
<method name="set_rewrap_on_resize" c:identifier="vte_terminal_set_rewrap_on_resize" deprecated="1" deprecated-version="0.58">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4294">Controls whether or not the terminal will rewrap its contents, including
the scrollback history, whenever the terminal's width changes.</doc>
<source-position filename="../src/vte/vtedeprecated.h" line="137"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4296">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="rewrap" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4297">%TRUE if the terminal should rewrap on resize</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_scroll_on_keystroke" c:identifier="vte_terminal_set_scroll_on_keystroke">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4374">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.</doc>
<source-position filename="../src/vte/vteterminal.h" line="241"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4376">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="scroll" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4377">whether the terminal should scroll on keystrokes</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_scroll_on_output" c:identifier="vte_terminal_set_scroll_on_output">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4410">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.</doc>
<source-position filename="../src/vte/vteterminal.h" line="236"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4412">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="scroll" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4413">whether the terminal should scroll on output</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_scrollback_lines" c:identifier="vte_terminal_set_scrollback_lines">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4328">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.
A negative value means "infinite scrollback".
Note that this setting only affects the normal screen buffer.
No scrollback is allowed on the alternate screen buffer.</doc>
<source-position filename="../src/vte/vteterminal.h" line="294"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4330">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="lines" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4331">the length of the history buffer</doc>
<type name="glong" c:type="glong"/>
</parameter>
</parameters>
</method>
<method name="set_size" c:identifier="vte_terminal_set_size">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3107">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.</doc>
<source-position filename="../src/vte/vteterminal.h" line="203"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3109">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="columns" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3110">the desired number of columns</doc>
<type name="glong" c:type="glong"/>
</parameter>
<parameter name="rows" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3111">the desired number of rows</doc>
<type name="glong" c:type="glong"/>
</parameter>
</parameters>
</method>
<method name="set_text_blink_mode" c:identifier="vte_terminal_set_text_blink_mode" version="0.52">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3144">Controls whether or not the terminal will allow blinking text.</doc>
<source-position filename="../src/vte/vteterminal.h" line="226"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3146">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="text_blink_mode" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="3147">the #VteTextBlinkMode to use</doc>
<type name="TextBlinkMode" c:type="VteTextBlinkMode"/>
</parameter>
</parameters>
</method>
<method name="set_word_char_exceptions" c:identifier="vte_terminal_set_word_char_exceptions" version="0.40">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4480">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.
The characters in @exceptions must be non-alphanumeric, each character
must occur only once, and if @exceptions contains the character
U+002D HYPHEN-MINUS, it must be at the start of the string.
Use %NULL to reset the set of exception characters to the default.</doc>
<source-position filename="../src/vte/vteterminal.h" line="196"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4482">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="exceptions" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4483">a string of ASCII punctuation characters, or %NULL</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
</method>
<method name="spawn_async" c:identifier="vte_terminal_spawn_async" version="0.48">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2795">A convenience function that wraps creating the #VtePty and spawning
the child process on it. See vte_pty_new_sync(), vte_pty_spawn_async(),
and vte_pty_spawn_finish() for more information.
When the operation is finished successfully, @callback will be called
with the child #GPid, and a %NULL #GError. The child PID will already be
watched via vte_terminal_watch_child().
When the operation fails, @callback will be called with a -1 #GPid,
and a non-%NULL #GError containing the error information.
Note that if @terminal has been destroyed before the operation is called,
@callback will be called with a %NULL @terminal; you must not do anything
in the callback besides freeing any resources associated with @user_data,
but taking care not to access the now-destroyed #VteTerminal. Note that
in this case, if spawning was successful, the child process will be aborted
automatically.
Beginning with 0.52, sets PWD to @working_directory in order to preserve symlink components.
The caller should also make sure that symlinks were preserved while constructing the value of @working_directory,
e.g. by using vte_terminal_get_current_directory_uri(), g_get_current_dir() or get_current_dir_name().</doc>
<source-position filename="../src/vte/vteterminal.h" line="149"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2797">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="pty_flags" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2798">flags from #VtePtyFlags</doc>
<type name="PtyFlags" c:type="VtePtyFlags"/>
</parameter>
<parameter name="working_directory" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2799">the name of a directory the command should start
in, or %NULL to use the current working directory</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="argv" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2801">child's argument vector</doc>
<array c:type="char**">
<type name="filename"/>
</array>
</parameter>
<parameter name="envv" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2802">a list of environment
variables to be added to the environment before starting the process, or %NULL</doc>
<array c:type="char**">
<type name="filename"/>
</array>
</parameter>
<parameter name="spawn_flags_" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2804">flags from #GSpawnFlags</doc>
<type name="GLib.SpawnFlags" c:type="GSpawnFlags"/>
</parameter>
<parameter name="child_setup" transfer-ownership="none" nullable="1" allow-none="1" scope="notified" closure="6" destroy="7">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2805">an extra child setup function to run in the child just before exec(), or %NULL</doc>
<type name="GLib.SpawnChildSetupFunc" c:type="GSpawnChildSetupFunc"/>
</parameter>
<parameter name="child_setup_data" transfer-ownership="none" nullable="1" allow-none="1" scope="notified" closure="5">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2806">user data for @child_setup, or %NULL</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="child_setup_data_destroy" transfer-ownership="none" scope="async" destroy="6">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2807">a #GDestroyNotify for @child_setup_data, or %NULL</doc>
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
<parameter name="timeout" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2808">a timeout value in ms, or -1 to wait indefinitely</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="cancellable" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2809">a #GCancellable, or %NULL</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback" transfer-ownership="none" nullable="1" allow-none="1" scope="async" closure="11">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2810">a #VteTerminalSpawnAsyncCallback, or %NULL</doc>
<type name="TerminalSpawnAsyncCallback" c:type="VteTerminalSpawnAsyncCallback"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1" closure="10">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2811">user data for @callback, or %NULL</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<method name="spawn_sync" c:identifier="vte_terminal_spawn_sync" deprecated="1" deprecated-version="0.48" throws="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2627">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.
Note that %G_SPAWN_DO_NOT_REAP_CHILD will always be added to @spawn_flags.
Note that all open file descriptors will be closed in the child. If you want
to keep some file descriptor open for use in the child process, you need to
use a child setup function that unsets the FD_CLOEXEC flag on that file
descriptor.
See vte_pty_new(), g_spawn_async() and vte_terminal_watch_child() for more information.
Beginning with 0.52, sets PWD to @working_directory in order to preserve symlink components.
The caller should also make sure that symlinks were preserved while constructing the value of @working_directory,
e.g. by using vte_terminal_get_current_directory_uri(), g_get_current_dir() or get_current_dir_name().</doc>
<doc-deprecated xml:space="preserve">Use vte_terminal_spawn_async() instead.</doc-deprecated>
<source-position filename="../src/vte/vtedeprecated.h" line="82"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2662">%TRUE on success, or %FALSE on error with @error filled in</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2629">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="pty_flags" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2630">flags from #VtePtyFlags</doc>
<type name="PtyFlags" c:type="VtePtyFlags"/>
</parameter>
<parameter name="working_directory" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2631">the name of a directory the command should start
in, or %NULL to use the current working directory</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="argv" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2633">child's argument vector</doc>
<array c:type="char**">
<type name="filename"/>
</array>
</parameter>
<parameter name="envv" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2634">a list of environment
variables to be added to the environment before starting the process, or %NULL</doc>
<array c:type="char**">
<type name="filename"/>
</array>
</parameter>
<parameter name="spawn_flags" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2636">flags from #GSpawnFlags</doc>
<type name="GLib.SpawnFlags" c:type="GSpawnFlags"/>
</parameter>
<parameter name="child_setup" transfer-ownership="none" nullable="1" allow-none="1" scope="call" closure="6">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2637">an extra child setup function to run in the child just before exec(), or %NULL</doc>
<type name="GLib.SpawnChildSetupFunc" c:type="GSpawnChildSetupFunc"/>
</parameter>
<parameter name="child_setup_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2638">user data for @child_setup</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="child_pid" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2639">a location to store the child PID, or %NULL</doc>
<type name="GLib.Pid" c:type="GPid*"/>
</parameter>
<parameter name="cancellable" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2640">a #GCancellable, or %NULL</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
</method>
<method name="unselect_all" c:identifier="vte_terminal_unselect_all">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2525">Clears the current selection.</doc>
<source-position filename="../src/vte/vteterminal.h" line="192"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2527">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="watch_child" c:identifier="vte_terminal_watch_child">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2595">Watches @child_pid. When the process exists, the #VteTerminal::child-exited
signal will be called with the child's exit status.
Prior to calling this function, a #VtePty must have been set in @terminal
using vte_terminal_set_pty().
When the child exits, the terminal's #VtePty will be set to %NULL.
Note: g_child_watch_add() or g_child_watch_add_full() must not have
been called for @child_pid, nor a #GSource for it been created with
g_child_watch_source_new().
Note: when using the g_spawn_async() family of functions,
the %G_SPAWN_DO_NOT_REAP_CHILD flag MUST have been passed.</doc>
<source-position filename="../src/vte/vteterminal.h" line="140"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2597">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="child_pid" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2598">a #GPid</doc>
<type name="GLib.Pid" c:type="GPid"/>
</parameter>
</parameters>
</method>
<method name="write_contents_sync" c:identifier="vte_terminal_write_contents_sync" throws="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4508">Write contents of the current contents of @terminal (including any
scrollback history) to @stream according to @flags.
If @cancellable is not %NULL, then the operation can be cancelled by triggering
the cancellable object from another thread. If the operation was cancelled,
the error %G_IO_ERROR_CANCELLED will be returned in @error.
This is a synchronous operation and will make the widget (and input
processing) during the write operation, which may take a long time
depending on scrollback history and @stream availability for writing.</doc>
<source-position filename="../src/vte/vteterminal.h" line="483"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4527">%TRUE on success, %FALSE if there was an error</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4510">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="stream" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4511">a #GOutputStream to write to</doc>
<type name="Gio.OutputStream" c:type="GOutputStream*"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4512">a set of #VteWriteFlags</doc>
<type name="WriteFlags" c:type="VteWriteFlags"/>
</parameter>
<parameter name="cancellable" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="4513">a #GCancellable object, or %NULL</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
</method>
<property name="allow-bold" writable="1" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1417">Controls whether or not the terminal will attempt to draw bold text.
This may happen either by using a bold font variant, or by
repainting text with a different offset.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="allow-hyperlink" version="0.50" writable="1" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1429">Controls whether or not hyperlinks (OSC 8 escape sequence) are recognized and displayed.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="audible-bell" writable="1" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1441">Controls whether or not the terminal will beep when the child outputs the
"bl" sequence.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="backspace-binding" writable="1" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1452">Controls what string or control sequence the terminal sends to its child
when the user presses the backspace key.</doc>
<type name="EraseBinding"/>
</property>
<property name="bold-is-bright" version="0.52" writable="1" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1464">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.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="cell-height-scale" version="0.52" writable="1" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1478">Scale factor for the cell height, to increase line spacing. (The font's height is not affected.)</doc>
<type name="gdouble" c:type="gdouble"/>
</property>
<property name="cell-width-scale" version="0.52" writable="1" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1492">Scale factor for the cell width, to increase letter spacing. (The font's width is not affected.)</doc>
<type name="gdouble" c:type="gdouble"/>
</property>
<property name="cjk-ambiguous-width" writable="1" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1506">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().</doc>
<type name="gint" c:type="gint"/>
</property>
<property name="current-directory-uri" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1742">The current directory URI, or %NULL if unset.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="current-file-uri" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1752">The current file URI, or %NULL if unset.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="cursor-blink-mode" writable="1" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1522">Sets whether or not the cursor will blink. Using %VTE_CURSOR_BLINK_SYSTEM
will use the #GtkSettings::gtk-cursor-blink setting.</doc>
<type name="CursorBlinkMode"/>
</property>
<property name="cursor-shape" writable="1" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1534">Controls the shape of the cursor.</doc>
<type name="CursorShape"/>
</property>
<property name="delete-binding" writable="1" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1545">Controls what string or control sequence the terminal sends to its child
when the user presses the delete key.</doc>
<type name="EraseBinding"/>
</property>
<property name="enable-bidi" version="0.58" writable="1" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1557">Controls whether or not the terminal will perform bidirectional text rendering.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="enable-shaping" version="0.58" writable="1" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1569">Controls whether or not the terminal will shape Arabic text.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="encoding" deprecated="1" deprecated-version="0.54" writable="1" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1593">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.</doc>
<doc-deprecated xml:space="preserve">Instead of using this, you should use a tool like
luit(1) when support for non-UTF-8 is required</doc-deprecated>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="font-desc" writable="1" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1609">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.</doc>
<type name="Pango.FontDescription"/>
</property>
<property name="font-scale" writable="1" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1581">The terminal's font scale.</doc>
<type name="gdouble" c:type="gdouble"/>
</property>
<property name="hyperlink-hover-uri" version="0.50" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1762">The currently hovered hyperlink URI, or %NULL if unset.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="icon-title" deprecated="1" deprecated-version="0.54" transfer-ownership="none">
<doc-deprecated xml:space="preserve">This property is always %NULL.</doc-deprecated>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="input-enabled" writable="1" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1633">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.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="pointer-autohide" writable="1" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1645">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.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="pty" writable="1" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1657">The PTY object for the terminal.</doc>
<type name="Pty"/>
</property>
<property name="rewrap-on-resize" deprecated="1" deprecated-version="0.58" writable="1" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1667">Controls whether or not the terminal will rewrap its contents, including
the scrollback buffer, whenever the terminal's width changes.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="scroll-on-keystroke" writable="1" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1696">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.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="scroll-on-output" writable="1" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1708">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.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="scrollback-lines" writable="1" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1680">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.</doc>
<type name="guint" c:type="guint"/>
</property>
<property name="text-blink-mode" version="0.52" writable="1" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1719">Controls whether or not the terminal will allow blinking text.</doc>
<type name="TextBlinkMode"/>
</property>
<property name="window-title" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1732">The terminal's title.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="word-char-exceptions" version="0.40" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1774">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 %NULL, a built-in set is used.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<field name="widget">
<type name="Gtk.Widget" c:type="GtkWidget"/>
</field>
<field name="_unused_padding" readable="0" private="1">
<array zero-terminated="0" fixed-size="1">
<type name="gpointer" c:type="gpointer*"/>
</array>
</field>
<glib:signal name="bell" when="last">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1397">This signal is emitted when the a child sends a bell request to the
terminal.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="char-size-changed" when="last">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="978">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".</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="width" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="981">the new character cell width</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="height" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="982">the new character cell height</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="child-exited" when="last">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="806">This signal is emitted when the terminal detects that a child
watched using vte_terminal_watch_child() has exited.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="status" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="809">the child's exit status</doc>
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="commit" when="last">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="955">Emitted whenever the terminal receives input from the user and
prepares to send it to the child process. The signal is emitted even
when there is no child process.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="text" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="958">a string of text</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="size" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="959">the length of that string of text</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="contents-changed" when="last">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1021">Emitted whenever the visible appearance of the terminal has changed.
Used primarily by #VteTerminalAccessible.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="copy-clipboard" when="last" action="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1359">Emitted whenever vte_terminal_copy_clipboard() is called.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="current-directory-uri-changed" when="last">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="866">Emitted when the current directory URI is modified.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="current-file-uri-changed" when="last">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="885">Emitted when the current file URI is modified.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="cursor-moved" when="last">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1041">Emitted whenever the cursor moves to a new character cell. Used
primarily by #VteTerminalAccessible.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="decrease-font-size" when="last">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1255">Emitted when the user hits the '-' key while holding the Control key.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="deiconify-window" when="last">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1061">Emitted at the child application's request.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="encoding-changed" when="last">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="934">Emitted whenever the terminal's current encoding has changed.
Note: support for non-UTF-8 is deprecated.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="eof" when="last">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="785">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.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="hyperlink-hover-uri-changed" when="last" version="0.50">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="904">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.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="uri" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="907">the nonempty target URI under the mouse, or NULL</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="bbox" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="908">the bounding box of the hyperlink anchor text, or NULL</doc>
<type name="Gdk.Rectangle"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="icon-title-changed" when="last" deprecated="1" deprecated-version="0.54">
<doc-deprecated xml:space="preserve">This signal is never emitted.</doc-deprecated>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="iconify-window" when="last">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1080">Emitted at the child application's request.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="increase-font-size" when="last">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1236">Emitted when the user hits the '+' key while holding the Control key.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="lower-window" when="last">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1118">Emitted at the child application's request.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="maximize-window" when="last">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1175">Emitted at the child application's request.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="move-window" when="last">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1215">Emitted at the child application's request.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="x" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1218">the terminal's desired location, X coordinate</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="y" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1219">the terminal's desired location, Y coordinate</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="paste-clipboard" when="last" action="1">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1378">Emitted whenever vte_terminal_paste_clipboard() is called.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="raise-window" when="last">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1099">Emitted at the child application's request.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="refresh-window" when="last">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1137">Emitted at the child application's request.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="resize-window" when="last">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1194">Emitted at the child application's request.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="width" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1197">the desired number of columns</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="height" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1198">the desired number of rows</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="restore-window" when="last">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1156">Emitted at the child application's request.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="selection-changed" when="last">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1002">Emitted whenever the contents of terminal's selection changes.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="text-deleted" when="last">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1316">An internal signal used for communication between the terminal and
its accessibility peer. May not be emitted under certain
circumstances.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="text-inserted" when="last">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1295">An internal signal used for communication between the terminal and
its accessibility peer. May not be emitted under certain
circumstances.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="text-modified" when="last">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1274">An internal signal used for communication between the terminal and
its accessibility peer. May not be emitted under certain
circumstances.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="text-scrolled" when="last">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1337">An internal signal used for communication between the terminal and
its accessibility peer. May not be emitted under certain
circumstances.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="delta" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1340">the number of lines scrolled</doc>
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="window-title-changed" when="last">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="828">Emitted when the terminal's %window_title field is modified.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
</class>
<record name="TerminalClass" c:type="VteTerminalClass" glib:is-gtype-struct-for="Terminal">
<doc xml:space="preserve" filename="../src/vte/vteterminal.h" line="59">All of these fields should be considered read-only, except for derived classes.</doc>
<source-position filename="../src/vte/vteterminal.h" line="111"/>
<field name="parent_class">
<type name="Gtk.WidgetClass" c:type="GtkWidgetClass"/>
</field>
<field name="eof">
<callback name="eof">
<source-position filename="../src/vte/vteterminal.h" line="71"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="child_exited">
<callback name="child_exited">
<source-position filename="../src/vte/vteterminal.h" line="72"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</parameter>
<parameter name="status" transfer-ownership="none">
<type name="gint" c:type="int"/>
</parameter>
</parameters>
</callback>
</field>
<field name="encoding_changed">
<callback name="encoding_changed">
<source-position filename="../src/vte/vteterminal.h" line="73"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="char_size_changed">
<callback name="char_size_changed">
<source-position filename="../src/vte/vteterminal.h" line="74"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</parameter>
<parameter name="char_width" transfer-ownership="none">
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="char_height" transfer-ownership="none">
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</callback>
</field>
<field name="window_title_changed">
<callback name="window_title_changed">
<source-position filename="../src/vte/vteterminal.h" line="75"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="icon_title_changed">
<callback name="icon_title_changed">
<source-position filename="../src/vte/vteterminal.h" line="76"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="selection_changed">
<callback name="selection_changed">
<source-position filename="../src/vte/vteterminal.h" line="77"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="contents_changed">
<callback name="contents_changed">
<source-position filename="../src/vte/vteterminal.h" line="78"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="cursor_moved">
<callback name="cursor_moved">
<source-position filename="../src/vte/vteterminal.h" line="79"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="commit">
<callback name="commit">
<source-position filename="../src/vte/vteterminal.h" line="80"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</parameter>
<parameter name="text" transfer-ownership="none">
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="size" transfer-ownership="none">
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</callback>
</field>
<field name="deiconify_window">
<callback name="deiconify_window">
<source-position filename="../src/vte/vteterminal.h" line="82"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="iconify_window">
<callback name="iconify_window">
<source-position filename="../src/vte/vteterminal.h" line="83"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="raise_window">
<callback name="raise_window">
<source-position filename="../src/vte/vteterminal.h" line="84"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="lower_window">
<callback name="lower_window">
<source-position filename="../src/vte/vteterminal.h" line="85"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="refresh_window">
<callback name="refresh_window">
<source-position filename="../src/vte/vteterminal.h" line="86"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="restore_window">
<callback name="restore_window">
<source-position filename="../src/vte/vteterminal.h" line="87"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="maximize_window">
<callback name="maximize_window">
<source-position filename="../src/vte/vteterminal.h" line="88"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="resize_window">
<callback name="resize_window">
<source-position filename="../src/vte/vteterminal.h" line="89"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</parameter>
<parameter name="width" transfer-ownership="none">
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="height" transfer-ownership="none">
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</callback>
</field>
<field name="move_window">
<callback name="move_window">
<source-position filename="../src/vte/vteterminal.h" line="90"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</parameter>
<parameter name="x" transfer-ownership="none">
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="y" transfer-ownership="none">
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</callback>
</field>
<field name="increase_font_size">
<callback name="increase_font_size">
<source-position filename="../src/vte/vteterminal.h" line="95"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="decrease_font_size">
<callback name="decrease_font_size">
<source-position filename="../src/vte/vteterminal.h" line="96"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="text_modified">
<callback name="text_modified">
<source-position filename="../src/vte/vteterminal.h" line="98"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="text_inserted">
<callback name="text_inserted">
<source-position filename="../src/vte/vteterminal.h" line="99"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="text_deleted">
<callback name="text_deleted">
<source-position filename="../src/vte/vteterminal.h" line="100"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="text_scrolled">
<callback name="text_scrolled">
<source-position filename="../src/vte/vteterminal.h" line="101"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</parameter>
<parameter name="delta" transfer-ownership="none">
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</callback>
</field>
<field name="copy_clipboard">
<callback name="copy_clipboard">
<source-position filename="../src/vte/vteterminal.h" line="102"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1962">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="paste_clipboard">
<callback name="paste_clipboard">
<source-position filename="../src/vte/vteterminal.h" line="103"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2023">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="bell">
<callback name="bell">
<source-position filename="../src/vte/vteterminal.h" line="105"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="terminal" transfer-ownership="none">
<type name="Terminal" c:type="VteTerminal*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="padding">
<array zero-terminated="0" fixed-size="16">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
<field name="priv">
<type name="TerminalClassPrivate" c:type="VteTerminalClassPrivate*"/>
</field>
</record>
<record name="TerminalClassPrivate" c:type="VteTerminalClassPrivate" disguised="1">
<source-position filename="../src/vte/vteterminal.h" line="47"/>
</record>
<callback name="TerminalSpawnAsyncCallback" c:type="VteTerminalSpawnAsyncCallback" version="0.48">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2779">Callback for vte_terminal_spawn_async().
On success, @pid contains the PID of the spawned process, and @error
is %NULL.
On failure, @pid is -1 and @error contains the error information.</doc>
<source-position filename="../src/vte/vteterminal.h" line="143"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2781">the #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</parameter>
<parameter name="pid" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2782">a #GPid</doc>
<type name="GLib.Pid" c:type="GPid"/>
</parameter>
<parameter name="error" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2783">a #GError, or %NULL</doc>
<type name="GLib.Error" c:type="GError*"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1" closure="3">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="2784">user data that was passed to vte_terminal_spawn_async</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</callback>
<enumeration name="TextBlinkMode" version="0.52" glib:type-name="VteTextBlinkMode" glib:get-type="vte_text_blink_mode_get_type" c:type="VteTextBlinkMode">
<doc xml:space="preserve" filename="../src/vte/vteenums.h" line="61">An enumerated type which can be used to indicate whether the terminal allows
the text contents to be blinked.</doc>
<member name="never" value="0" c:identifier="VTE_TEXT_BLINK_NEVER" glib:nick="never">
<doc xml:space="preserve" filename="../src/vte/vteenums.h" line="63">Do not blink the text.</doc>
</member>
<member name="focused" value="1" c:identifier="VTE_TEXT_BLINK_FOCUSED" glib:nick="focused">
<doc xml:space="preserve" filename="../src/vte/vteenums.h" line="64">Allow blinking text only if the terminal is focused.</doc>
</member>
<member name="unfocused" value="2" c:identifier="VTE_TEXT_BLINK_UNFOCUSED" glib:nick="unfocused">
<doc xml:space="preserve" filename="../src/vte/vteenums.h" line="65">Allow blinking text only if the terminal is unfocused.</doc>
</member>
<member name="always" value="3" c:identifier="VTE_TEXT_BLINK_ALWAYS" glib:nick="always">
<doc xml:space="preserve" filename="../src/vte/vteenums.h" line="66">Allow blinking text. This is the default.</doc>
</member>
</enumeration>
<enumeration name="WriteFlags" glib:type-name="VteWriteFlags" glib:get-type="vte_write_flags_get_type" c:type="VteWriteFlags">
<doc xml:space="preserve" filename="../src/vte/vteenums.h" line="134">A flag type to determine how terminal contents should be written
to an output stream.</doc>
<member name="default" value="0" c:identifier="VTE_WRITE_DEFAULT" glib:nick="default">
<doc xml:space="preserve" filename="../src/vte/vteenums.h" line="136">Write contents as UTF-8 text. This is the default.</doc>
</member>
</enumeration>
<function name="get_features" c:identifier="vte_get_features" version="0.40">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1826">Gets a list of features vte was compiled with.</doc>
<source-position filename="../src/vte/vteglobals.h" line="32"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1831">a string with features</doc>
<type name="utf8" c:type="const char*"/>
</return-value>
</function>
<function name="get_major_version" c:identifier="vte_get_major_version" version="0.40">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1853">Returns the major version of the VTE library at runtime.
Contrast this with %VTE_MAJOR_VERSION which represents
the version of the VTE library that the code was compiled
with.</doc>
<source-position filename="../src/vte/vteversion.h" line="79"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1861">the major version</doc>
<type name="guint" c:type="guint"/>
</return-value>
</function>
<function name="get_micro_version" c:identifier="vte_get_micro_version" version="0.40">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1889">Returns the micro version of the VTE library at runtime.
Contrast this with %VTE_MICRO_VERSION which represents
the version of the VTE library that the code was compiled
with.</doc>
<source-position filename="../src/vte/vteversion.h" line="85"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1897">the micro version</doc>
<type name="guint" c:type="guint"/>
</return-value>
</function>
<function name="get_minor_version" c:identifier="vte_get_minor_version" version="0.40">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1871">Returns the minor version of the VTE library at runtime.
Contrast this with %VTE_MINOR_VERSION which represents
the version of the VTE library that the code was compiled
with.</doc>
<source-position filename="../src/vte/vteversion.h" line="82"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1879">the minor version</doc>
<type name="guint" c:type="guint"/>
</return-value>
</function>
<function name="get_user_shell" c:identifier="vte_get_user_shell">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1907">Gets the user's shell, or %NULL. In the latter case, the
system default (usually "/bin/sh") should be used.</doc>
<source-position filename="../src/vte/vteglobals.h" line="29"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1913">a newly allocated string with the
user's shell, or %NULL</doc>
<type name="filename" c:type="char*"/>
</return-value>
</function>
<function name="pty_error_quark" c:identifier="vte_pty_error_quark" moved-to="PtyError.quark">
<doc xml:space="preserve" filename="../src/pty.cc" line="1000">Error domain for VTE PTY errors. Errors in this domain will be from the #VtePtyError
enumeration. See #GError for more information on error domains.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../src/pty.cc" line="1006">the error domain for VTE PTY errors</doc>
<type name="GLib.Quark" c:type="GQuark"/>
</return-value>
</function>
<function name="regex_error_quark" c:identifier="vte_regex_error_quark" moved-to="RegexError.quark">
<return-value transfer-ownership="none">
<type name="GLib.Quark" c:type="GQuark"/>
</return-value>
</function>
<function name="set_test_flags" c:identifier="vte_set_test_flags" version="0.54" introspectable="0">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1928">Sets test flags. This function is only useful for implementing
unit tests for vte itself; it is a no-op in non-debug builds.</doc>
<source-position filename="../src/vte/vteglobals.h" line="38"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve" filename="../src/vtegtk.cc" line="1930">flags</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
</parameters>
</function>
</namespace>
</repository>