abstract class Gdk.Surface : GObject.Object
/* No available fields */
GdkSurface is a rectangular region on the screen.
It’s a low-level object, used to implement high-level objects such as GtkWindow.
The surfaces you see in practice are either
GdkPopup, and those interfaces provide much of the required
API to interact with these surfaces. Other, more specialized surface
types exist, but you will rarely interact with them directly.
Emits a short beep associated to
Creates a new
GdkCairoContext for rendering on
Creates a new
GdkGLContext for the
Create a new Cairo surface that is as compatible as possible with the
Sets an error and returns
Destroys the window system resources associated with
surface‘s reference count.
GdkCursor pointer for the cursor currently set on the
GdkCursor pointer for the
device currently set on the
Obtains the current device position and modifier state.
GdkDisplay associated with a
Gets the frame clock for the surface.
Returns the height of the given
Checks whether the surface has been mapped.
Returns the internal scale that maps from surface coordinates to the actual device pixels.
Returns the internal scale factor that maps from surface coordinates to the actual device pixels.
Returns the width of the given
Hide the surface.
Check to see if a surface is destroyed.
GdkSurface::render signal emission for
to be scheduled.
Request a layout phase from the surface’s frame clock.
Sets the default mouse pointer for a
Sets a specific
GdkCursor for a given device when it gets inside
Apply the region to the surface for the purpose of event handling.
Marks a region of the
GdkSurface as opaque.
Translates coordinates between two surfaces.
The mouse pointer for the
GdkDisplay connection of the surface.
GdkFrameClock of the surface.
The height of the surface, in pixels.
Whether the surface is mapped.
The scale of the surface.
The scale factor of the surface.
The width of the surface in pixels.
surface starts being present on the monitor.
Emitted when GDK receives an input event for
Emitted when the size of
surface is changed, or when relayout should
surface stops being present on the monitor.
Emitted when part of the surface needs to be redrawn.