Am Sam, den 29.05.2004 um 2:04 Uhr +0100 schrieb Prashant Kumar: > Hi > > How do I prevent a modal dialog going out of focus? (I want it to remain > always on top of the window)
pass the parent like
d = Dialog(parent = window)
d.run()
there is usually no reason to manually mess with focus-out etc since the
window manager will hit you on the head anyways ;)
Or what do you mean ?
For glade its like
dialog = ...get_widget(whatever)
dialog.set_transient_for(window)
dialog.run()
dialog.hide()
>
> I've identified the signal handler focus_out_event but what should I do
> there to keep it on top?
>
> I'm using glade with pygtk.
>
>
> Also if you could let me know which event is triggered when a user
> enters or deletes in a textview? (There is no "changed" event there)
textview.get_buffer().connect("changed", blahblah)
[ or manually connect insert-text, or use "modified-changed" <-- dunno
whats the difference? ]
>
> Thanks
>
> _______________________________________________
> pygtk mailing list [EMAIL PROTECTED]
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
>
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
