![]() |
![]() |
![]() |
Libvirt-sandbox Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
#include <libvirt-sandbox/libvirt-sandbox.h> #define GVIR_SANDBOX_TYPE_CONFIG_GRAPHICAL_SIZE struct GVirSandboxConfigGraphical; struct GVirSandboxConfigGraphicalClass; struct GVirSandboxConfigGraphicalSize; const gchar * gvir_sandbox_config_graphical_get_window_manager (GVirSandboxConfigGraphical *config
); GVirSandboxConfigGraphicalSize * gvir_sandbox_config_graphical_get_window_size (GVirSandboxConfigGraphical *config
); GVirSandboxConfigGraphical * gvir_sandbox_config_graphical_new (const gchar *name
); void gvir_sandbox_config_graphical_set_window_manager (GVirSandboxConfigGraphical *config
,const gchar *hostpath
); void gvir_sandbox_config_graphical_set_window_size (GVirSandboxConfigGraphical *config
,GVirSandboxConfigGraphicalSize *size
);
GObject +----GVirSandboxConfig +----GVirSandboxConfigGraphical
GBoxed +----GVirSandboxConfigGraphicalSize
"window-manager" gchar* : Read / Write "window-size" GVirSandboxConfigGraphicalSize* : Read / Write
Provides an object to store configuration details for a graphical config
The GVirSandboxConfigGraphical object extends GVirSandboxConfig to store the extra information required to setup a _graphical desktop application sandbox.
#define GVIR_SANDBOX_TYPE_CONFIG_GRAPHICAL_SIZE (gvir_sandbox_config_graphical_size_get_type ())
struct GVirSandboxConfigGraphicalClass { GVirSandboxConfigClass parent_class; };
struct GVirSandboxConfigGraphicalSize { guint width; guint height; };
const gchar * gvir_sandbox_config_graphical_get_window_manager
(GVirSandboxConfigGraphical *config
);
GVirSandboxConfigGraphicalSize * gvir_sandbox_config_graphical_get_window_size
(GVirSandboxConfigGraphical *config
);
GVirSandboxConfigGraphical * gvir_sandbox_config_graphical_new
(const gchar *name
);
Create a new graphical application sandbox configuration
|
the sandbox name |
Returns : |
a new graphical sandbox config object. [transfer full] |
void gvir_sandbox_config_graphical_set_window_manager (GVirSandboxConfigGraphical *config
,const gchar *hostpath
);
void gvir_sandbox_config_graphical_set_window_size (GVirSandboxConfigGraphical *config
,GVirSandboxConfigGraphicalSize *size
);
"window-manager"
property "window-manager" gchar* : Read / Write
The path to the window manager binary.
Default value: NULL
"window-size"
property"window-size" GVirSandboxConfigGraphicalSize* : Read / Write
The dimensions of the window.