GTK+ Vte.Terminal().fork_command_full removed?

时间:2023-01-05 21:01:07

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

我上周注意到了这一点。我在ubuntu 15.04上的所有代码都运行正常

Vte.Terminal().fork_command_full

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

注意:我使用python3代码

2 个解决方案

#1


4  

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

更新:此答案现已弃用。请通过@Maximus查看答案。


The function call for the C API has been renamed from

已重命名C API的函数调用

vte_terminal_fork_command_full ()

to

vte_terminal_spawn_sync ()

since VTE 0.38.

自VTE 0.38。

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

因此,相应的Python函数已从fork_command_full()重命名为spawn_sync()。

#2


1  

The function has been renamed from

该功能已重命名

vte_terminal_spawn_sync()

to

vte_terminal_spawn_async()

Since version VTE 0.48

自版本VTE 0.48

#1


4  

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

更新:此答案现已弃用。请通过@Maximus查看答案。


The function call for the C API has been renamed from

已重命名C API的函数调用

vte_terminal_fork_command_full ()

to

vte_terminal_spawn_sync ()

since VTE 0.38.

自VTE 0.38。

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

因此,相应的Python函数已从fork_command_full()重命名为spawn_sync()。

#2


1  

The function has been renamed from

该功能已重命名

vte_terminal_spawn_sync()

to

vte_terminal_spawn_async()

Since version VTE 0.48

自版本VTE 0.48