Kotlin/Native application using `gtk-kt` to play v...
# gui
c
Kotlin/Native application using
gtk-kt
to play video. (There is audio, but pipewire is being a tad buggy so it is not included) I made this in under an hour, with a bit of debugging. It's impressively easy to make a GTK video player with Kotlin/Native :D Slack Conversation
K 4
t
That's really interesting, first time I've heard about GTK bindings for Kotlin.
c
Yes, I've been working on them frantically
t
Ah, you made it?
That's really impressive!
c
Thanks! If you do decide to experiment with it, I'm available for help on Matrix
t
What is Matrix? Yeah I am interested, I haven't used GTK though, do I need to learn GTK if I want to learn these bindings? Also I would appreciate a tutorial if you have one for getting started 🙂
c
Matrix is a decentralized open source chat platform. You will not need to know GTK C code, but the code is mostly idiomatic with the base GTK code. So the guides are nearly 1:1.
You can find the link to the matrix room in the project readme, and for tutorials I would suggest looking at the GTK tutorial examples and comparing it to the Kotlin equivalents
t
Have you got the link to the readme, can't seem to find it?
c
And they have links to their original counterparts
t
Nice, is there some sort of way you can make a profit from making GTK apps or it mostly for fun
c
GTK is GPL and GTK-KT is AGPL
Profiting is based on the method you use
Please read the licenses properly
t
Ah ok, I'll take a look.
m
I just ran across this project this weekend. Glad to see some work being done with GTK and Kotlin Native
I have mostly used kotlin with tornadofx but it is just too heavy for some projects
Looked into using rust with GTK but rust seems like a terrible language