Label layout




GtkTooltips have a very nice layout algorithm that tries to make the
tooltip take up a reasonable rectangle (not to tall or wide) regardless of
window, screen size, or text length.

I've just been writing a good old fashioned error dialog, which exists
solely to display a label, and could really a label that has the same
characteristics of automatic wrap/layout. Anyone care to port
gtk_tooltips_layout_text to gtk_label, or (better) make this a more
general-purpose routine?

Thanks,
Ken
-- 
Kenneth Albanowski (kjahds@kjahds.com, CIS: 70705,126)




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