On Feb 5, 2015, at 12:23 PM, john <[email protected]> wrote:

> makeGridEditor is a method in uiwx/__init__ - can anyone explain why it's 
> there?  It appears that it is called from only uiwx/dGrid.py when setting up 
> the dGrid test.  The way I understand to create a CellRederer does not match 
> the code in makeGridEditor.  I not saying I know everything about 
> CellRederers but to be honest I don't understand it.  There is no method 
> clone, or draw.  I do not see where it inherits from either 
> PyGridCellRenderer or GridCellRenderer.
> 
> Does anyone use the makeGridEdior in their code?  I ask because I'd like to 
> remove it.

It looks like it's there to allow for customization of the class used to edit 
in a grid. wx defaults to a regular text box; the test code customizes that. I 
presume that others who use editable grids would like to have a simple enough 
way to customize that editor.


-- Ed Leafe







--- StripMime Report -- processed MIME parts ---
multipart/signed
  text/plain (text body -- kept)
  application/pgp-signature
---

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to