3 ms·
The use of constraints to let the user specify where to put things but still allow enough flexibility to do OS-dependant things is interesting (and possibly nov
by calpaterson 12y ago
The use of constraints to let the user specify where to put things but still allow enough flexibility to do OS-dependant things is interesting (and possibly novel?):
http://toga.readthedocs.org/en/latest/introduction/tutorial-0.html http://toga.readthedocs.org/en/latest/introduction/tutorial-...
- matthewmacleod 12y agoI think that's basically the same as Cocoa's Autolayout, which is also constraint-based. It's a good model, though.
- PuercoPop 12y agoNot really novel[1], just not used enough [1]: https://en.wikipedia.org/wiki/Sketchpad https://en.wikipedia.org/wiki/Sketchpad
- Game_Ender 12y agoIt's similar to the sizer concept in wxWidgets: http://wiki.wxwidgets.org/WxSizer http://wiki.wxwidgets.org/WxSizer
- daurnimator 12y agoCassowary ( http://constraints.cs.washington.edu/cassowary/ http://constraints.cs.washington.edu/cassowary/ ) is used by Apple for this.
- freakboy3742 12y agoFYI, Toga uses Cassowary as well - natively through Apple's implementation on OSX and iOS, and via a Python implementation of the algorithm (http://pybee.org/cassowary/ http://pybee.org/cassowary/) for GTK and Windows.
- james2vegas 12y agoyeah, very novel. https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/Tutorial/The_Box_Model https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/Tu... http://docs.oracle.com/javase/tutorial/uiswing/layout/howLayoutWorks.html http://docs.oracle.com/javase/tutorial/uiswing/layout/howLay...
- comex 12y agoNeither of those are constraint based.
- deleted 12y ago[deleted]