I want to Click , Drag and Move a button on the pygtk window -


i managed find sample code images described in following link .

how drag images pygtk

however when use button doesn't seem work .

what original link does:

it moves (pans) image inside 'scrolled window' widget. widget doesn't change places, image respect widget.

if want move button itself, more complicated! easier if use 'fixed' layout manager, buttons located in absolute coordinates (as opposed 'normal' layout manager widgets 'packed' alongside each other. there should use drag , drop. have prepare entire application 'receiving' button, , when gets there. involves many steps! ).

have @ gtk.fixed widget's documentation.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -