1. Properties Grid with wxEuphoria
- Posted by euphoric (admin) Nov 16, 2011
- 1013 views
Matt,
What control would I use to create a properties control, which shows property names on the left column and their corresponding values on the right? I tried using a wxGrid control, but I don't want column/row headers, and that seems to show them even if I set them to size 0. Maybe that's not the right way to hide the headers?
Is there a list control that lets me have columns?
Regardless, how about working up a nice properties dialog example?
Thank you!
2. Re: Properties Grid with wxEuphoria
- Posted by mattlewis (admin) Nov 16, 2011
- 990 views
Matt,
What control would I use to create a properties control, which shows property names on the left column and their corresponding values on the right? I tried using a wxGrid control, but I don't want column/row headers, and that seems to show them even if I set them to size 0. Maybe that's not the right way to hide the headers?
Is there a list control that lets me have columns?
Regardless, how about working up a nice properties dialog example?
I've used wxGrids for properties dialogs. You should be able to make the column and row headers disappear with:
set_col_label_size( grid, 0 ) set_row_label_size( grid, 0 )
At least, it works for me under GTK. I think there is a "real" properties control in 2.9. I'll probably start working on that fairly soon, since that appears to be the only way to get wxEuphoria working on Win64.
Matt
3. Re: Properties Grid with wxEuphoria
- Posted by euphoric (admin) Nov 16, 2011
- 1015 views
At least, it works for me under GTK. I think there is a "real" properties control in 2.9. I'll probably start working on that fairly soon, since that appears to be the only way to get wxEuphoria working on Win64.
Yeah, that worked. I was setting it to 0 from within my GUI designer and I guess that's not good enough.
Thanks!