Pty
Object Hierarchy:
Description:
[
CCode ( type_id =
"vte_pty_get_type ()" ) ]
public sealed class Pty :
Object,
Initable
Content:
Properties:
Creation methods:
Methods:
- public void child_setup ()
- public void close ()
Since 0.42 this is a no-op.
- public int get_fd ()
- public bool get_size (out int rows, out int columns) throws Error
Reads the pseudo terminal's window size.
- public bool set_size (int rows, int columns) throws Error
Attempts to resize the pseudo terminal's window size.
- public bool set_utf8 (bool utf8) throws Error
Tells the kernel whether the terminal is UTF-8 or not, in case it can make
use of the info.
- public async bool spawn_async (string? working_directory, string[] argv, string[]? envv, SpawnFlags spawn_flags, owned SpawnChildSetupFunc? child_setup, int timeout, Cancellable? cancellable, out Pid child_pid) throws Error
Like
spawn_with_fds_async, except that this function does not allow passing file descriptors to the child process.
- public async void spawn_with_fds_async (string? working_directory, string[] argv, string[]? envv, int[]? fds, int[]? map_fds, SpawnFlags spawn_flags, owned SpawnChildSetupFunc? child_setup, int timeout, Cancellable? cancellable)
Starts the specified command under the pseudo-terminal
this.
Inherited Members:
All known members inherited from class GLib.Object
All known members inherited from interface GLib.Initable