[OT]GTK widget animation problem

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
 
K

Kevin Easton

Shuo Xiang said:
Greetings:

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

GTK is generally considered on-topic in comp.os.linux.development.apps -
more importantly from your point of view, there's more likely to be
people there who know the answer to your question.

- Kevin.
 

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

Similar Threads


Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top