A quick question - can you have a separator between choices in a
wx.Choice like you can in menus and toolbars? In other words, is there
an equivalent to the AddSeparator/AppendSeparator method? Better yet,
if I have a list of strings, is there a string I can use that will be
converted into a separator (assuming this is even possible)?
There is nothing built-in for that, but you could add separator-like items that are "--------", " " or whatever works best for you.
···
On 7/26/11 11:59 AM, vansmith wrote:
Hi everyone,
A quick question - can you have a separator between choices in a
wx.Choice like you can in menus and toolbars? In other words, is there
an equivalent to the AddSeparator/AppendSeparator method? Better yet,
if I have a list of strings, is there a string I can use that will be
converted into a separator (assuming this is even possible)?
That solution works for me and based on what I was reading, this doesn’t surprise me much. I guess a follow up question would be the following: if I use some sort of dash to divide sections, can I “disable” them such that they aren’t selectable?
···
On Tue, Jul 26, 2011 at 3:30 PM, Robin Dunn robin@alldunn.com wrote:
On 7/26/11 11:59 AM, vansmith wrote:
Hi everyone,
A quick question - can you have a separator between choices in a
wx.Choice like you can in menus and toolbars? In other words, is there
an equivalent to the AddSeparator/AppendSeparator method? Better yet,
if I have a list of strings, is there a string I can use that will be
converted into a separator (assuming this is even possible)?
There is nothing built-in for that, but you could add separator-like items that are “--------”, " " or whatever works best for you.
No, but you can check for it in the selection events and do something like change the selection to the next item in the list.
···
On 7/26/11 12:53 PM, Bryan Smith wrote:
Thanks for the response Robin, I appreciate it.
That solution works for me and based on what I was reading, this doesn't
surprise me much. I guess a follow up question would be the following:
if I use some sort of dash to divide sections, can I "disable" them such
that they aren't selectable?