diff --git a/main.glade b/main.glade deleted file mode 100644 index b84b624..0000000 --- a/main.glade +++ /dev/null @@ -1,15 +0,0 @@ - - - - My GTK App - - - Press me! - 12 - 12 - 12 - 12 - - - - diff --git a/main.ui b/main.ui new file mode 100644 index 0000000..b091a6f --- /dev/null +++ b/main.ui @@ -0,0 +1,94 @@ + + + + + + True + False + vertical + + + True + False + 5 + 5 + 5 + 5 + + + True + False + + + + + Save + True + True + True + + + + + Apply + True + True + True + + + + + + + True + True + left + False + + + True + False + page 1 + + + + + True + False + page 2 + + + + + True + False + page 3 + + + + + True + False + page 1 + + + + + True + False + page 2 + + + + + True + False + page 3 + + + + + + + + diff --git a/src/main.rs b/src/main.rs index 4cba971..e08b309 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2,7 +2,7 @@ use gtk::prelude::*; use gtk::*; static ID: &str = "com.causa-arcana.polytree.polytree-session"; -static UI: &str = include_str!("../main.glade"); +static UI: &str = include_str!("../main.ui"); fn main() { let app = Application::builder().application_id(ID).build();