Tip Pressure events

2008-10-13 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I you decide this is the wrong place to send this, PLEASE, tell me, I'll be perfectly happy to resend it. I really need some help from someone who knows the server side of GTK and/or GDK better than I do. I'm trying to finish a driver I've written fo

Re: Gtk3 and theming - a proposal (with code)

2008-10-13 Thread Alberto Ruiz
2008/10/13 Robert Staudinger <[EMAIL PROTECTED]>: > On Mon, Oct 13, 2008 at 5:48 PM, Alberto Ruiz <[EMAIL PROTECTED]> wrote: > > [...] > >> I can't see why iteration over parents containers is needed in any of >> those cases with the proper tools in place. Our current idea is that >> containers pus

Re: Gtk3 and theming - a proposal (with code)

2008-10-13 Thread Robert Staudinger
On Mon, Oct 13, 2008 at 5:48 PM, Alberto Ruiz <[EMAIL PROTECTED]> wrote: [...] > I can't see why iteration over parents containers is needed in any of > those cases with the proper tools in place. Our current idea is that > containers push that context information into a the widget's context > ob

Re: Gtk3 and theming - a proposal (with code)

2008-10-13 Thread Alberto Ruiz
2008/10/13 Robert Staudinger <[EMAIL PROTECTED]>: > On Mon, Oct 13, 2008 at 4:58 PM, Alberto Ruiz <[EMAIL PROTECTED]> wrote: > > [...] > >>> It would also be possible to introduce aliases for the sake of >>> theming, e.g. "GtkTreeViewColumnHeader" for a GtkButton inside a >>> treeview. Maybe such a

Re: Gtk3 and theming - a proposal (with code)

2008-10-13 Thread Robert Staudinger
On Mon, Oct 13, 2008 at 4:58 PM, Alberto Ruiz <[EMAIL PROTECTED]> wrote: [...] >> It would also be possible to introduce aliases for the sake of >> theming, e.g. "GtkTreeViewColumnHeader" for a GtkButton inside a >> treeview. Maybe such an approach would be feasible to bridge the gaps >> between

Re: Gtk3 and theming - a proposal (with code)

2008-10-13 Thread Xavier Bestel
On Mon, 2008-10-13 at 15:58 +0100, Alberto Ruiz wrote: > 2008/10/13 Robert Staudinger <[EMAIL PROTECTED]>: > > On Mon, Oct 13, 2008 at 3:06 PM, Alberto Ruiz <[EMAIL PROTECTED]> wrote: > > > > [...] > > > >> And if you allow engines to access widgets, widgets can only do things > >> that have been t

Re: Gtk3 and theming - a proposal (with code)

2008-10-13 Thread Alberto Ruiz
2008/10/13 Robert Staudinger <[EMAIL PROTECTED]>: > On Mon, Oct 13, 2008 at 3:06 PM, Alberto Ruiz <[EMAIL PROTECTED]> wrote: > > [...] > >> And if you allow engines to access widgets, widgets can only do things >> that have been thought of /before/, which is a problem with worst >> consequences. Pl

Re: Gtk3 and theming - a proposal (with code)

2008-10-13 Thread Robert Staudinger
On Mon, Oct 13, 2008 at 3:06 PM, Alberto Ruiz <[EMAIL PROTECTED]> wrote: [...] > And if you allow engines to access widgets, widgets can only do things > that have been thought of /before/, which is a problem with worst > consequences. Plus, you can easily add that information on the widget > ren

Re: Gtk3 and theming - a proposal (with code)

2008-10-13 Thread Alberto Ruiz
2008/10/13 Robert Staudinger <[EMAIL PROTECTED]>: > On Fri, Oct 10, 2008 at 6:22 PM, Alberto Ruiz <[EMAIL PROTECTED]> wrote: > > [...] > >> I think that the new API should not allow people to acess to >> GtkWidget, this prevents implementation changes since engines end up >> depending on Widget imp

Re: Theming API hackfest: last call

2008-10-13 Thread Robert Staudinger
On Mon, Oct 13, 2008 at 2:40 PM, Christian Dywan <[EMAIL PROTECTED]> wrote: [...] > I would think, the fact that you are actually trying to preseve > oddities like the GtkTreeView/ GtkButton relation, leaves a bit of a > bad aftertaste. I like the CSS idea, because the most of the syntax is > pre

Re: Theming API hackfest: last call

2008-10-13 Thread Christian Dywan
Am Mon, 13 Oct 2008 12:55:08 +0200 schrieb "Robert Staudinger" <[EMAIL PROTECTED]>: > On Fri, Oct 10, 2008 at 3:36 AM, Behdad Esfahbod <[EMAIL PROTECTED]> > wrote: > > [...] > > > Hi Rob, > > > > I got to know about work you are doing by crossing over your fd.o > > account request. I thought to

Re: Gtk3 and theming - a proposal (with code)

2008-10-13 Thread Robert Staudinger
On Fri, Oct 10, 2008 at 6:22 PM, Alberto Ruiz <[EMAIL PROTECTED]> wrote: [...] > I think that the new API should not allow people to acess to > GtkWidget, this prevents implementation changes since engines end up > depending on Widget implementation details (such as the way containers > are used

Re: Theming API hackfest: last call

2008-10-13 Thread Robert Staudinger
On Fri, Oct 10, 2008 at 3:36 AM, Behdad Esfahbod <[EMAIL PROTECTED]> wrote: [...] > Hi Rob, > > I got to know about work you are doing by crossing over your fd.o account > request. I thought to myself: "wow, this is so cool... why didn't I hear > about this stuff before?" I think a good number