Martins1
24-05-2007 12:55:09
Hello,
I have a MultiLineEditbox stored in inputWindow, and when I try to subscribe to an event I get an error. Subscribing to events for buttons works ok!
From what I have traced it looks that there is missing some wrapper for MultiLineEditbox in hand_made_wrappers.py.
gives me an error:
I even tried to change the type of object like this, but it did not help:
Can anyone suggest a workaround?
I have a MultiLineEditbox stored in inputWindow, and when I try to subscribe to an event I get an error. Subscribing to events for buttons works ok!
From what I have traced it looks that there is missing some wrapper for MultiLineEditbox in hand_made_wrappers.py.
inputWindow.subscribeEvent(CEGUI.Window.EventKeyDown, self, "onInputKeyDown")
gives me an error:
inputWindow.subscribeEvent(CEGUI.Window.EventKeyDown, self, "onInputKeyDown")
Boost.Python.ArgumentError: Python argument types in
EventSet.subscribeEvent(Editbox, String, instance, str)
did not match C++ signature:
subscribeEvent(class CEGUI::MultiColumnList *, class CEGUI::String, struct _object *, class CEGUI::String)
subscribeEvent(class CEGUI::DragContainer *, class CEGUI::String, struct _object *, class CEGUI::String)
subscribeEvent(class CEGUI::RadioButton *, class CEGUI::String, struct _object *, class CEGUI::String)
subscribeEvent(class CEGUI::Spinner *, class CEGUI::String, struct _object *, class CEGUI::String)
subscribeEvent(class CEGUI::Slider *, class CEGUI::String, struct _object *, class CEGUI::String)
subscribeEvent(class CEGUI::Thumb *, class CEGUI::String, struct _object *, class CEGUI::String)
subscribeEvent(class CEGUI::Editbox *, class CEGUI::String, struct _object *, class CEGUI::String)
subscribeEvent(class CEGUI::FrameWindow *, class CEGUI::String, struct _object *, class CEGUI::String)
subscribeEvent(class CEGUI::GUISheet *, class CEGUI::String, struct _object *, class CEGUI::String)
subscribeEvent(class CEGUI::Scrollbar *, class CEGUI::String, struct _object *, class CEGUI::String)
subscribeEvent(class CEGUI::Checkbox *, class CEGUI::String, struct _object *, class CEGUI::String)
subscribeEvent(class CEGUI::Combobox *, class CEGUI::String, struct _object *, class CEGUI::String)
subscribeEvent(class CEGUI::Listbox *, class CEGUI::String, struct _object *, class CEGUI::String)
subscribeEvent(class CEGUI::Titlebar *, class CEGUI::String, struct _object *, class CEGUI::String)
subscribeEvent(class CEGUI::PushButton *, class CEGUI::String, struct _object *, class CEGUI::String)
subscribeEvent(struct EventSet_wrapper {lvalue}, class CEGUI::String name, unsigned int group, class CEGUI::SubscriberSlot subscriber)
subscribeEvent(class CEGUI::EventSet {lvalue}, class CEGUI::String name, unsigned int group, class CEGUI::SubscriberSlot subscriber)
subscribeEvent(struct EventSet_wrapper {lvalue}, class CEGUI::String name, class CEGUI::SubscriberSlot subscriber)
subscribeEvent(class CEGUI::EventSet {lvalue}, class CEGUI::String name, class CEGUI::SubscriberSlot subscriber)
I even tried to change the type of object like this, but it did not help:
inputWindow.__class__ = CEGUI._cegui_.Editbox
Can anyone suggest a workaround?