GVirSandboxContextInteractive

GVirSandboxContextInteractive — Desktop application sandbox context

Synopsis

#include <libvirt-sandbox/libvirt-sandbox.h>

struct              GVirSandboxContextInteractive;
struct              GVirSandboxContextInteractiveClass;
GVirSandboxContextInteractive * gvir_sandbox_context_interactive_new
                                                        (GVirConnection *connection,
                                                         GVirSandboxConfigInteractive *config);
GVirSandboxConsole * gvir_sandbox_context_interactive_get_app_console
                                                        (GVirSandboxContextInteractive *ctxt,
                                                         GError **error);

Object Hierarchy

  GObject
   +----GVirSandboxContext
         +----GVirSandboxContextInteractive

Description

Provides a base class for implementing interactive desktop application sandboxes

The GVirSandboxContextInteractive object extends the functionality provided by GVirSandboxContext to allow the application to display output in a interactive desktop.

Details

struct GVirSandboxContextInteractive

struct GVirSandboxContextInteractive;

struct GVirSandboxContextInteractiveClass

struct GVirSandboxContextInteractiveClass {
    GVirSandboxContextClass parent_class;

    gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING];
};

gvir_sandbox_context_interactive_new ()

GVirSandboxContextInteractive * gvir_sandbox_context_interactive_new
                                                        (GVirConnection *connection,
                                                         GVirSandboxConfigInteractive *config);

Create a new interactive application sandbox context

connection :

the libvirt connection. [transfer none]

config :

the initial configuratoion. [transfer none]

Returns :

a new interactive sandbox context object. [transfer full]

gvir_sandbox_context_interactive_get_app_console ()

GVirSandboxConsole * gvir_sandbox_context_interactive_get_app_console
                                                        (GVirSandboxContextInteractive *ctxt,
                                                         GError **error);

ctxt :

the sandbox context. [transfer none]

Returns :

the sandbox console (or NULL). [transfer full][allow-none]

See Also

GVirSandboxContext