BUG: GridSelectRows missing?

The following variables seem to be missing from grid.py:

wxGridSelectRows
wxGridSelectCells
wxGridSelectColumns

although they are referenced in wxGridPtr.

This is in wxPython 2.4.2.4.

Joshua Weage

···

=====

__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

Joshua Weage wrote:

The following variables seem to be missing from grid.py:

wxGridSelectRows
wxGridSelectCells
wxGridSelectColumns

although they are referenced in wxGridPtr.

This is in wxPython 2.4.2.4.

They are members of wxGrid in C++ so you can get to them as "wxGrid.wxGridSelectRows" in Python.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Ok. I think I've got it now. I'm using the new naming convention so:

import wx
import wx.grid

wx.grid.Grid.wxGridSelectRows # this works
wx.grid.GridSelectRows # this doesn't work

Thanks,

Josh

In this case, GridSelect* or wxGridSelect* don't appear in wx.grid.

···

--- Robin Dunn <robin@alldunn.com> wrote:

Joshua Weage wrote:
>>The following variables seem to be missing from grid.py:
>>
>>wxGridSelectRows
>>wxGridSelectCells
>>wxGridSelectColumns
>>
>>although they are referenced in wxGridPtr.
>>
>>This is in wxPython 2.4.2.4.

They are members of wxGrid in C++ so you can get to them as
"wxGrid.wxGridSelectRows" in Python.

=====

__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

Joshua Weage wrote:

Ok. I think I've got it now. I'm using the new naming convention so:

import wx
import wx.grid

wx.grid.Grid.wxGridSelectRows # this works
wx.grid.GridSelectRows # this doesn't work

In 2.5 either of these will work:

wx.grid.Grid.wxGridSelectRows # like the above
wx.grid.Grid.SelectRows

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!