[wxPython-users] floating staticbitmap problem ...
Ajay
ajdeshpande at gmail.com
Fri Jul 20 12:27:26 PDT 2007
Hi Chris:
I took your suggestion about using GenStaticBitmap ... it worked ... but
while it drew my 'B' perfectly, a tooltip i had assigned to B wouldnt show
up ... is this a problem with GenStaticBitmap??
thanks much,
-Ajay
On 7/20/07, Christopher Barker <Chris.Barker at noaa.gov> wrote:
>
> Ajay J Deshpande wrote:
> > i have a staticbitmap A over which i have to position other smaller
> > static bitmaps B.
>
> wx.StaticBitmap is a wrapper around the native one on each platform. ON
> some platforms, it is not a "real" Window, so it may not be able to act
> as a parent -- it also doesn't catch Mouse events the same way, etc.
>
> in wx.lib.statbmp there is GenStaticBitmap which is a real wx.Control,
> and may work for you.
>
> On the other hand, it may be better to simple draw the bitmaps to a
> wx.Window with DC.
>
> -Chris
>
> --
> Christopher Barker, Ph.D.
> Oceanographer
>
> Emergency Response Division
> NOAA/NOS/OR&R (206) 526-6959 voice
> 7600 Sand Point Way NE (206) 526-6329 fax
> Seattle, WA 98115 (206) 526-6317 main reception
>
> Chris.Barker at noaa.gov
>
> ---------------------------------------------------------------------
> 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"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200707=
21/d29a2747/attachment.htm
More information about the wxpython-users
mailing list