Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gdksurface.h File Reference
#include <gdk/gdktypes.h>
#include <gdk/gdkevents.h>
#include <gdk/gdkframeclock.h>
#include <gdk/gdkmonitor.h>
#include <gdk/gdkpopuplayout.h>

Go to the source code of this file.

Macros

#define GDK_TYPE_SURFACE   (gdk_surface_get_type ())
 
#define GDK_SURFACE(object)   (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_SURFACE, GdkSurface))
 
#define GDK_SURFACE_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_SURFACE, GdkSurfaceClass))
 
#define GDK_IS_SURFACE(object)   (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_SURFACE))
 
#define GDK_IS_SURFACE_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_SURFACE))
 
#define GDK_SURFACE_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_SURFACE, GdkSurfaceClass))
 

Typedefs

typedef typedefG_BEGIN_DECLS struct _GdkSurfaceClass GdkSurfaceClass
 

Functions

GDK_AVAILABLE_IN_ALL GType gdk_surface_get_type (void) G_GNUC_CONST
 
GDK_AVAILABLE_IN_ALL GdkSurfacegdk_surface_new_toplevel (GdkDisplay *display)
 
GDK_AVAILABLE_IN_ALL GdkSurfacegdk_surface_new_popup (GdkSurface *parent, gboolean autohide)
 
GDK_AVAILABLE_IN_ALL void gdk_surface_destroy (GdkSurface *surface)
 
GDK_AVAILABLE_IN_ALL gboolean gdk_surface_is_destroyed (GdkSurface *surface)
 
GDK_AVAILABLE_IN_ALL GdkDisplaygdk_surface_get_display (GdkSurface *surface)
 
GDK_AVAILABLE_IN_ALL void gdk_surface_hide (GdkSurface *surface)
 
GDK_AVAILABLE_IN_ALL void gdk_surface_set_input_region (GdkSurface *surface, cairo_region_t *region)
 
GDK_AVAILABLE_IN_ALL gboolean gdk_surface_get_mapped (GdkSurface *surface)
 
GDK_AVAILABLE_IN_ALL void gdk_surface_set_cursor (GdkSurface *surface, GdkCursor *cursor)
 
GDK_AVAILABLE_IN_ALL GdkCursorgdk_surface_get_cursor (GdkSurface *surface)
 
GDK_AVAILABLE_IN_ALL void gdk_surface_set_device_cursor (GdkSurface *surface, GdkDevice *device, GdkCursor *cursor)
 
GDK_AVAILABLE_IN_ALL GdkCursorgdk_surface_get_device_cursor (GdkSurface *surface, GdkDevice *device)
 
GDK_AVAILABLE_IN_ALL int gdk_surface_get_width (GdkSurface *surface)
 
GDK_AVAILABLE_IN_ALL int gdk_surface_get_height (GdkSurface *surface)
 
GDK_AVAILABLE_IN_ALL gboolean gdk_surface_translate_coordinates (GdkSurface *from, GdkSurface *to, double *x, double *y)
 
GDK_AVAILABLE_IN_ALL int gdk_surface_get_scale_factor (GdkSurface *surface)
 
GDK_AVAILABLE_IN_4_12 double gdk_surface_get_scale (GdkSurface *surface)
 
GDK_AVAILABLE_IN_ALL gboolean gdk_surface_get_device_position (GdkSurface *surface, GdkDevice *device, double *x, double *y, GdkModifierType *mask)
 
GDK_DEPRECATED_IN_4_12 cairo_surface_tgdk_surface_create_similar_surface (GdkSurface *surface, cairo_content_t content, int width, int height)
 
GDK_AVAILABLE_IN_ALL void gdk_surface_beep (GdkSurface *surface)
 
GDK_AVAILABLE_IN_ALL void gdk_surface_queue_render (GdkSurface *surface)
 
GDK_AVAILABLE_IN_ALL void gdk_surface_request_layout (GdkSurface *surface)
 
GDK_AVAILABLE_IN_ALL GdkFrameClockgdk_surface_get_frame_clock (GdkSurface *surface)
 
GDK_DEPRECATED_IN_4_16 void gdk_surface_set_opaque_region (GdkSurface *surface, cairo_region_t *region)
 
GDK_AVAILABLE_IN_ALL GdkCairoContextgdk_surface_create_cairo_context (GdkSurface *surface)
 
GDK_AVAILABLE_IN_ALL GdkGLContextgdk_surface_create_gl_context (GdkSurface *surface, GError **error)
 
GDK_DEPRECATED_IN_4_14 GdkVulkanContextgdk_surface_create_vulkan_context (GdkSurface *surface, GError **error)
 

Macro Definition Documentation

◆ GDK_IS_SURFACE

#define GDK_IS_SURFACE ( object)    (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_SURFACE))

Definition at line 44 of file gdksurface.h.

◆ GDK_IS_SURFACE_CLASS

#define GDK_IS_SURFACE_CLASS ( klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_SURFACE))

Definition at line 45 of file gdksurface.h.

◆ GDK_SURFACE

#define GDK_SURFACE ( object)    (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_SURFACE, GdkSurface))

Definition at line 42 of file gdksurface.h.

◆ GDK_SURFACE_CLASS

#define GDK_SURFACE_CLASS ( klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_SURFACE, GdkSurfaceClass))

Definition at line 43 of file gdksurface.h.

◆ GDK_SURFACE_GET_CLASS

