Pty.this

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.

Parameters

fd int

a file descriptor to the PTY

cancellable Cancellable

a #GCancellable, or %NULL

Return: a new #VtePty for @fd, or %NULL on error with @error filled in

Throws

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

Meta