summaryrefslogtreecommitdiff
path: root/gtk/gtkroot.h
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2019-04-09 14:05:48 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2019-06-30 23:42:44 +0100
commit6b308cd71e1c6d37cd32a3b99d21e729e181aa8d (patch)
treea741e62656b9685662b1775a3d30bfca55ebf54e /gtk/gtkroot.h
parent3b6ee32f83882c8c2c736c7bb504a47bf1fdf407 (diff)
downloadgtk+-6b308cd71e1c6d37cd32a3b99d21e729e181aa8d.tar.gz
Add constraint solver
GtkConstraintSolver is an implementation of the Cassowary constraint solving algorithm: http://constraints.cs.washington.edu/cassowary/ The Cassowary method allows to incrementally solve a tableau of linear equations, in the form of: x = y × coefficient + constant with different weights, or strengths, applied to each one. These equations can be used to describe constraints applied to a layout of UI elements, which allows layout managers using the Cassowary method to quickly, and efficiently, lay out widgets in complex relations between themselves and their parent container.
Diffstat (limited to 'gtk/gtkroot.h')
0 files changed, 0 insertions, 0 deletions