GVirSandboxContextInteractive
GVirSandboxContextInteractive — Desktop application sandbox context
|
|
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
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
);
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;