#define GDK_SURFACE_GET_CLASS ( obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_SURFACE, GdkSurfaceClass))

Definition at line 46 of file gdksurface.h.

◆ GDK_TYPE_SURFACE

#define GDK_TYPE_SURFACE   (gdk_surface_get_type ())

Definition at line 41 of file gdksurface.h.

Typedef Documentation

◆ GdkSurfaceClass

typedef typedefG_BEGIN_DECLS struct _GdkSurfaceClass GdkSurfaceClass

Definition at line 39 of file gdksurface.h.

Function Documentation

◆ gdk_surface_beep()

GDK_AVAILABLE_IN_ALL void gdk_surface_beep ( GdkSurface * surface)

◆ gdk_surface_create_cairo_context()

GDK_AVAILABLE_IN_ALL GdkCairoContext * gdk_surface_create_cairo_context ( GdkSurface * surface)

◆ gdk_surface_create_gl_context()

GDK_AVAILABLE_IN_ALL GdkGLContext * gdk_surface_create_gl_context ( GdkSurface * surface,
GError ** error )

◆ gdk_surface_create_similar_surface()

GDK_DEPRECATED_IN_4_12 cairo_surface_t * gdk_surface_create_similar_surface ( GdkSurface * surface,
cairo_content_t content,
int width,
int height )

◆ gdk_surface_create_vulkan_context()

GDK_DEPRECATED_IN_4_14 GdkVulkanContext * gdk_surface_create_vulkan_context ( GdkSurface * surface,
GError ** error )

◆ gdk_surface_destroy()

GDK_AVAILABLE_IN_ALL void gdk_surface_destroy ( GdkSurface * surface)

◆ gdk_surface_get_cursor()

GDK_AVAILABLE_IN_ALL GdkCursor * gdk_surface_get_cursor ( GdkSurface * surface)

◆ gdk_surface_get_device_cursor()

GDK_AVAILABLE_IN_ALL GdkCursor * gdk_surface_get_device_cursor ( GdkSurface * surface,
GdkDevice * device )

◆ gdk_surface_get_device_position()

GDK_AVAILABLE_IN_ALL gboolean gdk_surface_get_device_position ( GdkSurface * surface,
GdkDevice * device,
double * x,
double * y,
GdkModifierType * mask )

◆ gdk_surface_get_display()

GDK_AVAILABLE_IN_ALL GdkDisplay * gdk_surface_get_display ( GdkSurface * surface)

◆ gdk_surface_get_frame_clock()

GDK_AVAILABLE_IN_ALL GdkFrameClock * gdk_surface_get_frame_clock ( GdkSurface * surface)

◆ gdk_surface_get_height()

GDK_AVAILABLE_IN_ALL int gdk_surface_get_height ( GdkSurface * surface)

◆ gdk_surface_get_mapped()

GDK_AVAILABLE_IN_ALL gboolean gdk_surface_get_mapped ( GdkSurface * surface)

◆ gdk_surface_get_scale()

GDK_AVAILABLE_IN_4_12 double gdk_surface_get_scale ( GdkSurface * surface)

◆ gdk_surface_get_scale_factor()

GDK_AVAILABLE_IN_ALL int gdk_surface_get_scale_factor ( GdkSurface * surface)

◆ gdk_surface_get_type()

GDK_AVAILABLE_IN_ALL GType gdk_surface_get_type ( void )

◆ gdk_surface_get_width()

GDK_AVAILABLE_IN_ALL int gdk_surface_get_width ( GdkSurface * surface)

◆ gdk_surface_hide()

GDK_AVAILABLE_IN_ALL void gdk_surface_hide ( GdkSurface * surface)

◆ gdk_surface_is_destroyed()

GDK_AVAILABLE_IN_ALL gboolean gdk_surface_is_destroyed ( GdkSurface * surface)

◆ gdk_surface_new_popup()

GDK_AVAILABLE_IN_ALL GdkSurface * gdk_surface_new_popup ( GdkSurface * parent,
gboolean autohide )

◆ gdk_surface_new_toplevel()

GDK_AVAILABLE_IN_ALL GdkSurface * gdk_surface_new_toplevel ( GdkDisplay * display)

◆ gdk_surface_queue_render()

GDK_AVAILABLE_IN_ALL void gdk_surface_queue_render ( GdkSurface * surface)

◆ gdk_surface_request_layout()

GDK_AVAILABLE_IN_ALL void gdk_surface_request_layout ( GdkSurface * surface)

◆ gdk_surface_set_cursor()

GDK_AVAILABLE_IN_ALL void gdk_surface_set_cursor ( GdkSurface * surface,
GdkCursor * cursor )

◆ gdk_surface_set_device_cursor()

GDK_AVAILABLE_IN_ALL void gdk_surface_set_device_cursor ( GdkSurface * surface,
GdkDevice * device,
GdkCursor * cursor )

◆ gdk_surface_set_input_region()

GDK_AVAILABLE_IN_ALL void gdk_surface_set_input_region ( GdkSurface * surface,
cairo_region_t * region )

◆ gdk_surface_set_opaque_region()

GDK_DEPRECATED_IN_4_16 void gdk_surface_set_opaque_region ( GdkSurface * surface,
cairo_region_t * region )

◆ gdk_surface_translate_coordinates()

GDK_AVAILABLE_IN_ALL gboolean gdk_surface_translate_coordinates ( GdkSurface * from,
GdkSurface * to,
double * x,
double * y )