Re: building a modular interface



On 27 March 2012 14:39, Tristan Van Berkom <tvb gnome org> wrote:
Hi.

First, please dont bluntly use a single Glade file to define your
entire interface.

I'll attach here the same tarball which I attached a couple months ago
here for demonstration:
   lists.ximian.com/pipermail/glade-users/2012-January/005469.html

With the approach described in the attached tarball, you can simply
bootstrap your composite widgets into types directly so that when
you create an instance it already has it's interface sub-components
created. (such as a "preferences dialog" or "item editor widget" or
"user status thingy" or whatever is relevant for your application).

Thanks, grabbed that to look through now. I haven't done more than
notifications or config menus before so it's all new to me.

This is a little orthogonal to optional viewing of sub-components of your
application, typically we control what components of an application are
visible via the "View" menu, and we load/save this state along with any
relevant session data (possibly to a GKeyFile)

I don't really want to just turn widgets on or off but just trying to
find away to make vast changes to ui using something simple like a
conf file. although i should learn to walk before running by the looks
of it.

thanks for this.



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