GTK is really weird. But it's doubly frustrating when you barely understand rust, never used GTK before, and most of the documentation with examples are in C
At the very least, I'm happy my tiny little app works to change the source of my audio from one output to another :3
@utahcon funny enough it was actually by cross referencing python, C, and Rust documentation that I made some sort of progress today
@utahcon why are you making btw?
@brandon then why are you writing this in Rust?
@brandon The main reason my attempts at learning GTK fail all the time.
Maybe the best way to learn GTK is to learn it in C first then translate that knowledge to whatever language you're using....
@cadadr I REFUSE TO LEARN AN INFERIOR LANGUAGE :P but for real, I guess it *might* be the best solution but I almost feel like that would be double the work.
There's also the fact that this is the first time I learn a strongly typed language :P
@ITwrx damn as much as I would like to use another library I hate using frameworks and tying myself into those, I feel like I lose some control :p
@ITwrx Drew DeVault is probably going to kick my ass for suggesting this :P
@brandon gtk was fine for me when i learned it in python, but rust's ownership and trait rules make it so the way you work with it is a little different than how it was intended to be used
@jaxter184 you mean how GTK is intended to be used?
@brandon yeah, with the object orientedness and inheritance and whatnot
Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.