![]() |
![]() |
![]() |
Libvirt-sandbox Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
#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
);
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.
struct GVirSandboxContextInteractiveClass { GVirSandboxContextClass parent_class; gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING]; };
GVirSandboxContextInteractive * gvir_sandbox_context_interactive_new (GVirConnection *connection
,GVirSandboxConfigInteractive *config
);
Create a new interactive application sandbox context
|
the libvirt connection. [transfer none] |
|
the initial configuratoion. [transfer none] |
Returns : |
a new interactive sandbox context object. [transfer full] |
GVirSandboxConsole * gvir_sandbox_context_interactive_get_app_console (GVirSandboxContextInteractive *ctxt
,GError **error
);
|
the sandbox context. [transfer none] |
Returns : |
the sandbox console (or NULL). [transfer full][allow-none] |