GVirSandboxConfigGraphical

GVirSandboxConfigGraphical — Graphical sandbox configuration details

Synopsis

#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);

Object Hierarchy

  GObject
   +----GVirSandboxConfig
         +----GVirSandboxConfigGraphical
  GBoxed
   +----GVirSandboxConfigGraphicalSize

Properties

  "window-manager"           gchar*                : Read / Write
  "window-size"              GVirSandboxConfigGraphicalSize*  : Read / Write

Description

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.

Details

GVIR_SANDBOX_TYPE_CONFIG_GRAPHICAL_SIZE

#define GVIR_SANDBOX_TYPE_CONFIG_GRAPHICAL_SIZE            (gvir_sandbox_config_graphical_size_get_type ())

struct GVirSandboxConfigGraphical

struct GVirSandboxConfigGraphical;

struct GVirSandboxConfigGraphicalClass

struct GVirSandboxConfigGraphicalClass {
    GVirSandboxConfigClass parent_class;
};

struct GVirSandboxConfigGraphicalSize

struct GVirSandboxConfigGraphicalSize {
    guint width;
    guint height;
};

gvir_sandbox_config_graphical_get_window_manager ()

const gchar *       gvir_sandbox_config_graphical_get_window_manager
                                                        (GVirSandboxConfigGraphical *config);

gvir_sandbox_config_graphical_get_window_size ()

GVirSandboxConfigGraphicalSize * gvir_sandbox_config_graphical_get_window_size
                                                        (GVirSandboxConfigGraphical *config);

gvir_sandbox_config_graphical_new ()

GVirSandboxConfigGraphical * gvir_sandbox_config_graphical_new
                                                        (const gchar *name);

Create a new graphical application sandbox configuration

name :

the sandbox name

Returns :

a new graphical sandbox config object. [transfer full]

gvir_sandbox_config_graphical_set_window_manager ()

void                gvir_sandbox_config_graphical_set_window_manager
                                                        (GVirSandboxConfigGraphical *config,
                                                         const gchar *hostpath);

gvir_sandbox_config_graphical_set_window_size ()

void                gvir_sandbox_config_graphical_set_window_size
                                                        (GVirSandboxConfigGraphical *config,
                                                         GVirSandboxConfigGraphicalSize *size);

Property Details

The "window-manager" property

  "window-manager"           gchar*                : Read / Write

The path to the window manager binary.

Default value: NULL


The "window-size" property

  "window-size"              GVirSandboxConfigGraphicalSize*  : Read / Write

The dimensions of the window.

See Also

GVirSandboxConfigGraphical