Ishan Khare
Ishan Khare

Reputation: 1763

GTK+ Vte.Terminal().fork_command_full removed?

I noticed this last week. All my code on ubuntu 15.04 was working fine using

Vte.Terminal().fork_command_full

Also this documentation site was showing this function as well, but does not now. Has this function been removed? If so, then what is the next simplest alternative to get a virtual terminal widget working.
As this answer suggests the use of the above command, what is the next best way to get this widget up and running?

NOTE: I am using python3 for this code

Upvotes: 3

Views: 925

Answers (2)

user12205
user12205

Reputation: 2702

Update: This answer is now deprecated. Please see the answer by @Maximus instead.


The function call for the C API has been renamed from

vte_terminal_fork_command_full ()

to

vte_terminal_spawn_sync ()

since VTE 0.38.

As a result, the corresponding Python function has been renamed from fork_command_full() to spawn_sync().

Upvotes: 4

Maximus
Maximus

Reputation: 11

The function has been renamed from

vte_terminal_spawn_sync()

to

vte_terminal_spawn_async()

Since version VTE 0.48

Upvotes: 1

Related Questions