Re: Should GtkWidget::draw be RUN_LAST?



On Mon, 25 Jan 1999, Damon Chaplin wrote:

> Owen Taylor wrote:
> > 
> > Two separate questions - should GtkWidget::draw be RUN_LAST,
> > and can we change it to that at this point.
> > 
> ...
> > 2) Can we change it at this point? This only matters if
> >    people are connecting to ::draw. I cannot find any
> >    such connections in GNOME or GIMP - which represent
> >    a large fraction of GTK+ code out there, and probably
> >    include most of the more "tricky" GTK+ code as well.
> > 
> >    In addition, connecting to draw and then drawing on
> >    top of the widgets contents is unsupported behavior
> >    in any case, so if there if there is some app that
> >    does that, it probably deserves what it gets.
> 
> Oops. Glade connects to "draw", to paint a rectangle around
> selected widgets, and to paint grids on GtkFixed widgets.
> Is there any alternative for GUI builders?

you can still use connect_after to achive that effect.

> 
> Damon
> 

---
ciaoTJ



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]