ReadySet – libready-set-0 Reference Manual
Packages
libready-set-0
ReadySet
ContextType
LayoutMode
Mode
ApplyErrorData
BasePage
Context
ContextObject
ContextVarInfo
ExtensionBase
InstallerAddin
InstallerStep
ProgressData
StatusPage
StepAddin
ContextGetterFunc
ContextSetterFunc
pkexec
ReadySet
Description:
Content:
Classes:
ApplyErrorData
-
Data that handles
StepAddin.apply
error data.
BasePage
-
Base class for all pages that will be build via
ReadySet.StepAddin.build_pages
.
Context
ContextObject
-
Object that
ReadySet.Context
understand and which can be registered.
ContextVarInfo
-
Information about context value. Needs for registration and used in
ReadySet.ExtensionBase.get_context_vars
.
ExtensionBase
InstallerAddin
-
Install logic. Calls on finish page in the application. You can control progress indicator via `progress_data`.
InstallerStep
ProgressData
-
Class for handling progress data for continius operation in
InstallerAddin.install
and
StepAddin.apply
.
StatusPage
-
Similar to
Adw.StatusPage
, but without
Gtk.ScrolledWindow
and
Adw.Clamp
.
StepAddin
-
Base class for plugin that provides `step`.
Enums:
ContextType
-
Value type stored in context.
ReadySet.ContextType.OBJECT
allows to store only
ReadySet.ContextObject
.
LayoutMode
Mode
Error domains:
ApplyError
-
Can hold either json string or something else.
Delegates:
public
delegate
Value
ContextGetterFunc
(
ref
Value
this_value)
Function that uses as getter in
Context
value.
public
delegate
void
ContextSetterFunc
(
ref
Value
this_value,
Value
new_value)
Function that uses as setter in
Context
value.
Functions:
public
async
void
pkexec
(
owned
string
[] cmd,
string
? user =
null
,
Cancellable
? cancellable =
null
)
throws
Error
Runs `pkexec` with SHELL fixing.