WindowSignalName
public enum WindowSignalName : String, SignalNameProtocol
Undocumented
-
The
create-surfacesignal is emitted when an offscreen window needs its surface (re)created, which happens either when the window is first drawn to, or when the window is being resized. The first signal handler that returns a non-nilsurface will stop any further signal emission, and its surface will be used.Note that it is not possible to access the window’s previous surface from within any callback of this signal. Calling
gdk_offscreen_window_get_surface()will lead to a crash.Declaration
Swift
case createSurface = "create-surface" -
The
from-embeddersignal is emitted to translate coordinates in the embedder of an offscreen window to the offscreen window.See also
GdkWindow::to-embedder.Declaration
Swift
case fromEmbedder = "from-embedder" -
Emitted when the position of
windowis finalized after being moved to a destination rectangle.windowmight be flipped over the destination rectangle in order to keep it on-screen, in which caseflipped_xandflipped_ywill be set totrueaccordingly.flipped_rectis the ideal position ofwindowafter any possible flipping, but before any possible sliding.final_rectisflipped_rect, but possibly translated in the case that flipping is still ineffective in keepingwindowon-screen.Declaration
Swift
case movedToRect = "moved-to-rect" -
The 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
G_PARAM_EXPLICIT_NOTIFY, then any call tog_object_set_property()results innotifybeing emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly callg_object_notify()org_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: (C Language Example):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 as detail strings for the notify signal.
Declaration
Swift
case notify = "notify" -
The
pick-embedded-childsignal is emitted to find an embedded child at the given position.Declaration
Swift
case pickEmbeddedChild = "pick-embedded-child" -
The
to-embeddersignal is emitted to translate coordinates in an offscreen window to its embedder.See also
GdkWindow::from-embedder.Declaration
Swift
case toEmbedder = "to-embedder" -
The mouse pointer for a
GdkWindow. Seegdk_window_set_cursor()andgdk_window_get_cursor()for details.Declaration
Swift
case notifyCursor = "notify::cursor"
View on GitHub
Install in Dash
WindowSignalName Enumeration Reference