-/* gtk+-2.0.vala generated by lt-vapigen, do not modify. */
+/* gtk+-2.0.vala generated by vapigen, do not modify. */
[CCode (cprefix = "Gtk", lower_case_cprefix = "gtk_")]
namespace Gtk {
[NoArrayLength]
public static bool check_abi_check (int argc, string[] argv, int num_checks, ulong sizeof_GtkWindow, ulong sizeof_GtkBox);
[NoArrayLength]
- public static bool with_args (int argc, string[] argv, string parameter_string, out GLib.OptionEntry entries, string translation_domain) throws GLib.Error;
+ public static bool with_args (int argc, string[] argv, string parameter_string, GLib.OptionEntry[] entries, string translation_domain) throws GLib.Error;
}
[CCode (cheader_filename = "gtk/gtk.h")]
public class Input {
public weak Pango.Item item;
public weak Pango.GlyphString glyphs;
public weak GLib.SList apply_attrs (string text, Pango.AttrList list);
- public void letter_space (string text, Pango.LogAttr log_attrs, int letter_spacing);
+ public void letter_space (string text, out Pango.LogAttr log_attrs, int letter_spacing);
public weak Pango.GlyphItem split (string text, int split_index);
}
[CCode (copy_function = "pango_glyph_string_copy", cheader_filename = "pango/pango.h")]
public weak Pango.GlyphString glyphs;
}
[CCode (cheader_filename = "pango/pango.h")]
- public class LogAttr {
- public uint is_line_break;
- public uint is_mandatory_break;
- public uint is_char_break;
- public uint is_white;
- public uint is_cursor_position;
- public uint is_word_start;
- public uint is_word_end;
- public uint is_sentence_boundary;
- public uint is_sentence_start;
- public uint is_sentence_end;
- public uint backspace_deletes_character;
- public uint is_expandable_space;
- }
- [CCode (cheader_filename = "pango/pango.h")]
public class ScriptIter {
public void get_range (out string start, out string end, Pango.Script script);
public ScriptIter (string text, int length);
public weak string to_string ();
}
[CCode (cheader_filename = "pango/pango.h")]
+ public struct LogAttr {
+ public uint is_line_break;
+ public uint is_mandatory_break;
+ public uint is_char_break;
+ public uint is_white;
+ public uint is_cursor_position;
+ public uint is_word_start;
+ public uint is_word_end;
+ public uint is_sentence_boundary;
+ public uint is_sentence_start;
+ public uint is_sentence_end;
+ public uint backspace_deletes_character;
+ public uint is_expandable_space;
+ }
+ [CCode (cheader_filename = "pango/pango.h")]
public struct Matrix {
public double xx;
public double xy;
public static void extents_to_pixels (out Pango.Rectangle ink_rect, out Pango.Rectangle logical_rect);
public static Pango.Direction find_base_dir (string text, int length);
public static void find_paragraph_boundary (string text, int length, int paragraph_delimiter_index, int next_paragraph_start);
- public static void get_log_attrs (string text, int length, int level, Pango.Language language, Pango.LogAttr log_attrs, int attrs_len);
+ public static void get_log_attrs (string text, int length, int level, Pango.Language language, out Pango.LogAttr log_attrs, int attrs_len);
public static Pango.Gravity gravity_get_for_matrix (out Pango.Matrix matrix);
public static Pango.Gravity gravity_get_for_script (Pango.Script script, Pango.Gravity base_gravity, Pango.GravityHint hint);
public static double gravity_to_rotation (Pango.Gravity gravity);