Re: Parbox


> But didn't he say that this widget should hold words, pixmaps an widgets.
> That sounds to me not as if he wants one widget for each word, but one
> that could hold a set of words, and widgets, mixed (I.e. a special
> handling just for text and pixmaps, but all other sub-widget types are
> handled normal).

This seems to be the turn things are taking, indeed. Though I'd prefer a GTK
that scaled nicely all the way, of course. To me, it doesn't sound like an
impossible task, as you'd only have to lay out the words and widgets actually
in view (in the case of a long document).

If every word could have a lightweight widget wrapper, it'd make life easy -
you could for instance set attributes such as interactiveness (signal
catching) for certain words/phrases - voila, hyperlinks. And special visual
attributes? No problem.

But if the GtkObjects are inherently slow for massive allocation purposes, I
suppose it should be done through a more apt interface (memory/processing is
cheap, but not that cheap these days). So, we add some magic hair to it.

Is such a lightweight structural model within the scope of GTK, by the way? I
have one for text and markup with XML semantics, almost ready.

Hans Petter K. Jansson, programmer              Simplemente Soluciones                  
Nicolás San Juan #239                              Tel: +52 5 639 1261
Col. Del Valle CP. 03100, México D.F, MEXICO       Fax: +52 5 639 4860

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