dabo Commit
Revision 6499
Date: 2011-03-17 11:17:41 -0700 (Thu, 17 Mar 2011)
Author: Paul
Trac: http://trac.dabodev.com/changeset/6499
Changed:
U trunk/dabo/ui/uiwx/dPemMixin.py
Log:
Implemented wx's MoveBeforeInTabOrder() and MoveAfterInTabOrder(), which, after
all, probably satisfies most use cases of needing to set tab order. An appdev
only really cares about relative tab order, and it only comes into play in
situations where the objects are instantiated in a different order.
Diff:
Modified: trunk/dabo/ui/uiwx/dPemMixin.py
===================================================================
--- trunk/dabo/ui/uiwx/dPemMixin.py 2011-03-15 00:05:03 UTC (rev 6498)
+++ trunk/dabo/ui/uiwx/dPemMixin.py 2011-03-17 18:17:41 UTC (rev 6499)
@@ -844,6 +844,16 @@
self.ControllingSizer.setItemProp(self, prop, val)
+ def moveTabOrderBefore(self, obj):
+ """Moves this object's tab order before the passed obj."""
+ self.MoveBeforeInTabOrder(obj)
+
+
+ def moveTabOrderAfter(self, obj):
+ """Moves this object's tab order after the passed obj."""
+ self.MoveAfterInTabOrder(obj)
+
+
def processDroppedFiles(self, filelist, x, y):
"""
Handler for files dropped on the control. Override in your
_______________________________________________
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]