Version 1 of making your own geometry manager

Updated 2011-08-20 20:35:28 by Ro

custom geometry managers: packing in a text widget (flows?) vs widgets in a canvas vs place

any limitations to using the canvas as a widget container, using <Configure> to move widgets when master changes size, and scrolling around because its a canvas?

im basically mimicking a web browser with css -- not sticking to css, just the idea of flowable layout in a viewport, im used to how the GUI works in a browser, flowable widgets nice and scrollable all around and the ability to increase font sizes for all gui elements with a control-mousewheel

using place i dont know how to make it scrollable, and i didnt think of using the text widget. so im using the canvas right now and it seems to work for at least a basic version (font changes work, on master resize the childs resize to fill width, floating layout where widgets get a percentage of the width not implemented)

the font changing feels so good, feels flexible