When calling propertyView()->setActiveProperty() sub-items are not created immediately. So if I send fake Enter key to the view synchronously it doesn't start inplace editing. I have to send it async at the next frame.
Is it possible to fix this? Is it also possible to create a method for triggering inplace editor without having user to send fake keyboard events? Would like something like this:
propertyView()->setActiveProperty(...);
propertyView()->startEditingActiveProperty(); // create inplace editor and focus on it
See also:
cegui/ceed-cpp@c7c2f3a#diff-583c1e7f1eb64f6f91c4b799dcca092a8388a8c63cca38f694237d404224cbbcR1352
When calling propertyView()->setActiveProperty() sub-items are not created immediately. So if I send fake Enter key to the view synchronously it doesn't start inplace editing. I have to send it async at the next frame.
Is it possible to fix this? Is it also possible to create a method for triggering inplace editor without having user to send fake keyboard events? Would like something like this:
propertyView()->setActiveProperty(...);
propertyView()->startEditingActiveProperty(); // create inplace editor and focus on it
See also:
cegui/ceed-cpp@c7c2f3a#diff-583c1e7f1eb64f6f91c4b799dcca092a8388a8c63cca38f694237d404224cbbcR1352