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



On Thu, 2004-04-29 at 19:37, Joaquin Cuenca Abela wrote:

Unfortunately it works quite badly under windows. It doesn't draw the
selection rectangles over placeholders (?), for instance. It only draws them
over widgets without a window, or the parts of those widgets that are not
covered by an internal window.

I think I may have found the problem. I wasn't using the correct gc in
glade_util_draw_nodes(). I should have used the gc of the widget owning
the window. (I did mean to change that, but forgot.)

I'll commit it with the fix, and you can try it again.

It doesn't work for widgets inside viewports yet either. The coordinate
translation code needs some tweaking. I'll look into that.

Damon






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