Re: [glade--]Rearragement of code (dialog's widgets as members)



triendl klaus schrieb:
glademm is already able to do this task - just set a widget in glade to protected or even public.

Is this information that well hidden?

but what would be great is if glademm would allow creating normal members - not only pointers. what do you think?

This was part of glademm-0.4.x? I stopped maintaining that code because with gtkmm-1.2, the recommended way to allocate widgets was on heap. It simplified things a lot since it was possible to rearrange the creation order easily (otherwise you would have to reorder the member variables).

A lot of more complicated widgets still rely on other widgets being created first (internal objects (e.g. Adjustment), sometimes children or parent).

   Christof




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