On Tuesday 02 December 2008 01:55:28 pm Ed Leafe wrote:
> On Dec 2, 2008, at 3:45 PM, johnf wrote:
> > I need a pair of listboxes with items that can be reordered and
> > moved between
> > the listboxes. I don't know what this is called but I have seen it
> > many
> > times in programs like cuteFTP where you select a file in either
> > list and
> > then click on the center button to move the file to the other list.
> >
> > Does anyone have a suggestion as to the best way to create this
> > control. Or
> > does someone have some code that does this and wants to help me out?
>
> Check out ide/mover.cdxml, which was designed just for this purpose.
> I was hoping that others would contribute custom controls, so that
> eventually we would have a library of useful widgets, but so far this
> is the only one.
>
>
> -- Ed Leafe
Bummer! I don't have the font? Is there an easy way to fix this? I get the
following:
Traceback (most recent call last):
File "/home/johnf/downloads/dabo/dabo/ui/uiwx/dMenuItem.py", line 55, in
__onWxHit
self.raiseEvent(dEvents.Hit, evt)
File "/home/johnf/downloads/dabo/dabo/ui/uiwx/dPemMixin.py", line 925, in
raiseEvent
super(dPemMixin, self).raiseEvent(eventClass, nativeEvent, *args,
**kwargs)
File "/home/johnf/downloads/dabo/dabo/lib/eventMixin.py", line 92, in
raiseEvent
bindingFunction(event)
File "ClassDesigner.py", line 1672, in onOpenDesign
self.openClass(ff)
File "ClassDesigner.py", line 594, in openClass
obj = self.recreateChildren(frm.mainPanel, kids, None, False)
File "ClassDesigner.py", line 989, in recreateChildren
self.recreateChildren(obj, kids, None, False)
File "ClassDesigner.py", line 752, in recreateChildren
self.recreateChildren(parent, [kid], sz, True)
File "ClassDesigner.py", line 857, in recreateChildren
skipUpdate=True, attProperties=atts)
File "ClassDesigner.py", line 2572, in addNewControl
obj = mixedClass(parent, properties=props, attProperties=attProperties)
File "ClassDesigner.py", line 2742, in __init__
apply(base.__init__,(self,) + args, kwargs)
File "/home/johnf/downloads/dabo/dabo/ui/uiwx/dListBox.py", line 20, in
__init__
dcm.dControlItemMixin.__init__(self, preClass, parent, properties,
attProperties, *args, **kwargs)
File "/home/johnf/downloads/dabo/dabo/ui/uiwx/dControlItemMixin.py", line
20, in __init__
super(dControlItemMixin, self).__init__(*args, **kwargs)
File "/home/johnf/downloads/dabo/dabo/ui/dDataControlMixinBase.py", line 22,
in __init__
dabo.ui.dControlMixin.__init__(self, *args, **kwargs)
File "/home/johnf/downloads/dabo/dabo/ui/uiwx/dPemMixin.py", line 181, in
__init__
self._setNameAndProperties(properties, **kwargs)
File "/home/johnf/downloads/dabo/dabo/ui/uiwx/dPemMixin.py", line 218, in
_setNameAndProperties
self._setProperties(properties)
File "/home/johnf/downloads/dabo/dabo/ui/uiwx/dPemMixin.py", line 231, in
_setProperties
self.setProperties(properties)
File "/home/johnf/downloads/dabo/dabo/lib/propertyHelperMixin.py", line 210,
in setProperties
_setProps(propDict)
File "/home/johnf/downloads/dabo/dabo/lib/propertyHelperMixin.py", line 199,
in _setProps
setter(self, _propDict[prop])
File "/home/johnf/downloads/dabo/dabo/ui/uiwx/dPemMixin.py", line 1977, in
_setFontFace
self.Font.Face = val
File "/home/johnf/downloads/dabo/dabo/ui/uiwx/dFont.py", line 87, in
_setFace
raise dabo.dException.FontNotFoundException, _("The font '%s' doesn't
exist on this system.") % val
dabo.dException.FontNotFoundException: The font 'Lucida Grande' doesn't exist
on this system.
--
John Fabiani
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]