Re: Docs for the gtk-style-context branch changes

2010-10-26 Thread Matthias Clasen
On Tue, Oct 19, 2010 at 7:49 AM, Carlos Garnacho wrote: > > 1) Keep GtkStyle in 3.0, encourage people verbally to use > GtkStyleContext instead. > > 2) Keep GtkStyle, but not include in gtk.h, force people to take a > decision between being lazy and using the brand new stuff. > > 3) Remove GtkSty

Re: Docs for the gtk-style-context branch changes

2010-10-20 Thread Benjamin Otte
On Wed, Oct 20, 2010 at 12:26 PM, Richard Hughes wrote: > I don't think maintainers mind porting stuff, as long as: > > 1) it doesn't keep changing in drastic ways, cough, GtkApplication, cough > 2) you provide a porting "how to" document with examples > 3) There are maintainers. 4) The maintainer

Re: Docs for the gtk-style-context branch changes

2010-10-20 Thread Richard Hughes
On 20 October 2010 10:54, Benjamin Otte wrote: > So I'm strongly leaning towards 3), even though that'd mean you get to do > more work, probably a lot more work. I don't think maintainers mind porting stuff, as long as: 1) it doesn't keep changing in drastic ways, cough, GtkApplication, cough 2)

Re: Docs for the gtk-style-context branch changes

2010-10-20 Thread Benjamin Otte
Carlos Garnacho gnome.org> writes: > 1) Keep GtkStyle in 3.0, encourage people verbally to use > GtkStyleContext instead. > > 2) Keep GtkStyle, but not include in gtk.h, force people to take a > decision between being lazy and using the brand new stuff. > > 3) Remove GtkStyle, port all GTK+ wid

Re: Docs for the gtk-style-context branch changes

2010-10-19 Thread Paul Davis
On Tue, Oct 19, 2010 at 7:49 AM, Carlos Garnacho wrote: > * GtkStateFlags is used in the theming layer, living side by side with > GtkStateType (the latter is even used in the API i.e. when checking > whether there is a running animation for a specific state). > GtkStateFlags is potentially reall

Re: Docs for the gtk-style-context branch changes

2010-10-19 Thread Havoc Pennington
Hi, On Tue, Oct 19, 2010 at 7:49 AM, Carlos Garnacho wrote: > * There is no intuitive replacement for gtk_widget_modify_*(). If we are > to drop GtkStyle, I think that 3rd party libraries and apps implementing > widgets could define regions and attach a GtkStyleProvider with the > fallback priori

Docs for the gtk-style-context branch changes

2010-10-19 Thread Carlos Garnacho
Hey all, I've taken my time to write the API and miscellaneous docs for the gtk-style-context branch: http://www.lanedo.com/~carlos/gtk3-docs/theming.html At the moment there are some render functions missing, such as the one to paint the resize handle (could be merged together with gtk_render