[Glade-devel] [glade-3] Patch to draw selection handles

Joaquin Cuenca Abela e98cuenc@free.fr
Mon, 3 May 2004 22:08:34 +0200


Damon wrote:
> 
> On Sat, 2004-05-01 at 10:48, Damon Chaplin wrote:
> > On Fri, 2004-04-30 at 19:43, Joaquin Cuenca Abela wrote:
> > 
> > > It still doesn't work. If you don't have any further ideas, I can 
> > > take a look.
> > 
> > That sucks! It does pretty much the same as glade-2, and I haven't 
> > heard of problems with that.
> > 
> > Can you check that glade_util_draw_nodes() is being called 
> to draw the 
> > selected widget, i.e. do a
> > 
> >   g_print ("Drawing selection for: %s\n", gtk_widget_get_name 
> > (widget));

As you may guess by now, it was drawing on the right widget. The problem was
in GDK_INCLUDE_INFERIORS

> > That would narrow it down to one function.
> > I hope GDK_INCLUDE_INFERIORS works OK on windows.
> 
> I've had a look at the GDK code for win32 and it doesn't look 
> like gdk_gc_set_subwindow (GDK_INCLUDE_INFERIORS) is supported.
> 
> So glade-2 shouldn't work on win32 either. Can someone check that?

I've checked it, and glade-2 doesn't work either. Same problem.

Cheers,