GNOME Bugzilla – Bug 169673
Add a quantum value to GtkPaned
Last modified: 2011-02-04 16:10:23 UTC
EPaned from the 'gal' module has a quantum value. With it, the paned will only grow/shrink in multiples of the quantum value. Evolution uses this for its little-calendar pane. We'd need a "quantum-size" int property, plus a setter/getter.
Note also bug #58952, which talks about gtk_paned_set_proportion().
We dropped e-paned for 2.0.x but it would be nice to have this feature back, it helps when resizing windows.
Federico, can you specify in a bit more detail how such a quantum is supposed to constrain the size allocation of the paned ? are both children restricted to sizes which are a multiple of the quantum ? or is it just that when dragging, you jump in steps of quantum size ?
From a quick look at the old gal/gal/e-paned/e-paned.c and gal/gal/e-paned/e-hpaned.c, the only effect of the quantum is that the handle moves in multiples of it.
I don't think this is worth it in that form.