SignalRun LastembeddedSignalaccel-SignalActionRun Lastactivate-The ::activate-default signal is a
[keybinding signal][GtkBindingSignal]
which gets emitted when the user activates the default widget
of window.
SignalActionRun Lastactivate-The ::activate-focus signal is a
[keybinding signal][GtkBindingSignal]
which gets emitted when the user activates the currently
focused widget of window.
SignalRun FirstaddSignalRun Lastbutton-The ::button-press-event signal will be emitted when a button (typically from a mouse) is pressed.
To receive this signal, the Gdk.Window associated to the widget needs to enable the #GDK_BUTTON_PRESS_MASK mask.
This signal will be sent to the grab widget if there is one.
SignalRun Lastbutton-The ::button-release-event signal will be emitted when a button (typically from a mouse) is released.
To receive this signal, the Gdk.Window associated to the widget needs to enable the #GDK_BUTTON_RELEASE_MASK mask.
This signal will be sent to the grab widget if there is one.
SignalRun Lastcan-Determines whether an accelerator that activates the signal
identified by signal_id can currently be activated.
This signal is present to allow applications and derived
widgets to override the default Gtk.Widget handling
for determining whether an accelerator can be activated.
SignalRun Lastcheck-SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalDetailedRun Firstchild-The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.
SignalActionRun LastDeprecatedcomposited-The ::composited-changed signal is emitted when the composited
status of widgets screen changes.
See gdk_screen_is_composited().
SignalRun Lastconfigure-The ::configure-event signal will be emitted when the size, position or
stacking of the widget's window has changed.
To receive this signal, the Gdk.Window associated to the widget needs to enable the #GDK_STRUCTURE_MASK mask. GDK will enable this mask automatically for all new windows.
SignalRun Lastdamage-Emitted when a redirected window belonging to widget gets drawn into.
The region/area members of the event shows what area of the redirected
drawable was drawn into.
SignalRun Lastdelete-The ::delete-event signal is emitted if a user requests that
a toplevel window is closed. The default handler for this signal
destroys the window. Connecting gtk_widget_hide_on_delete() to
this signal will cause the window to be hidden instead, so that
it can later be shown again without reconstructing it.
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 Lastdestroy-The ::destroy-event signal is emitted when a Gdk.Window is destroyed. You rarely get this signal, because most widgets disconnect themselves from their window before they destroy it, so no widget owns the window at destroy time.
To receive this signal, the Gdk.Window associated to the widget needs to enable the #GDK_STRUCTURE_MASK mask. GDK will enable this mask automatically for all new windows.
SignalRun Firstdirection-The ::direction-changed signal is emitted when the text direction of a widget changes.
SignalRun Lastdrag-The ::drag-begin signal is emitted on the drag source when a drag is
started. A typical reason to connect to this signal is to set up a
custom drag icon with e.g. gtk_drag_source_set_icon_pixbuf().
Note that some widgets set up a drag icon in the default handler of
this signal, so you may have to use g_signal_connect_after() to
override what the default handler did.
SignalRun Lastdrag-The ::drag-data-delete signal is emitted on the drag source when a drag with the action Gdk.DragAction.MOVE is successfully completed. The signal handler is responsible for deleting the data that has been dropped. What "delete" means depends on the context of the drag operation.
SignalRun Lastdrag-The ::drag-data-get signal is emitted on the drag source when the drop
site requests the data which is dragged. It is the responsibility of
the signal handler to fill data with the data in the format which
is indicated by info. See gtk_selection_data_set() and
gtk_selection_data_set_text().
SignalRun Lastdrag-The ::drag-data-received signal is emitted on the drop site when the
dragged data has been received. If the data was received in order to
determine whether the drop will be accepted, the handler is expected
to call gdk_drag_status() and not finish the drag.
If the data was received in response to a Gtk.Widget.SignalSignatures.drag_drop | Gtk.Widget::drag-drop signal
(and this is the last target to be received), the handler for this
signal is expected to process the received data and then call
gtk_drag_finish(), setting the success parameter depending on
whether the data was processed successfully.
Applications must create some means to determine why the signal was emitted
and therefore whether to call gdk_drag_status() or gtk_drag_finish().
The handler may inspect the selected action with
gdk_drag_context_get_selected_action() before calling
gtk_drag_finish(), e.g. to implement Gdk.DragAction.ASK as
shown in the following example:
void
drag_data_received (GtkWidget *widget,
GdkDragContext *context,
gint x,
gint y,
GtkSelectionData *data,
guint info,
guint time)
{
if ((data->length >= 0) && (data->format == 8))
{
GdkDragAction action;
// handle data here
action = gdk_drag_context_get_selected_action (context);
if (action == GDK_ACTION_ASK)
{
GtkWidget *dialog;
gint response;
dialog = gtk_message_dialog_new (NULL,
GTK_DIALOG_MODAL |
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_INFO,
GTK_BUTTONS_YES_NO,
"Move the data ?\n");
response = gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
if (response == GTK_RESPONSE_YES)
action = GDK_ACTION_MOVE;
else
action = GDK_ACTION_COPY;
}
gtk_drag_finish (context, TRUE, action == GDK_ACTION_MOVE, time);
}
else
gtk_drag_finish (context, FALSE, FALSE, time);
}
SignalRun Lastdrag-The ::drag-drop signal is emitted on the drop site when the user drops
the data onto the widget. The signal handler must determine whether
the cursor position is in a drop zone or not. If it is not in a drop
zone, it returns false and no further processing is necessary.
Otherwise, the handler returns true. In this case, the handler must
ensure that gtk_drag_finish() is called to let the source know that
the drop is done. The call to gtk_drag_finish() can be done either
directly or in a Gtk.Widget.SignalSignatures.drag_data_received | Gtk.Widget::drag-data-received handler which gets
triggered by calling gtk_drag_get_data() to receive the data for one
or more of the supported targets.
SignalRun Lastdrag-The ::drag-end signal is emitted on the drag source when a drag is finished. A typical reason to connect to this signal is to undo things done in Gtk.Widget.SignalSignatures.drag_begin | Gtk.Widget::drag-begin.
SignalRun Lastdrag-The ::drag-failed signal is emitted on the drag source when a drag has
failed. The signal handler may hook custom code to handle a failed DnD
operation based on the type of error, it returns true is the failure has
been already handled (not showing the default "drag operation failed"
animation), otherwise it returns false.
SignalRun Lastdrag-The ::drag-leave signal is emitted on the drop site when the cursor
leaves the widget. A typical reason to connect to this signal is to
undo things done in Gtk.Widget.SignalSignatures.drag_motion | Gtk.Widget::drag-motion, e.g. undo highlighting
with gtk_drag_unhighlight().
Likewise, the Gtk.Widget.SignalSignatures.drag_leave | Gtk.Widget::drag-leave signal is also emitted before the ::drag-drop signal, for instance to allow cleaning up of a preview item created in the Gtk.Widget.SignalSignatures.drag_motion | Gtk.Widget::drag-motion signal handler.
SignalRun Lastdrag-The ::drag-motion signal is emitted on the drop site when the user
moves the cursor over the widget during a drag. The signal handler
must determine whether the cursor position is in a drop zone or not.
If it is not in a drop zone, it returns false and no further processing
is necessary. Otherwise, the handler returns true. In this case, the
handler is responsible for providing the necessary information for
displaying feedback to the user, by calling gdk_drag_status().
If the decision whether the drop will be accepted or rejected can't be
made based solely on the cursor position and the type of the data, the
handler may inspect the dragged data by calling gtk_drag_get_data() and
defer the gdk_drag_status() call to the Gtk.Widget.SignalSignatures.drag_data_received | Gtk.Widget::drag-data-received
handler. Note that you must pass #GTK_DEST_DEFAULT_DROP,
#GTK_DEST_DEFAULT_MOTION or #GTK_DEST_DEFAULT_ALL to gtk_drag_dest_set()
when using the drag-motion signal that way.
Also note that there is no drag-enter signal. The drag receiver has to
keep track of whether he has received any drag-motion signals since the
last Gtk.Widget.SignalSignatures.drag_leave | Gtk.Widget::drag-leave and if not, treat the drag-motion signal as
an "enter" signal. Upon an "enter", the handler will typically highlight
the drop site with gtk_drag_highlight().
static void
drag_motion (GtkWidget *widget,
GdkDragContext *context,
gint x,
gint y,
guint time)
{
GdkAtom target;
PrivateData *private_data = GET_PRIVATE_DATA (widget);
if (!private_data->drag_highlight)
{
private_data->drag_highlight = 1;
gtk_drag_highlight (widget);
}
target = gtk_drag_dest_find_target (widget, context, NULL);
if (target == GDK_NONE)
gdk_drag_status (context, 0, time);
else
{
private_data->pending_status
= gdk_drag_context_get_suggested_action (context);
gtk_drag_get_data (widget, context, target, time);
}
return TRUE;
}
static void
drag_data_received (GtkWidget *widget,
GdkDragContext *context,
gint x,
gint y,
GtkSelectionData *selection_data,
guint info,
guint time)
{
PrivateData *private_data = GET_PRIVATE_DATA (widget);
if (private_data->suggested_action)
{
private_data->suggested_action = 0;
// We are getting this data due to a request in drag_motion,
// rather than due to a request in drag_drop, so we are just
// supposed to call `gdk_drag_status()`, not actually paste in
// the data.
str = gtk_selection_data_get_text (selection_data);
if (!data_is_acceptable (str))
gdk_drag_status (context, 0, time);
else
gdk_drag_status (context,
private_data->suggested_action,
time);
}
else
{
// accept the drop
}
}
SignalRun LastdrawThis signal is emitted when a widget is supposed to render itself.
The widget's top left corner must be painted at the origin of
the passed in context and be sized to the values returned by
gtk_widget_get_allocated_width() and
gtk_widget_get_allocated_height().
Signal handlers connected to this signal can modify the cairo
context passed as cr in any way they like and don't need to
restore it. The signal emission takes care of calling cairo_save()
before and cairo_restore() after invoking the handler.
The signal handler will get a cr with a clip region already set to the
widget's dirty region, i.e. to the area that needs repainting. Complicated
widgets that want to avoid redrawing themselves completely can get the full
extents of the clip region with gdk_cairo_get_clip_rectangle(), or they can
get a finer-grained representation of the dirty region with
cairo_copy_clip_rectangle_list().
SignalActionRun Lastenable-The ::enable-debugging signal is a [keybinding signal][GtkBindingSignal]
which gets 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.
The default bindings for this signal are Ctrl-Shift-I and Ctrl-Shift-D.
SignalRun Lastenter-The ::enter-notify-event will be emitted when the pointer enters
the widget's window.
To receive this signal, the Gdk.Window associated to the widget needs to enable the #GDK_ENTER_NOTIFY_MASK mask.
This signal will be sent to the grab widget if there is one.
SignalRun LasteventThe GTK+ main loop will emit three signals for each GDK event delivered to a widget: one generic ::event signal, another, more specific, signal that matches the type of event delivered (e.g. Gtk.Widget.SignalSignatures.key_press_event | Gtk.Widget::key-press-event) and finally a generic Gtk.Widget.SignalSignatures.event_after | Gtk.Widget::event-after signal.
Signalevent-After the emission of the Gtk.Widget::event signal and (optionally) the second more specific signal, ::event-after will be emitted regardless of the previous two signals handlers return values.
SignalRun LastfocusSignalRun Lastfocus-The ::focus-in-event signal will be emitted when the keyboard focus
enters the widget's window.
To receive this signal, the Gdk.Window associated to the widget needs to enable the #GDK_FOCUS_CHANGE_MASK mask.
SignalRun Lastfocus-The ::focus-out-event signal will be emitted when the keyboard focus
leaves the widget's window.
To receive this signal, the Gdk.Window associated to the widget needs to enable the #GDK_FOCUS_CHANGE_MASK mask.
SignalRun Lastgrab-Emitted when a pointer or keyboard grab on a window belonging
to widget gets broken.
On X11, this happens when the grab window becomes unviewable (i.e. it or one of its ancestors is unmapped), or if the same application grabs the pointer or keyboard again.
SignalActionRun Lastgrab-SignalRun Firstgrab-The ::grab-notify signal is emitted when a widget becomes shadowed by a GTK+ grab (not a pointer or keyboard grab) on another widget, or when it becomes unshadowed due to a grab being removed.
A widget is shadowed by a gtk_grab_add() when the topmost
grab widget in the grab stack of its window group is not
its ancestor.
SignalRun FirsthideThe ::hide signal is emitted when widget is hidden, for example with
gtk_widget_hide().
SignalRun Lasthierarchy-The ::hierarchy-changed signal is emitted when the anchored state of a widget changes. A widget is “anchored” when its toplevel ancestor is a Gtk.Window. This signal is emitted when a widget changes from un-anchored to anchored or vice-versa.
SignalRun Lastkey-The ::key-press-event signal is emitted when a key is pressed. The signal emission will reoccur at the key-repeat rate when the key is kept pressed.
To receive this signal, the Gdk.Window associated to the widget needs to enable the #GDK_KEY_PRESS_MASK mask.
This signal will be sent to the grab widget if there is one.
SignalRun Lastkey-The ::key-release-event signal is emitted when a key is released.
To receive this signal, the Gdk.Window associated to the widget needs to enable the #GDK_KEY_RELEASE_MASK mask.
This signal will be sent to the grab widget if there is one.
SignalRun Lastkeynav-Gets emitted if keyboard navigation fails.
See gtk_widget_keynav_failed() for details.
SignalRun Firstkeys-The ::keys-changed signal gets emitted when the set of accelerators
or mnemonics that are associated with window changes.
SignalRun Lastleave-The ::leave-notify-event will be emitted when the pointer leaves
the widget's window.
To receive this signal, the Gdk.Window associated to the widget needs to enable the #GDK_LEAVE_NOTIFY_MASK mask.
This signal will be sent to the grab widget if there is one.
SignalRun FirstmapThe ::map signal is emitted when widget is going to be mapped, that is
when the widget is visible (which is controlled with
gtk_widget_set_visible()) and all its parents up to the toplevel widget
are also visible. Once the map has occurred, Gtk.Widget.SignalSignatures.map_event | Gtk.Widget::map-event will
be emitted.
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 Lastmap-The ::map-event signal will be emitted when the widget's window is
mapped. A window is mapped when it becomes visible on the screen.
To receive this signal, the Gdk.Window associated to the widget needs to enable the #GDK_STRUCTURE_MASK mask. GDK will enable this mask automatically for all new windows.
SignalRun Lastmnemonic-The default handler for this signal activates widget if group_cycling
is false, or just makes widget grab focus if group_cycling is true.
SignalRun Lastmotion-The ::motion-notify-event signal is emitted when the pointer moves over the widget's Gdk.Window.
To receive this signal, the Gdk.Window associated to the widget needs to enable the #GDK_POINTER_MOTION_MASK mask.
This signal will be sent to the grab widget if there is one.
SignalActionRun Lastmove-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 Firstparent-The ::parent-set signal is emitted when a new parent has been set on a widget.
SignalActionRun Lastpopup-This signal gets emitted whenever a widget should pop up a context menu. This usually happens through the standard key binding mechanism; by pressing a certain key while a widget is focused, the user can cause the widget to pop up a menu. For example, the Gtk.Entry widget creates a menu with clipboard commands. See the [Popup Menu Migration Checklist][checklist-popup-menu] for an example of how to use this signal.
SignalRun Lastproperty-The ::property-notify-event signal will be emitted when a property on
the widget's window has been changed or deleted.
To receive this signal, the Gdk.Window associated to the widget needs to enable the #GDK_PROPERTY_CHANGE_MASK mask.
SignalRun Lastproximity-To receive this signal the Gdk.Window associated to the widget needs to enable the #GDK_PROXIMITY_IN_MASK mask.
This signal will be sent to the grab widget if there is one.
SignalRun Lastproximity-To receive this signal the Gdk.Window associated to the widget needs to enable the #GDK_PROXIMITY_OUT_MASK mask.
This signal will be sent to the grab widget if there is one.
SignalRun Lastquery-Emitted when Gtk.Widget.has_tooltip 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 FirstrealizeThe ::realize signal is emitted when widget is associated with a
Gdk.Window, which means that gtk_widget_realize() has been called or the
widget has been mapped (that is, it is going to be drawn).
SignalRun FirstremoveSignalRun Lastscreen-The ::screen-changed signal gets emitted when the screen of a widget has changed.
SignalRun Lastscroll-The ::scroll-event signal is emitted when a button in the 4 to 7 range is pressed. Wheel mice are usually configured to generate button press events for buttons 4 and 5 when the wheel is turned.
To receive this signal, the Gdk.Window associated to the widget needs to enable the #GDK_SCROLL_MASK mask.
This signal will be sent to the grab widget if there is one.
SignalRun Lastselection-The ::selection-clear-event signal will be emitted when the
the widget's window has lost ownership of a selection.
SignalRun Lastselection-SignalRun Lastselection-SignalRun Lastselection-SignalRun Lastselection-The ::selection-request-event signal will be emitted when
another client requests ownership of the selection owned by
the widget's window.
SignalRun Lastset-This signal is emitted whenever the currently focused widget in this window changes.
SignalRun Firstset-SignalRun FirstshowThe ::show signal is emitted when widget is shown, for example with
gtk_widget_show().
SignalActionRun Lastshow-SignalRun Firstsize-SignalRun FirstDeprecatedstate-The ::state-changed signal is emitted when the widget state changes.
See gtk_widget_get_state().
SignalRun Firststate-The ::state-flags-changed signal is emitted when the widget state
changes, see gtk_widget_get_state_flags().
SignalRun FirstDeprecatedstyle-The ::style-set signal is emitted when a new style has been set
on a widget. Note that style-modifying functions like
gtk_widget_modify_base() also cause this signal to be emitted.
Note that this signal is emitted for changes to the deprecated Gtk.Style. To track changes to the Gtk.StyleContext associated with a widget, use the Gtk.Widget.SignalSignatures.style_updated | Gtk.Widget::style-updated signal.
SignalRun Firststyle-The ::style-updated signal is a convenience signal that is emitted when the
Gtk.StyleContext::changed signal is emitted on the widget's associated
Gtk.StyleContext as returned by gtk_widget_get_style_context().
Note that style-modifying functions like gtk_widget_override_color() also
cause this signal to be emitted.
SignalRun Lasttouch-SignalRun FirstunmapThe ::unmap signal is emitted when widget is going to be unmapped, which
means that 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 Lastunmap-The ::unmap-event signal will be emitted when the widget's window is
unmapped. A window is unmapped when it becomes invisible on the screen.
To receive this signal, the Gdk.Window associated to the widget needs to enable the #GDK_STRUCTURE_MASK mask. GDK will enable this mask automatically for all new windows.
SignalRun LastunrealizeThe ::unrealize signal is emitted when the Gdk.Window associated with
widget is destroyed, which means that gtk_widget_unrealize() has been
called or the widget has been unmapped (that is, it is going to be
hidden).
SignalRun LastDeprecatedvisibility-The ::visibility-notify-event will be emitted when the widget's
window is obscured or unobscured.
To receive this signal the Gdk.Window associated to the widget needs to enable the #GDK_VISIBILITY_NOTIFY_MASK mask.
SignalRun Lastwindow-The ::window-state-event will be emitted when the state of the
toplevel window associated to the widget changes.
To receive this signal the Gdk.Window associated to the widget needs to enable the #GDK_STRUCTURE_MASK mask. GDK will enable this mask automatically for all new windows.
Gets emitted when the plug becomes embedded in a socket.