GTK+ Vte.Terminal().fork_command_full removed?

2019-02-19 03:32发布

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

2条回答
闹够了就滚
2楼-- · 2019-02-19 04:14

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().

查看更多
We Are One
3楼-- · 2019-02-19 04:28

The function has been renamed from

vte_terminal_spawn_sync()

to

vte_terminal_spawn_async()

Since version VTE 0.48

查看更多
登录 后发表回答