From 969a90a273862fe6082b47830419fb57f313a643 Mon Sep 17 00:00:00 2001 From: Taiko2k Date: Tue, 25 Jan 2022 14:24:30 +1300 Subject: [PATCH 1/5] Update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index c362a33..25a7d94 100644 --- a/README.md +++ b/README.md @@ -505,6 +505,10 @@ We can use: See [here](https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.0.0/styles-and-appearance.html) for more details. +## Further reading + + - [GTK4 Widget Gallery](https://docs.gtk.org/gtk4/visual_index.html) + ## Todo... @@ -512,6 +516,9 @@ Text box: [Entry](https://docs.gtk.org/gtk4/class.Entry.html) Number changer: [SpinButton](https://docs.gtk.org/gtk4/class.SpinButton.html) +Custom Styles + +UI from XML. From a5e07b6bf0dfffa5ebb2bc1679fc31af56717cbe Mon Sep 17 00:00:00 2001 From: Taiko2k Date: Tue, 25 Jan 2022 14:29:11 +1300 Subject: [PATCH 2/5] Update README.md --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 25a7d94..378c1c7 100644 --- a/README.md +++ b/README.md @@ -511,14 +511,20 @@ See [here](https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.0.0/styles-and- ## Todo... - Text box: [Entry](https://docs.gtk.org/gtk4/class.Entry.html) Number changer: [SpinButton](https://docs.gtk.org/gtk4/class.SpinButton.html) -Custom Styles +Picture. + +Layout and spacing. + +Snapshot drawing. UI from XML. +Custom Styles. + + From 31a6d3313874c87311677a3814a681ec93f3502e Mon Sep 17 00:00:00 2001 From: Taiko2k Date: Tue, 25 Jan 2022 14:30:03 +1300 Subject: [PATCH 3/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 378c1c7..3089d36 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ This should display a small blank window. ![A blank GTK window](blank.png) -This is a minimum amount of code to show a window. But we will start off with a better example: +This is a minimal amount of code to show a window. But we will start off with a better example: - Making the code into classes. 'Cause doing it functional style is a little awkward in Python. - Switching to **Libawaita**, since many GNOME apps now use its new styling. From 6ec2044462faf0e6c5271edbfffd5d39c3c7db84 Mon Sep 17 00:00:00 2001 From: Taiko2k Date: Tue, 25 Jan 2022 14:44:57 +1300 Subject: [PATCH 4/5] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3089d36..c07da48 100644 --- a/README.md +++ b/README.md @@ -99,8 +99,8 @@ Most basic layout is a [Box](https://docs.gtk.org/gtk4/class.Box.html). Lets add a box to the window! (Where the code comment "*things will go here*" is above) ```python -self.box = Gtk.Box() -self.set_child(self.box) +self.box1 = Gtk.Box() +self.set_child(self.box1) ``` We make a new box, and attach it to the window. Simple. If you run the app now you'll see no difference, because there's nothing in the layout yet either. From 0fa61a135019880ab179a9db9509fa7689d1334d Mon Sep 17 00:00:00 2001 From: Taiko2k Date: Tue, 25 Jan 2022 14:46:48 +1300 Subject: [PATCH 5/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c07da48..4f1ae06 100644 --- a/README.md +++ b/README.md @@ -144,7 +144,7 @@ By the way the ***Box*** layout lays out widgets in like a vertical or horizonta self.box1 = Gtk.Box(orientation=Gtk.Orientation.VERTICAL) ``` -### Quick intermission, lets set some window parameters +## Set some window parameters ```python self.set_default_size(600, 250)