Hello All,
Can any body tell me is their any support avaiable in CGGUI Library to show a property sheets of a Gui widget.
Or i need to create it on my own.
Rgds,
Ritz
How to define Property sheets of GUI widgets
Moderators: CEGUI MVP, CEGUI Team
How to define Property sheets of GUI widgets
Can you please explain a little what you are trying to achieve ? I am not sure to understand what you want ...
Banania
How to define Property sheets of GUI widgets
I am plainng to create a GUI widget.
I want to provide a dialog where user should be able to change properties of the widget on runtime.
This is similar to any activex control property sheet used in windows.
Hope i am able to explain what i am looking for.
Ritz
I want to provide a dialog where user should be able to change properties of the widget on runtime.
This is similar to any activex control property sheet used in windows.
Hope i am able to explain what i am looking for.
Ritz
How to define Property sheets of GUI widgets
A property sheet widget capable of handling different types of property would be indeed a nice widget to have.
But, you could easily fake one using the multicolumnlist widget, having one column for the property name and one column for it's value.
Of course, you would have to handle the values as strings, but it's not too much of an issue. Or maybe, you could subclass the ListboxItem class to handle values as boolean, numbers... I never actually tried it so I am not sure it is possible but it seems reasonable.
You can populate the list with Window::getPropertyIterator().
Well, if you still plan on creating a fully functionnal property sheet widget, i'd love to hear about it...
But, you could easily fake one using the multicolumnlist widget, having one column for the property name and one column for it's value.
Of course, you would have to handle the values as strings, but it's not too much of an issue. Or maybe, you could subclass the ListboxItem class to handle values as boolean, numbers... I never actually tried it so I am not sure it is possible but it seems reasonable.
You can populate the list with Window::getPropertyIterator().
Well, if you still plan on creating a fully functionnal property sheet widget, i'd love to hear about it...
Banania
Return to “CEGUI Library Development Discussion”
Who is online
Users browsing this forum: No registered users and 1 guest