Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Thanks] #1

Open
ITwrx opened this issue Mar 19, 2020 · 1 comment
Open

[Thanks] #1

ITwrx opened this issue Mar 19, 2020 · 1 comment

Comments

@ITwrx
Copy link

ITwrx commented Mar 19, 2020

thanks for posting this. I was having trouble understanding how to load a frikin' stylesheet and this saved me from smashing my whole office in a hulk-like fit of rage. :)

@pzmarzly
Copy link
Owner

No problem :)

I'm not too keen on GTK, exactly because it assumes having a lot of knowledge about its (or other similar framework) architecture.

I recently got back to using GTK, as it was a part of a C programming course at my university. Rust alleviates some pain points of GTK (for example, you can include_str instead of determining program install location to load Glade files), but makes it even harder to explore GTK features.

Speaking of that project, you may be interested in:

  • Utils.c - it showcases some GLib functions, and remove_all_gtk_children shows how to remove all children from GtkContainer (re-building all items on update can be considered an antipattern, but it makes the code so much simpler, and GTK is fast anyway).
  • Datepicker.c - shows how to make a dialog window
  • loading an icon at custom size

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants