SignalActionRun Lastactivate-SignalActionRun Lastactivate-Emitted when the user activates the currently focused
widget of window.
This is a keybinding signal.
The default binding for this signal is ␣.
SignalRun Lastclose-Emitted when the user clicks on the close button of the window.
SignalRun CleanupdestroySignals that all holders of a reference to the widget should release the reference that they hold.
May result in finalization of the widget if all references are released.
This signal is not suitable for saving widget state.
SignalRun Firstdirection-Emitted when the text direction of a widget changes.
SignalActionRun Lastenable-Emitted when the user enables or disables interactive debugging.
When toggle is true, interactive debugging is toggled on or off,
when it is false, the debugger will be pointed at the widget
under the pointer.
This is a keybinding signal.
The default bindings for this signal are Ctrl+Shift+I and Ctrl+Shift+D.
SignalRun FirsthideEmitted when widget is hidden.
SignalRun Lastkeynav-Emitted if keyboard navigation fails.
See Gtk.Widget.keynav_failed for details.
SignalRun FirstDeprecatedkeys-Emitted when the set of accelerators or mnemonics that are associated with the window changes.
since 4.10: Use Gtk.Shortcut and Gtk.EventController to implement keyboard shortcuts
SignalRun FirstmapEmitted when widget is going to be mapped.
A widget is mapped when the widget is visible (which is controlled with Gtk.Widget.visible) and all its parents up to the toplevel widget are also visible.
The ::map signal can be used to determine whether a widget will be drawn,
for instance it can resume an animation that was stopped during the
emission of Gtk.Widget::unmap.
SignalRun Lastmnemonic-Emitted when a widget is activated via a mnemonic.
The default handler for this signal activates widget if group_cycling
is false, or just makes widget grab focus if group_cycling is true.
SignalActionRun Lastmove-Emitted when the focus is moved.
The ::move-focus signal is a keybinding signal.
The default bindings for this signal are Tab to move forward, and Shift+Tab to move backward.
SignalDetailedActionRun FirstnotifyThe notify signal is emitted on an object when one of its properties has
its value set through g_object_set_property(), g_object_set(), et al.
Note that getting this signal doesn’t itself guarantee that the value of
the property has actually changed. When it is emitted is determined by the
derived GObject class. If the implementor did not create the property with
GObject.ParamFlags.EXPLICIT_NOTIFY, then any call to g_object_set_property() results
in ::notify being emitted, even if the new value is the same as the old.
If they did pass GObject.ParamFlags.EXPLICIT_NOTIFY, then this signal is emitted only
when they explicitly call g_object_notify() or g_object_notify_by_pspec(),
and common practice is to do that only when the value has actually changed.
This signal is typically used to obtain change notification for a
single property, by specifying the property name as a detail in the
g_signal_connect() call, like this:
g_signal_connect (text_view->buffer, "notify::paste-target-list",
G_CALLBACK (gtk_text_view_target_list_notify),
text_view)
It is important to note that you must use [canonical parameter names][class@GObject.ParamSpec#parameter-names] as detail strings for the notify signal.
SignalRun Lastquery-Emitted when the widget’s tooltip is about to be shown.
This happens when the Gtk.Widget.has_tooltip property
is true and the hover timeout has expired with the cursor hovering
above widget; or emitted when widget got focus in keyboard mode.
Using the given coordinates, the signal handler should determine
whether a tooltip should be shown for widget. If this is the case
true should be returned, false otherwise. Note that if keyboard_mode
is true, the values of x and y are undefined and should not be used.
The signal handler is free to manipulate tooltip with the therefore
destined function calls.
SignalRun FirstrealizeEmitted when widget is associated with a Gdk.Surface.
This means that Gtk.Widget.realize has been called or the widget has been mapped (that is, it is going to be drawn).
SignalDetailedRun LastDeprecatedresponseThis signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::applicationThis signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::bodyThis signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::body-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::can-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::can-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::childThis signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::close-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::css-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::css-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::cursorThis signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::decoratedThis signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::default-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::default-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::default-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::default-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::deletableThis signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::destroy-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::displayThis signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::extra-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::focus-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::focus-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::focus-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::focusableThis signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::fullscreenedThis signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::gravityThis signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::halignThis signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::handle-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::has-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::has-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::has-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::headingThis signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::heading-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::height-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::hexpandThis signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::hexpand-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::hide-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::icon-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::is-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::layout-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::limit-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::margin-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::margin-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::margin-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::margin-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::maximizedThis signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::mnemonics-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::modalThis signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::nameThis signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::opacityThis signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::overflowThis signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::parentThis signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::receives-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::resizableThis signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::rootThis signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::scale-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::sensitiveThis signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::startup-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::suspendedThis signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::titleThis signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::titlebarThis signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::tooltip-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::tooltip-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::transient-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::valignThis signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::vexpandThis signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::vexpand-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::visibleThis signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalDetailedRun LastDeprecatedresponse::width-This signal is emitted when the dialog is closed.
response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing Escape or with a system
action, response will be set to the value of
MessageDialog.close_response.
since 1.6: Use AlertDialog.
SignalRun FirstshowEmitted when widget is shown.
SignalRun Firststate-Emitted when the widget state changes.
SignalRun FirstunmapEmitted when widget is going to be unmapped.
A widget is unmapped when either it or any of its parents up to the toplevel widget have been set as hidden.
As ::unmap indicates that a widget will not be shown any longer,
it can be used to, for example, stop an animation on the widget.
SignalRun LastunrealizeEmitted when the Gdk.Surface associated with widget is destroyed.
This means that Gtk.Widget.unrealize has been called or the widget has been unmapped (that is, it is going to be hidden).
Emitted when the user activates the default widget.
This is a keybinding signal.
The keybindings for this signal are all forms of the Enter key.