FileServerRow
Object Hierarchy:
Description:
public class FileServerRow : Object
Widget group for the Desktop server expander.
No control on the right. Rows are Unix socket, systemd, then Local network SSL server.
ssl_switch writes
OLLMchat.Settings.Filesd.ssl_enabled after a host and port are
saved. Toggles and Port blur call apply_config, which
writes filesd and
reboots if listen fields changed. Dialog close still calls
apply_config.
load_config fills widgets when the settings dialog is
shown and must not reboot.
Example
var row = new FileServerRow(config.filesd, win, overlay);
boxed_list.append(row.expander);
row.load_config();
Content:
Properties:
- public ExpanderRow expander { get; }
The Desktop server expander. Nothing sits on the right.
- public Filesd filesd { get; }
Config filesd object this expander edits.
- public bool running { get; }
True when the files daemon accepts a connection.
- public ExpanderRow ssl_expander { get; }
Local network SSL server expander.
- public DropDown ssl_host_dropdown { get; }
- public ActionRow ssl_host_row { get; }
- public Entry ssl_port_entry { get; }
SSL listen port. Placeholder is 8422.
- public ActionRow ssl_port_row { get; }
SSL port row. Invalid ports set the subtitle to Invalid.
- public Switch ssl_switch { get; }
- public Switch systemd_switch { get; }
- public ToastOverlay toast_overlay { get; }
Connections-tab overlay for restart toasts.
- public OllmchatWindow win { get; }
Creation methods:
Methods:
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref