[Glade-devel] widgets with the same name in the same file?



It is possible. When you start Glade (or Edit=>Preferences), choose in 
the preferences dialog for:
Object names are unique: inside toplevels

Instead of "Within the project".

Timo


Roland Koebler schreef:
Hi,

in Glade v3 it seems to be impossible to give two widgets the same
name, which was possible in Glade v2. Although it may sound strange
at first, it definitely is useful to have two widgets with the same
name in one file, e.g. for having several windows in 1 glade-file,
where each window has a "close_button" or a "number_entry".
I used this a lot with Glade v2.

So, could you again (like in Glade v2) allow several widgets with the
same name in one file?

(The alternative for the example above would either be much longer widget-
names (plus specific code for every window, since generic code may not work)
or a whole bunch of glade-files---which both seems clumsy.)


regards,
Roland

_______________________________________________
Glade-devel maillist  -  Glade-devel at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-devel
  





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