You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't know if this is the right place to make a wxmpl
feature request: a click-event-handling and
tab-navigatable panel object with the appearance of a
compass which the programmer can use to provide a list
of angle choices which are then properly displayed in
the object. Something like:
myCompass = wxmpl.Compass(wx.CLICK_EVT,
handler = myCompassEvtHndlr,
labels = ["N", "NE", etc],
positions = (0, 45, etc.),
units = degrees,
zero = 90, # this specifies where zero is relative
to #the "standard" zero being due East
clockwise = True, # this specifies whether the
(My NOAA colleague, Chris Barker, says this shouldn't
be too hard to mock-up w/ his FloatCanvas module, but I
still think it'd be nice if wxmpl provided one.)
David Goldsmith
The text was updated successfully, but these errors were encountered:
Original report at SourceForge, opened Thu Jul 27 18:05:19 2006
Don't know if this is the right place to make a wxmpl
feature request: a click-event-handling and
tab-navigatable panel object with the appearance of a
compass which the programmer can use to provide a list
of angle choices which are then properly displayed in
the object. Something like:
myCompass = wxmpl.Compass(wx.CLICK_EVT,
handler = myCompassEvtHndlr,
labels = ["N", "NE", etc],
positions = (0, 45, etc.),
units = degrees,
zero = 90, # this specifies where zero is relative
to #the "standard" zero being due East
clockwise = True, # this specifies whether the
positions should be interpreted as increasing
clockwise #or counter-clcokwise = False
background = bitmapfile,
etc.)
myCompass.Show()
yields:
(Only nicer looking, of course).
(My NOAA colleague, Chris Barker, says this shouldn't
be too hard to mock-up w/ his FloatCanvas module, but I
still think it'd be nice if wxmpl provided one.)
David Goldsmith
The text was updated successfully, but these errors were encountered: