[Glade-devel] [glade-3] Widget selection not working well



On Sun, 2004-05-02 at 09:43, Joaquin Cuenca Abela wrote:
 Damon wrote:

Currently it is impossible to select some widgets in glade-3, e.g.
GtkLabel, GtkEntry.

Like drawing selection rectangles, this was quite tricky to 
get working in glade-2, and I even had to change it slightly 
to work with GTK+ 2.6.

Any objections to porting the glade-2 code over (and 
tidying/simplifying it if possible)?

glade-2 now connects to the "event" signal for all widgets 
(including any internal children). It does this as this 
signal is emitted before "button_press"/"button_release", so 
it gives Glade a better chance to intercept signals before 
the widget's own code is run.

Ok, no problem with me.

I've done this. Actually most of the existing Glade 3 code was OK,
except for a small bug.

Selection works a lot better now. Though I expect a few problems to crop
up, especially when we add support for GtkFixed/GtkLayout.

Damon






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