Hi,

When a window is moved it fires the "configure-event" signal (from 
gtk.Widget). You can connect to that signal and move your dialog to the 
window's new location. The downside is that "configure-event" isn't 
fired _while_ moving a window, only afterwards.

http://pygtk.org/docs/pygtk/class-gtkwidget.html#signal-gtkwidget--configure-event

Regards,

Walter

Daniel Hernández Bahr wrote:
> Hello everybody ..
>
> Is there any way in PyGtk to move two windows at the same time?
>
> The thing is, having a window and a modal dialog transient for that 
> window, how can i (the program) move the dialog if the user moves de 
> window, like binding them together .. ??
>
> Cheers!!
>
> -- 
> Daniel Hernández Bahr
> Universidad de las Ciencias Informáticas.
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> pygtk mailing list   pygtk@daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/

-- 
Walter Leibbrandt                  http://translate.org.za/blogs/walter
Software Developer                                  +27 12 460 1095 (w)
Translate.org.za

Recent blogs:
* Things that changed the way I code
http://www.translate.org.za/blogs/walter/en/content/things-changed-way-i-code
* Switching from Subversion to git
* The first official release of Spelt


_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to