Is there a signal that is emitted when a window/dialog is presented in GTK+?
Example: when issuing this command to the GTK widget dialog:
dialog.present()
is there a resulting signal? Or is there any signal that denotes the “showing” of a window/dialog?
The
notify::visiblesignal will be emitted whenever the visibility state changes, i.e. the window is shown or hidden. Theshowsignal isn’t documented but from the source it appears that it is an action signal; you can call it yourself usingand the widget will show itself, apparently without triggering the
notify::visiblesignal.