[wxPython-users] wxColourPickerCtrl question ...
Ajay
ajdeshpande at gmail.com
Thu Oct 11 07:45:51 PDT 2007
hey bruce:
thanks a lot ... it works correctly ...
-Ajay
On 10/11/07, Bruce at blazer <bruce at blazertech.net> wrote:
>
>
>
> Hi Ajay,
>
>
>
>
> Try calling the Update() method after the Refresh() method.
>
>
>
>
> Bruce.
>
>
>
>
>
>
>
>
>
>
> Thursday, October 11, 2007, 10:16:18 PM, you wrote:
>
>
>
>
> A> Hi people:
>
>
>
>
> A> I have a button, which when clicked sets the color of a
>
> A> wxColourPickerCtrl using its "SetColour" method. Right after this I am
>
> A> calling its "Refresh" method. While the color gets set, i dont see the
>
> A> color rectangle getting refreshed.
>
>
>
>
> A> here is the snippet ....
>
>
>
>
> A> ...
>
> A> self.color_min = (150, 150, 150)
>
> A> self.colorpane1.SetColour(self.color_min)
>
> A> self.colorpane1.Refresh()
>
> A> ...
>
>
>
>
> A> do i need to do anything besides Refresh here?
>
>
>
>
> A> thanks in advance,
>
> A> -Ajay
>
>
>
>
>
>
>
>
>
>
>
>
>
> --
>
> Best regards,
>
> Bruce mailto:bruce at blazertech.net
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> wxPython-users-unsubscribe at lists.wxwidgets.org For
> additional commands, e-mail:
> wxPython-users-help at lists.wxwidgets.org
--
"Hatchet, Axe and Saw"
More information about the wxpython-users
mailing list