Thank you for that thorough and step by step tutorial!! I have learnt a lot, but I do not know C at all. Please do a similar tutorial but with blueprint and python :)
; "Translating" the code to Python shouldn't be hard. The syntax just changes. Here are some examples: github.com/Taiko2k/GTK4PythonTutorial Regarding Blueprint, yes, I think I will make a tutorial for that once it comes out!
Finally a good tutorial how to get started in Linux App Development. When I first tried myself it felt all chaotic and out of place. Any chance that you might also do a similar tutorial for KDE/Qt development?
Thanks for the comment. I don't really know much about Qt development. Correct me if I'm wrong, but I think it uses mainly C++, and I don't know a lot about that language. But I'm open to the possibility in the future!
I've been thinking about it, and I would like to make an updated version of this video. But I think it's better to wait until Blueprint is stable. Many things could change from now and once it hits stable. But setting up Javascript is very simple. In Builder, you choose that as the programming language, and it'll offer to install all the dependencies needed. The code is almost the same, it's mainly the syntax that changes. I think this is the documentation for Javascript: gjs-docs.gnome.org/gtk40/
@@byteseb also thinking about using blueprint and also its not very well documented about how it covers things what it covers and so on but its definitly what gnome builders needs instead of having that xml ui stuff :D and would definitly increase popularity in developing linux apps i guess
Hey, I'm creating a python app with gtk4 and libadwaita using gnome builder. When defining a page, does it matter if you have one already or not? For my app, I'm wondering how I can use a page as the first page instead of the adw.window that gnome builder creates by default. Can you point me in the right direction for me to figure this out?
@@byteseb To have pages that I can switch between. I've implemented buttons that should be able to go forward or back. Now I need something to switch to. Would it help if I shared my code with you somehow?
@@byteseb I guess. How would I implement that? Tried doing it earlier but there are't many instructions on that thing specifically. Have you used it before?
@@minion3806 I haven't used it before, but judging by the docs and the Adwaita demo, it just looks like every child of the AdwCarousel is shown as a page. So, you could have GtkBoxes as the children, and each box will be a page
maybe you can make shorter Linux app videos in the future about specific features or specific tips. I didn't do this at all but I looked for simple things and there are not many resources online as video tutorials
Well. Most of what I learned was by reading the documentation for GTK, GNOME and Libadwaita. There are things that the docs don't tell you, so, I used a mix of trial and error, as well as inspecting GNOME Apps' source code. I have links for the resources I used in the description
Sorry for the late reply... In theory, you can (www.gtk.org/docs/installations/windows). Some deeper features, like filesystem permissions and things like that seem to have limited support for other OSes, as GTK is mainly for Unix systems. But technically, yes. GTK lets you make apps for Linux, macOS (limited support, I think), Windows and BSD. For example, GIMP and Inkscape. Even though, if cross platform development is your priority, you could take a look at KDE's Kirigami (develop.kde.org/frameworks/kirigami//). Easy to make adaptable UIs with it. Supports Windows, Linux (desktop and mobile), macOS and Android
This is exactly what I've been looking for! Thank you so much for creating this tutorial.
Thanks. But keep in mind many of these components have already been replaced with more recent versions. You should check the documentation.
Thank you for that thorough and step by step tutorial!! I have learnt a lot, but I do not know C at all. Please do a similar tutorial but with blueprint and python :)
; "Translating" the code to Python shouldn't be hard. The syntax just changes. Here are some examples: github.com/Taiko2k/GTK4PythonTutorial
Regarding Blueprint, yes, I think I will make a tutorial for that once it comes out!
Awesome, its the video i'm looking for a long time.
Great video, instant sub! (Just recognised the iceberg video as well).
Any updates on posting the updated version?
Finally a good tutorial how to get started in Linux App Development. When I first tried myself it felt all chaotic and out of place. Any chance that you might also do a similar tutorial for KDE/Qt development?
Thanks for the comment.
I don't really know much about Qt development. Correct me if I'm wrong, but I think it uses mainly C++, and I don't know a lot about that language. But I'm open to the possibility in the future!
Still making videos better than people with millions of subscribers
Thanks!
that's great! I want to learn to create simple tools as flatpak in the future
Would you be willing to do this with Javascript (and possibly blueprint instead of XML) instead? Not many resources I can find.
I've been thinking about it, and I would like to make an updated version of this video. But I think it's better to wait until Blueprint is stable. Many things could change from now and once it hits stable.
But setting up Javascript is very simple. In Builder, you choose that as the programming language, and it'll offer to install all the dependencies needed. The code is almost the same, it's mainly the syntax that changes.
I think this is the documentation for Javascript:
gjs-docs.gnome.org/gtk40/
Gracias por compartir el tutorial !!
How do I connect multiple xml files?
Can you make an updated video on this?
I'm considering it. I would like to make the video covering Blueprint, but it's still experimental...
@@byteseb also thinking about using blueprint and also its not very well documented about how it covers things what it covers and so on
but its definitly what gnome builders needs instead of having that xml ui stuff :D
and would definitly increase popularity in developing linux apps i guess
I would love something similar for Rust as well. Well made tutorial overall ❤
Would like to do that... But honestly, I have no experience with Rust :/
Is it possible but in C++? thanks in advance for the reply.
It is. Builder lets you pick C++ as one of the programming languages. The syntax could vary slightly, but it is possible.
thank you!@@byteseb
i love it you gained a subscriber
Thanks for the video!
Hey, I'm creating a python app with gtk4 and libadwaita using gnome builder. When defining a page, does it matter if you have one already or not? For my app, I'm wondering how I can use a page as the first page instead of the adw.window that gnome builder creates by default.
Can you point me in the right direction for me to figure this out?
What exactly are you trying to do? To change the default Window, to show a leaflet with a certain page by default or both?
@@byteseb To have pages that I can switch between. I've implemented buttons that should be able to go forward or back. Now I need something to switch to. Would it help if I shared my code with you somehow?
@@minion3806 Isn't what you're looking for an AdwCarousel?: gnome.pages.gitlab.gnome.org/libadwaita/doc/main/class.Carousel.html
@@byteseb I guess. How would I implement that? Tried doing it earlier but there are't many instructions on that thing specifically. Have you used it before?
@@minion3806 I haven't used it before, but judging by the docs and the Adwaita demo, it just looks like every child of the AdwCarousel is shown as a page. So, you could have GtkBoxes as the children, and each box will be a page
Love this tutorial. ❤
Really nice guide :)
maybe you can make shorter Linux app videos in the future about specific features or specific tips. I didn't do this at all but I looked for simple things and there are not many resources online as video tutorials
Yes. I will very likely make simpler, individual updated tutorials. Thanks for the feedback!
Thanks man
Can I ask what resources you used to learn this?
Well. Most of what I learned was by reading the documentation for GTK, GNOME and Libadwaita.
There are things that the docs don't tell you, so, I used a mix of trial and error, as well as inspecting GNOME Apps' source code. I have links for the resources I used in the description
underrated
Amazing video
This may sound dumb, but can I make a cross platform Windows App with this? For... My unfortunate Windows users... Lol
Sorry for the late reply...
In theory, you can (www.gtk.org/docs/installations/windows). Some deeper features, like filesystem permissions and things like that seem to have limited support for other OSes, as GTK is mainly for Unix systems.
But technically, yes. GTK lets you make apps for Linux, macOS (limited support, I think), Windows and BSD. For example, GIMP and Inkscape.
Even though, if cross platform development is your priority, you could take a look at KDE's Kirigami (develop.kde.org/frameworks/kirigami//). Easy to make adaptable UIs with it. Supports Windows, Linux (desktop and mobile), macOS and Android
❤