Pty.this

Creates a new vte.Pty for the PTY master fd.

No entry will be made in the lastlog, utmp or wtmp system files.

Note that the newly created vte.Pty will take ownership of fd and close it on finalize.

Parameters

fd int

a file descriptor to the PTY

cancellable Cancellable

a gio.Cancellable, or NULL

Return Value

a new vte.Pty for fd, or NULL on error with error filled in

Throws

GException on failure. ConstructionException GTK+ fails to create the object.