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_remmina.h File Reference

Contains the implementation of the Python module 'remmina', provided to interface with the application from the Python plugin source. More...

Go to the source code of this file.

Functions

G_BEGIN_DECLS void remmina_plugin_python_module_init (void)
 Initializes the 'remmina' module in the Python engine. More...
 
PyPluginremmina_plugin_python_module_get_plugin (RemminaProtocolWidget *gp)
 Returns a pointer to the Python instance, mapped to the RemminaProtocolWidget or null if not found. More...
 
void remmina_plugin_python_to_protocol_setting (RemminaProtocolSetting *dest, PyObject *setting)
 Converts the PyObject to RemminaProtocolSetting. More...
 
void remmina_plugin_python_to_protocol_feature (RemminaProtocolFeature *dest, PyObject *feature)
 Converts the PyObject to RemminaProtocolFeature. More...
 

Detailed Description

Contains the implementation of the Python module 'remmina', provided to interface with the application from the Python plugin source.

In contrast to the wrapper functions that exist in the plugin specialisation files (e.g. remmina_plugin_python_protocol.c or remmina_plugin_python_entry.c), this file contains the API for the communication in the direction, from Python to Remmina. This means, if in the Python plugin a function is called, that is defined in Remmina, C code, at least in this file, is executed.

Definition in file remmina_plugin_python_remmina.h.

Function Documentation

◆ remmina_plugin_python_module_get_plugin()

PyPlugin* remmina_plugin_python_module_get_plugin ( RemminaProtocolWidget gp)

Returns a pointer to the Python instance, mapped to the RemminaProtocolWidget or null if not found.

Parameters
gpThe widget that is owned by the plugin that should be found.

Remmina expects this callback function to be part of one plugin, which is the reason no instance information is explicitly passed. To bridge that, this function can be used to retrieve the very plugin instance owning the given RemminaProtocolWidget.

◆ remmina_plugin_python_module_init()

G_BEGIN_DECLS void remmina_plugin_python_module_init ( void  )

Initializes the 'remmina' module in the Python engine.

Initializes the 'remmina' module in the Python engine.

This

Definition at line 731 of file remmina_plugin_python_remmina.c.

◆ remmina_plugin_python_to_protocol_feature()

void remmina_plugin_python_to_protocol_feature ( RemminaProtocolFeature dest,
PyObject *  feature 
)

Converts the PyObject to RemminaProtocolFeature.

Parameters
destA target for the converted value.
settingThe source value to convert.

Definition at line 1114 of file remmina_plugin_python_remmina.c.

◆ remmina_plugin_python_to_protocol_setting()

void remmina_plugin_python_to_protocol_setting ( RemminaProtocolSetting dest,
PyObject *  setting 
)

Converts the PyObject to RemminaProtocolSetting.

Parameters
destA target for the converted value.
settingThe source value to convert.

Definition at line 1098 of file remmina_plugin_python_remmina.c.