⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gdk.h

📁 gtk是linux一款强大的夸平台的图形化开发工具
💻 H
📖 第 1 页 / 共 3 页
字号:
					  gint		  *height,					  gint		  *depth);void	      gdk_window_get_position	 (GdkWindow	  *window,					  gint		  *x,					  gint		  *y);void	      gdk_window_get_size	 (GdkWindow	  *window,					  gint		  *width,					  gint		  *height);GdkVisual*    gdk_window_get_visual	 (GdkWindow	  *window);GdkColormap*  gdk_window_get_colormap	 (GdkWindow	  *window);GdkWindowType gdk_window_get_type	 (GdkWindow	  *window);gint	      gdk_window_get_origin	 (GdkWindow	  *window,					  gint		  *x,					  gint		  *y);gboolean      gdk_window_get_deskrelative_origin (GdkWindow	  *window,					  gint		  *x,					  gint		  *y);void	      gdk_window_get_root_origin (GdkWindow	  *window,					  gint		  *x,					  gint		  *y);GdkWindow*    gdk_window_get_pointer	 (GdkWindow	  *window,					  gint		  *x,					  gint		  *y,					  GdkModifierType *mask);GdkWindow*    gdk_window_get_parent	 (GdkWindow	  *window);GdkWindow*    gdk_window_get_toplevel	 (GdkWindow	  *window);GList*	      gdk_window_get_children	 (GdkWindow	  *window);GdkEventMask  gdk_window_get_events	 (GdkWindow	  *window);void	      gdk_window_set_events	 (GdkWindow	  *window,					  GdkEventMask	   event_mask);void	      gdk_window_set_icon	 (GdkWindow	  *window, 					  GdkWindow	  *icon_window,					  GdkPixmap	  *pixmap,					  GdkBitmap	  *mask);void	      gdk_window_set_icon_name	 (GdkWindow	  *window, 					  gchar		  *name);void	      gdk_window_set_group	 (GdkWindow	  *window, 					  GdkWindow	  *leader);void	      gdk_window_set_decorations (GdkWindow	  *window,					  GdkWMDecoration  decorations);void	      gdk_window_set_functions	 (GdkWindow	  *window,					  GdkWMFunction	   functions);GList *       gdk_window_get_toplevels   (void);void          gdk_window_register_dnd    (GdkWindow       *window);void          gdk_drawable_set_data      (GdkDrawable     *drawable,					  const gchar     *key,					  gpointer	   data,					  GDestroyNotify   destroy_func);					  /* Cursors */GdkCursor* gdk_cursor_new		 (GdkCursorType	  cursor_type);GdkCursor* gdk_cursor_new_from_pixmap	 (GdkPixmap	  *source,					  GdkPixmap	  *mask,					  GdkColor	  *fg,					  GdkColor	  *bg,					  gint		   x,					  gint		   y);void	   gdk_cursor_destroy		 (GdkCursor	 *cursor);/* GCs */GdkGC* gdk_gc_new		  (GdkWindow	    *window);GdkGC* gdk_gc_new_with_values	  (GdkWindow	    *window,				   GdkGCValues	    *values,				   GdkGCValuesMask   values_mask);GdkGC* gdk_gc_ref		  (GdkGC	    *gc);void   gdk_gc_unref		  (GdkGC	    *gc);void   gdk_gc_destroy		  (GdkGC	    *gc);void   gdk_gc_get_values	  (GdkGC	    *gc,				   GdkGCValues	    *values);void   gdk_gc_set_foreground	  (GdkGC	    *gc,				   GdkColor	    *color);void   gdk_gc_set_background	  (GdkGC	    *gc,				   GdkColor	    *color);void   gdk_gc_set_font		  (GdkGC	    *gc,				   GdkFont	    *font);void   gdk_gc_set_function	  (GdkGC	    *gc,				   GdkFunction	     function);void   gdk_gc_set_fill		  (GdkGC	    *gc,				   GdkFill	     fill);void   gdk_gc_set_tile		  (GdkGC	    *gc,				   GdkPixmap	    *tile);void   gdk_gc_set_stipple	  (GdkGC	    *gc,				   GdkPixmap	    *stipple);void   gdk_gc_set_ts_origin	  (GdkGC	    *gc,				   gint		     x,				   gint		     y);void   gdk_gc_set_clip_origin	  (GdkGC	    *gc,				   gint		     x,				   gint		     y);void   gdk_gc_set_clip_mask	  (GdkGC	    *gc,				   GdkBitmap	    *mask);void   gdk_gc_set_clip_rectangle  (GdkGC	    *gc,				   GdkRectangle	    *rectangle);void   gdk_gc_set_clip_region	  (GdkGC	    *gc,				   GdkRegion	    *region);void   gdk_gc_set_subwindow	  (GdkGC	    *gc,				   GdkSubwindowMode  mode);void   gdk_gc_set_exposures	  (GdkGC	    *gc,				   gint		     exposures);void   gdk_gc_set_line_attributes (GdkGC	    *gc,				   gint		     line_width,				   GdkLineStyle	     line_style,				   GdkCapStyle	     cap_style,				   GdkJoinStyle	     join_style);void   gdk_gc_set_dashes          (GdkGC            *gc,				   gint	             dash_offset,				   gchar             dash_list[],				   gint              n);void   gdk_gc_copy		  (GdkGC	     *dst_gc,				   GdkGC	     *src_gc);/* Pixmaps */GdkPixmap* gdk_pixmap_new		(GdkWindow  *window,					 gint	     width,					 gint	     height,					 gint	     depth);GdkBitmap* gdk_bitmap_create_from_data	(GdkWindow   *window,					 const gchar *data,					 gint	      width,					 gint	      height);GdkPixmap* gdk_pixmap_create_from_data	(GdkWindow   *window,					 const gchar *data,					 gint	      width,					 gint	      height,					 gint	      depth,					 GdkColor    *fg,					 GdkColor    *bg);GdkPixmap* gdk_pixmap_create_from_xpm	(GdkWindow  *window,					 GdkBitmap **mask,					 GdkColor   *transparent_color,					 const gchar *filename);GdkPixmap* gdk_pixmap_colormap_create_from_xpm (					 GdkWindow   *window,					 GdkColormap *colormap,					 GdkBitmap  **mask,					 GdkColor    *transparent_color,					 const gchar *filename);GdkPixmap* gdk_pixmap_create_from_xpm_d (GdkWindow  *window,					 GdkBitmap **mask,					 GdkColor   *transparent_color,					 gchar	   **data);GdkPixmap* gdk_pixmap_colormap_create_from_xpm_d (					 GdkWindow   *window,					 GdkColormap *colormap,					 GdkBitmap  **mask,					 GdkColor    *transparent_color,					 gchar     **data);GdkPixmap *gdk_pixmap_ref		(GdkPixmap  *pixmap);void	   gdk_pixmap_unref		(GdkPixmap  *pixmap);GdkBitmap *gdk_bitmap_ref		(GdkBitmap  *pixmap);void	   gdk_bitmap_unref		(GdkBitmap  *pixmap);/* Images */GdkImage* gdk_image_new_bitmap(GdkVisual     *visual,				gpointer      data,				gint          width,				gint          height);GdkImage*  gdk_image_new       (GdkImageType  type,				GdkVisual    *visual,				gint	      width,				gint	      height);GdkImage*  gdk_image_get       (GdkWindow    *window,				gint	      x,				gint	      y,				gint	      width,				gint	      height);void	   gdk_image_put_pixel (GdkImage     *image,				gint	      x,				gint	      y,				guint32	      pixel);guint32	   gdk_image_get_pixel (GdkImage     *image,				gint	      x,				gint	      y);void	   gdk_image_destroy   (GdkImage     *image);/* Color */GdkColormap* gdk_colormap_new	          (GdkVisual      *visual,					   gint		   allocate);GdkColormap* gdk_colormap_ref	          (GdkColormap    *cmap);void	     gdk_colormap_unref	          (GdkColormap    *cmap);GdkColormap* gdk_colormap_get_system	  (void);gint	     gdk_colormap_get_system_size (void);void         gdk_colormap_change          (GdkColormap    *colormap,					   gint		   ncolors);gint         gdk_colormap_alloc_colors    (GdkColormap    *colormap,					   GdkColor       *colors,					   gint            ncolors,					   gboolean        writeable,					   gboolean        best_match,					   gboolean       *success);gboolean     gdk_colormap_alloc_color     (GdkColormap    *colormap,					   GdkColor       *color,					   gboolean        writeable,					   gboolean        best_match);void         gdk_colormap_free_colors     (GdkColormap    *colormap,					   GdkColor       *colors,					   gint            ncolors);GdkVisual*   gdk_colormap_get_visual      (GdkColormap    *colormap);GdkColor*    gdk_color_copy               (GdkColor       *color);void         gdk_color_free               (GdkColor       *color);gboolean     gdk_color_parse	          (const gchar    *spec,					   GdkColor       *color);guint        gdk_color_hash               (const GdkColor *colora,					   const GdkColor *colorb);gint         gdk_color_equal	          (const GdkColor *colora,					   const GdkColor *colorb);/* The following functions are deprecated */void     gdk_colors_store (GdkColormap	*colormap,			   GdkColor	*colors,			   gint		 ncolors);gboolean gdk_colors_alloc (GdkColormap	*colormap,			   gint		 contiguous,			   gulong	*planes,			   gint		 nplanes,			   gulong	*pixels,			   gint		 npixels);void     gdk_colors_free  (GdkColormap	*colormap,			   gulong	*pixels,			   gint		 npixels,			   gulong	 planes);gboolean gdk_color_white  (GdkColormap	*colormap,			   GdkColor	*color);gboolean gdk_color_black  (GdkColormap	*colormap,			   GdkColor	*color);gboolean gdk_color_alloc  (GdkColormap	*colormap,			   GdkColor	*color);gboolean gdk_color_change (GdkColormap	*colormap,			   GdkColor	*color);/* Fonts */GdkFont* gdk_font_load	    (const gchar    *font_name);GdkFont* gdk_fontset_load   (gchar          *fontset_name);GdkFont* gdk_font_ref	    (GdkFont        *font);void	 gdk_font_unref	    (GdkFont        *font);gint	 gdk_font_id	    (const GdkFont  *font);gint	 gdk_font_equal	    (const GdkFont  *fonta,			     const GdkFont  *fontb);gint	 gdk_string_width   (GdkFont        *font,			     const gchar    *string);gint	 gdk_text_width	    (GdkFont        *font,			     const gchar    *text,			     gint            text_length);gint	 gdk_text_width_wc  (GdkFont        *font,			     const GdkWChar *text,			     gint            text_length);gint	 gdk_char_width	    (GdkFont        *font,			     gchar           character);gint	 gdk_char_width_wc  (GdkFont        *font,			     GdkWChar        character);gint	 gdk_string_measure (GdkFont        *font,			     const gchar    *string);gint	 gdk_text_measure   (GdkFont        *font,			     const gchar    *text,			     gint            text_length);gint	 gdk_char_measure   (GdkFont        *font,			     gchar           character);gint	 gdk_string_height  (GdkFont        *font,			     const gchar    *string);gint	 gdk_text_height    (GdkFont        *font,			     const gchar    *text,			     gint            text_length);gint	 gdk_char_height    (GdkFont        *font,			     gchar           character);void     gdk_text_extents   (GdkFont     *font,			     const gchar *text,			     gint         text_length,			     gint        *lbearing,			     gint        *rbearing,			     gint        *width,			     gint        *ascent,			     gint        *descent);void    gdk_text_extents_wc (GdkFont        *font,			     const GdkWChar *text,			     gint            text_length,			     gint           *lbearing,			     gint           *rbearing,			     gint           *width,			     gint           *ascent,			     gint           *descent);void     gdk_string_extents (GdkFont     *font,			     const gchar *string,			     gint        *lbearing,			     gint        *rbearing,			     gint        *width,			     gint        *ascent,			     gint        *descent);/* Drawing */void gdk_draw_point	 (GdkDrawable  *drawable,			  GdkGC	       *gc,			  gint		x,			  gint		y);void gdk_draw_line	 (GdkDrawable  *drawable,			  GdkGC	       *gc,			  gint		x1,			  gint		y1,			  gint		x2,			  gint		y2);void gdk_draw_rectangle	 (GdkDrawable  *drawable,			  GdkGC	       *gc,			  gint		filled,			  gint		x,			  gint		y,			  gint		width,			  gint		height);void gdk_draw_arc	 (GdkDrawable  *drawable,			  GdkGC	       *gc,			  gint		filled,			  gint		x,			  gint		y,			  gint		width,			  gint		height,			  gint		angle1,			  gint		angle2);void gdk_draw_polygon	 (GdkDrawable  *drawable,

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -