Re: Some questions



El Sáb 03 Feb 2001 18:14, escribiste:

> if they are really labels, then since labels are derived from
> GtkMisc, use gtk_misc_set_alignment().

Thanks.

> >3) Eventually, I'll need a more flexible layout, a "raw" layout that don't

> BTW, I hope your claim about "application needs" is true. I'm involved
> in an effort with some similarities to what you describe, and we
> realized after a while that the box-packing metaphor used by GTK was
> far more robust and useful for an XML GUI specification than one that
> used coordinates, even though this seemed far from obvious at the outset.

I'm not actually thinking about defining coordinates into the XML files. The 
true widget positions will be calculated from hints (mostly a widget should 
wish to be placed besides or below another widget) in the XML. This approach 
comes as I'm looking for something really simple, but somewhat complex than a 
table holding Label/Entry pairs. 
I accept any ideas, as the whole thing is mostly a proof-of-concept now, but 
the key concept around this issue is simplicity, as the central point is not 
appareance but data (A very LaTeX-ish approach, but applied to database 
development). 

-- 
Saludos

Julio César Gázquez




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