-/* gdk-2.0.vapi generated by lt-vapigen, do not modify. */
+/* gdk-2.0.vapi generated by vapigen, do not modify. */
[CCode (cprefix = "Gdk", lower_case_cprefix = "gdk_")]
namespace Gdk {
ABOVE,
BELOW
}
- [Compact]
- [CCode (cheader_filename = "gdk/gdk.h")]
+ [CCode (ref_function = "g_object_ref", unref_function = "g_object_unref", cheader_filename = "gdk/gdk.h")]
public class Bitmap {
public weak GLib.Object parent_instance;
- public static weak Gdk.Bitmap create_from_data (Gdk.Drawable drawable, string data, int width, int height);
+ [CCode (array_length_pos = 0, delegate_target_pos = 0)]
+ public Bitmap ();
+ public static Gdk.Bitmap create_from_data (Gdk.Drawable drawable, string data, int width, int height);
}
[Compact]
[CCode (cheader_filename = "gdk/gdk.h")]
public void get_clipbox (out Gdk.Rectangle rectangle);
public void get_rectangles (Gdk.Rectangle[] rectangles);
public void intersect (Gdk.Region source2);
+ [CCode (array_length_pos = 0, delegate_target_pos = 0)]
public Region ();
public void offset (int dx, int dy);
public bool point_in (int x, int y);
public uint ref_count;
public weak Gdk.Display get_display ();
public weak Gdk.Pixbuf get_image ();
+ [CCode (array_length_pos = 0, delegate_target_pos = 0)]
public Cursor (Gdk.CursorType cursor_type);
+ [CCode (array_length_pos = 0, delegate_target_pos = 0)]
public Cursor.for_display (Gdk.Display display, Gdk.CursorType cursor_type);
+ [CCode (array_length_pos = 0, delegate_target_pos = 0)]
public Cursor.from_name (Gdk.Display display, string name);
+ [CCode (array_length_pos = 0, delegate_target_pos = 0)]
public Cursor.from_pixbuf (Gdk.Display display, Gdk.Pixbuf pixbuf, int x, int y);
+ [CCode (array_length_pos = 0, delegate_target_pos = 0)]
public Cursor.from_pixmap (Gdk.Pixmap source, Gdk.Pixmap mask, Gdk.Color fg, Gdk.Color bg, int x, int y);
}
[Compact]
}
[CCode (cheader_filename = "gdk/gdk.h")]
public class AppLaunchContext : GLib.AppLaunchContext {
+ [CCode (array_length_pos = 0, delegate_target_pos = 0)]
public AppLaunchContext ();
public void set_desktop (int desktop);
public void set_display (Gdk.Display display);
public weak Gdk.Screen get_screen ();
public static weak Gdk.Colormap get_system ();
public weak Gdk.Visual get_visual ();
+ [CCode (array_length_pos = 0, delegate_target_pos = 0)]
public Colormap (Gdk.Visual visual, bool allocate);
public void query_color (ulong pixel, out Gdk.Color _result);
}
public Gdk.DragAction action;
public uint start_time;
public void* windowing_data;
+ [CCode (array_length_pos = 0, delegate_target_pos = 0)]
public DragContext ();
}
[CCode (cheader_filename = "gdk/gdk.h")]
public void copy (Gdk.GC src_gc);
public weak Gdk.Colormap get_colormap ();
public weak Gdk.Screen get_screen ();
+ [CCode (array_length_pos = 0, delegate_target_pos = 0)]
public GC (Gdk.Drawable drawable);
+ [CCode (array_length_pos = 0, delegate_target_pos = 0)]
public GC.with_values (Gdk.Drawable drawable, Gdk.GCValues values, Gdk.GCValuesMask values_mask);
public void offset (int x_offset, int y_offset);
public void set_background (Gdk.Color color);
public void* windowing_data;
public weak Gdk.Colormap get_colormap ();
public uint get_pixel (int x, int y);
+ [CCode (array_length_pos = 0, delegate_target_pos = 0)]
public Image (Gdk.ImageType type, Gdk.Visual visual, int width, int height);
public void put_pixel (int x, int y, uint pixel);
public void set_colormap (Gdk.Colormap colormap);
[CCode (cheader_filename = "gdk/gdk.h")]
public class PangoRenderer : Pango.Renderer {
public static weak Pango.Renderer get_default (Gdk.Screen screen);
- [CCode (type = "PangoRenderer*")]
+ [CCode (array_length_pos = 0, delegate_target_pos = 0, type = "PangoRenderer*")]
public PangoRenderer (Gdk.Screen screen);
public void set_drawable (Gdk.Drawable drawable);
public void set_gc (Gdk.GC gc);
public static weak Gdk.Pixmap foreign_new_for_screen (Gdk.Screen screen, Gdk.NativeWindow anid, int width, int height, int depth);
public static weak Gdk.Pixmap lookup (Gdk.NativeWindow anid);
public static weak Gdk.Pixmap lookup_for_display (Gdk.Display display, Gdk.NativeWindow anid);
+ [CCode (array_length_pos = 0, delegate_target_pos = 0)]
public Pixmap (Gdk.Drawable drawable, int width, int height, int depth);
}
[CCode (cheader_filename = "gdk/gdk.h")]
public void move (int x, int y);
public void move_region (Gdk.Region region, int dx, int dy);
public void move_resize (int x, int y, int width, int height);
+ [CCode (array_length_pos = 0, delegate_target_pos = 0)]
public Window (Gdk.Window parent, Gdk.WindowAttr attributes, int attributes_mask);
public weak GLib.List peek_children ();
public static void process_all_updates ();
public struct PangoAttrEmbossColor {
public weak Pango.Attribute attr;
public Pango.Color color;
- [CCode (cname = "gdk_pango_attr_emboss_color_new")]
+ [CCode (cname = "gdk_pango_attr_emboss_color_new", array_length_pos = 0, delegate_target_pos = 0)]
public PangoAttrEmbossColor (Gdk.Color color);
}
[CCode (cheader_filename = "gdk/gdk.h")]
public struct PangoAttrEmbossed {
public weak Pango.Attribute attr;
public bool embossed;
- [CCode (cname = "gdk_pango_attr_embossed_new")]
+ [CCode (cname = "gdk_pango_attr_embossed_new", array_length_pos = 0, delegate_target_pos = 0)]
public PangoAttrEmbossed (bool embossed);
}
[CCode (cheader_filename = "gdk/gdk.h")]
public struct PangoAttrStipple {
public weak Pango.Attribute attr;
public weak Gdk.Bitmap stipple;
- [CCode (cname = "gdk_pango_attr_stipple_new")]
+ [CCode (cname = "gdk_pango_attr_stipple_new", array_length_pos = 0, delegate_target_pos = 0)]
public PangoAttrStipple (Gdk.Bitmap stipple);
}
[CCode (cheader_filename = "gdk/gdk.h")]
public int n_colors;
public weak GLib.SList info_list;
public void free ();
- [CCode (cname = "gdk_rgb_cmap_new")]
+ [CCode (cname = "gdk_rgb_cmap_new", array_length_pos = 0, delegate_target_pos = 0)]
public RgbCmap (uint[] colors);
}
[CCode (cheader_filename = "gdk/gdk.h")]
public bool get_state (out Gdk.ModifierType state);
public uint get_time ();
public static void handler_set (Gdk.EventFunc func, void* data, GLib.DestroyNotify notify);
- [CCode (cname = "gdk_event_new")]
+ [CCode (cname = "gdk_event_new", array_length_pos = 0, delegate_target_pos = 0)]
public Event (Gdk.EventType type);
public static Gdk.Event peek ();
public void put ();