Window


Object Hierarchy:

Object hierarchy for Window

Description:

public class Window : Object, Serializable

Per-window open project, file, and agent persisted in Config2.

Stored under the windows map keyed by UUID from GLib.Uuid.string_random(). Runtime OLLMfiles.ProjectManager still holds live active_project / active_file objects; this type stores paths and agent factory id for restore. Not shown in the settings UI — no Description attributes.

Usage Examples

Code (seed on first run)

var id = GLib.Uuid.string_random();
config.windows.set(id, new Window() {
project = "/home/user/project",
file = "",
agent = "agent-pi"
});

JSON (config.2.json)

"windows": {
"a3f1c9e2-b8d0-4f6a-9c1e-2d4b6a8c0e1f": {
"project": "/home/user/project",
"file": "",
"agent": "agent-pi"
}
}


Namespace: OLLMchat.Settings
Package: ollmchat

Content:

Properties:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class GLib.Object
All known members inherited from interface Json.Serializable