Re: Conditional widget style
Dietmar Schwertberger <[email protected]> Thu, 3 Feb 2022 19:24:25 +0100
| Newsgroups | gmane.comp.python.wxglade |
|---|---|
| Message-ID | <[email protected]> |
Alternatively, you could use a CustomWidget. - instance class: TextCtrl - Arguments: $parent, $id, style=style - Code to be inserted before: style = wx.TE_READONLY if sys.platform=="darwin" else 0 I would go for the first solution, though. Regards, Dietmar _______________________________________________ wxGlade-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wxglade-general