Pty
Object Hierarchy:
Description:
[ CCode ( type_id = "vte_pty_get_type ()" ) ]
public 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
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref
All known members inherited from interface GLib.Initable