diff options
author | Lucas Fryzek <lucas.fryzek@fryzekconcepts.com> | 2024-10-06 17:34:29 +0100 |
---|---|---|
committer | Lucas Fryzek <lucas.fryzek@fryzekconcepts.com> | 2024-10-06 17:34:29 +0100 |
commit | db10dc4fdd656b25442c63eb02ea30931eee300e (patch) | |
tree | 9b2a4e835d6d52b48c0e7fb9bcb83884999ee1da /src/gtk/welcome.ui | |
parent | 0dc8409b168b293e9566dc5a35bded510fbd043d (diff) |
window: Add interface for connecting and disconnecting
Diffstat (limited to 'src/gtk/welcome.ui')
-rw-r--r-- | src/gtk/welcome.ui | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/gtk/welcome.ui b/src/gtk/welcome.ui new file mode 100644 index 0000000..9b6ad76 --- /dev/null +++ b/src/gtk/welcome.ui @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <requires lib="gtk" version="4.0"/> + <requires lib="libadwaita" version="1.0"/> + <template class="WeegtkWelcome" parent="AdwBin"> + <property name="child"> + <object class="AdwToolbarView"> + <child type="top"> + <object class="AdwHeaderBar"> + <property name="show-title">False</property> + </object> + </child> + <property name="content"> + <object class="AdwStatusPage"> + <property name="icon-name">com.fryzekconcepts.weegtk-symbolic</property> + <property name="title" translatable="yes">Welcome to Weegtk</property> + <property name="description" translatable="yes">Change connection settings in preferences</property> + <property name="child"> + <object class="GtkButton"> + <signal name="clicked" handler="connect_network"/> + <style> + <class name="suggested-action"/> + </style> + <property name="child"> + <object class="AdwButtonContent"> + <property name="icon-name">network-wired-symbolic</property> + <property name="label" translatable="yes">_Connect</property> + <property name="use-underline">True</property> + </object> + </property> + </object> + </property> + </object> + </property> + </object> + </property> + </template> +</interface> |