Re: How to dynamically create and populate widgets in wxglade created code.

Dietmar Schwertberger <[email protected]>
Newsgroups gmane.comp.python.wxglade
Message-ID <[email protected]>
On 12.03.2019 02:17, Dennis DeBerry via wxGlade-general wrote:
> In any case I am not really set upon using a radiobutton or a 
> radiobox. Those to just seemed the most logical to me since the only 
> allow the user to select ONE of  multiple choices. Checkboxes allow 
> the user to select multiple choices which I do not want.. The table 
> query will return a list of tuples. With each element being a

A wx.Choice is the easiest option for this use case.


>
> I guess really my question boils down to how to use wxglade to make 
> ONE radiobutton( if I will stay with that for the table choice. I am 
> looking at the documentation for a wx.ListCtrl and that looks like it 
> might be a better option)

A ListCtrl is for data, not for something like this.


> I have seen the extra code sections on in wxglade but for some widgets 
> wx glade will actually write code before or after the widget and for 
> some widgets even though I type in code in that box in the interface 
> it is not generated when glade generates the python code. ????

If you post an example file or submit an issue at 
https://github.com/wxGlade/wxGlade/issues then I will look into it.


>
> I hope this makes thing clearer in what I am trying to do.

Well, the info about how to add radio buttons is in the previous post.

Regards,

Dietmar

_______________________________________________
wxGlade-general mailing list
wxGlade-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/wxglade-general
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.