Remmina - The GTK+ Remote Desktop Client  v1.4.25
Remmina is a remote desktop client written in GTK+, aiming to be useful for system administrators and travellers, who need to work with lots of remote computers in front of either large monitors or tiny netbooks. Remmina supports multiple network protocols in an integrated and consistent user interface. Currently RDP, VNC, NX, XDMCP and SSH are supported.
remmina_plugin_python.h File Reference

Declares the interface between the Python plugin implementation and Remmina covering the initialization of the implementation and the load function, that allows Remmina to load plugins into the application. More...

Go to the source code of this file.

Functions

G_BEGIN_DECLS void remmina_plugin_python_init (void)
 Initializes the Python plugin loaders. More...
 
gboolean remmina_plugin_python_load (RemminaPluginService *service, const gchar *filename)
 Loads a plugin from the Remmina plugin folder with the given name. More...
 

Detailed Description

Declares the interface between the Python plugin implementation and Remmina covering the initialization of the implementation and the load function, that allows Remmina to load plugins into the application.

When Remmina discovers Python scripts in the plugin root folder the plugin manager passes the path to the Python plugin loader. There it gets executed and the plugin classes get mapped to "real" Remmina plugin instances.

For the communication between Remmina and Python the python module called 'remmina' is initialized and loaded into the environment of the plugin script (

See also
remmina_plugin_python_module.c).
http://www.remmina.org/wp for more information.

Definition in file remmina_plugin_python.h.

Function Documentation

◆ remmina_plugin_python_init()

G_BEGIN_DECLS void remmina_plugin_python_init ( void  )

Initializes the Python plugin loaders.

This does not load any plugins but initializes the implementation (e.g. globals and the Python engine).

Definition at line 104 of file remmina_plugin_python.c.

◆ remmina_plugin_python_load()

gboolean remmina_plugin_python_load ( RemminaPluginService service,
const gchar *  filename 
)

Loads a plugin from the Remmina plugin folder with the given name.

Parameters
serviceThe instance of the service providing an API between Remmina and its plugins.
filenameThe filename of the plugin to load.
Returns
TRUE on success, FALSE otherwise.