selection color for wx.grid.Grid (on linux)

Demetrios Tsillas <[email protected]> Fri, 19 Apr 2019 12:35:05 -0700 (PDT)
Newsgroups gmane.comp.python.wxpython.devel
Message-ID <[email protected]>
------=_Part_10_1007345967.1555702505406
Content-Type: multipart/alternative; 
	boundary="----=_Part_11_1560253714.1555702505406"

------=_Part_11_1560253714.1555702505406
Content-Type: text/plain; charset="UTF-8"

I have an app which populates a grid and selects row 0 on startup.

The problem is that the selected row is shown as having a grey background.

Once I select the right (left-mouse) it turns into the correct orange color 
(rgba(240, 119, 70, 0.902)).

Is there someway I can have the correct color shown even before selecting 
the row with the mouse?

Also, once I load the grid if I left-click the column label area (above the 
grid data) before I select a row I get this message on the console:

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

Using 4.0.4, Ubuntu 18.02 and python 2.7. Unfortunately the app is large so 
coming up with a simple .py to demonstrate the problem is not easy.

-- 
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

------=_Part_11_1560253714.1555702505406
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I have an app which populates a grid and selects row 0 on =
startup.<div><br></div><div>The problem is that the selected row is shown a=
s having a grey background.</div><div><br></div><div>Once I select the righ=
t (left-mouse) it turns into the correct orange color (rgba(240, 119, 70, 0=
.902)).</div><div><br></div><div>Is there someway I can have the correct co=
lor shown even before selecting the row with the mouse?</div><div><br></div=
><div>Also, once I load the grid if I left-click the column label area (abo=
ve the grid data) before I select a row I get this message on the console:<=
/div><div><br></div><div><div>*** BUG ***</div><div>In pixman_region32_init=
_rect: Invalid rectangle passed</div><div>Set a breakpoint on &#39;_pixman_=
log_error&#39; to debug</div></div><div><br></div><div>Using 4.0.4, Ubuntu =
18.02 and python 2.7. Unfortunately the app is large so coming up with a si=
mple .py to demonstrate the problem is not easy.</div><div><br></div></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;wxPython-dev&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:[email protected]">wxPyth=
[email protected]</a>.<br />
For more options, visit <a href=3D"https://groups.google.com/d/optout">http=
s://groups.google.com/d/optout</a>.<br />

------=_Part_11_1560253714.1555702505406--

------=_Part_10_1007345967.1555702505406--