summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e3d18cc)
raw | patch | inline | side by side (parent: e3d18cc)
author | Alex Leone <acleone~AT~gmail.com> | |
Tue, 1 Jun 2010 03:30:52 +0000 (20:30 -0700) | ||
committer | Alex Leone <acleone~AT~gmail.com> | |
Tue, 1 Jun 2010 03:30:52 +0000 (20:30 -0700) |
src/ui/widget/page-sizer.cpp | patch | blob | history | |
src/ui/widget/page-sizer.h | patch | blob | history |
index 05de86308fc666ac3449af601b15339fa8638345..e2be98664b94f42af389c42a19c6b1afc2d339e8 100644 (file)
_customDimTable.attach(_dimensionHeight, 0,1, 1,2);
_customDimTable.attach(_fitPageMarginExpander, 0,2, 2,3);
+ _dimTabOrderGList = NULL;
+ _dimTabOrderGList = g_list_append(_dimTabOrderGList, _dimensionUnits.gobj());
+ _dimTabOrderGList = g_list_append(_dimTabOrderGList, _dimensionWidth.gobj());
+ _dimTabOrderGList = g_list_append(_dimTabOrderGList, _dimensionHeight.gobj());
+ _dimTabOrderGList = g_list_append(_dimTabOrderGList, _fitPageMarginExpander.gobj());
+ Glib::ListHandle<Widget *> dimFocusChain(_dimTabOrderGList, Glib::OWNERSHIP_NONE);
+ _customDimTable.set_focus_chain(dimFocusChain);
+
//## Set up fit page expander
- _fitPageMarginExpander.set_label(_("Resi_ze page to content..."));
_fitPageMarginExpander.set_use_underline();
+ _fitPageMarginExpander.set_label(_("Resi_ze page to content..."));
_fitPageMarginExpander.add(_marginTable);
//## Set up margin settings
*/
PageSizer::~PageSizer()
{
+ g_list_free(_dimTabOrderGList);
}
index 7c20485345c2968166e794a3a257dbcc6175269a..ba6c8dd13fa584478c5c52fe8361edaf58428245 100644 (file)
RegisteredUnitMenu _dimensionUnits;
RegisteredScalarUnit _dimensionWidth;
RegisteredScalarUnit _dimensionHeight;
+ GList * _dimTabOrderGList;
//### Fit Page options
Gtk::Expander _fitPageMarginExpander;