[pygtk] integration of C gtk app into pygtk app (in limited environment)
Radek Vykydal
rvykydal at redhat.com
Thu Jan 14 04:01:24 WST 2010
Hello list,
I am trying to integrate nm-connection-editor which is C gtk app into
Anaconda installer
python GUI. There is a limited mini-wm window manager running in the
environment.
My goal is to take control over the nm-connection-editor window when the
nm app
is run (python UI being already running) so that:
* the nm window behaves as modal
I was experimenting with something like this:
http://www.redhat.com/archives/anaconda-devel-list/2010-January/msg00037.html
which basically means:
- creating new gdk window from xid of nm-connection-editor
- setting some python UI window as transient for it
- setting modal hint of nm-connection-editor window to true
but couldn't get it working (modality of nm window)
* I can handle limited resolution of the python UI (800x600).
- Moving nm window to the top a bit doesn't help because next
window/dialog run
from it is placed in the center again.
Do you have any hints or pointers?
Thanks,
Radek
More information about the pygtk
mailing list