UiWidgets
Object Hierarchy:
Description:
public interface UiWidgets : Object
Optional chrome for a tool: toggle metadata, host view, and show request.
Implemented only by tools that need UI. view_widget is
GLib.Object so OLLMchat stays GTK-free; the shell casts to
Gtk.Widget. The shell / OLLMchatGtk.ChatBar owns the toggle button and
visibility — the tool emits show_view when the user must see the
host.
Example
public class MyTool : BaseTool, UiWidgets {
public string icon_name { get { return "web-browser-symbolic"; } }
public string tooltip_text { get { return "Browser"; } }
public GLib.Object view_widget { get { return this.host; } }
void on_challenge() {
this.show_view();
}
}
All known implementing classes:
Content:
Properties:
Signals:
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