GVirSandboxContextInteractive

GVirSandboxContextInteractive — Desktop application sandbox context

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GVirSandboxContext
        ╰── GVirSandboxContextInteractive

Includes

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

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.

Functions

gvir_sandbox_context_interactive_new ()

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

Create a new interactive application sandbox context

Parameters

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

Parameters

ctxt

the sandbox context.

[transfer none]

Returns

the sandbox console (or NULL).

[transfer full][allow-none]

Types and Values

struct GVirSandboxContextInteractive

struct GVirSandboxContextInteractive;

struct GVirSandboxContextInteractiveClass

struct GVirSandboxContextInteractiveClass {
    GVirSandboxContextClass parent_class;

    gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING];
};

GVirSandboxContextInteractivePrivate

typedef struct _GVirSandboxContextInteractivePrivate GVirSandboxContextInteractivePrivate;

See Also

GVirSandboxContext