da-dada

Results 8 comments of da-dada

the same faux pas is on line **10976**

Python is **dynamic** but **strongly typed** language and an int is an int and a float is a float, no magic here, and that rigidity should have been pursued long...

in the docu of Rect it clearly says int and that goes into another language, but the note on // (python 310) warns clearly that the result type may not...

your example is somewhat queer: although on Windows an instance of Pen, I suppose, would not be much different Microsoft Windows [Version 10.0.19043.1889] (c) Microsoft Corporation. All rights reserved. C:\Users\Me>python...

EVT_MENU is a **command event** (from the docu) > Note that CommandEvents and CommandEvent-derived event classes by default and unlike other Event-derived classes propagate upward from the source window (the...

well, you may (or may not) be surprised how many events are going through the system! the _logic_ is the other way round: you **Bind** those events you are interested...

> BTW I am currently experimenting with using validators on a text control, as that may be a better solution. I think so too

@GodLike3539 or subclass your property ``` import wx import wx.propgrid as pg class MyProperty(pg.IntProperty): def __init__(self, *args, **kw): super().__init__(*args, **kw) def StringToValue(self, st, flags): """ Convert a string to the...