Commit d2d8fe52 authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter
Browse files

switch to new construction syntax

2007-03-03  Jürg Billeter  <j@bitron.ch>

	* vapi/atk.vala, vapi/cairo.vala, vapi/gdk-2.0.vala, vapi/gtk+-2.0.vala,
	  vapi/pango.vala: switch to new construction syntax

svn path=/trunk/; revision=213
parent 4ca91d21
2007-03-03 Jürg Billeter <j@bitron.ch>
* vapi/atk.vala, vapi/cairo.vala, vapi/gdk-2.0.vala, vapi/gtk+-2.0.vala,
vapi/pango.vala: switch to new construction syntax
2007-03-03 Jürg Billeter <j@bitron.ch>
* vala/parser.y: remove support of old construction syntax
......
......@@ -298,7 +298,7 @@ namespace Atk {
public static GLib.Type get_type ();
[NoArrayLength ()]
[CCode (cname = "atk_no_op_object_new")]
public construct (GLib.Object obj);
public NoOpObject (GLib.Object obj);
}
[CCode (cheader_filename = "atk/atk.h")]
public class NoOpObjectFactory : Atk.ObjectFactory {
......@@ -307,7 +307,7 @@ namespace Atk {
public static GLib.Type get_type ();
[NoArrayLength ()]
[CCode (cname = "atk_no_op_object_factory_new")]
public construct ();
public NoOpObjectFactory ();
}
[CCode (cheader_filename = "atk/atk.h")]
public class Object : GLib.Object {
......@@ -463,7 +463,7 @@ namespace Atk {
public static GLib.Type get_type ();
[NoArrayLength ()]
[CCode (cname = "atk_relation_new")]
public construct (Atk.Object targets, int n_targets, Atk.RelationType relationship);
public Relation (Atk.Object targets, int n_targets, Atk.RelationType relationship);
[NoArrayLength ()]
[CCode (cname = "atk_relation_type_for_name")]
public static Atk.RelationType type_for_name (string name);
......@@ -503,7 +503,7 @@ namespace Atk {
public static GLib.Type get_type ();
[NoArrayLength ()]
[CCode (cname = "atk_relation_set_new")]
public construct ();
public RelationSet ();
[NoArrayLength ()]
[CCode (cname = "atk_relation_set_remove")]
public void remove (Atk.Relation relation);
......@@ -536,7 +536,7 @@ namespace Atk {
public bool is_empty ();
[NoArrayLength ()]
[CCode (cname = "atk_state_set_new")]
public construct ();
public StateSet ();
[NoArrayLength ()]
[CCode (cname = "atk_state_set_or_sets")]
public Atk.StateSet or_sets (Atk.StateSet compare_set);
......
......@@ -26,7 +26,7 @@ namespace Cairo {
[CCode (cname = "cairo_t", cprefix = "cairo_", cheader_filename = "cairo.h")]
public struct Context {
[CCode (cname = "cairo_create")]
public construct (Surface target);
public Context (Surface target);
public Status status ();
public void save ();
public void restore ();
......@@ -234,15 +234,15 @@ namespace Cairo {
public void add_color_stop_rgba (double offset, double red, double green, double blue, double alpha);
[CCode (cname = "cairo_pattern_create_rgb")]
public construct rgb (double red, double green, double blue);
public Pattern.rgb (double red, double green, double blue);
[CCode (cname = "cairo_pattern_create_rgba")]
public construct rgba (double red, double green, double blue, double alpha);
public Pattern.rgba (double red, double green, double blue, double alpha);
[CCode (cname = "cairo_pattern_create_for_surface")]
public construct for_surface (Surface! surface);
public Pattern.for_surface (Surface! surface);
[CCode (cname = "cairo_pattern_create_linear")]
public construct linear (double x0, double y0, double x1, double y1);
public Pattern.linear (double x0, double y0, double x1, double y1);
[CCode (cname = "cairo_pattern_create_radial")]
public construct radial (double cx0, double cy0, double radius0, double cx1, double cy1, double radius1);
public Pattern.radial (double cx0, double cy0, double radius0, double cx1, double cy1, double radius1);
public Status status ();
......@@ -321,7 +321,7 @@ namespace Cairo {
[CCode (cname = "cairo_scaled_font_t")]
public struct ScaledFont {
[CCode (cname = "cairo_scaled_font_create")]
public construct (Matrix font_matrix, Matrix ctm, ref FontOptions options);
public ScaledFont (Matrix font_matrix, Matrix ctm, ref FontOptions options);
public Status status ();
public void extents (ref FontExtents extents);
public void text_extents (string! utf8, ref TextExtents extents);
......@@ -357,7 +357,7 @@ namespace Cairo {
[CCode (cname = "cairo_font_options_t")]
public struct FontOptions {
[CCode (cname = "cairo_font_options_create")]
public construct ();
public FontOptions ();
public Status status ();
public void merge (FontOptions other);
public ulong hash ();
......@@ -401,7 +401,7 @@ namespace Cairo {
[CCode (cname = "cairo_surface_t", cheader_filename = "cairo.h")]
public struct Surface {
[CCode (cname = "cairo_surface_create_similar")]
public construct similar (Surface! other, Content content, int width, int height);
public Surface.similar (Surface! other, Content content, int width, int height);
public void finish ();
public void flush ();
public void get_font_options (ref FontOptions options);
......@@ -450,10 +450,10 @@ namespace Cairo {
[CCode (cname = "cairo_surface_t")]
public struct ImageSurface : Surface {
[CCode (cname = "cairo_image_surface_create")]
public construct (Format format, int width, int height);
public ImageSurface (Format format, int width, int height);
[CCode (cname = "cairo_image_surface_create_for_data")]
[NoArrayLength ()]
public construct for_data (uchar[] data, Format format, int width, int height, int stride);
public ImageSurface.for_data (uchar[] data, Format format, int width, int height, int stride);
public uchar[] get_data ();
public Format get_format ();
public int get_width ();
......@@ -461,18 +461,18 @@ namespace Cairo {
public int get_stride ();
[CCode (cname = "cairo_image_surface_create_from_png")]
public construct from_png (string! filename);
public ImageSurface.from_png (string! filename);
[CCode (cname = "cairo_image_surface_create_from_png_stream")]
public construct from_png_stream (ReadFunc read_func, pointer closure);
public ImageSurface.from_png_stream (ReadFunc read_func, pointer closure);
}
[ReferenceType (dup_function = "cairo_surface_reference", free_function = "cairo_surface_destroy")]
[CCode (cname = "cairo_surface_t", cheader_filename = "cairo-pdf.h")]
public struct PdfSurface : Surface {
[CCode (cname = "cairo_pdf_surface_create")]
public construct (string! filename, double width_in_points, double height_in_points);
public PdfSurface (string! filename, double width_in_points, double height_in_points);
[CCode (cname = "cairo_pdf_surface_create_for_stream")]
public construct for_stream (WriteFunc write_func, pointer closure, double width_in_points, double height_in_points);
public PdfSurface.for_stream (WriteFunc write_func, pointer closure, double width_in_points, double height_in_points);
public void set_size (double width_in_points, double height_in_points);
}
......@@ -485,9 +485,9 @@ namespace Cairo {
[CCode (cname = "cairo_surface_t", cheader_filename = "cairo-ps.h")]
public struct PsSurface : Surface {
[CCode (cname = "cairo_ps_surface_create")]
public construct (string! filename, double width_in_points, double height_in_points);
public PsSurface (string! filename, double width_in_points, double height_in_points);
[CCode (cname = "cairo_ps_surface_create_for_stream")]
public construct for_stream (WriteFunc write_func, pointer closure, double width_in_points, double height_in_points);
public PsSurface.for_stream (WriteFunc write_func, pointer closure, double width_in_points, double height_in_points);
public void set_size (double width_in_points, double height_in_points);
public void dsc_begin_setup ();
public void dsc_begin_page_setup ();
......@@ -498,9 +498,9 @@ namespace Cairo {
[CCode (cname = "cairo_surface_t", cheader_filename = "cairo-svg.h")]
public struct SvgSurface : Surface {
[CCode (cname = "cairo_svg_surface_create")]
public construct (string! filename, double width_in_points, double height_in_points);
public SvgSurface (string! filename, double width_in_points, double height_in_points);
[CCode (cname = "cairo_svg_surface_create_for_stream")]
public construct for_stream (WriteFunc write_func, pointer closure, double width_in_points, double height_in_points);
public SvgSurface.for_stream (WriteFunc write_func, pointer closure, double width_in_points, double height_in_points);
public void restrict_to_version (SvgVersion version);
[NoArrayLength ()]
public static void get_versions (out SvgVersion[] versions, ref int num_versions);
......@@ -516,9 +516,9 @@ namespace Cairo {
[CCode (cname = "cairo_surface_t", cheader_filename = "cairo-xlib.h")]
public struct XlibSurface : Surface {
[CCode (cname = "cairo_xlib_surface_create")]
public construct (pointer dpy, int drawable, pointer visual, int width, int height);
public XlibSurface (pointer dpy, int drawable, pointer visual, int width, int height);
[CCode (cname = "cairo_xlib_surface_create_for_bitmap")]
public construct for_bitmap (pointer dpy, int bitmap, pointer screen, int width, int height);
public XlibSurface.for_bitmap (pointer dpy, int bitmap, pointer screen, int width, int height);
public void set_size (int width, int height);
public pointer get_display ();
public pointer get_screen ();
......
......@@ -603,7 +603,7 @@ namespace Gdk {
public Gdk.Visual get_visual ();
[NoArrayLength ()]
[CCode (cname = "gdk_colormap_new")]
public construct (Gdk.Visual visual, bool allocate);
public Colormap (Gdk.Visual visual, bool allocate);
[NoArrayLength ()]
[CCode (cname = "gdk_colormap_query_color")]
public void query_color (ulong pixel, Gdk.Color result);
......@@ -795,7 +795,7 @@ namespace Gdk {
public static GLib.Type get_type ();
[NoArrayLength ()]
[CCode (cname = "gdk_drag_context_new")]
public construct ();
public DragContext ();
}
[CCode (cheader_filename = "gdk/gdk.h")]
public class Drawable : GLib.Object {
......@@ -927,10 +927,10 @@ namespace Gdk {
public virtual void get_values (Gdk.GCValues values);
[NoArrayLength ()]
[CCode (cname = "gdk_gc_new")]
public construct (Gdk.Drawable drawable);
public GC (Gdk.Drawable drawable);
[NoArrayLength ()]
[CCode (cname = "gdk_gc_new_with_values")]
public construct with_values (Gdk.Drawable drawable, Gdk.GCValues values, Gdk.GCValuesMask values_mask);
public GC.with_values (Gdk.Drawable drawable, Gdk.GCValues values, Gdk.GCValuesMask values_mask);
[NoArrayLength ()]
[CCode (cname = "gdk_gc_offset")]
public void offset (int x_offset, int y_offset);
......@@ -1016,7 +1016,7 @@ namespace Gdk {
public static GLib.Type get_type ();
[NoArrayLength ()]
[CCode (cname = "gdk_image_new")]
public construct (Gdk.ImageType type, Gdk.Visual visual, int width, int height);
public Image (Gdk.ImageType type, Gdk.Visual visual, int width, int height);
[NoArrayLength ()]
[CCode (cname = "gdk_image_put_pixel")]
public void put_pixel (int x, int y, uint pixel);
......@@ -1063,7 +1063,7 @@ namespace Gdk {
public static GLib.Type get_type ();
[NoArrayLength ()]
[CCode (cname = "gdk_pango_renderer_new")]
public construct (Gdk.Screen screen);
public PangoRenderer (Gdk.Screen screen);
[NoArrayLength ()]
[CCode (cname = "gdk_pango_renderer_set_drawable")]
public void set_drawable (Gdk.Drawable drawable);
......@@ -1155,28 +1155,28 @@ namespace Gdk {
public int get_width ();
[NoArrayLength ()]
[CCode (cname = "gdk_pixbuf_new")]
public construct (Gdk.Colorspace colorspace, bool has_alpha, int bits_per_sample, int width, int height);
public Pixbuf (Gdk.Colorspace colorspace, bool has_alpha, int bits_per_sample, int width, int height);
[NoArrayLength ()]
[CCode (cname = "gdk_pixbuf_new_from_data")]
public construct from_data (uchar[] data, Gdk.Colorspace colorspace, bool has_alpha, int bits_per_sample, int width, int height, int rowstride, Gdk.PixbufDestroyNotify destroy_fn, pointer destroy_fn_data);
public Pixbuf.from_data (uchar[] data, Gdk.Colorspace colorspace, bool has_alpha, int bits_per_sample, int width, int height, int rowstride, Gdk.PixbufDestroyNotify destroy_fn, pointer destroy_fn_data);
[NoArrayLength ()]
[CCode (cname = "gdk_pixbuf_new_from_file")]
public construct from_file (string filename, GLib.Error error);
public Pixbuf.from_file (string filename, GLib.Error error);
[NoArrayLength ()]
[CCode (cname = "gdk_pixbuf_new_from_file_at_scale")]
public construct from_file_at_scale (string filename, int width, int height, bool preserve_aspect_ratio, GLib.Error error);
public Pixbuf.from_file_at_scale (string filename, int width, int height, bool preserve_aspect_ratio, GLib.Error error);
[NoArrayLength ()]
[CCode (cname = "gdk_pixbuf_new_from_file_at_size")]
public construct from_file_at_size (string filename, int width, int height, GLib.Error error);
public Pixbuf.from_file_at_size (string filename, int width, int height, GLib.Error error);
[NoArrayLength ()]
[CCode (cname = "gdk_pixbuf_new_from_inline")]
public construct from_inline (int data_length, uchar[] data, bool copy_pixels, GLib.Error error);
public Pixbuf.from_inline (int data_length, uchar[] data, bool copy_pixels, GLib.Error error);
[NoArrayLength ()]
[CCode (cname = "gdk_pixbuf_new_from_xpm_data")]
public construct from_xpm_data (string data);
public Pixbuf.from_xpm_data (string data);
[NoArrayLength ()]
[CCode (cname = "gdk_pixbuf_new_subpixbuf")]
public construct subpixbuf (int src_x, int src_y, int width, int height);
public Pixbuf.subpixbuf (int src_x, int src_y, int width, int height);
[NoArrayLength ()]
[CCode (cname = "gdk_pixbuf_render_pixmap_and_mask")]
public void render_pixmap_and_mask (Gdk.Pixmap pixmap_return, Gdk.Bitmap mask_return, int alpha_threshold);
......@@ -1255,7 +1255,7 @@ namespace Gdk {
public bool is_static_image ();
[NoArrayLength ()]
[CCode (cname = "gdk_pixbuf_animation_new_from_file")]
public construct from_file (string filename, GLib.Error error);
public PixbufAnimation.from_file (string filename, GLib.Error error);
}
[CCode (cheader_filename = "gdk/gdk.h")]
public class PixbufAnimationIter : GLib.Object {
......@@ -1321,13 +1321,13 @@ namespace Gdk {
public static GLib.Type get_type ();
[NoArrayLength ()]
[CCode (cname = "gdk_pixbuf_loader_new")]
public construct ();
public PixbufLoader ();
[NoArrayLength ()]
[CCode (cname = "gdk_pixbuf_loader_new_with_mime_type")]
public construct with_mime_type (string mime_type, GLib.Error error);
public PixbufLoader.with_mime_type (string mime_type, GLib.Error error);
[NoArrayLength ()]
[CCode (cname = "gdk_pixbuf_loader_new_with_type")]
public construct with_type (string image_type, GLib.Error error);
public PixbufLoader.with_type (string image_type, GLib.Error error);
[NoArrayLength ()]
[CCode (cname = "gdk_pixbuf_loader_set_size")]
public void set_size (int width, int height);
......@@ -1352,7 +1352,7 @@ namespace Gdk {
public static GLib.Type iter_get_type ();
[NoArrayLength ()]
[CCode (cname = "gdk_pixbuf_simple_anim_new")]
public construct (int width, int height, float rate);
public PixbufSimpleAnim (int width, int height, float rate);
}
[CCode (cheader_filename = "gdk/gdk.h")]
public class Pixmap : GLib.Object {
......@@ -1391,7 +1391,7 @@ namespace Gdk {
public static Gdk.Pixmap lookup_for_display (Gdk.Display display, pointer anid);
[NoArrayLength ()]
[CCode (cname = "gdk_pixmap_new")]
public construct (Gdk.Drawable drawable, int width, int height, int depth);
public Pixmap (Gdk.Drawable drawable, int width, int height, int depth);
}
[CCode (cheader_filename = "gdk/gdk.h")]
public class Screen : GLib.Object {
......@@ -1716,7 +1716,7 @@ namespace Gdk {
public void move_resize (int x, int y, int width, int height);
[NoArrayLength ()]
[CCode (cname = "gdk_window_new")]
public construct (Gdk.WindowAttr attributes, int attributes_mask);
public Window (Gdk.WindowAttr attributes, int attributes_mask);
[NoArrayLength ()]
[CCode (cname = "gdk_window_peek_children")]
public GLib.List peek_children ();
......@@ -1929,19 +1929,19 @@ namespace Gdk {
public static GLib.Type get_type ();
[NoArrayLength ()]
[CCode (cname = "gdk_cursor_new")]
public construct (Gdk.CursorType cursor_type);
public Cursor (Gdk.CursorType cursor_type);
[NoArrayLength ()]
[CCode (cname = "gdk_cursor_new_for_display")]
public construct for_display (Gdk.Display display, Gdk.CursorType cursor_type);
public Cursor.for_display (Gdk.Display display, Gdk.CursorType cursor_type);
[NoArrayLength ()]
[CCode (cname = "gdk_cursor_new_from_name")]
public construct from_name (Gdk.Display display, string name);
public Cursor.from_name (Gdk.Display display, string name);
[NoArrayLength ()]
[CCode (cname = "gdk_cursor_new_from_pixbuf")]
public construct from_pixbuf (Gdk.Display display, Gdk.Pixbuf pixbuf, int x, int y);
public Cursor.from_pixbuf (Gdk.Display display, Gdk.Pixbuf pixbuf, int x, int y);
[NoArrayLength ()]
[CCode (cname = "gdk_cursor_new_from_pixmap")]
public construct from_pixmap (Gdk.Pixmap source, Gdk.Pixmap mask, Gdk.Color fg, Gdk.Color bg, int x, int y);
public Cursor.from_pixmap (Gdk.Pixmap source, Gdk.Pixmap mask, Gdk.Color fg, Gdk.Color bg, int x, int y);
[NoArrayLength ()]
[CCode (cname = "gdk_cursor_ref")]
public Gdk.Cursor @ref ();
......@@ -2217,7 +2217,7 @@ namespace Gdk {
public bool embossed;
[NoArrayLength ()]
[CCode (cname = "gdk_pango_attr_embossed_new")]
public construct (bool embossed);
public PangoAttrEmbossed (bool embossed);
}
[ReferenceType ()]
public struct PangoAttrStipple {
......@@ -2225,7 +2225,7 @@ namespace Gdk {
public weak Gdk.Bitmap stipple;
[NoArrayLength ()]
[CCode (cname = "gdk_pango_attr_stipple_new")]
public construct (Gdk.Bitmap stipple);
public PangoAttrStipple (Gdk.Bitmap stipple);
}
[ReferenceType ()]
public struct PixbufFormat {
......@@ -2352,7 +2352,7 @@ namespace Gdk {
public void intersect (Gdk.Region source2);
[NoArrayLength ()]
[CCode (cname = "gdk_region_new")]
public construct ();
public Region ();
[NoArrayLength ()]
[CCode (cname = "gdk_region_offset")]
public void offset (int dx, int dy);
......@@ -2403,7 +2403,7 @@ namespace Gdk {
public void free ();
[NoArrayLength ()]
[CCode (cname = "gdk_rgb_cmap_new")]
public construct (uint colors, int n_colors);
public RgbCmap (uint colors, int n_colors);
}
[ReferenceType ()]
public struct Segment {
......@@ -2621,7 +2621,7 @@ namespace Gdk {
public static void handler_set (Gdk.EventFunc func, pointer data, GLib.DestroyNotify notify);
[NoArrayLength ()]
[CCode (cname = "gdk_event_new")]
public construct (Gdk.EventType type);
public Event (Gdk.EventType type);
[NoArrayLength ()]
[CCode (cname = "gdk_event_peek")]
public static Gdk.Event peek ();
......
This diff is collapsed.
......@@ -468,7 +468,7 @@ namespace Pango {
public void move_cursor_visually (bool strong, int old_index, int old_trailing, int direction, int new_index, int new_trailing);
[NoArrayLength ()]
[CCode (cname = "pango_layout_new")]
public construct (Pango.Context context);
public Layout (Pango.Context context);
[NoArrayLength ()]
[CCode (cname = "pango_layout_set_alignment")]
public void set_alignment (Pango.Alignment alignment);
......@@ -598,7 +598,7 @@ namespace Pango {
public Pango.FontDescription desc;
[NoArrayLength ()]
[CCode (cname = "pango_attr_font_desc_new")]
public construct (Pango.FontDescription desc);
public AttrFontDesc (Pango.FontDescription desc);
}
[ReferenceType ()]
public struct AttrInt {
......@@ -635,7 +635,7 @@ namespace Pango {
public Pango.Language value;
[NoArrayLength ()]
[CCode (cname = "pango_attr_language_new")]
public construct (Pango.Language language);
public AttrLanguage (Pango.Language language);
}
public struct AttrList {
[NoArrayLength ()]
......@@ -667,7 +667,7 @@ namespace Pango {
public void insert_before (Pango.Attribute attr);
[NoArrayLength ()]
[CCode (cname = "pango_attr_list_new")]
public construct ();
public AttrList ();
[NoArrayLength ()]
[InstanceByReference ()]
[CCode (cname = "pango_attr_list_ref")]
......@@ -691,10 +691,10 @@ namespace Pango {
public GLib.DestroyNotify destroy_func;
[NoArrayLength ()]
[CCode (cname = "pango_attr_shape_new")]
public construct (Pango.Rectangle ink_rect, Pango.Rectangle logical_rect);
public AttrShape (Pango.Rectangle ink_rect, Pango.Rectangle logical_rect);
[NoArrayLength ()]
[CCode (cname = "pango_attr_shape_new_with_data")]
public construct with_data (Pango.Rectangle ink_rect, Pango.Rectangle logical_rect, pointer data, Pango.AttrDataCopyFunc copy_func, GLib.DestroyNotify destroy_func);
public AttrShape.with_data (Pango.Rectangle ink_rect, Pango.Rectangle logical_rect, pointer data, Pango.AttrDataCopyFunc copy_func, GLib.DestroyNotify destroy_func);
}
[ReferenceType ()]
public struct AttrSize {
......@@ -703,7 +703,7 @@ namespace Pango {
public uint absolute;
[NoArrayLength ()]
[CCode (cname = "pango_attr_size_new")]
public construct (int size);
public AttrSize (int size);
}
[ReferenceType ()]
public struct AttrString {
......@@ -765,7 +765,7 @@ namespace Pango {
public void max (Pango.Coverage other);
[NoArrayLength ()]
[CCode (cname = "pango_coverage_new")]
public construct ();
public Coverage ();
[NoArrayLength ()]
[CCode (cname = "pango_coverage_ref")]
public Pango.Coverage @ref ();
......@@ -862,7 +862,7 @@ namespace Pango {
public void merge_static (Pango.FontDescription desc_to_merge, bool replace_existing);
[NoArrayLength ()]
[CCode (cname = "pango_font_description_new")]
public construct ();
public FontDescription ();
[NoArrayLength ()]
[InstanceByReference ()]
[CCode (cname = "pango_font_description_set_absolute_size")]
......@@ -1023,7 +1023,7 @@ namespace Pango {
public void index_to_x (string text, int length, Pango.Analysis analysis, int index_, bool trailing, int x_pos);
[NoArrayLength ()]
[CCode (cname = "pango_glyph_string_new")]
public construct ();
public GlyphString ();
[NoArrayLength ()]
[InstanceByReference ()]
[CCode (cname = "pango_glyph_string_set_size")]
......@@ -1055,7 +1055,7 @@ namespace Pango {
public static GLib.Type get_type ();
[NoArrayLength ()]
[CCode (cname = "pango_item_new")]
public construct ();
public Item ();
[NoArrayLength ()]
[InstanceByReference ()]
[CCode (cname = "pango_item_split")]
......@@ -1291,7 +1291,7 @@ namespace Pango {
public void get_range (string start, string end, Pango.Script script);
[NoArrayLength ()]
[CCode (cname = "pango_script_iter_new")]
public construct (string text, int length);
public ScriptIter (string text, int length);
[NoArrayLength ()]
[CCode (cname = "pango_script_iter_next")]
public bool next ();
......@@ -1326,10 +1326,10 @@ namespace Pango {
public static GLib.Type get_type ();
[NoArrayLength ()]
[CCode (cname = "pango_tab_array_new")]
public construct (int initial_size, bool positions_in_pixels);
public TabArray (int initial_size, bool positions_in_pixels);
[NoArrayLength ()]
[CCode (cname = "pango_tab_array_new_with_positions")]
public construct with_positions (int size, bool positions_in_pixels, Pango.TabAlign first_alignment, int first_position);
public TabArray.with_positions (int size, bool positions_in_pixels, Pango.TabAlign first_alignment, int first_position);
[NoArrayLength ()]
[InstanceByReference ()]
[CCode (cname = "pango_tab_array_resize")]
......@@ -1349,7 +1349,7 @@ namespace Pango {
public pointer load (pointer logfont);
[NoArrayLength ()]
[CCode (cname = "pango_win32_font_cache_new")]
public construct ();
public Win32FontCache ();
[NoArrayLength ()]
[CCode (cname = "pango_win32_font_cache_unload")]
public void unload (pointer hfont);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment