dabo Commit
Revision 5506
Date: 2009-10-27 14:56:23 -0700 (Tue, 27 Oct 2009)
Author: Paul
Trac: http://trac.dabodev.com/changeset/5506
Changed:
U trunk/dabo/ui/uiwx/dSpinner.py
Log:
Added ButtonWidth property to dSpinner. I find a value of 12 on
Diff:
Modified: trunk/dabo/ui/uiwx/dSpinner.py
===================================================================
--- trunk/dabo/ui/uiwx/dSpinner.py 2009-10-27 21:48:23 UTC (rev 5505)
+++ trunk/dabo/ui/uiwx/dSpinner.py 2009-10-27 21:56:23 UTC (rev 5506)
@@ -270,6 +270,15 @@
# Property get/set definitions begin here
+ def _getButtonWidth(self):
+ return self._proxy_spinner.Width
+
+ def _setButtonWidth(self, val):
+ if self._constructed():
+ self._proxy_spinner.Width = val
+ else:
+ self._properties["ButtonWidth"] = val
+
def _getChildren(self):
# The native wx control will return the items that make up this
composite
# control, which our user doesn't want.
@@ -339,6 +348,9 @@
+ ButtonWidth = property(_getButtonWidth, _setButtonWidth, None,
+ _("""Allows the developer to explicitly specify the
width of the up/down buttons."""))
+
Children = property(_getChildren, None, None,
_("""Returns a list of object references to the
children of
this object. Only applies to containers. Children will
be None for
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]