Re: GtkBuilder Public API - Last call



On Thu, 2007-06-14 at 12:42 +0300, markku vire iki fi wrote:

> So, I'm asking: Why not include something like "set widget name" option
> into glade and xml-file, or separate property for the name to be set??
> Those widgets that have this flag set will have gtk_widget_set_name called, 
> other do not (name is just a internal reference, like a variable name in C). 
> By default this would be off (since most widgets are certainly not special 
> ones, you are not calling gtk_widget_set_name for each widget if you write 
> the UI by hand, do you...)

In Glade-2 for code generation it was a project-wide option, "Set Widget
Names", and the default was FALSE (since few people use them).

If it was up to me I'd probably make it an optional GtkBuilder setting,
and default to FALSE again. Though it's not a big deal.

Damon





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