[OT]GTKmm widget animation

S

Shuo Xiang

Greetings:

I'm sorry that this is off-topic because I can't post to the GTKmm mailing
list for some reason.

I am trying to animate the moving of a poker card from one point in the
window to another. The poker card is of type Gtk::Image and is included in
a container of type Fixed (i.e. it allows for absolute x/y positioning of
its child widgets). I continuously called "Fixed.move()" on the poker card
with new x/y coordinates but nothings gets shown except the position afte
rthe final call to Fixed.move(). Why is it like that? How can I force a
redraw of the poker card in its new position after each call to
Fixed.move()?

Regards,

Shuo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,040
Latest member
papereejit

Latest Threads

Top