[GRASS-dev] [GRASS GIS] #3510: wxpython 4: fix warnings for Attribute Table Manager

GRASS GIS trac at osgeo.org
Tue Mar 6 21:21:21 PST 2018


#3510: wxpython 4: fix warnings for Attribute Table Manager
--------------------------+-----------------------------------------
  Reporter:  annakrat     |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  minor        |  Milestone:  7.6.0
 Component:  wxGUI        |    Version:  svn-trunk
Resolution:               |   Keywords:  wxpython 4, attribute table
       CPU:  Unspecified  |   Platform:  Linux
--------------------------+-----------------------------------------

Comment (by annakrat):

 Thank you, I just have one note, here:


 {{{
 self.addLayerWidgets['addCat'][0].SetToolTip(wx.ToolTip(
 }}}

 it would be better to just use SetToolTip, in this case the widget is
 wx.CheckBox, so create a new class CheckBox in wrap.py similarly to other
 classes there and then you won't need to use wx.ToolTip.

 Please upload a new patch with this change and I will then apply it.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3510#comment:1>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list