On 8 March 2017 at 15:11, Stefan Salewski <m...@ssalewski.de> wrote: > On Wed, 2017-03-08 at 15:00 +0000, Rúben Rodrigues wrote: >> Thanks for your help... Yes i don't understand why gtk doesn't aloow >> us >> to do some "basic" things..
You're explicitly asking about GTK+ 2.x, whose API was last updated 6 years ago, and whose initial release was in 2001. GTK+ 2.x had a *very* simple theming API because all themes were basically shared libraries injecting custom rendering into applications. GTK+ 3.x, at least, has CSS. Of course, some people will moan that there isn't a function called "gtk_widget_set_this_color()". > Well, the GTK senior developers will say that such "color hacks" are > ugly and do not fit theming well. That may be true. But the Problem is: > When we try to teach Kids GTK programming, one of their first question > is: How can I change that color. I don't know who these "kids" are, but if you mean "newcomers", I've only seen people asking about changing colours of GTK widgets from people sending emails to this mailing list, and a minority *at best*. Usually, coming from software developers that are writing ad hoc applications coming from other, or older, platforms, whose only benefit is that they make it "easy" to change the colour of buttons in UIs. > They expect a simple function and > would have fun playing with it. Sorry, we haven't yet found the way to write a `gtk_do_what_i_mean()` function. > But we have to tell them: We should not > do that, it may be possible with CSS... So we have no Kids in GTK for > more than 10 years now, so so new coders, only a few tired seniors > left. Again, I have no idea what kind of "kids in GTK" you are referring to. I see a lot of newcomers approaching GTK and GNOME development, though. You may be hanging around in the wrong places. Ciao, Emmanuele. -- https://www.bassi.io [@] ebassi [@gmail.com] _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list