Advanced balloontips

Hi,

I am wondering, is there a way to do more advanced balloontips like the one used by f.ex. Autodesk Inventor? The balloontip there is not just simple text, there is also an image and sometimes even an animation in the balloon. I am thinking this could be done using an animated gif or something.

Would it be something that would be a relatively easy extension in WxPython?

Best,

Soren

It all depends on how familiar you are with wxPython and building custom controls…
I would rate a library quality control based upon your description as intermediate to advanced.
Having posted a screen shot of the widget you intend to create helps a bit visually.
You can attach a cropped example image to a post for others to view and help with ideas on how-to-do-its.
Sometimes there is someone out there that has already created one(3rd party), but isn’t in the standard wxpy lib.

Here is a shot in the dark…
… It sounds like you are wanting a custom balloontip similar to wx/lib/agw supertooltip… There is a wxPython Demo for this widget.
Basic example of a custom tooltip frame.
I’d might start with a drawing function that makes a balloontip shape in a DC, create a mask/bitmap out of the balloontip shape,
apply that info to the wxPython ShapedFrame Demo’s logic,
Calculate text sizes/image size(scaled image?? or AnimateCtrl, etc…) and slap all the goodies onto the visible section of the balloontip(frame) with
your prefered layout, then show the frame.
Bonus points for fancy gradients/fonts, fade timers, custom animations, cutouts, and sound fx or anything else.

…Or find a similar existing widget in the wxpy library and start modding the code into what you need…

···

On Friday, March 11, 2016 at 2:05:05 AM UTC-6, Soren wrote:

Hi,

I am wondering, is there a way to do more advanced balloontips like the one used by f.ex. Autodesk Inventor? The balloontip there is not just simple text, there is also an image and sometimes even an animation in the balloon. I am thinking this could be done using an animated gif or something.

Would it be something that would be a relatively easy extension in WxPython?

Best,

Soren