1 ;; h2defs.py doesn't seem to list this method. Don't know why. murrayc.
3 (define-method render_threshold_alpha
4 (of-object "GdkPixbuf")
5 (c-name "gdk_pixbuf_render_threshold_alpha")
8 '("GdkBitmap*" "bitmap")
15 '("int" "alpha_threshold")
19 ;; Stuff from gtk headers that really belongs in Gdk:
21 (define-function gtk_drag_finish
22 (c-name "gtk_drag_finish")
25 '("GdkDragContext*" "context")
26 '("gboolean" "success")
32 (define-function gtk_drag_get_source_widget
33 (c-name "gtk_drag_get_source_widget")
34 (return-type "GtkWidget*")
36 '("GdkDragContext*" "context")
40 (define-function gtk_drag_set_icon_widget
41 (c-name "gtk_drag_set_icon_widget")
44 '("GdkDragContext*" "context")
45 '("GtkWidget*" "widget")
51 (define-function gtk_drag_set_icon_pixmap
52 (c-name "gtk_drag_set_icon_pixmap")
55 '("GdkDragContext*" "context")
56 '("GdkColormap*" "colormap")
57 '("GdkPixmap*" "pixmap")
58 '("GdkBitmap*" "mask")
64 (define-function gtk_drag_set_icon_pixbuf
65 (c-name "gtk_drag_set_icon_pixbuf")
68 '("GdkDragContext*" "context")
69 '("GdkPixbuf*" "pixbuf")
75 (define-function gtk_drag_set_icon_stock
76 (c-name "gtk_drag_set_icon_stock")
79 '("GdkDragContext*" "context")
80 '("const-gchar*" "stock_id")
86 (define-function gtk_drag_set_icon_name
87 (c-name "gtk_drag_set_icon_name")
90 '("GdkDragContext*" "context")
91 '("const-gchar*" "icon_name")
97 (define-function gtk_drag_set_icon_default
98 (c-name "gtk_drag_set_icon_default")
101 '("GdkDragContext*" "context")