How to include an IntCtrl in XRC?

Hi,

I've just started playing around with XRC and can't figure out how to put an IntCtrl in the definition. This is because IntCtrl comes from wx.lib.intctrl and not from wx like all the other objects I am using.

I've tried:

    <object class="wxIntCtrl">
    <object class="wx.lib.intctrl.IntCtrl">

but neither work. Both say "No handler found for XML node 'object'".

I'm sure there's a very simple solution.... anyone know what I'm doing wrong?

Cheers,
Jonathan

Check out the documentation about adding custom XML handlers.
You have to write a custom handler and register it before you load the xrc
file.

UC

Hi,

I've just started playing around with XRC and can't figure out how to
put an IntCtrl in the definition. This is because IntCtrl comes from
wx.lib.intctrl and not from wx like all the other objects I am using.

I've tried:

    <object class="wxIntCtrl">
    <object class="wx.lib.intctrl.IntCtrl">

but neither work. Both say "No handler found for XML node 'object'".

I'm sure there's a very simple solution.... anyone know what I'm doing
wrong?

Cheers,
Jonathan

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

- --
  UC

- --
Open Source Solutions 4U, LLC 2570 Fleetwood Drive
Phone: +1 650 872 2425 San Bruno, CA 94066
Cell: +1 650 302 2405 United States
Fax: +1 650 872 2417

···

On Monday 23 August 2004 07:46 pm, Jonathan Viney wrote: