From: Jürg Billeter Date: Fri, 18 Aug 2006 16:05:15 +0000 (+0000) Subject: support implicit array length parameter support NoArrayLength attribute X-Git-Tag: VALA_0_0_3~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=db23cad6249a32766f26d24db7162dbccff2b8d7;p=thirdparty%2Fvala.git support implicit array length parameter support NoArrayLength attribute 2006-08-18 Jürg Billeter * vala/valacodegenerator.vala: support implicit array length parameter * vala/valainterfacewriter.vala, vala/valaformalparameter.vala, vala/valamethod.vala: support NoArrayLength attribute * compiler/valacompiler.vala, vapi/atk.vala, vapi/cairo.vala, vapi/gdk-2.0.vala, vapi/glib-2.0.vala, vapi/gtk+-2.0.vala, vapi/pango.vala: add NoArrayLength attributes * tests/test-001.vala, tests/test-002.vala, tests/test-003.vala, tests/test-004.vala, tests/test-005.vala, tests/test-006.vala, tests/test-007.vala, tests/test-008.vala, tests/test-009.vala, tests/test-010.vala, tests/test-011.vala, tests/test-012.vala, tests/test-013.vala, tests/test-014.vala, tests/test-015.vala, tests/test-016.vala, tests/test-017.vala, tests/test-018.vala, tests/test-019.vala, tests/test-020.vala: remove argc parameter svn path=/trunk/; revision=106 --- diff --git a/vala/ChangeLog b/vala/ChangeLog index add7f1837..eaef85544 100644 --- a/vala/ChangeLog +++ b/vala/ChangeLog @@ -1,3 +1,19 @@ +2006-08-18 Jürg Billeter + + * vala/valacodegenerator.vala: support implicit array length parameter + * vala/valainterfacewriter.vala, vala/valaformalparameter.vala, + vala/valamethod.vala: support NoArrayLength attribute + * compiler/valacompiler.vala, vapi/atk.vala, vapi/cairo.vala, + vapi/gdk-2.0.vala, vapi/glib-2.0.vala, vapi/gtk+-2.0.vala, + vapi/pango.vala: add NoArrayLength attributes + * tests/test-001.vala, tests/test-002.vala, tests/test-003.vala, + tests/test-004.vala, tests/test-005.vala, tests/test-006.vala, + tests/test-007.vala, tests/test-008.vala, tests/test-009.vala, + tests/test-010.vala, tests/test-011.vala, tests/test-012.vala, + tests/test-013.vala, tests/test-014.vala, tests/test-015.vala, + tests/test-016.vala, tests/test-017.vala, tests/test-018.vala, + tests/test-019.vala, tests/test-020.vala: remove argc parameter + 2006-08-18 Jürg Billeter * vala/parser.y: remove read/write tokens diff --git a/vala/compiler/valacompiler.vala b/vala/compiler/valacompiler.vala index 632f735c8..edf285b65 100644 --- a/vala/compiler/valacompiler.vala +++ b/vala/compiler/valacompiler.vala @@ -209,6 +209,7 @@ class Vala.Compiler { return quit (); } + [NoArrayLength ()] static int main (int argc, string[] argv) { Error err = null; diff --git a/vala/tests/test-001.vala b/vala/tests/test-001.vala index c83820987..c5e73a0bf 100644 --- a/vala/tests/test-001.vala +++ b/vala/tests/test-001.vala @@ -1,7 +1,7 @@ using GLib; namespace Maman { - static int main (int argc, string[] argv) { + static int main (string[] args) { stdout.printf ("Namespace Test\n"); return 0; } diff --git a/vala/tests/test-002.vala b/vala/tests/test-002.vala index 5c8c30796..ac7627de0 100644 --- a/vala/tests/test-002.vala +++ b/vala/tests/test-002.vala @@ -2,7 +2,7 @@ using GLib; namespace Maman { class Bar { - static int main (int argc, string[] argv) { + static int main (string[] args) { stdout.printf ("Class in Namespace Test\n"); return 0; } diff --git a/vala/tests/test-003.vala b/vala/tests/test-003.vala index a4a676987..34b5655d2 100644 --- a/vala/tests/test-003.vala +++ b/vala/tests/test-003.vala @@ -4,7 +4,7 @@ class Maman.Bar { } class Maman.SubBar : Bar { - static int main (int argc, string[] argv) { + static int main (string[] args) { stdout.printf ("Subtype Test\n"); return 0; } diff --git a/vala/tests/test-004.vala b/vala/tests/test-004.vala index f8c39ba3c..ac069e522 100644 --- a/vala/tests/test-004.vala +++ b/vala/tests/test-004.vala @@ -7,7 +7,7 @@ class Maman.Bar { } class Maman.SubBar : Bar { - static int main (int argc, string[] argv) { + static int main (string[] args) { stdout.printf ("Inheritance Test: 1"); var bar = new SubBar (); diff --git a/vala/tests/test-005.vala b/vala/tests/test-005.vala index 026e12277..e97f42cfc 100644 --- a/vala/tests/test-005.vala +++ b/vala/tests/test-005.vala @@ -7,7 +7,7 @@ class Maman.Bar { } class Maman.SubBar : Bar { - static int main (int argc, string[] argv) { + static int main (string[] args) { stdout.printf ("Static Inheritance Test: 1"); do_action (); diff --git a/vala/tests/test-006.vala b/vala/tests/test-006.vala index b0488d319..cb66d9d05 100644 --- a/vala/tests/test-006.vala +++ b/vala/tests/test-006.vala @@ -1,7 +1,7 @@ using GLib; class Maman.Bar { - static int main (int argc, string[] argv) { + static int main (string[] args) { stdout.printf ("For Test: 1"); int i; diff --git a/vala/tests/test-007.vala b/vala/tests/test-007.vala index 74db7212b..a87a8e4c9 100644 --- a/vala/tests/test-007.vala +++ b/vala/tests/test-007.vala @@ -11,7 +11,7 @@ class Maman.SubBar : Bar { stdout.printf (" 2"); } - static int main (int argc, string[] argv) { + static int main (string[] args) { stdout.printf ("Virtual Method Test: 1"); Bar bar = new SubBar (); diff --git a/vala/tests/test-008.vala b/vala/tests/test-008.vala index 0b6ab1e6e..440036893 100644 --- a/vala/tests/test-008.vala +++ b/vala/tests/test-008.vala @@ -20,7 +20,7 @@ class Maman.Bar : Foo { private_field, private_static_field); } - static int main (int argc, string[] argv) { + static int main (string[] args) { stdout.printf ("Field Test: 1"); var bar = new Bar (); diff --git a/vala/tests/test-009.vala b/vala/tests/test-009.vala index 934864a7f..c653232fb 100644 --- a/vala/tests/test-009.vala +++ b/vala/tests/test-009.vala @@ -30,7 +30,7 @@ class Maman.Bar : Foo { stdout.printf (" %d %d", public_base_property, public_property); } - static int main (int argc, string[] argv) { + static int main (string[] args) { stdout.printf ("Property Test: 1"); var bar = new Bar (); diff --git a/vala/tests/test-010.vala b/vala/tests/test-010.vala index e3b1eb67b..6e883be32 100644 --- a/vala/tests/test-010.vala +++ b/vala/tests/test-010.vala @@ -1,7 +1,7 @@ using GLib; class Maman.Bar { - static int main (int argc, string[] argv) { + static int main (string[] args) { stdout.printf ("Assignment Test: 1"); int i; diff --git a/vala/tests/test-011.vala b/vala/tests/test-011.vala index 7963707b0..332a83208 100644 --- a/vala/tests/test-011.vala +++ b/vala/tests/test-011.vala @@ -1,7 +1,7 @@ using GLib; class Maman.Bar { - static int main (int argc, string[] argv) { + static int main (string[] args) { stdout.printf ("Binary Expression Test: 1"); stdout.printf (" %d", 1 + 1); diff --git a/vala/tests/test-012.vala b/vala/tests/test-012.vala index 3488e50f9..0705ef76e 100644 --- a/vala/tests/test-012.vala +++ b/vala/tests/test-012.vala @@ -1,7 +1,7 @@ using GLib; class Maman.Bar { - static int main (int argc, string[] argv) { + static int main (string[] args) { stdout.printf ("Block Test: 1"); { diff --git a/vala/tests/test-013.vala b/vala/tests/test-013.vala index d0231ecbe..78206070b 100644 --- a/vala/tests/test-013.vala +++ b/vala/tests/test-013.vala @@ -1,7 +1,7 @@ using GLib; class Maman.Bar { - static int main (int argc, string[] argv) { + static int main (string[] args) { stdout.printf ("Break Test: 1"); int i; diff --git a/vala/tests/test-014.vala b/vala/tests/test-014.vala index ecbb547e5..0cc6321c2 100644 --- a/vala/tests/test-014.vala +++ b/vala/tests/test-014.vala @@ -7,7 +7,7 @@ class Maman.Bar { return 2; } - static int main (int argc, string[] argv) { + static int main (string[] args) { stdout.printf ("Callback Test: 1"); ActionCallback cb = do_action; diff --git a/vala/tests/test-015.vala b/vala/tests/test-015.vala index fe0a2bcf2..e8ed952d2 100644 --- a/vala/tests/test-015.vala +++ b/vala/tests/test-015.vala @@ -7,7 +7,7 @@ class Maman.Bar { return cb (1); } - static int main (int argc, string[] argv) { + static int main (string[] args) { stdout.printf ("Lambda Test: 1"); stdout.printf (" %d", do_action (i => i * 2)); diff --git a/vala/tests/test-016.vala b/vala/tests/test-016.vala index 13dd2f0d1..e0ce1f8b7 100644 --- a/vala/tests/test-016.vala +++ b/vala/tests/test-016.vala @@ -1,7 +1,7 @@ using GLib; class Maman.Bar { - static int main (int argc, string[] argv) { + static int main (string[] args) { stdout.printf ("Conditional Expression Test: 1"); stdout.printf (" %d", false ? -1 : 2); diff --git a/vala/tests/test-017.vala b/vala/tests/test-017.vala index 8976f5562..d8fca854c 100644 --- a/vala/tests/test-017.vala +++ b/vala/tests/test-017.vala @@ -9,7 +9,7 @@ class Maman.Baz : Ibaz { stdout.printf (" 2"); } - static int main (int argc, string[] argv) { + static int main (string[] args) { stdout.printf ("Interface Test: 1"); Ibaz ibaz = new Baz (); diff --git a/vala/tests/test-018.vala b/vala/tests/test-018.vala index bacd25981..fe4c917d0 100644 --- a/vala/tests/test-018.vala +++ b/vala/tests/test-018.vala @@ -39,7 +39,7 @@ class Maman.Bar { stdout.printf (" 6"); } - static int main (int argc, string[] argv) { + static int main (string[] args) { stdout.printf ("Signal Test: 1"); var bar = new Bar (); diff --git a/vala/tests/test-019.vala b/vala/tests/test-019.vala index 947fce7fd..50fb15957 100644 --- a/vala/tests/test-019.vala +++ b/vala/tests/test-019.vala @@ -29,7 +29,7 @@ class Maman.Foo { return counter++; } - static int main (int argc, string[] argv) { + static int main (string[] args) { stdout.printf ("Element access: 1"); var foo = new Foo (); diff --git a/vala/tests/test-020.vala b/vala/tests/test-020.vala index a0e851764..906b787e8 100644 --- a/vala/tests/test-020.vala +++ b/vala/tests/test-020.vala @@ -44,7 +44,7 @@ class Maman.Foo { return counter++; } - static int main (int argc, string[] argv) { + static int main (string[] args) { stdout.printf ("Switch statement: 1"); var foo = new Foo (); diff --git a/vala/vala/valacodegenerator.vala b/vala/vala/valacodegenerator.vala index 225ee4cae..d5ebd543d 100644 --- a/vala/vala/valacodegenerator.vala +++ b/vala/vala/valacodegenerator.vala @@ -954,6 +954,10 @@ public class Vala.CodeGenerator : CodeVisitor { } return null; } + + private ref string! get_array_length_cname (string! array_cname, int dim) { + return "%s_length%d".printf (array_cname, dim); + } public override void visit_end_method (Method! m) { current_symbol = current_symbol.parent_symbol; @@ -989,6 +993,23 @@ public class Vala.CodeGenerator : CodeVisitor { var params = m.get_parameters (); foreach (FormalParameter param in params) { + if (!param.no_array_length && param.type_reference.data_type is Array) { + var arr = (Array) param.type_reference.data_type; + + var length_ctype = "int"; + if (param.type_reference.is_out) { + length_ctype = "int*"; + } + + for (int dim = 1; dim <= arr.rank; dim++) { + var cparam = new CCodeFormalParameter (get_array_length_cname (param.name, dim), length_ctype); + function.add_parameter (cparam); + if (vdeclarator != null) { + vdeclarator.add_parameter (cparam); + } + } + } + function.add_parameter ((CCodeFormalParameter) param.ccodenode); if (vdeclarator != null) { vdeclarator.add_parameter ((CCodeFormalParameter) param.ccodenode); @@ -2023,6 +2044,37 @@ public class Vala.CodeGenerator : CodeVisitor { visit_expression (expr); } + + private ref CCodeExpression! get_array_length_cexpression (Expression! array_expr, int dim) { + bool is_out = false; + + if (array_expr is UnaryExpression) { + var unary_expr = (UnaryExpression) array_expr; + if (unary_expr.operator == UnaryOperator.OUT) { + array_expr = unary_expr.inner; + is_out = true; + } + } + + if (array_expr.symbol_reference != null && + array_expr.symbol_reference.node is FormalParameter) { + var param = (FormalParameter) array_expr.symbol_reference.node; + if (!param.no_array_length) { + var length_expr = new CCodeIdentifier (get_array_length_cname (param.name, dim)); + if (is_out) { + return new CCodeUnaryExpression (CCodeUnaryOperator.ADDRESS_OF, length_expr); + } else { + return length_expr; + } + } + } + + if (!is_out) { + return new CCodeConstant ("-1"); + } else { + return new CCodeConstant ("NULL"); + } + } public override void visit_end_invocation_expression (InvocationExpression! expr) { var ccall = new CCodeFunctionCall ((CCodeExpression) expr.call.ccodenode); @@ -2096,14 +2148,21 @@ public class Vala.CodeGenerator : CodeVisitor { if (!param.ellipsis && param.type_reference.data_type != null && param.type_reference.data_type.is_reference_type () - && arg.static_type.data_type != null - && param.type_reference.data_type != arg.static_type.data_type) { - var ccall = new CCodeFunctionCall (new CCodeIdentifier (param.type_reference.data_type.get_upper_case_cname (null))); - ccall.add_argument (cexpr); - cexpr = ccall; + && arg.static_type.data_type != null) { + if (!param.no_array_length && param.type_reference.data_type is Array) { + var arr = (Array) param.type_reference.data_type; + for (int dim = 1; dim <= arr.rank; dim++) { + ccall.add_argument (get_array_length_cexpression (arg, dim)); + } + } + if (param.type_reference.data_type != arg.static_type.data_type) { + var ccall = new CCodeFunctionCall (new CCodeIdentifier (param.type_reference.data_type.get_upper_case_cname (null))); + ccall.add_argument (cexpr); + cexpr = ccall; + } } } - + ccall.add_argument (cexpr); i++; @@ -2129,6 +2188,14 @@ public class Vala.CodeGenerator : CodeVisitor { * parameter yet */ param.default_expression.accept (this); + if (!param.no_array_length && param.type_reference != null && + param.type_reference.data_type is Array) { + var arr = (Array) param.type_reference.data_type; + for (int dim = 1; dim <= arr.rank; dim++) { + ccall.add_argument (get_array_length_cexpression (param.default_expression, dim)); + } + } + ccall.add_argument ((CCodeExpression) param.default_expression.ccodenode); i++; diff --git a/vala/vala/valaformalparameter.vala b/vala/vala/valaformalparameter.vala index d50ba3da9..0ef0188ca 100644 --- a/vala/vala/valaformalparameter.vala +++ b/vala/vala/valaformalparameter.vala @@ -48,6 +48,12 @@ public class Vala.FormalParameter : CodeNode, Invokable { */ public Expression default_expression { get; set; } + /** + * Specifies whether the array length should implicitly be passed + * if the parameter type is an array. + */ + public bool no_array_length { get; set; } + /** * Creates a new formal parameter. * diff --git a/vala/vala/valainterfacewriter.vala b/vala/vala/valainterfacewriter.vala index 9fb8aed97..0d4dff6cf 100644 --- a/vala/vala/valainterfacewriter.vala +++ b/vala/vala/valainterfacewriter.vala @@ -355,6 +355,11 @@ public class Vala.InterfaceWriter : CodeVisitor { return; } + if (m.no_array_length) { + write_indent (); + write_string ("[NoArrayLength ()]"); + } + write_indent (); write_string ("public"); diff --git a/vala/vala/valamethod.vala b/vala/vala/valamethod.vala index 66861ee5e..a1511f282 100644 --- a/vala/vala/valamethod.vala +++ b/vala/vala/valamethod.vala @@ -112,10 +112,27 @@ public class Vala.Method : CodeNode, Invokable { * Specifies the generated `this' parameter for instance methods. */ public FormalParameter this_parameter { get; set; } + + /** + * Specifies whether the array length should implicitly be passed + * if the parameter type is an array. + */ + public bool no_array_length { + get { + return _no_array_length; + } + set { + _no_array_length = value; + foreach (FormalParameter param in parameters) { + param.no_array_length = value; + } + } + } private bool _instance = true; private List parameters; private string cname; + private bool _no_array_length; /** * Creates a new method. @@ -137,6 +154,10 @@ public class Vala.Method : CodeNode, Invokable { * @param param a formal parameter */ public void add_parameter (FormalParameter! param) { + if (no_array_length) { + param.no_array_length = true; + } + parameters.append (param); } @@ -243,6 +264,8 @@ public class Vala.Method : CodeNode, Invokable { instance_last = true; } else if (a.name == "FloatingReference") { return_type.floating_reference = true; + } else if (a.name == "NoArrayLength") { + no_array_length = true; } } } diff --git a/vala/vapi/atk.vala b/vala/vapi/atk.vala index 374cd5dda..a633cfa16 100644 --- a/vala/vapi/atk.vala +++ b/vala/vapi/atk.vala @@ -1,19 +1,31 @@ [CCode (cheader_filename = "packages/atk/atk.h")] namespace Atk { public class GObjectAccessible : Atk.Object { + [NoArrayLength ()] public static Atk.Object for_object (GLib.Object obj); + [NoArrayLength ()] public GLib.Object get_object (); + [NoArrayLength ()] public GLib.Type get_type (); } public class Hyperlink : GLib.Object, Atk.Action { + [NoArrayLength ()] public int get_end_index (); + [NoArrayLength ()] public int get_n_anchors (); + [NoArrayLength ()] public Atk.Object get_object (int i); + [NoArrayLength ()] public int get_start_index (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public string get_uri (int i); + [NoArrayLength ()] public bool is_inline (); + [NoArrayLength ()] public bool is_selected_link (); + [NoArrayLength ()] public bool is_valid (); [NoAccessorMethod ()] public weak bool selected_link { get; } @@ -24,36 +36,63 @@ namespace Atk { public signal void link_activated (); } public class NoOpObject : Atk.Object, Atk.Component, Atk.Action, Atk.EditableText, Atk.Image, Atk.Selection, Atk.Table, Atk.Text, Atk.Hypertext, Atk.Value { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (GLib.Object obj); } public class NoOpObjectFactory : Atk.ObjectFactory { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); } public class Object : GLib.Object { + [NoArrayLength ()] public bool add_relationship (Atk.RelationType relationship, Atk.Object target); + [NoArrayLength ()] public uint connect_property_change_handler (Atk.PropertyChangeHandler handler); + [NoArrayLength ()] public GLib.SList get_attributes (); + [NoArrayLength ()] public string get_description (); + [NoArrayLength ()] public int get_index_in_parent (); + [NoArrayLength ()] public Atk.Layer get_layer (); + [NoArrayLength ()] public int get_mdi_zorder (); + [NoArrayLength ()] public int get_n_accessible_children (); + [NoArrayLength ()] public string get_name (); + [NoArrayLength ()] public Atk.Object get_parent (); + [NoArrayLength ()] public Atk.Role get_role (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public void initialize (pointer data); + [NoArrayLength ()] public void notify_state_change (Atk.State state, bool value); + [NoArrayLength ()] public Atk.Object ref_accessible_child (int i); + [NoArrayLength ()] public Atk.RelationSet ref_relation_set (); + [NoArrayLength ()] public Atk.StateSet ref_state_set (); + [NoArrayLength ()] public void remove_property_change_handler (uint handler_id); + [NoArrayLength ()] public bool remove_relationship (Atk.RelationType relationship, Atk.Object target); + [NoArrayLength ()] public void set_description (string description); + [NoArrayLength ()] public void set_name (string name); + [NoArrayLength ()] public void set_parent (Atk.Object parent); + [NoArrayLength ()] public void set_role (Atk.Role role); [NoAccessorMethod ()] public weak string atk_object_name_property_name { get; set; } @@ -93,25 +132,41 @@ namespace Atk { public signal void active_descendant_changed (pointer child); } public class ObjectFactory : GLib.Object { + [NoArrayLength ()] public Atk.Object create_accessible (GLib.Object obj); + [NoArrayLength ()] public GLib.Type get_accessible_type (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public void invalidate (); } public class Registry : GLib.Object { + [NoArrayLength ()] public Atk.ObjectFactory get_factory (GLib.Type type); + [NoArrayLength ()] public GLib.Type get_factory_type (GLib.Type type); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public void set_factory_type (GLib.Type type, GLib.Type factory_type); } public class Relation : GLib.Object { + [NoArrayLength ()] public void add_target (Atk.Object target); + [NoArrayLength ()] public Atk.RelationType get_relation_type (); + [NoArrayLength ()] public GLib.PtrArray get_target (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (Atk.Object targets, int n_targets, Atk.RelationType relationship); + [NoArrayLength ()] public static Atk.RelationType type_for_name (string name); + [NoArrayLength ()] public static string type_get_name (Atk.RelationType type); + [NoArrayLength ()] public static Atk.RelationType type_register (string name); [NoAccessorMethod ()] public weak Atk.RelationType relation_type { get; set; } @@ -119,189 +174,338 @@ namespace Atk { public weak GLib.ValueArray target { get; set; } } public class RelationSet : GLib.Object { + [NoArrayLength ()] public void add (Atk.Relation relation); + [NoArrayLength ()] public void add_relation_by_type (Atk.RelationType relationship, Atk.Object target); + [NoArrayLength ()] public bool contains (Atk.RelationType relationship); + [NoArrayLength ()] public int get_n_relations (); + [NoArrayLength ()] public Atk.Relation get_relation (int i); + [NoArrayLength ()] public Atk.Relation get_relation_by_type (Atk.RelationType relationship); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public void remove (Atk.Relation relation); } public class StateSet : GLib.Object { + [NoArrayLength ()] public bool add_state (Atk.StateType type); + [NoArrayLength ()] public void add_states (Atk.StateType types, int n_types); + [NoArrayLength ()] public Atk.StateSet and_sets (Atk.StateSet compare_set); + [NoArrayLength ()] public void clear_states (); + [NoArrayLength ()] public bool contains_state (Atk.StateType type); + [NoArrayLength ()] public bool contains_states (Atk.StateType types, int n_types); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool is_empty (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public Atk.StateSet or_sets (Atk.StateSet compare_set); + [NoArrayLength ()] public bool remove_state (Atk.StateType type); + [NoArrayLength ()] public Atk.StateSet xor_sets (Atk.StateSet compare_set); } public class Util : GLib.Object { + [NoArrayLength ()] public GLib.Type get_type (); } public interface Action { + [NoArrayLength ()] public bool do_action (int i); + [NoArrayLength ()] public string get_description (int i); + [NoArrayLength ()] public string get_keybinding (int i); + [NoArrayLength ()] public string get_localized_name (int i); + [NoArrayLength ()] public int get_n_actions (); + [NoArrayLength ()] public string get_name (int i); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool set_description (int i, string desc); } public interface Component { + [NoArrayLength ()] public uint add_focus_handler (Atk.FocusHandler handler); + [NoArrayLength ()] public bool contains (int x, int y, Atk.CoordType coord_type); + [NoArrayLength ()] public double get_alpha (); + [NoArrayLength ()] public void get_extents (int x, int y, int width, int height, Atk.CoordType coord_type); + [NoArrayLength ()] public Atk.Layer get_layer (); + [NoArrayLength ()] public int get_mdi_zorder (); + [NoArrayLength ()] public void get_position (int x, int y, Atk.CoordType coord_type); + [NoArrayLength ()] public void get_size (int width, int height); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool grab_focus (); + [NoArrayLength ()] public Atk.Object ref_accessible_at_point (int x, int y, Atk.CoordType coord_type); + [NoArrayLength ()] public void remove_focus_handler (uint handler_id); + [NoArrayLength ()] public bool set_extents (int x, int y, int width, int height, Atk.CoordType coord_type); + [NoArrayLength ()] public bool set_position (int x, int y, Atk.CoordType coord_type); + [NoArrayLength ()] public bool set_size (int width, int height); } public interface Document { + [NoArrayLength ()] public string get_attribute_value (string attribute_name); + [NoArrayLength ()] public GLib.SList get_attributes (); + [NoArrayLength ()] public pointer get_document (); + [NoArrayLength ()] public string get_document_type (); + [NoArrayLength ()] public string get_locale (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool set_attribute_value (string attribute_name, string attribute_value); } public interface EditableText { + [NoArrayLength ()] public void copy_text (int start_pos, int end_pos); + [NoArrayLength ()] public void cut_text (int start_pos, int end_pos); + [NoArrayLength ()] public void delete_text (int start_pos, int end_pos); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public void insert_text (string string, int length, int position); + [NoArrayLength ()] public void paste_text (int position); + [NoArrayLength ()] public bool set_run_attributes (GLib.SList attrib_set, int start_offset, int end_offset); + [NoArrayLength ()] public void set_text_contents (string string); } public interface HyperlinkImpl { + [NoArrayLength ()] public Atk.Hyperlink get_hyperlink (); + [NoArrayLength ()] public GLib.Type get_type (); } public interface Hypertext { + [NoArrayLength ()] public Atk.Hyperlink get_link (int link_index); + [NoArrayLength ()] public int get_link_index (int char_index); + [NoArrayLength ()] public int get_n_links (); + [NoArrayLength ()] public GLib.Type get_type (); } public interface Image { + [NoArrayLength ()] public string get_image_description (); + [NoArrayLength ()] public string get_image_locale (); + [NoArrayLength ()] public void get_image_position (int x, int y, Atk.CoordType coord_type); + [NoArrayLength ()] public void get_image_size (int width, int height); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool set_image_description (string description); } public interface Implementor { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public Atk.Object ref_accessible (); } public interface Selection { + [NoArrayLength ()] public bool add_selection (int i); + [NoArrayLength ()] public bool clear_selection (); + [NoArrayLength ()] public int get_selection_count (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool is_child_selected (int i); + [NoArrayLength ()] public Atk.Object ref_selection (int i); + [NoArrayLength ()] public bool remove_selection (int i); + [NoArrayLength ()] public bool select_all_selection (); } public interface StreamableContent { + [NoArrayLength ()] public string get_mime_type (int i); + [NoArrayLength ()] public int get_n_mime_types (); + [NoArrayLength ()] public GLib.IOChannel get_stream (string mime_type); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public string get_uri (string mime_type); } public interface Table { + [NoArrayLength ()] public bool add_column_selection (int column); + [NoArrayLength ()] public bool add_row_selection (int row); + [NoArrayLength ()] public Atk.Object get_caption (); + [NoArrayLength ()] public int get_column_at_index (int index_); + [NoArrayLength ()] public string get_column_description (int column); + [NoArrayLength ()] public int get_column_extent_at (int row, int column); + [NoArrayLength ()] public Atk.Object get_column_header (int column); + [NoArrayLength ()] public int get_index_at (int row, int column); + [NoArrayLength ()] public int get_n_columns (); + [NoArrayLength ()] public int get_n_rows (); + [NoArrayLength ()] public int get_row_at_index (int index_); + [NoArrayLength ()] public string get_row_description (int row); + [NoArrayLength ()] public int get_row_extent_at (int row, int column); + [NoArrayLength ()] public Atk.Object get_row_header (int row); + [NoArrayLength ()] public int get_selected_columns (int selected); + [NoArrayLength ()] public int get_selected_rows (int selected); + [NoArrayLength ()] public Atk.Object get_summary (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool is_column_selected (int column); + [NoArrayLength ()] public bool is_row_selected (int row); + [NoArrayLength ()] public bool is_selected (int row, int column); + [NoArrayLength ()] public Atk.Object ref_at (int row, int column); + [NoArrayLength ()] public bool remove_column_selection (int column); + [NoArrayLength ()] public bool remove_row_selection (int row); + [NoArrayLength ()] public void set_caption (Atk.Object caption); + [NoArrayLength ()] public void set_column_description (int column, string description); + [NoArrayLength ()] public void set_column_header (int column, Atk.Object header); + [NoArrayLength ()] public void set_row_description (int row, string description); + [NoArrayLength ()] public void set_row_header (int row, Atk.Object header); + [NoArrayLength ()] public void set_summary (Atk.Object accessible); } public interface Text { + [NoArrayLength ()] public bool add_selection (int start_offset, int end_offset); + [NoArrayLength ()] public static Atk.TextAttribute attribute_for_name (string name); + [NoArrayLength ()] public static string attribute_get_name (Atk.TextAttribute attr); + [NoArrayLength ()] public static string attribute_get_value (Atk.TextAttribute attr, int index_); + [NoArrayLength ()] public static Atk.TextAttribute attribute_register (string name); + [NoArrayLength ()] public static void free_ranges (Atk.TextRange ranges); + [NoArrayLength ()] public Atk.TextRange get_bounded_ranges (Atk.TextRectangle rect, Atk.CoordType coord_type, Atk.TextClipType x_clip_type, Atk.TextClipType y_clip_type); + [NoArrayLength ()] public int get_caret_offset (); + [NoArrayLength ()] public unichar get_character_at_offset (int offset); + [NoArrayLength ()] public int get_character_count (); + [NoArrayLength ()] public void get_character_extents (int offset, int x, int y, int width, int height, Atk.CoordType coords); + [NoArrayLength ()] public GLib.SList get_default_attributes (); + [NoArrayLength ()] public int get_n_selections (); + [NoArrayLength ()] public int get_offset_at_point (int x, int y, Atk.CoordType coords); + [NoArrayLength ()] public void get_range_extents (int start_offset, int end_offset, Atk.CoordType coord_type, Atk.TextRectangle rect); + [NoArrayLength ()] public GLib.SList get_run_attributes (int offset, int start_offset, int end_offset); + [NoArrayLength ()] public string get_selection (int selection_num, int start_offset, int end_offset); + [NoArrayLength ()] public string get_text (int start_offset, int end_offset); + [NoArrayLength ()] public string get_text_after_offset (int offset, Atk.TextBoundary boundary_type, int start_offset, int end_offset); + [NoArrayLength ()] public string get_text_at_offset (int offset, Atk.TextBoundary boundary_type, int start_offset, int end_offset); + [NoArrayLength ()] public string get_text_before_offset (int offset, Atk.TextBoundary boundary_type, int start_offset, int end_offset); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool remove_selection (int selection_num); + [NoArrayLength ()] public bool set_caret_offset (int offset); + [NoArrayLength ()] public bool set_selection (int selection_num, int start_offset, int end_offset); } public interface Value { + [NoArrayLength ()] public void get_current_value (GLib.Value value); + [NoArrayLength ()] public void get_maximum_value (GLib.Value value); + [NoArrayLength ()] public void get_minimum_increment (GLib.Value value); + [NoArrayLength ()] public void get_minimum_value (GLib.Value value); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool set_current_value (GLib.Value value); } [ReferenceType ()] public struct Attribute { public weak string name; public weak string value; + [NoArrayLength ()] public static void set_free (GLib.SList attrib_set); } [ReferenceType ()] @@ -321,6 +525,7 @@ namespace Atk { public weak GLib.Value new_value; } public struct Rectangle { + [NoArrayLength ()] public GLib.Type get_type (); } [ReferenceType ()] @@ -339,31 +544,51 @@ namespace Atk { } [ReferenceType ()] public struct Global { + [NoArrayLength ()] public static uint _add_focus_tracker (Atk.EventListener focus_tracker); + [NoArrayLength ()] public static uint _add_global_event_listener (GLib.SignalEmissionHook listener, string event_type); + [NoArrayLength ()] public static uint _add_key_event_listener (Atk.KeySnoopFunc listener, pointer data); + [NoArrayLength ()] public Atk.Registry _get_default_registry (); + [NoArrayLength ()] public Atk.Object _get_focus_object (); + [NoArrayLength ()] public Atk.Object _get_root (); + [NoArrayLength ()] public string _get_toolkit_name (); + [NoArrayLength ()] public string _get_toolkit_version (); + [NoArrayLength ()] public static void _remove_focus_tracker (uint tracker_id); + [NoArrayLength ()] public static void _remove_global_event_listener (uint listener_id); + [NoArrayLength ()] public static void _remove_key_event_listener (uint listener_id); + [NoArrayLength ()] public static Atk.Role _role_for_name (string name); + [NoArrayLength ()] public static string _role_get_localized_name (Atk.Role role); + [NoArrayLength ()] public static string _role_get_name (Atk.Role role); + [NoArrayLength ()] public static Atk.Role _role_register (string name); } [ReferenceType ()] public struct Focus { + [NoArrayLength ()] public static void tracker_init (Atk.EventListenerInit init); + [NoArrayLength ()] public static void tracker_notify (Atk.Object object); } [ReferenceType ()] public struct State { + [NoArrayLength ()] public static Atk.StateType type_for_name (string name); + [NoArrayLength ()] public static string type_get_name (Atk.StateType type); + [NoArrayLength ()] public static Atk.StateType type_register (string name); } [CCode (cprefix = "ATK_XY_")] diff --git a/vala/vapi/cairo.vala b/vala/vapi/cairo.vala index c03c8f106..2d90b8604 100644 --- a/vala/vapi/cairo.vala +++ b/vala/vapi/cairo.vala @@ -47,6 +47,7 @@ namespace Cairo { public void set_antialias (Antialias antialias); public Antialias get_antialias (); + [NoArrayLength ()] public void set_dash (double[] dashes, int num_dashes, double offset); public void set_fill_rule (FillRule fill_rule); @@ -113,6 +114,7 @@ namespace Cairo { public void rectangle (double x, double y, double width, double height); + [NoArrayLength ()] public void glyph_path (Glyph[] glyphs, int num_glyphs); public void text_path (string! utf8); @@ -139,6 +141,7 @@ namespace Cairo { public void get_font_options (ref FontOptions options); public void show_text (string! utf8); + [NoArrayLength ()] public void show_glyphs (Glyph[] glyphs, int num_glyphs); public FontFace get_font_face (); @@ -146,6 +149,7 @@ namespace Cairo { public void set_font_face (FontFace font_face); public void set_scaled_font (ScaledFont! font); public void text_extents (string! utf8, ref TextExtents extents); + [NoArrayLength ()] public void glyph_extents (Glyph[] glyphs, int num_glyphs, ref TextExtents extents); } @@ -194,6 +198,7 @@ namespace Cairo { [CCode (cname = "cairo_path_t")] public struct Path { public Status status; + [NoArrayLength ()] public PathData[] data; public int num_data; } @@ -320,6 +325,7 @@ namespace Cairo { public Status status (); public void extents (ref FontExtents extents); public void text_extents (string! utf8, ref TextExtents extents); + [NoArrayLength ()] public void glyph_extents (Glyph[] glyphs, int num_glyphs, ref TextExtents extents); public FontFace get_font_face (); public void get_font_options (ref FontOptions options); @@ -446,6 +452,7 @@ namespace Cairo { [CCode (cname = "cairo_image_surface_create")] public construct (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 uchar[] get_data (); public Format get_format (); @@ -469,7 +476,9 @@ namespace Cairo { public void set_size (double width_in_points, double height_in_points); } + [NoArrayLength ()] public callback Status ReadFunc (pointer closure, uchar[] data, uint length); + [NoArrayLength ()] public callback Status WriteFunc (pointer closure, uchar[] data, uint length); [ReferenceType (dup_function = "cairo_surface_reference", free_function = "cairo_surface_destroy")] @@ -493,6 +502,7 @@ namespace Cairo { [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 void restrict_to_version (SvgVersion version); + [NoArrayLength ()] public static void get_versions (out SvgVersion[] versions, ref int num_versions); } diff --git a/vala/vapi/gdk-2.0.vala b/vala/vapi/gdk-2.0.vala index 39916b770..4d2ec56e4 100644 --- a/vala/vapi/gdk-2.0.vala +++ b/vala/vapi/gdk-2.0.vala @@ -3,74 +3,136 @@ namespace Gdk { public class Colormap : GLib.Object { public weak int size; public weak Gdk.Color colors; + [NoArrayLength ()] public bool alloc_color (Gdk.Color color, bool writeable, bool best_match); + [NoArrayLength ()] public int alloc_colors (Gdk.Color colors, int ncolors, bool writeable, bool best_match, bool success); + [NoArrayLength ()] public void free_colors (Gdk.Color colors, int ncolors); + [NoArrayLength ()] public Gdk.Screen get_screen (); + [NoArrayLength ()] public Gdk.Colormap get_system (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public Gdk.Visual get_visual (); + [NoArrayLength ()] public construct (Gdk.Visual visual, bool allocate); + [NoArrayLength ()] public void query_color (ulong pixel, Gdk.Color result); } public class Device : GLib.Object { + [NoArrayLength ()] public static void free_history (Gdk.TimeCoord events, int n_events); + [NoArrayLength ()] public bool get_axis (double axes, Gdk.AxisUse use, double value); + [NoArrayLength ()] public Gdk.Device get_core_pointer (); + [NoArrayLength ()] public bool get_history (Gdk.Window window, uint start, uint stop, Gdk.TimeCoord events, int n_events); + [NoArrayLength ()] public void get_state (Gdk.Window window, double axes, Gdk.ModifierType mask); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public void set_axis_use (uint index_, Gdk.AxisUse use); + [NoArrayLength ()] public void set_key (uint index_, uint keyval, Gdk.ModifierType modifiers); + [NoArrayLength ()] public bool set_mode (Gdk.InputMode mode); + [NoArrayLength ()] public void set_source (Gdk.InputSource source); } public class Display : GLib.Object { + [NoArrayLength ()] public void add_client_message_filter (Gdk.Atom message_type, Gdk.FilterFunc func, pointer data); + [NoArrayLength ()] public void beep (); + [NoArrayLength ()] public void close (); + [NoArrayLength ()] public void flush (); + [NoArrayLength ()] public Gdk.Device get_core_pointer (); + [NoArrayLength ()] public Gdk.Display get_default (); + [NoArrayLength ()] public uint get_default_cursor_size (); + [NoArrayLength ()] public Gdk.Window get_default_group (); + [NoArrayLength ()] public Gdk.Screen get_default_screen (); + [NoArrayLength ()] public Gdk.Event get_event (); + [NoArrayLength ()] public void get_maximal_cursor_size (uint width, uint height); + [NoArrayLength ()] public int get_n_screens (); + [NoArrayLength ()] public string get_name (); + [NoArrayLength ()] public void get_pointer (Gdk.Screen screen, int x, int y, Gdk.ModifierType mask); + [NoArrayLength ()] public Gdk.Screen get_screen (int screen_num); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public Gdk.Window get_window_at_pointer (int win_x, int win_y); + [NoArrayLength ()] public void keyboard_ungrab (uint time_); + [NoArrayLength ()] public GLib.List list_devices (); + [NoArrayLength ()] public static Gdk.Display open (string display_name); + [NoArrayLength ()] public Gdk.Display open_default_libgtk_only (); + [NoArrayLength ()] public Gdk.Event peek_event (); + [NoArrayLength ()] public bool pointer_is_grabbed (); + [NoArrayLength ()] public void pointer_ungrab (uint time_); + [NoArrayLength ()] public void put_event (Gdk.Event event); + [NoArrayLength ()] public bool request_selection_notification (Gdk.Atom selection); + [NoArrayLength ()] public void set_double_click_distance (uint distance); + [NoArrayLength ()] public void set_double_click_time (uint msec); + [NoArrayLength ()] public Gdk.DisplayPointerHooks set_pointer_hooks (Gdk.DisplayPointerHooks new_hooks); + [NoArrayLength ()] public void store_clipboard (Gdk.Window clipboard_window, uint time_, Gdk.Atom targets, int n_targets); + [NoArrayLength ()] public bool supports_clipboard_persistence (); + [NoArrayLength ()] public bool supports_cursor_alpha (); + [NoArrayLength ()] public bool supports_cursor_color (); + [NoArrayLength ()] public bool supports_input_shapes (); + [NoArrayLength ()] public bool supports_selection_notification (); + [NoArrayLength ()] public bool supports_shapes (); + [NoArrayLength ()] public void sync (); + [NoArrayLength ()] public void warp_pointer (Gdk.Screen screen, int x, int y); public signal void closed (bool is_error); } public class DisplayManager : GLib.Object { + [NoArrayLength ()] public Gdk.DisplayManager @get (); + [NoArrayLength ()] public Gdk.Display get_default_display (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public GLib.SList list_displays (); + [NoArrayLength ()] public void set_default_display (Gdk.Display display); public weak Gdk.Display default_display { get; set; } public signal void display_opened (Gdk.Display display); @@ -85,74 +147,139 @@ namespace Gdk { public weak Gdk.DragAction suggested_action; public weak Gdk.DragAction action; public weak uint start_time; + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); } public class Drawable : GLib.Object { + [NoArrayLength ()] public void draw_arc (Gdk.GC gc, bool filled, int x, int y, int width, int height, int angle1, int angle2); + [NoArrayLength ()] public void draw_drawable (Gdk.GC gc, Gdk.Drawable src, int xsrc, int ysrc, int xdest, int ydest, int width, int height); + [NoArrayLength ()] public void draw_glyphs (Gdk.GC gc, Pango.Font font, int x, int y, Pango.GlyphString glyphs); + [NoArrayLength ()] public void draw_glyphs_transformed (Gdk.GC gc, Pango.Matrix matrix, Pango.Font font, int x, int y, Pango.GlyphString glyphs); + [NoArrayLength ()] public void draw_gray_image (Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, uchar buf, int rowstride); + [NoArrayLength ()] public void draw_image (Gdk.GC gc, Gdk.Image image, int xsrc, int ysrc, int xdest, int ydest, int width, int height); + [NoArrayLength ()] public void draw_indexed_image (Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, uchar buf, int rowstride, Gdk.RgbCmap cmap); + [NoArrayLength ()] public void draw_layout (Gdk.GC gc, int x, int y, Pango.Layout layout); + [NoArrayLength ()] public void draw_layout_line (Gdk.GC gc, int x, int y, Pango.LayoutLine line); + [NoArrayLength ()] public void draw_layout_line_with_colors (Gdk.GC gc, int x, int y, Pango.LayoutLine line, Gdk.Color foreground, Gdk.Color background); + [NoArrayLength ()] public void draw_layout_with_colors (Gdk.GC gc, int x, int y, Pango.Layout layout, Gdk.Color foreground, Gdk.Color background); + [NoArrayLength ()] public void draw_line (Gdk.GC gc, int x1_, int y1_, int x2_, int y2_); + [NoArrayLength ()] public void draw_lines (Gdk.GC gc, Gdk.Point points, int npoints); + [NoArrayLength ()] public void draw_pixbuf (Gdk.GC gc, Gdk.Pixbuf pixbuf, int src_x, int src_y, int dest_x, int dest_y, int width, int height, Gdk.RgbDither dither, int x_dither, int y_dither); + [NoArrayLength ()] public void draw_point (Gdk.GC gc, int x, int y); + [NoArrayLength ()] public void draw_points (Gdk.GC gc, Gdk.Point points, int npoints); + [NoArrayLength ()] public void draw_polygon (Gdk.GC gc, bool filled, Gdk.Point points, int npoints); + [NoArrayLength ()] public void draw_rectangle (Gdk.GC gc, bool filled, int x, int y, int width, int height); + [NoArrayLength ()] public void draw_rgb_32_image (Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, uchar buf, int rowstride); + [NoArrayLength ()] public void draw_rgb_32_image_dithalign (Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, uchar buf, int rowstride, int xdith, int ydith); + [NoArrayLength ()] public void draw_rgb_image (Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, uchar rgb_buf, int rowstride); + [NoArrayLength ()] public void draw_rgb_image_dithalign (Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, uchar rgb_buf, int rowstride, int xdith, int ydith); + [NoArrayLength ()] public void draw_segments (Gdk.GC gc, Gdk.Segment segs, int nsegs); + [NoArrayLength ()] public void draw_trapezoids (Gdk.GC gc, Gdk.Trapezoid trapezoids, int n_trapezoids); + [NoArrayLength ()] public Gdk.Image copy_to_image (Gdk.Image image, int src_x, int src_y, int dest_x, int dest_y, int width, int height); + [NoArrayLength ()] public Gdk.Region get_clip_region (); + [NoArrayLength ()] public Gdk.Colormap get_colormap (); + [NoArrayLength ()] public int get_depth (); + [NoArrayLength ()] public Gdk.Display get_display (); + [NoArrayLength ()] public Gdk.Image get_image (int x, int y, int width, int height); + [NoArrayLength ()] public Gdk.Screen get_screen (); + [NoArrayLength ()] public void get_size (int width, int height); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public Gdk.Region get_visible_region (); + [NoArrayLength ()] public Gdk.Visual get_visual (); + [NoArrayLength ()] public void set_colormap (Gdk.Colormap colormap); } public class GC : GLib.Object { + [NoArrayLength ()] public void copy (Gdk.GC src_gc); + [NoArrayLength ()] public Gdk.Colormap get_colormap (); + [NoArrayLength ()] public Gdk.Screen get_screen (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public void get_values (Gdk.GCValues values); + [NoArrayLength ()] public construct (Gdk.Drawable drawable); + [NoArrayLength ()] public construct with_values (Gdk.Drawable drawable, Gdk.GCValues values, Gdk.GCValuesMask values_mask); + [NoArrayLength ()] public void offset (int x_offset, int y_offset); + [NoArrayLength ()] public void set_background (Gdk.Color color); + [NoArrayLength ()] public void set_clip_mask (Gdk.Bitmap mask); + [NoArrayLength ()] public void set_clip_origin (int x, int y); + [NoArrayLength ()] public void set_clip_rectangle (Gdk.Rectangle rectangle); + [NoArrayLength ()] public void set_clip_region (Gdk.Region region); + [NoArrayLength ()] public void set_colormap (Gdk.Colormap colormap); + [NoArrayLength ()] public void set_dashes (int dash_offset, char[] dash_list, int n); + [NoArrayLength ()] public void set_exposures (bool exposures); + [NoArrayLength ()] public void set_fill (Gdk.Fill fill); + [NoArrayLength ()] public void set_foreground (Gdk.Color color); + [NoArrayLength ()] public void set_function (Gdk.Function function); + [NoArrayLength ()] public void set_line_attributes (int line_width, Gdk.LineStyle line_style, Gdk.CapStyle cap_style, Gdk.JoinStyle join_style); + [NoArrayLength ()] public void set_rgb_bg_color (Gdk.Color color); + [NoArrayLength ()] public void set_rgb_fg_color (Gdk.Color color); + [NoArrayLength ()] public void set_stipple (Gdk.Pixmap stipple); + [NoArrayLength ()] public void set_subwindow (Gdk.SubwindowMode mode); + [NoArrayLength ()] public void set_tile (Gdk.Pixmap tile); + [NoArrayLength ()] public void set_ts_origin (int x, int y); + [NoArrayLength ()] public void set_values (Gdk.GCValues values, Gdk.GCValuesMask values_mask); } public class Image : GLib.Object { @@ -167,81 +294,147 @@ namespace Gdk { public weak ushort bits_per_pixel; public weak pointer mem; public weak Gdk.Colormap colormap; + [NoArrayLength ()] public Gdk.Colormap get_colormap (); + [NoArrayLength ()] public uint get_pixel (int x, int y); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (Gdk.ImageType type, Gdk.Visual visual, int width, int height); + [NoArrayLength ()] public void put_pixel (int x, int y, uint pixel); + [NoArrayLength ()] public void set_colormap (Gdk.Colormap colormap); } public class Keymap : GLib.Object { + [NoArrayLength ()] public Gdk.Keymap get_default (); + [NoArrayLength ()] public Pango.Direction get_direction (); + [NoArrayLength ()] public bool get_entries_for_keycode (uint hardware_keycode, Gdk.KeymapKey keys, uint keyvals, int n_entries); + [NoArrayLength ()] public bool get_entries_for_keyval (uint keyval, Gdk.KeymapKey keys, int n_keys); + [NoArrayLength ()] public static Gdk.Keymap get_for_display (Gdk.Display display); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public uint lookup_key (Gdk.KeymapKey key); + [NoArrayLength ()] public bool translate_keyboard_state (uint hardware_keycode, Gdk.ModifierType state, int group, uint keyval, int effective_group, int level, Gdk.ModifierType consumed_modifiers); public signal void direction_changed (); public signal void keys_changed (); } public class PangoRenderer : Pango.Renderer { + [NoArrayLength ()] public static Pango.Renderer get_default (Gdk.Screen screen); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (Gdk.Screen screen); + [NoArrayLength ()] public void set_drawable (Gdk.Drawable drawable); + [NoArrayLength ()] public void set_gc (Gdk.GC gc); + [NoArrayLength ()] public void set_override_color (Pango.RenderPart part, Gdk.Color color); + [NoArrayLength ()] public void set_stipple (Pango.RenderPart part, Gdk.Bitmap stipple); [NoAccessorMethod ()] public weak Gdk.Screen screen { get; construct; } } public class Pixbuf : GLib.Object { + [NoArrayLength ()] public Gdk.Pixbuf add_alpha (bool substitute_color, uchar r, uchar g, uchar b); + [NoArrayLength ()] public void composite (Gdk.Pixbuf dest, int dest_x, int dest_y, int dest_width, int dest_height, double offset_x, double offset_y, double scale_x, double scale_y, Gdk.InterpType interp_type, int overall_alpha); + [NoArrayLength ()] public void composite_color (Gdk.Pixbuf dest, int dest_x, int dest_y, int dest_width, int dest_height, double offset_x, double offset_y, double scale_x, double scale_y, Gdk.InterpType interp_type, int overall_alpha, int check_x, int check_y, int check_size, uint color1, uint color2); + [NoArrayLength ()] public Gdk.Pixbuf composite_color_simple (int dest_width, int dest_height, Gdk.InterpType interp_type, int overall_alpha, int check_size, uint color1, uint color2); + [NoArrayLength ()] public Gdk.Pixbuf copy (); + [NoArrayLength ()] public void copy_area (int src_x, int src_y, int width, int height, Gdk.Pixbuf dest_pixbuf, int dest_x, int dest_y); + [NoArrayLength ()] public GLib.Quark error_quark (); + [NoArrayLength ()] public void fill (uint pixel); + [NoArrayLength ()] public Gdk.Pixbuf flip (bool horizontal); + [NoArrayLength ()] public static Gdk.Pixbuf from_pixdata (Gdk.Pixdata pixdata, bool copy_pixels, GLib.Error error); + [NoArrayLength ()] public int get_bits_per_sample (); + [NoArrayLength ()] public Gdk.Colorspace get_colorspace (); + [NoArrayLength ()] public static Gdk.PixbufFormat get_file_info (string filename, int width, int height); + [NoArrayLength ()] public GLib.SList get_formats (); + [NoArrayLength ()] public Gdk.Pixbuf get_from_drawable (Gdk.Drawable src, Gdk.Colormap cmap, int src_x, int src_y, int dest_x, int dest_y, int width, int height); + [NoArrayLength ()] public Gdk.Pixbuf get_from_image (Gdk.Image src, Gdk.Colormap cmap, int src_x, int src_y, int dest_x, int dest_y, int width, int height); + [NoArrayLength ()] public bool get_has_alpha (); + [NoArrayLength ()] public int get_height (); + [NoArrayLength ()] public int get_n_channels (); + [NoArrayLength ()] public string get_option (string key); + [NoArrayLength ()] public uchar get_pixels (); + [NoArrayLength ()] public int get_rowstride (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public int get_width (); + [NoArrayLength ()] public construct (Gdk.Colorspace colorspace, bool has_alpha, int bits_per_sample, int width, int height); + [NoArrayLength ()] 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); + [NoArrayLength ()] public construct from_file (string filename, GLib.Error error); + [NoArrayLength ()] public construct from_file_at_scale (string filename, int width, int height, bool preserve_aspect_ratio, GLib.Error error); + [NoArrayLength ()] public construct from_file_at_size (string filename, int width, int height, GLib.Error error); + [NoArrayLength ()] public construct from_inline (int data_length, uchar data, bool copy_pixels, GLib.Error error); + [NoArrayLength ()] public construct from_xpm_data (string data); + [NoArrayLength ()] public construct subpixbuf (int src_x, int src_y, int width, int height); + [NoArrayLength ()] public void render_pixmap_and_mask (Gdk.Pixmap pixmap_return, Gdk.Bitmap mask_return, int alpha_threshold); + [NoArrayLength ()] public void render_pixmap_and_mask_for_colormap (Gdk.Colormap colormap, Gdk.Pixmap pixmap_return, Gdk.Bitmap mask_return, int alpha_threshold); + [NoArrayLength ()] public void render_threshold_alpha (Gdk.Bitmap bitmap, int src_x, int src_y, int dest_x, int dest_y, int width, int height, int alpha_threshold); + [NoArrayLength ()] public Gdk.Pixbuf rotate_simple (Gdk.PixbufRotation angle); + [NoArrayLength ()] public void saturate_and_pixelate (Gdk.Pixbuf dest, float saturation, bool pixelate); + [NoArrayLength ()] public bool save (string filename, string type, GLib.Error error); + [NoArrayLength ()] public bool save_to_buffer (string buffer, ulong buffer_size, string type, GLib.Error error); + [NoArrayLength ()] public bool save_to_bufferv (string buffer, ulong buffer_size, string type, string option_keys, string option_values, GLib.Error error); + [NoArrayLength ()] public bool save_to_callback (Gdk.PixbufSaveFunc save_func, pointer user_data, string type, GLib.Error error); + [NoArrayLength ()] public bool save_to_callbackv (Gdk.PixbufSaveFunc save_func, pointer user_data, string type, string option_keys, string option_values, GLib.Error error); + [NoArrayLength ()] public bool savev (string filename, string type, string option_keys, string option_values, GLib.Error error); + [NoArrayLength ()] public void scale (Gdk.Pixbuf dest, int dest_x, int dest_y, int dest_width, int dest_height, double offset_x, double offset_y, double scale_x, double scale_y, Gdk.InterpType interp_type); + [NoArrayLength ()] public Gdk.Pixbuf scale_simple (int dest_width, int dest_height, Gdk.InterpType interp_type); [NoAccessorMethod ()] public weak int n_channels { get; set; } @@ -261,44 +454,71 @@ namespace Gdk { public weak pointer pixels { get; set; } } public class PixbufAnimation : GLib.Object { + [NoArrayLength ()] public int get_height (); + [NoArrayLength ()] public Gdk.PixbufAnimationIter get_iter (GLib.TimeVal start_time); + [NoArrayLength ()] public Gdk.Pixbuf get_static_image (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public int get_width (); + [NoArrayLength ()] public bool is_static_image (); + [NoArrayLength ()] public construct from_file (string filename, GLib.Error error); } public class PixbufAnimationIter : GLib.Object { + [NoArrayLength ()] public bool advance (GLib.TimeVal current_time); + [NoArrayLength ()] public int get_delay_time (); + [NoArrayLength ()] public Gdk.Pixbuf get_pixbuf (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool on_currently_loading_frame (); } public class PixbufAniAnim : Gdk.PixbufAnimation { + [NoArrayLength ()] public GLib.Type get_type (); } public class PixbufAniAnimIter : Gdk.PixbufAnimationIter { + [NoArrayLength ()] public GLib.Type get_type (); } public class PixbufGifAnim : Gdk.PixbufAnimation { + [NoArrayLength ()] public void frame_composite (Gdk.PixbufFrame frame); + [NoArrayLength ()] public GLib.Type get_type (); } public class PixbufGifAnimIter : Gdk.PixbufAnimationIter { + [NoArrayLength ()] public GLib.Type get_type (); } public class PixbufLoader : GLib.Object { + [NoArrayLength ()] public bool close (GLib.Error error); + [NoArrayLength ()] public Gdk.PixbufAnimation get_animation (); + [NoArrayLength ()] public Gdk.PixbufFormat get_format (); + [NoArrayLength ()] public Gdk.Pixbuf get_pixbuf (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public construct with_mime_type (string mime_type, GLib.Error error); + [NoArrayLength ()] public construct with_type (string image_type, GLib.Error error); + [NoArrayLength ()] public void set_size (int width, int height); + [NoArrayLength ()] public bool write (uchar buf, ulong count, GLib.Error error); public signal void size_prepared (int width, int height); public signal void area_prepared (); @@ -306,62 +526,115 @@ namespace Gdk { public signal void closed (); } public class PixbufSimpleAnim : Gdk.PixbufAnimation { + [NoArrayLength ()] public void add_frame (Gdk.Pixbuf pixbuf); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public GLib.Type iter_get_type (); + [NoArrayLength ()] public construct (int width, int height, float rate); } public class Pixmap : GLib.Object { + [NoArrayLength ()] public static Gdk.Pixmap colormap_create_from_xpm (Gdk.Drawable drawable, Gdk.Colormap colormap, Gdk.Bitmap mask, Gdk.Color transparent_color, string filename); + [NoArrayLength ()] public static Gdk.Pixmap colormap_create_from_xpm_d (Gdk.Drawable drawable, Gdk.Colormap colormap, Gdk.Bitmap mask, Gdk.Color transparent_color, string data); + [NoArrayLength ()] public static Gdk.Pixmap create_from_data (Gdk.Drawable drawable, string data, int width, int height, int depth, Gdk.Color fg, Gdk.Color bg); + [NoArrayLength ()] public static Gdk.Pixmap create_from_xpm (Gdk.Drawable drawable, Gdk.Bitmap mask, Gdk.Color transparent_color, string filename); + [NoArrayLength ()] public static Gdk.Pixmap create_from_xpm_d (Gdk.Drawable drawable, Gdk.Bitmap mask, Gdk.Color transparent_color, string data); + [NoArrayLength ()] public static Gdk.Pixmap foreign_new (pointer anid); + [NoArrayLength ()] public static Gdk.Pixmap foreign_new_for_display (Gdk.Display display, pointer anid); + [NoArrayLength ()] public static Gdk.Pixmap foreign_new_for_screen (Gdk.Screen screen, pointer anid, int width, int height, int depth); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public static Gdk.Pixmap lookup (pointer anid); + [NoArrayLength ()] public static Gdk.Pixmap lookup_for_display (Gdk.Display display, pointer anid); + [NoArrayLength ()] public construct (Gdk.Drawable drawable, int width, int height, int depth); } public class Screen : GLib.Object { + [NoArrayLength ()] public void broadcast_client_message (Gdk.Event event); + [NoArrayLength ()] public Gdk.Window get_active_window (); + [NoArrayLength ()] public Gdk.Screen get_default (); + [NoArrayLength ()] public Gdk.Colormap get_default_colormap (); + [NoArrayLength ()] public Gdk.Display get_display (); + [NoArrayLength ()] public pointer get_font_options (); + [NoArrayLength ()] public int get_height (); + [NoArrayLength ()] public int get_height_mm (); + [NoArrayLength ()] public int get_monitor_at_point (int x, int y); + [NoArrayLength ()] public int get_monitor_at_window (Gdk.Window window); + [NoArrayLength ()] public void get_monitor_geometry (int monitor_num, Gdk.Rectangle dest); + [NoArrayLength ()] public int get_n_monitors (); + [NoArrayLength ()] public int get_number (); + [NoArrayLength ()] public double get_resolution (); + [NoArrayLength ()] public Gdk.Colormap get_rgb_colormap (); + [NoArrayLength ()] public Gdk.Visual get_rgb_visual (); + [NoArrayLength ()] public Gdk.Colormap get_rgba_colormap (); + [NoArrayLength ()] public Gdk.Visual get_rgba_visual (); + [NoArrayLength ()] public Gdk.Window get_root_window (); + [NoArrayLength ()] public bool get_setting (string name, GLib.Value value); + [NoArrayLength ()] public Gdk.Colormap get_system_colormap (); + [NoArrayLength ()] public Gdk.Visual get_system_visual (); + [NoArrayLength ()] public GLib.List get_toplevel_windows (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public int get_width (); + [NoArrayLength ()] public int get_width_mm (); + [NoArrayLength ()] public GLib.List get_window_stack (); + [NoArrayLength ()] public int height (); + [NoArrayLength ()] public int height_mm (); + [NoArrayLength ()] public bool is_composited (); + [NoArrayLength ()] public GLib.List list_visuals (); + [NoArrayLength ()] public string make_display_name (); + [NoArrayLength ()] public void set_default_colormap (Gdk.Colormap colormap); + [NoArrayLength ()] public void set_font_options (pointer options); + [NoArrayLength ()] public void set_resolution (double dpi); + [NoArrayLength ()] public int width (); + [NoArrayLength ()] public int width_mm (); public weak pointer font_options { get; set; } public weak double resolution { get; set; } @@ -369,126 +642,242 @@ namespace Gdk { public signal void composited_changed (); } public class Visual : GLib.Object { + [NoArrayLength ()] public Gdk.Visual get_best (); + [NoArrayLength ()] public int get_best_depth (); + [NoArrayLength ()] public Gdk.VisualType get_best_type (); + [NoArrayLength ()] public static Gdk.Visual get_best_with_both (int depth, Gdk.VisualType visual_type); + [NoArrayLength ()] public static Gdk.Visual get_best_with_depth (int depth); + [NoArrayLength ()] public static Gdk.Visual get_best_with_type (Gdk.VisualType visual_type); + [NoArrayLength ()] public Gdk.Screen get_screen (); + [NoArrayLength ()] public Gdk.Visual get_system (); + [NoArrayLength ()] public GLib.Type get_type (); } public class Window : Gdk.Drawable { + [NoArrayLength ()] public void add_filter (Gdk.FilterFunc function, pointer data); + [NoArrayLength ()] public static Gdk.Window at_pointer (int win_x, int win_y); + [NoArrayLength ()] public void begin_move_drag (int button, int root_x, int root_y, uint timestamp); + [NoArrayLength ()] public void begin_paint_rect (Gdk.Rectangle rectangle); + [NoArrayLength ()] public void begin_paint_region (Gdk.Region region); + [NoArrayLength ()] public void begin_resize_drag (Gdk.WindowEdge edge, int button, int root_x, int root_y, uint timestamp); + [NoArrayLength ()] public void clear (); + [NoArrayLength ()] public void clear_area (int x, int y, int width, int height); + [NoArrayLength ()] public void clear_area_e (int x, int y, int width, int height); + [NoArrayLength ()] public void configure_finished (); + [NoArrayLength ()] public static void constrain_size (Gdk.Geometry geometry, uint @flags, int width, int height, int new_width, int new_height); + [NoArrayLength ()] public void deiconify (); + [NoArrayLength ()] public void destroy (); + [NoArrayLength ()] public void enable_synchronized_configure (); + [NoArrayLength ()] public void end_paint (); + [NoArrayLength ()] public void focus (uint timestamp); + [NoArrayLength ()] public static Gdk.Window foreign_new (pointer anid); + [NoArrayLength ()] public static Gdk.Window foreign_new_for_display (Gdk.Display display, pointer anid); + [NoArrayLength ()] public void freeze_updates (); + [NoArrayLength ()] public void fullscreen (); + [NoArrayLength ()] public GLib.List get_children (); + [NoArrayLength ()] public bool get_decorations (Gdk.WMDecoration decorations); + [NoArrayLength ()] public Gdk.EventMask get_events (); + [NoArrayLength ()] public void get_frame_extents (Gdk.Rectangle rect); + [NoArrayLength ()] public void get_geometry (int x, int y, int width, int height, int depth); + [NoArrayLength ()] public Gdk.Window get_group (); + [NoArrayLength ()] public void get_internal_paint_info (Gdk.Drawable real_drawable, int x_offset, int y_offset); + [NoArrayLength ()] public int get_origin (int x, int y); + [NoArrayLength ()] public Gdk.Window get_parent (); + [NoArrayLength ()] public Gdk.Window get_pointer (int x, int y, Gdk.ModifierType mask); + [NoArrayLength ()] public void get_position (int x, int y); + [NoArrayLength ()] public void get_root_origin (int x, int y); + [NoArrayLength ()] public Gdk.WindowState get_state (); + [NoArrayLength ()] public Gdk.Window get_toplevel (); + [NoArrayLength ()] public GLib.List get_toplevels (); + [NoArrayLength ()] public Gdk.WindowTypeHint get_type_hint (); + [NoArrayLength ()] public Gdk.Region get_update_area (); + [NoArrayLength ()] public void get_user_data (pointer data); + [NoArrayLength ()] public Gdk.WindowType get_window_type (); + [NoArrayLength ()] public void hide (); + [NoArrayLength ()] public void iconify (); + [NoArrayLength ()] public void input_shape_combine_mask (Gdk.Bitmap mask, int x, int y); + [NoArrayLength ()] public void input_shape_combine_region (Gdk.Region shape_region, int offset_x, int offset_y); + [NoArrayLength ()] public void invalidate_maybe_recurse (Gdk.Region region, Gdk.invalidate_maybe_recurseChildFunc child_func, pointer user_data); + [NoArrayLength ()] public void invalidate_rect (Gdk.Rectangle rect, bool invalidate_children); + [NoArrayLength ()] public void invalidate_region (Gdk.Region region, bool invalidate_children); + [NoArrayLength ()] public bool is_viewable (); + [NoArrayLength ()] public bool is_visible (); + [NoArrayLength ()] public static Gdk.Window lookup (pointer anid); + [NoArrayLength ()] public static Gdk.Window lookup_for_display (Gdk.Display display, pointer anid); + [NoArrayLength ()] public void lower (); + [NoArrayLength ()] public void maximize (); + [NoArrayLength ()] public void merge_child_input_shapes (); + [NoArrayLength ()] public void merge_child_shapes (); + [NoArrayLength ()] public void move (int x, int y); + [NoArrayLength ()] public void move_region (Gdk.Region region, int dx, int dy); + [NoArrayLength ()] public void move_resize (int x, int y, int width, int height); + [NoArrayLength ()] public construct (Gdk.WindowAttr attributes, int attributes_mask); + [NoArrayLength ()] public GLib.List peek_children (); + [NoArrayLength ()] public void process_all_updates (); + [NoArrayLength ()] public void process_updates (bool update_children); + [NoArrayLength ()] public void raise (); + [NoArrayLength ()] public void register_dnd (); + [NoArrayLength ()] public void remove_filter (Gdk.FilterFunc function, pointer data); + [NoArrayLength ()] public void reparent (Gdk.Window new_parent, int x, int y); + [NoArrayLength ()] public void resize (int width, int height); + [NoArrayLength ()] public void scroll (int dx, int dy); + [NoArrayLength ()] public void set_accept_focus (bool accept_focus); + [NoArrayLength ()] public void set_back_pixmap (Gdk.Pixmap pixmap, bool parent_relative); + [NoArrayLength ()] public void set_background (Gdk.Color color); + [NoArrayLength ()] public void set_child_input_shapes (); + [NoArrayLength ()] public void set_child_shapes (); + [NoArrayLength ()] public void set_cursor (Gdk.Cursor cursor); + [NoArrayLength ()] public static void set_debug_updates (bool setting); + [NoArrayLength ()] public void set_decorations (Gdk.WMDecoration decorations); + [NoArrayLength ()] public void set_events (Gdk.EventMask event_mask); + [NoArrayLength ()] public void set_focus_on_map (bool focus_on_map); + [NoArrayLength ()] public void set_functions (Gdk.WMFunction functions); + [NoArrayLength ()] public void set_geometry_hints (Gdk.Geometry geometry, Gdk.WindowHints geom_mask); + [NoArrayLength ()] public void set_group (Gdk.Window leader); + [NoArrayLength ()] public void set_icon (Gdk.Window icon_window, Gdk.Pixmap pixmap, Gdk.Bitmap mask); + [NoArrayLength ()] public void set_icon_list (GLib.List pixbufs); + [NoArrayLength ()] public void set_icon_name (string name); + [NoArrayLength ()] public void set_keep_above (bool setting); + [NoArrayLength ()] public void set_keep_below (bool setting); + [NoArrayLength ()] public void set_modal_hint (bool modal); + [NoArrayLength ()] public void set_override_redirect (bool override_redirect); + [NoArrayLength ()] public void set_role (string role); + [NoArrayLength ()] public void set_skip_pager_hint (bool skips_pager); + [NoArrayLength ()] public void set_skip_taskbar_hint (bool skips_taskbar); + [NoArrayLength ()] public bool set_static_gravities (bool use_static); + [NoArrayLength ()] public void set_title (string title); + [NoArrayLength ()] public void set_transient_for (Gdk.Window parent); + [NoArrayLength ()] public void set_type_hint (Gdk.WindowTypeHint hint); + [NoArrayLength ()] public void set_urgency_hint (bool urgent); + [NoArrayLength ()] public void set_user_data (pointer user_data); + [NoArrayLength ()] public void shape_combine_mask (Gdk.Bitmap mask, int x, int y); + [NoArrayLength ()] public void shape_combine_region (Gdk.Region shape_region, int offset_x, int offset_y); + [NoArrayLength ()] public void show (); + [NoArrayLength ()] public void show_unraised (); + [NoArrayLength ()] public void stick (); + [NoArrayLength ()] public void thaw_updates (); + [NoArrayLength ()] public void unfullscreen (); + [NoArrayLength ()] public void unmaximize (); + [NoArrayLength ()] public void unstick (); + [NoArrayLength ()] public void withdraw (); } public class Bitmap { public weak GLib.Object parent_instance; + [NoArrayLength ()] public static Gdk.Bitmap create_from_data (Gdk.Drawable drawable, string data, int width, int height); } [ReferenceType ()] @@ -510,23 +899,39 @@ namespace Gdk { public struct EdgeTableEntry { } public struct Color { + [NoArrayLength ()] public Gdk.Color copy (); + [NoArrayLength ()] public bool equal (Gdk.Color colorb); + [NoArrayLength ()] public void free (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public uint hash (); + [NoArrayLength ()] public static bool parse (string spec, Gdk.Color color); } public struct Cursor { + [NoArrayLength ()] public Gdk.Display get_display (); + [NoArrayLength ()] public Gdk.Pixbuf get_image (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (Gdk.CursorType cursor_type); + [NoArrayLength ()] public construct for_display (Gdk.Display display, Gdk.CursorType cursor_type); + [NoArrayLength ()] public construct from_name (Gdk.Display display, string name); + [NoArrayLength ()] public construct from_pixbuf (Gdk.Display display, Gdk.Pixbuf pixbuf, int x, int y); + [NoArrayLength ()] public construct from_pixmap (Gdk.Pixmap source, Gdk.Pixmap mask, Gdk.Color fg, Gdk.Color bg, int x, int y); + [NoArrayLength ()] public Gdk.Cursor @ref (); + [NoArrayLength ()] public void unref (); } [ReferenceType ()] @@ -792,24 +1197,35 @@ namespace Gdk { public struct PangoAttrEmbossed { public weak Pango.Attribute attr; public weak bool embossed; + [NoArrayLength ()] public construct (bool embossed); } [ReferenceType ()] public struct PangoAttrStipple { public weak Pango.Attribute attr; public weak Gdk.Bitmap stipple; + [NoArrayLength ()] public construct (Gdk.Bitmap stipple); } [ReferenceType ()] public struct PixbufFormat { + [NoArrayLength ()] public string get_description (); + [NoArrayLength ()] public string get_extensions (); + [NoArrayLength ()] public string get_license (); + [NoArrayLength ()] public string get_mime_types (); + [NoArrayLength ()] public string get_name (); + [NoArrayLength ()] public bool is_disabled (); + [NoArrayLength ()] public bool is_scalable (); + [NoArrayLength ()] public bool is_writable (); + [NoArrayLength ()] public void set_disabled (bool disabled); } [ReferenceType ()] @@ -834,9 +1250,13 @@ namespace Gdk { public weak uint width; public weak uint height; public weak uchar pixel_data; + [NoArrayLength ()] public bool deserialize (uint stream_length, uchar stream, GLib.Error error); + [NoArrayLength ()] public pointer from_pixbuf (Gdk.Pixbuf pixbuf, bool use_rle); + [NoArrayLength ()] public uchar serialize (uint stream_length_p); + [NoArrayLength ()] public GLib.String to_csource (string name, Gdk.PixdataDumpType dump_type); } [ReferenceType ()] @@ -854,8 +1274,11 @@ namespace Gdk { public struct PointerHooks { } public struct Rectangle { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool intersect (Gdk.Rectangle src2, Gdk.Rectangle dest); + [NoArrayLength ()] public void union (Gdk.Rectangle src2, Gdk.Rectangle dest); } [ReferenceType ()] @@ -864,24 +1287,43 @@ namespace Gdk { public weak long numRects; public weak Gdk.RegionBox rects; public weak Gdk.RegionBox extents; + [NoArrayLength ()] public Gdk.Region copy (); + [NoArrayLength ()] public void destroy (); + [NoArrayLength ()] public bool empty (); + [NoArrayLength ()] public bool equal (Gdk.Region region2); + [NoArrayLength ()] public void get_clipbox (Gdk.Rectangle rectangle); + [NoArrayLength ()] public void get_rectangles (Gdk.Rectangle rectangles, int n_rectangles); + [NoArrayLength ()] public void intersect (Gdk.Region source2); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public void offset (int dx, int dy); + [NoArrayLength ()] public bool point_in (int x, int y); + [NoArrayLength ()] public static Gdk.Region polygon (Gdk.Point points, int npoints, Gdk.FillRule fill_rule); + [NoArrayLength ()] public Gdk.OverlapType rect_in (Gdk.Rectangle rectangle); + [NoArrayLength ()] public static Gdk.Region rectangle (Gdk.Rectangle rectangle); + [NoArrayLength ()] public void shrink (int dx, int dy); + [NoArrayLength ()] public void spans_intersect_foreach (Gdk.Span spans, int n_spans, bool sorted, Gdk.SpanFunc function, pointer data); + [NoArrayLength ()] public void subtract (Gdk.Region source2); + [NoArrayLength ()] public void union (Gdk.Region source2); + [NoArrayLength ()] public void union_with_rect (Gdk.Rectangle rect); + [NoArrayLength ()] public void xor (Gdk.Region source2); } [ReferenceType ()] @@ -895,7 +1337,9 @@ namespace Gdk { public struct RgbCmap { public weak uint colors; public weak int n_colors; + [NoArrayLength ()] public void free (); + [NoArrayLength ()] public construct (uint colors, int n_colors); } [ReferenceType ()] @@ -970,6 +1414,7 @@ namespace Gdk { public weak uint focus_on_map; public weak uint shaped; public weak Gdk.EventMask event_mask; + [NoArrayLength ()] public GLib.Type get_type (); } [ReferenceType ()] @@ -982,46 +1427,81 @@ namespace Gdk { public struct ScanLineListBlock { } public struct Atom { + [NoArrayLength ()] public static Gdk.Atom intern (string atom_name, bool only_if_exists); + [NoArrayLength ()] public static Gdk.Atom intern_static_string (string atom_name); + [NoArrayLength ()] public string name (); } [ReferenceType ()] public struct Global { + [NoArrayLength ()] public static void _add_client_message_filter (Gdk.Atom message_type, Gdk.FilterFunc func, pointer data); + [NoArrayLength ()] public static void _add_option_entries_libgtk_only (GLib.OptionGroup group); + [NoArrayLength ()] public GLib.List _devices_list (); + [NoArrayLength ()] public bool _events_pending (); + [NoArrayLength ()] public static void _free_compound_text (uchar ctext); + [NoArrayLength ()] public static void _free_text_list (string list); + [NoArrayLength ()] public Gdk.Window _get_default_root_window (); + [NoArrayLength ()] public string _get_display (); + [NoArrayLength ()] public string _get_display_arg_name (); + [NoArrayLength ()] public string _get_program_class (); + [NoArrayLength ()] public bool _get_show_events (); + [NoArrayLength ()] public static bool _init_check (int argc, string argv); + [NoArrayLength ()] public GLib.List _list_visuals (); + [NoArrayLength ()] public void _notify_startup_complete (); + [NoArrayLength ()] public static void _parse_args (int argc, string argv); + [NoArrayLength ()] public void _pre_parse_libgtk_only (); + [NoArrayLength ()] public static void _set_double_click_time (uint msec); + [NoArrayLength ()] public string _set_locale (); + [NoArrayLength ()] public static Gdk.PointerHooks _set_pointer_hooks (Gdk.PointerHooks new_hooks); + [NoArrayLength ()] public static void _set_program_class (string program_class); + [NoArrayLength ()] public static void _set_show_events (bool show_events); + [NoArrayLength ()] public static void _set_sm_client_id (string sm_client_id); + [NoArrayLength ()] public static bool _setting_get (string name, GLib.Value value); + [NoArrayLength ()] public static int _string_to_compound_text (string str, Gdk.Atom encoding, int format, uchar ctext, int length); + [NoArrayLength ()] public static int _string_to_compound_text_for_display (Gdk.Display display, string str, Gdk.Atom encoding, int format, uchar ctext, int length); + [NoArrayLength ()] public static uint _unicode_to_keyval (uint wc); } [ReferenceType ()] public struct Cairo { + [NoArrayLength ()] public static Cairo.Context create (Gdk.Drawable drawable); + [NoArrayLength ()] public static void rectangle (Cairo.Context cr, Gdk.Rectangle rectangle); + [NoArrayLength ()] public static void region (Cairo.Context cr, Gdk.Region region); + [NoArrayLength ()] public static void set_source_color (Cairo.Context cr, Gdk.Color color); + [NoArrayLength ()] public static void set_source_pixbuf (Cairo.Context cr, Gdk.Pixbuf pixbuf, double pixbuf_x, double pixbuf_y); + [NoArrayLength ()] public static void set_source_pixmap (Cairo.Context cr, Gdk.Pixmap pixmap, double pixmap_x, double pixmap_y); } [ReferenceType ()] @@ -1032,48 +1512,82 @@ namespace Gdk { } [ReferenceType ()] public struct Drag { + [NoArrayLength ()] public static void abort (Gdk.DragContext context, uint time_); + [NoArrayLength ()] public static Gdk.DragContext begin (Gdk.Window window, GLib.List targets); + [NoArrayLength ()] public static void drop (Gdk.DragContext context, uint time_); + [NoArrayLength ()] public static bool drop_succeeded (Gdk.DragContext context); + [NoArrayLength ()] public static void find_window (Gdk.DragContext context, Gdk.Window drag_window, int x_root, int y_root, Gdk.Window dest_window, Gdk.DragProtocol protocol); + [NoArrayLength ()] public static void find_window_for_screen (Gdk.DragContext context, Gdk.Window drag_window, Gdk.Screen screen, int x_root, int y_root, Gdk.Window dest_window, Gdk.DragProtocol protocol); + [NoArrayLength ()] public static uint get_protocol (uint xid, Gdk.DragProtocol protocol); + [NoArrayLength ()] public static uint get_protocol_for_display (Gdk.Display display, uint xid, Gdk.DragProtocol protocol); + [NoArrayLength ()] public static Gdk.Atom get_selection (Gdk.DragContext context); + [NoArrayLength ()] public static bool motion (Gdk.DragContext context, Gdk.Window dest_window, Gdk.DragProtocol protocol, int x_root, int y_root, Gdk.DragAction suggested_action, Gdk.DragAction possible_actions, uint time_); + [NoArrayLength ()] public static void status (Gdk.DragContext context, Gdk.DragAction action, uint time_); } [ReferenceType ()] public struct Drop { + [NoArrayLength ()] public static void finish (Gdk.DragContext context, bool success, uint time_); + [NoArrayLength ()] public static void reply (Gdk.DragContext context, bool ok, uint time_); } [ReferenceType ()] public struct Error { + [NoArrayLength ()] public int trap_pop (); + [NoArrayLength ()] public void trap_push (); } [ReferenceType ()] public struct Event { + [NoArrayLength ()] public Gdk.Event copy (); + [NoArrayLength ()] public void free (); + [NoArrayLength ()] public Gdk.Event @get (); + [NoArrayLength ()] public bool get_axis (Gdk.AxisUse axis_use, double value); + [NoArrayLength ()] public bool get_coords (double x_win, double y_win); + [NoArrayLength ()] public static Gdk.Event get_graphics_expose (Gdk.Window window); + [NoArrayLength ()] public bool get_root_coords (double x_root, double y_root); + [NoArrayLength ()] public Gdk.Screen get_screen (); + [NoArrayLength ()] public bool get_state (Gdk.ModifierType state); + [NoArrayLength ()] public uint get_time (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public static void handler_set (Gdk.EventFunc func, pointer data, GLib.DestroyNotify notify); + [NoArrayLength ()] public construct (Gdk.EventType type); + [NoArrayLength ()] public Gdk.Event peek (); + [NoArrayLength ()] public void put (); + [NoArrayLength ()] public bool send_client_message (pointer winid); + [NoArrayLength ()] public static bool send_client_message_for_display (Gdk.Display display, Gdk.Event event, pointer winid); + [NoArrayLength ()] public void send_clientmessage_toall (); + [NoArrayLength ()] public void set_screen (Gdk.Screen screen); } [ReferenceType ()] @@ -1081,90 +1595,142 @@ namespace Gdk { } [ReferenceType ()] public struct Input { + [NoArrayLength ()] public static void set_extension_events (Gdk.Window window, int mask, Gdk.ExtensionMode mode); } [ReferenceType ()] public struct Keyboard { + [NoArrayLength ()] public static Gdk.GrabStatus grab (Gdk.Window window, bool owner_events, uint time_); + [NoArrayLength ()] public static bool grab_info_libgtk_only (Gdk.Display display, Gdk.Window grab_window, bool owner_events); + [NoArrayLength ()] public static void ungrab (uint time_); } [ReferenceType ()] public struct Keyval { + [NoArrayLength ()] public static void convert_case (uint symbol, uint lower, uint upper); + [NoArrayLength ()] public static uint from_name (string keyval_name); + [NoArrayLength ()] public static bool is_lower (uint keyval); + [NoArrayLength ()] public static bool is_upper (uint keyval); + [NoArrayLength ()] public static string name (uint keyval); + [NoArrayLength ()] public static uint to_lower (uint keyval); + [NoArrayLength ()] public static uint to_unicode (uint keyval); + [NoArrayLength ()] public static uint to_upper (uint keyval); } [ReferenceType ()] public struct Pango { + [NoArrayLength ()] public Pango.Context context_get (); + [NoArrayLength ()] public static Pango.Context context_get_for_screen (Gdk.Screen screen); + [NoArrayLength ()] public static Gdk.Region layout_get_clip_region (Pango.Layout layout, int x_origin, int y_origin, int index_ranges, int n_ranges); + [NoArrayLength ()] public static Gdk.Region layout_line_get_clip_region (Pango.LayoutLine line, int x_origin, int y_origin, int index_ranges, int n_ranges); } [ReferenceType ()] public struct Pointer { + [NoArrayLength ()] public static Gdk.GrabStatus grab (Gdk.Window window, bool owner_events, Gdk.EventMask event_mask, Gdk.Window confine_to, Gdk.Cursor cursor, uint time_); + [NoArrayLength ()] public static bool grab_info_libgtk_only (Gdk.Display display, Gdk.Window grab_window, bool owner_events); + [NoArrayLength ()] public bool is_grabbed (); + [NoArrayLength ()] public static void ungrab (uint time_); } [ReferenceType ()] public struct Property { + [NoArrayLength ()] public static void change (Gdk.Window window, Gdk.Atom property, Gdk.Atom type, int format, Gdk.PropMode mode, uchar data, int nelements); + [NoArrayLength ()] public static void delete (Gdk.Window window, Gdk.Atom property); + [NoArrayLength ()] public static bool @get (Gdk.Window window, Gdk.Atom property, Gdk.Atom type, ulong offset, ulong length, int pdelete, Gdk.Atom actual_property_type, int actual_format, int actual_length, uchar data); } [ReferenceType ()] public struct Query { + [NoArrayLength ()] public static void depths (int depths, int count); + [NoArrayLength ()] public static void visual_types (Gdk.VisualType visual_types, int count); } [ReferenceType ()] public struct Rgb { + [NoArrayLength ()] public static bool colormap_ditherable (Gdk.Colormap cmap); + [NoArrayLength ()] public bool ditherable (); + [NoArrayLength ()] public static void find_color (Gdk.Colormap colormap, Gdk.Color color); + [NoArrayLength ()] public Gdk.Colormap get_colormap (); + [NoArrayLength ()] public Gdk.Visual get_visual (); + [NoArrayLength ()] public static void set_install (bool install); + [NoArrayLength ()] public static void set_min_colors (int min_colors); + [NoArrayLength ()] public static void set_verbose (bool verbose); } [ReferenceType ()] public struct Selection { + [NoArrayLength ()] public static void convert (Gdk.Window requestor, Gdk.Atom selection, Gdk.Atom target, uint time_); + [NoArrayLength ()] public static Gdk.Window owner_get (Gdk.Atom selection); + [NoArrayLength ()] public static Gdk.Window owner_get_for_display (Gdk.Display display, Gdk.Atom selection); + [NoArrayLength ()] public static bool owner_set (Gdk.Window owner, Gdk.Atom selection, uint time_, bool send_event); + [NoArrayLength ()] public static bool owner_set_for_display (Gdk.Display display, Gdk.Window owner, Gdk.Atom selection, uint time_, bool send_event); + [NoArrayLength ()] public static bool property_get (Gdk.Window requestor, uchar data, Gdk.Atom prop_type, int prop_format); + [NoArrayLength ()] public static void send_notify (uint requestor, Gdk.Atom selection, Gdk.Atom target, Gdk.Atom property, uint time_); + [NoArrayLength ()] public static void send_notify_for_display (Gdk.Display display, uint requestor, Gdk.Atom selection, Gdk.Atom target, Gdk.Atom property, uint time_); } [ReferenceType ()] public struct Spawn { + [NoArrayLength ()] public static bool command_line_on_screen (Gdk.Screen screen, string command_line, GLib.Error error); + [NoArrayLength ()] public static bool on_screen (Gdk.Screen screen, string working_directory, string argv, string envp, GLib.SpawnFlags @flags, GLib.SpawnChildSetupFunc child_setup, pointer user_data, int child_pid, GLib.Error error); + [NoArrayLength ()] public static bool on_screen_with_pipes (Gdk.Screen screen, string working_directory, string argv, string envp, GLib.SpawnFlags @flags, GLib.SpawnChildSetupFunc child_setup, pointer user_data, int child_pid, int standard_input, int standard_output, int standard_error, GLib.Error error); } [ReferenceType ()] public struct Text { + [NoArrayLength ()] public static int property_to_text_list (Gdk.Atom encoding, int format, uchar text, int length, string list); + [NoArrayLength ()] public static int property_to_text_list_for_display (Gdk.Display display, Gdk.Atom encoding, int format, uchar text, int length, string list); + [NoArrayLength ()] public static int property_to_utf8_list (Gdk.Atom encoding, int format, uchar text, int length, string list); + [NoArrayLength ()] public static int property_to_utf8_list_for_display (Gdk.Display display, Gdk.Atom encoding, int format, uchar text, int length, string list); } [ReferenceType ()] public struct Threads { + [NoArrayLength ()] public void enter (); + [NoArrayLength ()] public void init (); + [NoArrayLength ()] public void leave (); + [NoArrayLength ()] public static void set_lock_functions (GLib.Callback enter_fn, GLib.Callback leave_fn); } [CCode (cprefix = "GDK_AXIS_")] diff --git a/vala/vapi/glib-2.0.vala b/vala/vapi/glib-2.0.vala index 10f0f6648..fc18e9fff 100644 --- a/vala/vapi/glib-2.0.vala +++ b/vala/vapi/glib-2.0.vala @@ -208,6 +208,7 @@ namespace GLib { [CCode (cheader_filename = "glib-object.h")] public abstract class Object { + [NoArrayLength ()] public virtual Object constructor (Type type, uint n_construct_properties, ObjectConstructParam[] construct_properties); } @@ -225,6 +226,7 @@ namespace GLib { public SignalFlags run_type; } + [NoArrayLength ()] public callback bool SignalEmissionHook (SignalInvocationHint ihint, uint n_param_values, Value[] param_values, pointer data); [CCode (cprefix = "G_SIGNAL_")] @@ -445,6 +447,7 @@ namespace GLib { [CCode (cname = "char", cheader_filename = "string.h")] public struct Memory { [CCode (cname = "memcmp")] + [NoArrayLength ()] public static int cmp (char[] s1, char[] s2, long n); } @@ -457,8 +460,10 @@ namespace GLib { [ReferenceType (free_function = "g_option_context_free")] public struct OptionContext { public construct (string parameter_string); + [NoArrayLength ()] public bool parse (ref int argc, out string[] argv, out Error error); public void set_help_enabled (bool help_enabled); + [NoArrayLength ()] public void add_main_entries (OptionEntry[] entries, string translation_domain); } @@ -509,6 +514,7 @@ namespace GLib { public bool parse (string text, long text_len, out Error error); } + [NoArrayLength ()] public callback void MarkupParserStartElementFunc (MarkupParseContext context, string element_name, string[] attribute_names, string[] attribute_values, pointer user_data, out Error error); public callback void MarkupParserEndElementFunc (MarkupParseContext context, string element_name, pointer user_data, out Error error); diff --git a/vala/vapi/gtk+-2.0.vala b/vala/vapi/gtk+-2.0.vala index f9d205ef3..544258fd7 100644 --- a/vala/vapi/gtk+-2.0.vala +++ b/vala/vapi/gtk+-2.0.vala @@ -1,37 +1,69 @@ [CCode (cheader_filename = "gtk/gtk.h")] namespace Gtk { public class AboutDialog : Gtk.Dialog { + [NoArrayLength ()] public string get_artists (); + [NoArrayLength ()] public string get_authors (); + [NoArrayLength ()] public string get_comments (); + [NoArrayLength ()] public string get_copyright (); + [NoArrayLength ()] public string get_documenters (); + [NoArrayLength ()] public string get_license (); + [NoArrayLength ()] public Gdk.Pixbuf get_logo (); + [NoArrayLength ()] public string get_logo_icon_name (); + [NoArrayLength ()] public string get_name (); + [NoArrayLength ()] public string get_translator_credits (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public string get_version (); + [NoArrayLength ()] public string get_website (); + [NoArrayLength ()] public string get_website_label (); + [NoArrayLength ()] public bool get_wrap_license (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public void set_artists (string artists); + [NoArrayLength ()] public void set_authors (string authors); + [NoArrayLength ()] public void set_comments (string comments); + [NoArrayLength ()] public void set_copyright (string copyright); + [NoArrayLength ()] public void set_documenters (string documenters); + [NoArrayLength ()] public static Gtk.AboutDialogActivateLinkFunc set_email_hook (Gtk.AboutDialogActivateLinkFunc func, pointer data, GLib.DestroyNotify destroy); + [NoArrayLength ()] public void set_license (string license); + [NoArrayLength ()] public void set_logo (Gdk.Pixbuf logo); + [NoArrayLength ()] public void set_logo_icon_name (string icon_name); + [NoArrayLength ()] public void set_name (string name); + [NoArrayLength ()] public void set_translator_credits (string translator_credits); + [NoArrayLength ()] public static Gtk.AboutDialogActivateLinkFunc set_url_hook (Gtk.AboutDialogActivateLinkFunc func, pointer data, GLib.DestroyNotify destroy); + [NoArrayLength ()] public void set_version (string version); + [NoArrayLength ()] public void set_website (string website); + [NoArrayLength ()] public void set_website_label (string website_label); + [NoArrayLength ()] public void set_wrap_license (bool wrap_license); public weak string name { get; set; } public weak string version { get; set; } @@ -49,78 +81,137 @@ namespace Gtk { public weak bool wrap_license { get; set; } } public class AccelGroup : GLib.Object { + [NoArrayLength ()] public bool activate (GLib.Quark accel_quark, GLib.Object acceleratable, uint accel_key, Gdk.ModifierType accel_mods); + [NoArrayLength ()] public void connect (uint accel_key, Gdk.ModifierType accel_mods, Gtk.AccelFlags accel_flags, GLib.Closure closure); + [NoArrayLength ()] public void connect_by_path (string accel_path, GLib.Closure closure); + [NoArrayLength ()] public bool disconnect (GLib.Closure closure); + [NoArrayLength ()] public bool disconnect_key (uint accel_key, Gdk.ModifierType accel_mods); + [NoArrayLength ()] public Gtk.AccelKey find (Gtk.AccelGroupFindFunc find_func, pointer data); + [NoArrayLength ()] public static Gtk.AccelGroup from_accel_closure (GLib.Closure closure); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public void lock (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public Gtk.AccelGroupEntry query (uint accel_key, Gdk.ModifierType accel_mods, uint n_entries); + [NoArrayLength ()] public void unlock (); public signal bool accel_activate (GLib.Object p0, uint p1, Gdk.ModifierType p2); public signal void accel_changed (uint keyval, Gdk.ModifierType modifier, GLib.Closure accel_closure); } public class AccelLabel : Gtk.Label { + [NoArrayLength ()] public Gtk.Widget get_accel_widget (); + [NoArrayLength ()] public uint get_accel_width (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (string string); + [NoArrayLength ()] public bool refetch (); + [NoArrayLength ()] public void set_accel_closure (GLib.Closure accel_closure); + [NoArrayLength ()] public void set_accel_widget (Gtk.Widget accel_widget); [NoAccessorMethod ()] public weak GLib.Closure accel_closure { get; set; } public weak Gtk.Widget accel_widget { get; set; } } public class AccelMap : GLib.Object { + [NoArrayLength ()] public static void add_entry (string accel_path, uint accel_key, Gdk.ModifierType accel_mods); + [NoArrayLength ()] public static void add_filter (string filter_pattern); + [NoArrayLength ()] public static bool change_entry (string accel_path, uint accel_key, Gdk.ModifierType accel_mods, bool replace); + [NoArrayLength ()] public static void @foreach (pointer data, Gtk.AccelMapForeach foreach_func); + [NoArrayLength ()] public static void foreach_unfiltered (pointer data, Gtk.AccelMapForeach foreach_func); + [NoArrayLength ()] public Gtk.AccelMap @get (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public static void load (string file_name); + [NoArrayLength ()] public static void load_fd (int fd); + [NoArrayLength ()] public static void load_scanner (GLib.Scanner scanner); + [NoArrayLength ()] public static void lock_path (string accel_path); + [NoArrayLength ()] public static bool lookup_entry (string accel_path, Gtk.AccelKey key); + [NoArrayLength ()] public static void save (string file_name); + [NoArrayLength ()] public static void save_fd (int fd); + [NoArrayLength ()] public static void unlock_path (string accel_path); public signal void changed (string p0, uint p1, Gdk.ModifierType p2); } public class Accessible : Atk.Object { + [NoArrayLength ()] public void connect_widget_destroyed (); + [NoArrayLength ()] public GLib.Type get_type (); } public class Action : GLib.Object { + [NoArrayLength ()] public void block_activate_from (Gtk.Widget proxy); + [NoArrayLength ()] public void connect_accelerator (); + [NoArrayLength ()] public void connect_proxy (Gtk.Widget proxy); + [NoArrayLength ()] public Gtk.Widget create_icon (Gtk.IconSize icon_size); + [NoArrayLength ()] public Gtk.Widget create_menu_item (); + [NoArrayLength ()] public Gtk.Widget create_tool_item (); + [NoArrayLength ()] public void disconnect_accelerator (); + [NoArrayLength ()] public void disconnect_proxy (Gtk.Widget proxy); + [NoArrayLength ()] public GLib.Closure get_accel_closure (); + [NoArrayLength ()] public string get_accel_path (); + [NoArrayLength ()] public string get_name (); + [NoArrayLength ()] public GLib.SList get_proxies (); + [NoArrayLength ()] public bool get_sensitive (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool get_visible (); + [NoArrayLength ()] public bool is_sensitive (); + [NoArrayLength ()] public bool is_visible (); + [NoArrayLength ()] public construct (string name, string label, string tooltip, string stock_id); + [NoArrayLength ()] public void set_accel_group (Gtk.AccelGroup accel_group); + [NoArrayLength ()] public void set_accel_path (string accel_path); + [NoArrayLength ()] public void set_sensitive (bool sensitive); + [NoArrayLength ()] public void set_visible (bool visible); + [NoArrayLength ()] public void unblock_activate_from (Gtk.Widget proxy); [NoAccessorMethod ()] public weak string name { get; construct; } @@ -152,26 +243,47 @@ namespace Gtk { public signal void activate (); } public class ActionGroup : GLib.Object { + [NoArrayLength ()] public void add_action (Gtk.Action action); + [NoArrayLength ()] public void add_action_with_accel (Gtk.Action action, string accelerator); + [NoArrayLength ()] public void add_actions (Gtk.ActionEntry entries, uint n_entries, pointer user_data); + [NoArrayLength ()] public void add_actions_full (Gtk.ActionEntry entries, uint n_entries, pointer user_data, GLib.DestroyNotify destroy); + [NoArrayLength ()] public void add_radio_actions (Gtk.RadioActionEntry entries, uint n_entries, int value, GLib.Callback on_change, pointer user_data); + [NoArrayLength ()] public void add_radio_actions_full (Gtk.RadioActionEntry entries, uint n_entries, int value, GLib.Callback on_change, pointer user_data, GLib.DestroyNotify destroy); + [NoArrayLength ()] public void add_toggle_actions (Gtk.ToggleActionEntry entries, uint n_entries, pointer user_data); + [NoArrayLength ()] public void add_toggle_actions_full (Gtk.ToggleActionEntry entries, uint n_entries, pointer user_data, GLib.DestroyNotify destroy); + [NoArrayLength ()] public Gtk.Action get_action (string action_name); + [NoArrayLength ()] public string get_name (); + [NoArrayLength ()] public bool get_sensitive (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool get_visible (); + [NoArrayLength ()] public GLib.List list_actions (); + [NoArrayLength ()] public construct (string name); + [NoArrayLength ()] public void remove_action (Gtk.Action action); + [NoArrayLength ()] public void set_sensitive (bool sensitive); + [NoArrayLength ()] public void set_translate_func (Gtk.TranslateFunc func, pointer data, Gtk.DestroyNotify notify); + [NoArrayLength ()] public void set_translation_domain (string domain); + [NoArrayLength ()] public void set_visible (bool visible); + [NoArrayLength ()] public string translate_string (string string); [NoAccessorMethod ()] public weak string name { get; construct; } @@ -183,10 +295,15 @@ namespace Gtk { public signal void post_activate (Gtk.Action p0); } public class Adjustment : Gtk.Object { + [NoArrayLength ()] public void clamp_page (double lower, double upper); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public double get_value (); + [NoArrayLength ()] public construct (double value, double lower, double upper, double step_increment, double page_increment, double page_size); + [NoArrayLength ()] public void set_value (double value); public weak double value { get; set; } [NoAccessorMethod ()] @@ -205,10 +322,15 @@ namespace Gtk { public signal void value_changed (); } public class Alignment : Gtk.Bin { + [NoArrayLength ()] public void get_padding (uint padding_top, uint padding_bottom, uint padding_left, uint padding_right); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (float xalign, float yalign, float xscale, float yscale); + [NoArrayLength ()] public void @set (float xalign, float yalign, float xscale, float yscale); + [NoArrayLength ()] public void set_padding (uint padding_top, uint padding_bottom, uint padding_left, uint padding_right); [NoAccessorMethod ()] public weak float xalign { get; set; } @@ -228,8 +350,11 @@ namespace Gtk { public weak uint right_padding { get; set; } } public class Arrow : Gtk.Misc { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (Gtk.ArrowType arrow_type, Gtk.ShadowType shadow_type); + [NoArrayLength ()] public void @set (Gtk.ArrowType arrow_type, Gtk.ShadowType shadow_type); [NoAccessorMethod ()] public weak Gtk.ArrowType arrow_type { get; set; } @@ -237,8 +362,11 @@ namespace Gtk { public weak Gtk.ShadowType shadow_type { get; set; } } public class AspectFrame : Gtk.Frame { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (string label, float xalign, float yalign, float ratio, bool obey_child); + [NoArrayLength ()] public void @set (float xalign, float yalign, float ratio, bool obey_child); [NoAccessorMethod ()] public weak float xalign { get; set; } @@ -250,28 +378,51 @@ namespace Gtk { public weak bool obey_child { get; set; } } public class Assistant : Gtk.Window { + [NoArrayLength ()] public void add_action_widget (Gtk.Widget child); + [NoArrayLength ()] public int append_page (Gtk.Widget page); + [NoArrayLength ()] public int get_current_page (); + [NoArrayLength ()] public int get_n_pages (); + [NoArrayLength ()] public Gtk.Widget get_nth_page (int page_num); + [NoArrayLength ()] public bool get_page_complete (Gtk.Widget page); + [NoArrayLength ()] public Gdk.Pixbuf get_page_header_image (Gtk.Widget page); + [NoArrayLength ()] public Gdk.Pixbuf get_page_side_image (Gtk.Widget page); + [NoArrayLength ()] public string get_page_title (Gtk.Widget page); + [NoArrayLength ()] public Gtk.AssistantPageType get_page_type (Gtk.Widget page); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public int insert_page (Gtk.Widget page, int position); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public int prepend_page (Gtk.Widget page); + [NoArrayLength ()] public void remove_action_widget (Gtk.Widget child); + [NoArrayLength ()] public void set_current_page (int page_num); + [NoArrayLength ()] public void set_forward_page_func (Gtk.AssistantPageFunc page_func, pointer data, GLib.DestroyNotify destroy); + [NoArrayLength ()] public void set_page_complete (Gtk.Widget page, bool complete); + [NoArrayLength ()] public void set_page_header_image (Gtk.Widget page, Gdk.Pixbuf pixbuf); + [NoArrayLength ()] public void set_page_side_image (Gtk.Widget page, Gdk.Pixbuf pixbuf); + [NoArrayLength ()] public void set_page_title (Gtk.Widget page, string title); + [NoArrayLength ()] public void set_page_type (Gtk.Widget page, Gtk.AssistantPageType type); + [NoArrayLength ()] public void update_buttons_state (); public signal void cancel (); public signal void prepare (Gtk.Widget page); @@ -279,48 +430,84 @@ namespace Gtk { public signal void close (); } public class Bin : Gtk.Container { + [NoArrayLength ()] public Gtk.Widget get_child (); + [NoArrayLength ()] public GLib.Type get_type (); } public class Box : Gtk.Container { public weak GLib.List children; + [NoArrayLength ()] public bool get_homogeneous (); + [NoArrayLength ()] public int get_spacing (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public void pack_end (Gtk.Widget child, bool expand, bool fill, uint padding); + [NoArrayLength ()] public void pack_end_defaults (Gtk.Widget widget); + [NoArrayLength ()] public void pack_start (Gtk.Widget child, bool expand, bool fill, uint padding); + [NoArrayLength ()] public void pack_start_defaults (Gtk.Widget widget); + [NoArrayLength ()] public void query_child_packing (Gtk.Widget child, bool expand, bool fill, uint padding, Gtk.PackType pack_type); + [NoArrayLength ()] public void reorder_child (Gtk.Widget child, int position); + [NoArrayLength ()] public void set_child_packing (Gtk.Widget child, bool expand, bool fill, uint padding, Gtk.PackType pack_type); + [NoArrayLength ()] public void set_homogeneous (bool homogeneous); + [NoArrayLength ()] public void set_spacing (int spacing); public weak int spacing { get; set; } public weak bool homogeneous { get; set; } } public class Button : Gtk.Bin { + [NoArrayLength ()] public GLib.Type action_get_type (); + [NoArrayLength ()] public void get_alignment (float xalign, float yalign); + [NoArrayLength ()] public bool get_focus_on_click (); + [NoArrayLength ()] public Gtk.Widget get_image (); + [NoArrayLength ()] public Gtk.PositionType get_image_position (); + [NoArrayLength ()] public string get_label (); + [NoArrayLength ()] public Gtk.ReliefStyle get_relief (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool get_use_stock (); + [NoArrayLength ()] public bool get_use_underline (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public construct from_stock (string stock_id); + [NoArrayLength ()] public construct with_label (string label); + [NoArrayLength ()] public construct with_mnemonic (string label); + [NoArrayLength ()] public void set_alignment (float xalign, float yalign); + [NoArrayLength ()] public void set_focus_on_click (bool focus_on_click); + [NoArrayLength ()] public void set_image (Gtk.Widget image); + [NoArrayLength ()] public void set_image_position (Gtk.PositionType position); + [NoArrayLength ()] public void set_label (string label); + [NoArrayLength ()] public void set_relief (Gtk.ReliefStyle newstyle); + [NoArrayLength ()] public void set_use_stock (bool use_stock); + [NoArrayLength ()] public void set_use_underline (bool use_underline); public weak string label { get; set construct; } public weak bool use_underline { get; set construct; } @@ -346,24 +533,39 @@ namespace Gtk { public signal void activate (); } public class ButtonBox : Gtk.Box { + [NoArrayLength ()] public bool get_child_secondary (Gtk.Widget child); + [NoArrayLength ()] public Gtk.ButtonBoxStyle get_layout (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public void set_child_secondary (Gtk.Widget child, bool is_secondary); + [NoArrayLength ()] public void set_layout (Gtk.ButtonBoxStyle layout_style); [NoAccessorMethod ()] public weak Gtk.ButtonBoxStyle layout_style { get; set; } } public class Calendar : Gtk.Widget { + [NoArrayLength ()] public void clear_marks (); + [NoArrayLength ()] public void get_date (uint year, uint month, uint day); + [NoArrayLength ()] public Gtk.CalendarDisplayOptions get_display_options (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool mark_day (uint day); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public void select_day (uint day); + [NoArrayLength ()] public bool select_month (uint month, uint year); + [NoArrayLength ()] public void set_display_options (Gtk.CalendarDisplayOptions @flags); + [NoArrayLength ()] public bool unmark_day (uint day); [NoAccessorMethod ()] public weak int year { get; set; } @@ -388,13 +590,21 @@ namespace Gtk { public signal void next_year (); } public class CellRenderer : Gtk.Object { + [NoArrayLength ()] public bool activate (Gdk.Event event, Gtk.Widget widget, string path, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState @flags); + [NoArrayLength ()] public void get_fixed_size (int width, int height); + [NoArrayLength ()] public void get_size (Gtk.Widget widget, Gdk.Rectangle cell_area, int x_offset, int y_offset, int width, int height); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public void render (Gdk.Window window, Gtk.Widget widget, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gdk.Rectangle expose_area, Gtk.CellRendererState @flags); + [NoArrayLength ()] public void set_fixed_size (int width, int height); + [NoArrayLength ()] public Gtk.CellEditable start_editing (Gdk.Event event, Gtk.Widget widget, string path, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState @flags); + [NoArrayLength ()] public void stop_editing (bool canceled); [NoAccessorMethod ()] public weak Gtk.CellRendererMode mode { get; set; } @@ -426,7 +636,9 @@ namespace Gtk { public signal void editing_started (Gtk.CellEditable editable, string path); } public class CellRendererAccel : Gtk.CellRendererText { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); [NoAccessorMethod ()] public weak uint accel_key { get; set; } @@ -440,7 +652,9 @@ namespace Gtk { public signal void accel_cleared (string path_string); } public class CellRendererCombo : Gtk.CellRendererText { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); [NoAccessorMethod ()] public weak Gtk.TreeModel model { get; set; } @@ -450,7 +664,9 @@ namespace Gtk { public weak bool has_entry { get; set; } } public class CellRendererPixbuf : Gtk.CellRenderer { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); [NoAccessorMethod ()] public weak Gdk.Pixbuf pixbuf { get; set; } @@ -470,7 +686,9 @@ namespace Gtk { public weak bool follow_state { get; set; } } public class CellRendererProgress : Gtk.CellRenderer { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); [NoAccessorMethod ()] public weak int value { get; set; } @@ -478,7 +696,9 @@ namespace Gtk { public weak string text { get; set; } } public class CellRendererSpin : Gtk.CellRendererText { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); [NoAccessorMethod ()] public weak Gtk.Adjustment adjustment { get; set; } @@ -488,8 +708,11 @@ namespace Gtk { public weak uint digits { get; set; } } public class CellRendererText : Gtk.CellRenderer { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public void set_fixed_height_from_font (int number_of_rows); [NoAccessorMethod ()] public weak string text { get; set; } @@ -550,11 +773,17 @@ namespace Gtk { public signal void edited (string path, string new_text); } public class CellRendererToggle : Gtk.CellRenderer { + [NoArrayLength ()] public bool get_active (); + [NoArrayLength ()] public bool get_radio (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public void set_active (bool setting); + [NoArrayLength ()] public void set_radio (bool radio); public weak bool active { get; set; } [NoAccessorMethod ()] @@ -567,16 +796,27 @@ namespace Gtk { public signal void toggled (string path); } public class CellView : Gtk.Widget, Gtk.CellLayout { + [NoArrayLength ()] public GLib.List get_cell_renderers (); + [NoArrayLength ()] public Gtk.TreePath get_displayed_row (); + [NoArrayLength ()] public bool get_size_of_row (Gtk.TreePath path, Gtk.Requisition requisition); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public construct with_markup (string markup); + [NoArrayLength ()] public construct with_pixbuf (Gdk.Pixbuf pixbuf); + [NoArrayLength ()] public construct with_text (string text); + [NoArrayLength ()] public void set_background_color (Gdk.Color color); + [NoArrayLength ()] public void set_displayed_row (Gtk.TreePath path); + [NoArrayLength ()] public void set_model (Gtk.TreeModel model); [NoAccessorMethod ()] public weak string background { set; } @@ -586,21 +826,35 @@ namespace Gtk { public weak Gtk.TreeModel model { get; set; } } public class CheckButton : Gtk.ToggleButton { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public construct with_label (string label); + [NoArrayLength ()] public construct with_mnemonic (string label); } public class CheckMenuItem : Gtk.MenuItem { + [NoArrayLength ()] public bool get_active (); + [NoArrayLength ()] public bool get_draw_as_radio (); + [NoArrayLength ()] public bool get_inconsistent (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public construct with_label (string label); + [NoArrayLength ()] public construct with_mnemonic (string label); + [NoArrayLength ()] public void set_active (bool is_active); + [NoArrayLength ()] public void set_draw_as_radio (bool draw_as_radio); + [NoArrayLength ()] public void set_inconsistent (bool setting); public weak bool active { get; set; } public weak bool inconsistent { get; set; } @@ -609,45 +863,82 @@ namespace Gtk { public signal void toggled (); } public class Clipboard : GLib.Object { + [NoArrayLength ()] public void clear (); + [NoArrayLength ()] public static Gtk.Clipboard @get (Gdk.Atom selection); + [NoArrayLength ()] public Gdk.Display get_display (); + [NoArrayLength ()] public static Gtk.Clipboard get_for_display (Gdk.Display display, Gdk.Atom selection); + [NoArrayLength ()] public GLib.Object get_owner (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public void request_contents (Gdk.Atom target, Gtk.ClipboardReceivedFunc @callback, pointer user_data); + [NoArrayLength ()] public void request_image (Gtk.ClipboardImageReceivedFunc @callback, pointer user_data); + [NoArrayLength ()] public void request_rich_text (Gtk.TextBuffer buffer, Gtk.ClipboardRichTextReceivedFunc @callback, pointer user_data); + [NoArrayLength ()] public void request_targets (Gtk.ClipboardTargetsReceivedFunc @callback, pointer user_data); + [NoArrayLength ()] public void request_text (Gtk.ClipboardTextReceivedFunc @callback, pointer user_data); + [NoArrayLength ()] public void set_can_store (Gtk.TargetEntry targets, int n_targets); + [NoArrayLength ()] public void set_image (Gdk.Pixbuf pixbuf); + [NoArrayLength ()] public void set_text (string text, int len); + [NoArrayLength ()] public bool set_with_data (Gtk.TargetEntry targets, uint n_targets, Gtk.ClipboardGetFunc get_func, Gtk.ClipboardClearFunc clear_func, pointer user_data); + [NoArrayLength ()] public bool set_with_owner (Gtk.TargetEntry targets, uint n_targets, Gtk.ClipboardGetFunc get_func, Gtk.ClipboardClearFunc clear_func, GLib.Object owner); + [NoArrayLength ()] public void store (); + [NoArrayLength ()] public Gtk.SelectionData wait_for_contents (Gdk.Atom target); + [NoArrayLength ()] public Gdk.Pixbuf wait_for_image (); + [NoArrayLength ()] public uchar wait_for_rich_text (Gtk.TextBuffer buffer, Gdk.Atom format, ulong length); + [NoArrayLength ()] public bool wait_for_targets (Gdk.Atom targets, int n_targets); + [NoArrayLength ()] public string wait_for_text (); + [NoArrayLength ()] public bool wait_is_image_available (); + [NoArrayLength ()] public bool wait_is_rich_text_available (Gtk.TextBuffer buffer); + [NoArrayLength ()] public bool wait_is_target_available (Gdk.Atom target); + [NoArrayLength ()] public bool wait_is_text_available (); public signal void owner_change (Gdk.EventOwnerChange event); } public class ColorButton : Gtk.Button { + [NoArrayLength ()] public ushort get_alpha (); + [NoArrayLength ()] public void get_color (Gdk.Color color); + [NoArrayLength ()] public string get_title (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool get_use_alpha (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public construct with_color (Gdk.Color color); + [NoArrayLength ()] public void set_alpha (ushort alpha); + [NoArrayLength ()] public void set_color (Gdk.Color color); + [NoArrayLength ()] public void set_title (string title); + [NoArrayLength ()] public void set_use_alpha (bool use_alpha); public weak bool use_alpha { get; set; } public weak string title { get; set; } @@ -656,23 +947,41 @@ namespace Gtk { public signal void color_set (); } public class ColorSelection : Gtk.VBox { + [NoArrayLength ()] public ushort get_current_alpha (); + [NoArrayLength ()] public void get_current_color (Gdk.Color color); + [NoArrayLength ()] public bool get_has_opacity_control (); + [NoArrayLength ()] public bool get_has_palette (); + [NoArrayLength ()] public ushort get_previous_alpha (); + [NoArrayLength ()] public void get_previous_color (Gdk.Color color); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool is_adjusting (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public static bool palette_from_string (string str, Gdk.Color colors, int n_colors); + [NoArrayLength ()] public static string palette_to_string (Gdk.Color colors, int n_colors); + [NoArrayLength ()] public static Gtk.ColorSelectionChangePaletteWithScreenFunc set_change_palette_with_screen_hook (Gtk.ColorSelectionChangePaletteWithScreenFunc func); + [NoArrayLength ()] public void set_current_alpha (ushort alpha); + [NoArrayLength ()] public void set_current_color (Gdk.Color color); + [NoArrayLength ()] public void set_has_opacity_control (bool has_opacity); + [NoArrayLength ()] public void set_has_palette (bool has_palette); + [NoArrayLength ()] public void set_previous_alpha (ushort alpha); + [NoArrayLength ()] public void set_previous_color (Gdk.Color color); public weak bool has_opacity_control { get; set; } public weak bool has_palette { get; set; } @@ -681,7 +990,9 @@ namespace Gtk { public signal void color_changed (); } public class ColorSelectionDialog : Gtk.Dialog { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (string title); } public class Combo : Gtk.HBox { @@ -699,37 +1010,69 @@ namespace Gtk { public weak bool value_in_list { get; set; } } public class ComboBox : Gtk.Bin, Gtk.CellLayout, Gtk.CellEditable { + [NoArrayLength ()] public void append_text (string text); + [NoArrayLength ()] public int get_active (); + [NoArrayLength ()] public bool get_active_iter (Gtk.TreeIter iter); + [NoArrayLength ()] public string get_active_text (); + [NoArrayLength ()] public bool get_add_tearoffs (); + [NoArrayLength ()] public int get_column_span_column (); + [NoArrayLength ()] public bool get_focus_on_click (); + [NoArrayLength ()] public Gtk.TreeModel get_model (); + [NoArrayLength ()] public Atk.Object get_popup_accessible (); + [NoArrayLength ()] public Gtk.TreeViewRowSeparatorFunc get_row_separator_func (); + [NoArrayLength ()] public int get_row_span_column (); + [NoArrayLength ()] public string get_title (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public int get_wrap_width (); + [NoArrayLength ()] public void insert_text (int position, string text); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public construct text (); + [NoArrayLength ()] public construct with_model (Gtk.TreeModel model); + [NoArrayLength ()] public void popdown (); + [NoArrayLength ()] public void popup (); + [NoArrayLength ()] public void prepend_text (string text); + [NoArrayLength ()] public void remove_text (int position); + [NoArrayLength ()] public void set_active (int index_); + [NoArrayLength ()] public void set_active_iter (Gtk.TreeIter iter); + [NoArrayLength ()] public void set_add_tearoffs (bool add_tearoffs); + [NoArrayLength ()] public void set_column_span_column (int column_span); + [NoArrayLength ()] public void set_focus_on_click (bool focus_on_click); + [NoArrayLength ()] public void set_model (Gtk.TreeModel model); + [NoArrayLength ()] public void set_row_separator_func (Gtk.TreeViewRowSeparatorFunc func, pointer data, Gtk.DestroyNotify destroy); + [NoArrayLength ()] public void set_row_span_column (int row_span); + [NoArrayLength ()] public void set_title (string title); + [NoArrayLength ()] public void set_wrap_width (int width); public weak Gtk.TreeModel model { get; set; } public weak int wrap_width { get; set; } @@ -747,43 +1090,78 @@ namespace Gtk { public signal void changed (); } public class ComboBoxEntry : Gtk.ComboBox { + [NoArrayLength ()] public int get_text_column (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public construct text (); + [NoArrayLength ()] public construct with_model (Gtk.TreeModel model, int text_column); + [NoArrayLength ()] public void set_text_column (int text_column); public weak int text_column { get; set; } } public class Container : Gtk.Widget { + [NoArrayLength ()] public void add_with_properties (Gtk.Widget widget, string first_prop_name); + [NoArrayLength ()] public void child_get (Gtk.Widget child, string first_prop_name); + [NoArrayLength ()] public void child_get_property (Gtk.Widget child, string property_name, GLib.Value value); + [NoArrayLength ()] public void child_get_valist (Gtk.Widget child, string first_property_name, pointer var_args); + [NoArrayLength ()] public void child_set (Gtk.Widget child, string first_prop_name); + [NoArrayLength ()] public void child_set_property (Gtk.Widget child, string property_name, GLib.Value value); + [NoArrayLength ()] public void child_set_valist (Gtk.Widget child, string first_property_name, pointer var_args); + [NoArrayLength ()] public GLib.Type child_type (); + [NoArrayLength ()] public static GLib.ParamSpec class_find_child_property (pointer cclass, string property_name); + [NoArrayLength ()] public static void class_install_child_property (pointer cclass, uint property_id, GLib.ParamSpec pspec); + [NoArrayLength ()] public static GLib.ParamSpec class_list_child_properties (pointer cclass, uint n_properties); + [NoArrayLength ()] public void forall (Gtk.Callback @callback, pointer callback_data); + [NoArrayLength ()] public void @foreach (Gtk.Callback @callback, pointer callback_data); + [NoArrayLength ()] public uint get_border_width (); + [NoArrayLength ()] public GLib.List get_children (); + [NoArrayLength ()] public bool get_focus_chain (GLib.List focusable_widgets); + [NoArrayLength ()] public Gtk.Adjustment get_focus_hadjustment (); + [NoArrayLength ()] public Gtk.Adjustment get_focus_vadjustment (); + [NoArrayLength ()] public Gtk.ResizeMode get_resize_mode (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public void propagate_expose (Gtk.Widget child, Gdk.EventExpose event); + [NoArrayLength ()] public void resize_children (); + [NoArrayLength ()] public void set_border_width (uint border_width); + [NoArrayLength ()] public void set_focus_chain (GLib.List focusable_widgets); + [NoArrayLength ()] public void set_focus_hadjustment (Gtk.Adjustment adjustment); + [NoArrayLength ()] public void set_focus_vadjustment (Gtk.Adjustment adjustment); + [NoArrayLength ()] public void set_reallocate_redraws (bool needs_redraws); + [NoArrayLength ()] public void set_resize_mode (Gtk.ResizeMode resize_mode); + [NoArrayLength ()] public void unset_focus_chain (); public weak Gtk.ResizeMode resize_mode { get; set; } public weak uint border_width { get; set; } @@ -799,13 +1177,21 @@ namespace Gtk { public signal void set_focus_child (Gtk.Widget widget); } public class Curve : Gtk.DrawingArea { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public void get_vector (int veclen, float[] vector); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public void reset (); + [NoArrayLength ()] public void set_curve_type (Gtk.CurveType type); + [NoArrayLength ()] public void set_gamma (float gamma_); + [NoArrayLength ()] public void set_range (float min_x, float max_x, float min_y, float max_y); + [NoArrayLength ()] public void set_vector (int veclen, float[] vector); [NoAccessorMethod ()] public weak Gtk.CurveType curve_type { get; set; } @@ -822,19 +1208,33 @@ namespace Gtk { public class Dialog : Gtk.Window { public weak Gtk.Widget vbox; public weak Gtk.Widget action_area; + [NoArrayLength ()] public void add_action_widget (Gtk.Widget child, int response_id); + [NoArrayLength ()] public Gtk.Widget add_button (string button_text, int response_id); + [NoArrayLength ()] public void add_buttons (string first_button_text); + [NoArrayLength ()] public bool get_has_separator (); + [NoArrayLength ()] public int get_response_for_widget (Gtk.Widget widget); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public construct with_buttons (string title, Gtk.Window parent, Gtk.DialogFlags @flags, string first_button_text); + [NoArrayLength ()] public int run (); + [NoArrayLength ()] public void set_alternative_button_order (int first_response_id); + [NoArrayLength ()] public void set_alternative_button_order_from_array (int n_params, int new_order); + [NoArrayLength ()] public void set_default_response (int response_id); + [NoArrayLength ()] public void set_has_separator (bool setting); + [NoArrayLength ()] public void set_response_sensitive (int response_id, bool setting); public weak bool has_separator { get; set; } [HasEmitter ()] @@ -842,35 +1242,63 @@ namespace Gtk { public signal void close (); } public class DrawingArea : Gtk.Widget { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); } public class Entry : Gtk.Widget, Gtk.Editable, Gtk.CellEditable { + [NoArrayLength ()] public bool get_activates_default (); + [NoArrayLength ()] public float get_alignment (); + [NoArrayLength ()] public Gtk.EntryCompletion get_completion (); + [NoArrayLength ()] public bool get_has_frame (); + [NoArrayLength ()] public Gtk.Border get_inner_border (); + [NoArrayLength ()] public unichar get_invisible_char (); + [NoArrayLength ()] public Pango.Layout get_layout (); + [NoArrayLength ()] public void get_layout_offsets (int x, int y); + [NoArrayLength ()] public int get_max_length (); + [NoArrayLength ()] public string get_text (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool get_visibility (); + [NoArrayLength ()] public int get_width_chars (); + [NoArrayLength ()] public int layout_index_to_text_index (int layout_index); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public void set_activates_default (bool setting); + [NoArrayLength ()] public void set_alignment (float xalign); + [NoArrayLength ()] public void set_completion (Gtk.EntryCompletion completion); + [NoArrayLength ()] public void set_has_frame (bool setting); + [NoArrayLength ()] public void set_inner_border (Gtk.Border border); + [NoArrayLength ()] public void set_invisible_char (unichar ch); + [NoArrayLength ()] public void set_max_length (int max); + [NoArrayLength ()] public void set_text (string text); + [NoArrayLength ()] public void set_visibility (bool visible); + [NoArrayLength ()] public void set_width_chars (int n_chars); + [NoArrayLength ()] public int text_index_to_layout_index (int text_index); [NoAccessorMethod ()] public weak int cursor_position { get; } @@ -904,27 +1332,49 @@ namespace Gtk { public signal void toggle_overwrite (); } public class EntryCompletion : GLib.Object, Gtk.CellLayout { + [NoArrayLength ()] public void complete (); + [NoArrayLength ()] public void delete_action (int index_); + [NoArrayLength ()] public Gtk.Widget get_entry (); + [NoArrayLength ()] public bool get_inline_completion (); + [NoArrayLength ()] public int get_minimum_key_length (); + [NoArrayLength ()] public Gtk.TreeModel get_model (); + [NoArrayLength ()] public bool get_popup_completion (); + [NoArrayLength ()] public bool get_popup_set_width (); + [NoArrayLength ()] public bool get_popup_single_match (); + [NoArrayLength ()] public int get_text_column (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public void insert_action_markup (int index_, string markup); + [NoArrayLength ()] public void insert_action_text (int index_, string text); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public void set_inline_completion (bool inline_completion); + [NoArrayLength ()] public void set_match_func (Gtk.EntryCompletionMatchFunc func, pointer func_data, GLib.DestroyNotify func_notify); + [NoArrayLength ()] public void set_minimum_key_length (int length); + [NoArrayLength ()] public void set_model (Gtk.TreeModel model); + [NoArrayLength ()] public void set_popup_completion (bool popup_completion); + [NoArrayLength ()] public void set_popup_set_width (bool popup_set_width); + [NoArrayLength ()] public void set_popup_single_match (bool popup_single_match); + [NoArrayLength ()] public void set_text_column (int column); public weak Gtk.TreeModel model { get; set; } public weak int minimum_key_length { get; set; } @@ -939,30 +1389,51 @@ namespace Gtk { public signal void action_activated (int index_); } public class EventBox : Gtk.Bin { + [NoArrayLength ()] public bool get_above_child (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool get_visible_window (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public void set_above_child (bool above_child); + [NoArrayLength ()] public void set_visible_window (bool visible_window); public weak bool visible_window { get; set; } public weak bool above_child { get; set; } } public class Expander : Gtk.Bin { + [NoArrayLength ()] public bool get_expanded (); + [NoArrayLength ()] public string get_label (); + [NoArrayLength ()] public Gtk.Widget get_label_widget (); + [NoArrayLength ()] public int get_spacing (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool get_use_markup (); + [NoArrayLength ()] public bool get_use_underline (); + [NoArrayLength ()] public construct (string label); + [NoArrayLength ()] public construct with_mnemonic (string label); + [NoArrayLength ()] public void set_expanded (bool expanded); + [NoArrayLength ()] public void set_label (string label); + [NoArrayLength ()] public void set_label_widget (Gtk.Widget label_widget); + [NoArrayLength ()] public void set_spacing (int spacing); + [NoArrayLength ()] public void set_use_markup (bool use_markup); + [NoArrayLength ()] public void set_use_underline (bool use_underline); public weak bool expanded { get; set construct; } public weak string label { get; set construct; } @@ -973,15 +1444,25 @@ namespace Gtk { public signal void activate (); } public class FileChooserButton : Gtk.HBox, Gtk.FileChooser { + [NoArrayLength ()] public bool get_focus_on_click (); + [NoArrayLength ()] public string get_title (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public int get_width_chars (); + [NoArrayLength ()] public construct (string title, Gtk.FileChooserAction action); + [NoArrayLength ()] public construct with_backend (string title, Gtk.FileChooserAction action, string backend); + [NoArrayLength ()] public construct with_dialog (Gtk.Widget dialog); + [NoArrayLength ()] public void set_focus_on_click (bool focus_on_click); + [NoArrayLength ()] public void set_title (string title); + [NoArrayLength ()] public void set_width_chars (int n_chars); [NoAccessorMethod ()] public weak Gtk.FileChooserDialog dialog { construct; } @@ -990,25 +1471,41 @@ namespace Gtk { public weak int width_chars { get; set; } } public class FileChooserDialog : Gtk.Dialog, Gtk.FileChooser { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (string title, Gtk.Window parent, Gtk.FileChooserAction action, string first_button_text); + [NoArrayLength ()] public construct with_backend (string title, Gtk.Window parent, Gtk.FileChooserAction action, string backend, string first_button_text); } public class FileChooserWidget : Gtk.VBox, Gtk.FileChooser { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (Gtk.FileChooserAction action); + [NoArrayLength ()] public construct with_backend (Gtk.FileChooserAction action, string backend); } public class FileFilter : Gtk.Object { + [NoArrayLength ()] public void add_custom (Gtk.FileFilterFlags needed, Gtk.FileFilterFunc func, pointer data, GLib.DestroyNotify notify); + [NoArrayLength ()] public void add_mime_type (string mime_type); + [NoArrayLength ()] public void add_pattern (string pattern); + [NoArrayLength ()] public void add_pixbuf_formats (); + [NoArrayLength ()] public bool filter (Gtk.FileFilterInfo filter_info); + [NoArrayLength ()] public string get_name (); + [NoArrayLength ()] public Gtk.FileFilterFlags get_needed (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public void set_name (string name); } public class FileSelection : Gtk.Dialog { @@ -1032,15 +1529,25 @@ namespace Gtk { public weak Gtk.Widget fileop_ren_file; public weak Gtk.Widget button_area; public weak Gtk.Widget action_area; + [NoArrayLength ()] public void complete (string pattern); + [NoArrayLength ()] public string get_filename (); + [NoArrayLength ()] public bool get_select_multiple (); + [NoArrayLength ()] public string get_selections (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public void hide_fileop_buttons (); + [NoArrayLength ()] public construct (string title); + [NoArrayLength ()] public void set_filename (string filename); + [NoArrayLength ()] public void set_select_multiple (bool select_multiple); + [NoArrayLength ()] public void show_fileop_buttons (); public weak string filename { get; set; } [NoAccessorMethod ()] @@ -1048,28 +1555,49 @@ namespace Gtk { public weak bool select_multiple { get; set; } } public class Fixed : Gtk.Container { + [NoArrayLength ()] public bool get_has_window (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public void move (Gtk.Widget widget, int x, int y); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public void put (Gtk.Widget widget, int x, int y); + [NoArrayLength ()] public void set_has_window (bool has_window); } public class FontButton : Gtk.Button { + [NoArrayLength ()] public string get_font_name (); + [NoArrayLength ()] public bool get_show_size (); + [NoArrayLength ()] public bool get_show_style (); + [NoArrayLength ()] public string get_title (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool get_use_font (); + [NoArrayLength ()] public bool get_use_size (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public construct with_font (string fontname); + [NoArrayLength ()] public bool set_font_name (string fontname); + [NoArrayLength ()] public void set_show_size (bool show_size); + [NoArrayLength ()] public void set_show_style (bool show_style); + [NoArrayLength ()] public void set_title (string title); + [NoArrayLength ()] public void set_use_font (bool use_font); + [NoArrayLength ()] public void set_use_size (bool use_size); public weak string title { get; set; } public weak string font_name { get; set; } @@ -1080,11 +1608,17 @@ namespace Gtk { public signal void font_set (); } public class FontSelection : Gtk.VBox { + [NoArrayLength ()] public string get_font_name (); + [NoArrayLength ()] public string get_preview_text (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public bool set_font_name (string fontname); + [NoArrayLength ()] public void set_preview_text (string text); public weak string font_name { get; set; } [NoAccessorMethod ()] @@ -1095,23 +1629,39 @@ namespace Gtk { public weak Gtk.Widget ok_button; public weak Gtk.Widget apply_button; public weak Gtk.Widget cancel_button; + [NoArrayLength ()] public string get_font_name (); + [NoArrayLength ()] public string get_preview_text (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (string title); + [NoArrayLength ()] public bool set_font_name (string fontname); + [NoArrayLength ()] public void set_preview_text (string text); } public class Frame : Gtk.Bin { + [NoArrayLength ()] public string get_label (); + [NoArrayLength ()] public void get_label_align (float xalign, float yalign); + [NoArrayLength ()] public Gtk.Widget get_label_widget (); + [NoArrayLength ()] public Gtk.ShadowType get_shadow_type (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (string label); + [NoArrayLength ()] public void set_label (string label); + [NoArrayLength ()] public void set_label_align (float xalign, float yalign); + [NoArrayLength ()] public void set_label_widget (Gtk.Widget label_widget); + [NoArrayLength ()] public void set_shadow_type (Gtk.ShadowType type); public weak string label { get; set; } [NoAccessorMethod ()] @@ -1124,17 +1674,27 @@ namespace Gtk { public weak Gtk.Widget label_widget { get; set; } } public class GammaCurve : Gtk.VBox { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); } public class HandleBox : Gtk.Bin { + [NoArrayLength ()] public Gtk.PositionType get_handle_position (); + [NoArrayLength ()] public Gtk.ShadowType get_shadow_type (); + [NoArrayLength ()] public Gtk.PositionType get_snap_edge (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public void set_handle_position (Gtk.PositionType position); + [NoArrayLength ()] public void set_shadow_type (Gtk.ShadowType type); + [NoArrayLength ()] public void set_snap_edge (Gtk.PositionType edge); [NoAccessorMethod ()] public weak Gtk.ShadowType shadow { get; set; } @@ -1147,125 +1707,222 @@ namespace Gtk { public signal void child_detached (Gtk.Widget child); } public class HBox : Gtk.Box { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (bool homogeneous, int spacing); } public class HButtonBox : Gtk.ButtonBox { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); } public class HPaned : Gtk.Paned { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); } public class HRuler : Gtk.Ruler { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); } public class HScale : Gtk.Scale { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (Gtk.Adjustment adjustment); + [NoArrayLength ()] public construct with_range (double min, double max, double step); } public class HScrollbar : Gtk.Scrollbar { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (Gtk.Adjustment adjustment); } public class HSeparator : Gtk.Separator { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); } public class HSV : Gtk.Widget { + [NoArrayLength ()] public void get_color (double h, double s, double v); + [NoArrayLength ()] public void get_metrics (int size, int ring_width); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool is_adjusting (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public void set_color (double h, double s, double v); + [NoArrayLength ()] public void set_metrics (int size, int ring_width); + [NoArrayLength ()] public static void to_rgb (double h, double s, double v, double r, double g, double b); public signal void changed (); public signal void move (Gtk.DirectionType type); } public class IconFactory : GLib.Object { + [NoArrayLength ()] public void add (string stock_id, Gtk.IconSet icon_set); + [NoArrayLength ()] public void add_default (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public Gtk.IconSet lookup (string stock_id); + [NoArrayLength ()] public static Gtk.IconSet lookup_default (string stock_id); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public void remove_default (); } public class IconTheme : GLib.Object { + [NoArrayLength ()] public static void add_builtin_icon (string icon_name, int size, Gdk.Pixbuf pixbuf); + [NoArrayLength ()] public void append_search_path (string path); + [NoArrayLength ()] public GLib.Quark error_quark (); + [NoArrayLength ()] public Gtk.IconTheme get_default (); + [NoArrayLength ()] public string get_example_icon_name (); + [NoArrayLength ()] public static Gtk.IconTheme get_for_screen (Gdk.Screen screen); + [NoArrayLength ()] public int get_icon_sizes (string icon_name); + [NoArrayLength ()] public void get_search_path (string path, int n_elements); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool has_icon (string icon_name); + [NoArrayLength ()] public GLib.List list_icons (string context); + [NoArrayLength ()] public Gdk.Pixbuf load_icon (string icon_name, int size, Gtk.IconLookupFlags @flags, GLib.Error error); + [NoArrayLength ()] public Gtk.IconInfo lookup_icon (string icon_name, int size, Gtk.IconLookupFlags @flags); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public void prepend_search_path (string path); + [NoArrayLength ()] public bool rescan_if_needed (); + [NoArrayLength ()] public void set_custom_theme (string theme_name); + [NoArrayLength ()] public void set_screen (Gdk.Screen screen); + [NoArrayLength ()] public void set_search_path (string[] path, int n_elements); public signal void changed (); } public class IconView : Gtk.Container, Gtk.CellLayout { + [NoArrayLength ()] public Gdk.Pixmap create_drag_icon (Gtk.TreePath path); + [NoArrayLength ()] public void enable_model_drag_dest (Gtk.TargetEntry targets, int n_targets, Gdk.DragAction actions); + [NoArrayLength ()] public void enable_model_drag_source (Gdk.ModifierType start_button_mask, Gtk.TargetEntry targets, int n_targets, Gdk.DragAction actions); + [NoArrayLength ()] public int get_column_spacing (); + [NoArrayLength ()] public int get_columns (); + [NoArrayLength ()] public bool get_cursor (Gtk.TreePath path, Gtk.CellRenderer cell); + [NoArrayLength ()] public bool get_dest_item_at_pos (int drag_x, int drag_y, Gtk.TreePath path, Gtk.IconViewDropPosition pos); + [NoArrayLength ()] public void get_drag_dest_item (Gtk.TreePath path, Gtk.IconViewDropPosition pos); + [NoArrayLength ()] public bool get_item_at_pos (int x, int y, Gtk.TreePath path, Gtk.CellRenderer cell); + [NoArrayLength ()] public int get_item_width (); + [NoArrayLength ()] public int get_margin (); + [NoArrayLength ()] public int get_markup_column (); + [NoArrayLength ()] public Gtk.TreeModel get_model (); + [NoArrayLength ()] public Gtk.Orientation get_orientation (); + [NoArrayLength ()] public Gtk.TreePath get_path_at_pos (int x, int y); + [NoArrayLength ()] public int get_pixbuf_column (); + [NoArrayLength ()] public bool get_reorderable (); + [NoArrayLength ()] public int get_row_spacing (); + [NoArrayLength ()] public GLib.List get_selected_items (); + [NoArrayLength ()] public Gtk.SelectionMode get_selection_mode (); + [NoArrayLength ()] public int get_spacing (); + [NoArrayLength ()] public int get_text_column (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool get_visible_range (Gtk.TreePath start_path, Gtk.TreePath end_path); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public construct with_model (Gtk.TreeModel model); + [NoArrayLength ()] public bool path_is_selected (Gtk.TreePath path); + [NoArrayLength ()] public void scroll_to_path (Gtk.TreePath path, bool use_align, float row_align, float col_align); + [NoArrayLength ()] public void select_path (Gtk.TreePath path); + [NoArrayLength ()] public void selected_foreach (Gtk.IconViewForeachFunc func, pointer data); + [NoArrayLength ()] public void set_column_spacing (int column_spacing); + [NoArrayLength ()] public void set_columns (int columns); + [NoArrayLength ()] public void set_cursor (Gtk.TreePath path, Gtk.CellRenderer cell, bool start_editing); + [NoArrayLength ()] public void set_drag_dest_item (Gtk.TreePath path, Gtk.IconViewDropPosition pos); + [NoArrayLength ()] public void set_item_width (int item_width); + [NoArrayLength ()] public void set_margin (int margin); + [NoArrayLength ()] public void set_markup_column (int column); + [NoArrayLength ()] public void set_model (Gtk.TreeModel model); + [NoArrayLength ()] public void set_orientation (Gtk.Orientation orientation); + [NoArrayLength ()] public void set_pixbuf_column (int column); + [NoArrayLength ()] public void set_reorderable (bool reorderable); + [NoArrayLength ()] public void set_row_spacing (int row_spacing); + [NoArrayLength ()] public void set_selection_mode (Gtk.SelectionMode mode); + [NoArrayLength ()] public void set_spacing (int spacing); + [NoArrayLength ()] public void set_text_column (int column); + [NoArrayLength ()] public void unselect_path (Gtk.TreePath path); + [NoArrayLength ()] public void unset_model_drag_dest (); + [NoArrayLength ()] public void unset_model_drag_source (); public weak Gtk.SelectionMode selection_mode { get; set; } public weak int pixbuf_column { get; set; } @@ -1292,34 +1949,63 @@ namespace Gtk { public signal bool move_cursor (Gtk.MovementStep step, int count); } public class Image : Gtk.Misc { + [NoArrayLength ()] public void clear (); + [NoArrayLength ()] public Gdk.PixbufAnimation get_animation (); + [NoArrayLength ()] public void get_icon_name (string icon_name, Gtk.IconSize size); + [NoArrayLength ()] public void get_icon_set (Gtk.IconSet icon_set, Gtk.IconSize size); + [NoArrayLength ()] public void get_image (Gdk.Image gdk_image, Gdk.Bitmap mask); + [NoArrayLength ()] public Gdk.Pixbuf get_pixbuf (); + [NoArrayLength ()] public int get_pixel_size (); + [NoArrayLength ()] public void get_pixmap (Gdk.Pixmap pixmap, Gdk.Bitmap mask); + [NoArrayLength ()] public void get_stock (string stock_id, Gtk.IconSize size); + [NoArrayLength ()] public Gtk.ImageType get_storage_type (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public construct from_animation (Gdk.PixbufAnimation animation); + [NoArrayLength ()] public construct from_file (string filename); + [NoArrayLength ()] public construct from_icon_name (string icon_name, Gtk.IconSize size); + [NoArrayLength ()] public construct from_icon_set (Gtk.IconSet icon_set, Gtk.IconSize size); + [NoArrayLength ()] public construct from_image (Gdk.Image image, Gdk.Bitmap mask); + [NoArrayLength ()] public construct from_pixbuf (Gdk.Pixbuf pixbuf); + [NoArrayLength ()] public construct from_pixmap (Gdk.Pixmap pixmap, Gdk.Bitmap mask); + [NoArrayLength ()] public construct from_stock (string stock_id, Gtk.IconSize size); + [NoArrayLength ()] public void set_from_animation (Gdk.PixbufAnimation animation); + [NoArrayLength ()] public void set_from_file (string filename); + [NoArrayLength ()] public void set_from_icon_name (string icon_name, Gtk.IconSize size); + [NoArrayLength ()] public void set_from_icon_set (Gtk.IconSet icon_set, Gtk.IconSize size); + [NoArrayLength ()] public void set_from_image (Gdk.Image gdk_image, Gdk.Bitmap mask); + [NoArrayLength ()] public void set_from_pixbuf (Gdk.Pixbuf pixbuf); + [NoArrayLength ()] public void set_from_pixmap (Gdk.Pixmap pixmap, Gdk.Bitmap mask); + [NoArrayLength ()] public void set_from_stock (string stock_id, Gtk.IconSize size); + [NoArrayLength ()] public void set_pixel_size (int pixel_size); [NoAccessorMethod ()] public weak Gdk.Pixbuf pixbuf { get; set; } @@ -1345,26 +2031,44 @@ namespace Gtk { public weak Gtk.ImageType storage_type { get; } } public class ImageMenuItem : Gtk.MenuItem { + [NoArrayLength ()] public Gtk.Widget get_image (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public construct from_stock (string stock_id, Gtk.AccelGroup accel_group); + [NoArrayLength ()] public construct with_label (string label); + [NoArrayLength ()] public construct with_mnemonic (string label); + [NoArrayLength ()] public void set_image (Gtk.Widget image); public weak Gtk.Widget image { get; set; } } public class IMContext : GLib.Object { + [NoArrayLength ()] public bool filter_keypress (Gdk.EventKey event); + [NoArrayLength ()] public void focus_in (); + [NoArrayLength ()] public void focus_out (); + [NoArrayLength ()] public void get_preedit_string (string str, Pango.AttrList attrs, int cursor_pos); + [NoArrayLength ()] public bool get_surrounding (string text, int cursor_index); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public void reset (); + [NoArrayLength ()] public void set_client_window (Gdk.Window window); + [NoArrayLength ()] public void set_cursor_location (Gdk.Rectangle area); + [NoArrayLength ()] public void set_surrounding (string text, int len, int cursor_index); + [NoArrayLength ()] public void set_use_preedit (bool use_preedit); public signal void preedit_start (); public signal void preedit_end (); @@ -1375,30 +2079,44 @@ namespace Gtk { public signal bool delete_surrounding (int offset, int n_chars); } public class IMContextSimple : Gtk.IMContext { + [NoArrayLength ()] public void add_table (ushort data, int max_seq_len, int n_seqs); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); } public class IMMulticontext : Gtk.IMContext { + [NoArrayLength ()] public void append_menuitems (Gtk.MenuShell menushell); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); } public class InputDialog : Gtk.Dialog { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); public signal void enable_device (Gdk.Device device); public signal void disable_device (Gdk.Device device); } public class Invisible : Gtk.Widget { + [NoArrayLength ()] public Gdk.Screen get_screen (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public construct for_screen (Gdk.Screen screen); + [NoArrayLength ()] public void set_screen (Gdk.Screen screen); public weak Gdk.Screen screen { get; set; } } public class Item : Gtk.Bin { + [NoArrayLength ()] public GLib.Type get_type (); [HasEmitter ()] public signal void select (); @@ -1410,47 +2128,89 @@ namespace Gtk { public class ItemFactory : Gtk.Object { } public class Label : Gtk.Misc { + [NoArrayLength ()] public double get_angle (); + [NoArrayLength ()] public Pango.AttrList get_attributes (); + [NoArrayLength ()] public Pango.EllipsizeMode get_ellipsize (); + [NoArrayLength ()] public Gtk.Justification get_justify (); + [NoArrayLength ()] public string get_label (); + [NoArrayLength ()] public Pango.Layout get_layout (); + [NoArrayLength ()] public void get_layout_offsets (int x, int y); + [NoArrayLength ()] public bool get_line_wrap (); + [NoArrayLength ()] public Pango.WrapMode get_line_wrap_mode (); + [NoArrayLength ()] public int get_max_width_chars (); + [NoArrayLength ()] public uint get_mnemonic_keyval (); + [NoArrayLength ()] public Gtk.Widget get_mnemonic_widget (); + [NoArrayLength ()] public bool get_selectable (); + [NoArrayLength ()] public bool get_selection_bounds (int start, int end); + [NoArrayLength ()] public bool get_single_line_mode (); + [NoArrayLength ()] public string get_text (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool get_use_markup (); + [NoArrayLength ()] public bool get_use_underline (); + [NoArrayLength ()] public int get_width_chars (); + [NoArrayLength ()] public construct (string str); + [NoArrayLength ()] public construct with_mnemonic (string str); + [NoArrayLength ()] public void select_region (int start_offset, int end_offset); + [NoArrayLength ()] public void set_angle (double angle); + [NoArrayLength ()] public void set_attributes (Pango.AttrList attrs); + [NoArrayLength ()] public void set_ellipsize (Pango.EllipsizeMode mode); + [NoArrayLength ()] public void set_justify (Gtk.Justification jtype); + [NoArrayLength ()] public void set_label (string str); + [NoArrayLength ()] public void set_line_wrap (bool wrap); + [NoArrayLength ()] public void set_line_wrap_mode (Pango.WrapMode wrap_mode); + [NoArrayLength ()] public void set_markup (string str); + [NoArrayLength ()] public void set_markup_with_mnemonic (string str); + [NoArrayLength ()] public void set_max_width_chars (int n_chars); + [NoArrayLength ()] public void set_mnemonic_widget (Gtk.Widget widget); + [NoArrayLength ()] public void set_pattern (string pattern); + [NoArrayLength ()] public void set_selectable (bool setting); + [NoArrayLength ()] public void set_single_line_mode (bool single_line_mode); + [NoArrayLength ()] public void set_text (string str); + [NoArrayLength ()] public void set_text_with_mnemonic (string str); + [NoArrayLength ()] public void set_use_markup (bool setting); + [NoArrayLength ()] public void set_use_underline (bool setting); + [NoArrayLength ()] public void set_width_chars (int n_chars); public weak string label { get; set; } public weak Pango.AttrList attributes { get; set; } @@ -1480,15 +2240,25 @@ namespace Gtk { } public class Layout : Gtk.Container { public weak Gdk.Window bin_window; + [NoArrayLength ()] public Gtk.Adjustment get_hadjustment (); + [NoArrayLength ()] public void get_size (uint width, uint height); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public Gtk.Adjustment get_vadjustment (); + [NoArrayLength ()] public void move (Gtk.Widget child_widget, int x, int y); + [NoArrayLength ()] public construct (Gtk.Adjustment hadjustment, Gtk.Adjustment vadjustment); + [NoArrayLength ()] public void put (Gtk.Widget child_widget, int x, int y); + [NoArrayLength ()] public void set_hadjustment (Gtk.Adjustment adjustment); + [NoArrayLength ()] public void set_size (uint width, uint height); + [NoArrayLength ()] public void set_vadjustment (Gtk.Adjustment adjustment); public weak Gtk.Adjustment hadjustment { get; set; } public weak Gtk.Adjustment vadjustment { get; set; } @@ -1499,86 +2269,153 @@ namespace Gtk { public signal void set_scroll_adjustments (Gtk.Adjustment hadjustment, Gtk.Adjustment vadjustment); } public class LinkButton : Gtk.Button { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public string get_uri (); + [NoArrayLength ()] public construct (string uri); + [NoArrayLength ()] public construct with_label (string uri, string label); + [NoArrayLength ()] public void set_uri (string uri); + [NoArrayLength ()] public static Gtk.LinkButtonUriFunc set_uri_hook (Gtk.LinkButtonUriFunc func, pointer data, GLib.DestroyNotify destroy); public weak string uri { get; set; } } public class ListStore : GLib.Object, Gtk.TreeModel, Gtk.TreeDragSource, Gtk.TreeDragDest, Gtk.TreeSortable { + [NoArrayLength ()] public void append (Gtk.TreeIter iter); + [NoArrayLength ()] public void clear (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public void insert (Gtk.TreeIter iter, int position); + [NoArrayLength ()] public void insert_after (Gtk.TreeIter iter, Gtk.TreeIter sibling); + [NoArrayLength ()] public void insert_before (Gtk.TreeIter iter, Gtk.TreeIter sibling); + [NoArrayLength ()] public void insert_with_values (Gtk.TreeIter iter, int position); + [NoArrayLength ()] public void insert_with_valuesv (Gtk.TreeIter iter, int position, int columns, GLib.Value values, int n_values); + [NoArrayLength ()] public bool iter_is_valid (Gtk.TreeIter iter); + [NoArrayLength ()] public void move_after (Gtk.TreeIter iter, Gtk.TreeIter position); + [NoArrayLength ()] public void move_before (Gtk.TreeIter iter, Gtk.TreeIter position); + [NoArrayLength ()] public construct (int n_columns); + [NoArrayLength ()] public construct newv (int n_columns, GLib.Type types); + [NoArrayLength ()] public void prepend (Gtk.TreeIter iter); + [NoArrayLength ()] public bool remove (Gtk.TreeIter iter); + [NoArrayLength ()] public void reorder (int new_order); + [NoArrayLength ()] public void @set (Gtk.TreeIter iter); + [NoArrayLength ()] public void set_column_types (int n_columns, GLib.Type types); + [NoArrayLength ()] public void set_valist (Gtk.TreeIter iter, pointer var_args); + [NoArrayLength ()] public void set_value (Gtk.TreeIter iter, int column, GLib.Value value); + [NoArrayLength ()] public void swap (Gtk.TreeIter a, Gtk.TreeIter b); } public class Menu : Gtk.MenuShell { + [NoArrayLength ()] public void attach (Gtk.Widget child, uint left_attach, uint right_attach, uint top_attach, uint bottom_attach); + [NoArrayLength ()] public void attach_to_widget (Gtk.Widget attach_widget, Gtk.MenuDetachFunc detacher); + [NoArrayLength ()] public void detach (); + [NoArrayLength ()] public Gtk.AccelGroup get_accel_group (); + [NoArrayLength ()] public Gtk.Widget get_active (); + [NoArrayLength ()] public Gtk.Widget get_attach_widget (); + [NoArrayLength ()] public static GLib.List get_for_attach_widget (Gtk.Widget widget); + [NoArrayLength ()] public bool get_tearoff_state (); + [NoArrayLength ()] public string get_title (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public void popdown (); + [NoArrayLength ()] public void popup (Gtk.Widget parent_menu_shell, Gtk.Widget parent_menu_item, Gtk.MenuPositionFunc func, pointer data, uint button, uint activate_time); + [NoArrayLength ()] public void reorder_child (Gtk.Widget child, int position); + [NoArrayLength ()] public void reposition (); + [NoArrayLength ()] public void set_accel_group (Gtk.AccelGroup accel_group); + [NoArrayLength ()] public void set_accel_path (string accel_path); + [NoArrayLength ()] public void set_active (uint index_); + [NoArrayLength ()] public void set_monitor (int monitor_num); + [NoArrayLength ()] public void set_screen (Gdk.Screen screen); + [NoArrayLength ()] public void set_tearoff_state (bool torn_off); + [NoArrayLength ()] public void set_title (string title); [NoAccessorMethod ()] public weak string tearoff_title { get; set; } public weak bool tearoff_state { get; set; } } public class MenuBar : Gtk.MenuShell { + [NoArrayLength ()] public Gtk.PackDirection get_child_pack_direction (); + [NoArrayLength ()] public Gtk.PackDirection get_pack_direction (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public void set_child_pack_direction (Gtk.PackDirection child_pack_dir); + [NoArrayLength ()] public void set_pack_direction (Gtk.PackDirection pack_dir); public weak Gtk.PackDirection pack_direction { get; set; } public weak Gtk.PackDirection child_pack_direction { get; set; } } public class MenuItem : Gtk.Item { + [NoArrayLength ()] public void deselect (); + [NoArrayLength ()] public bool get_right_justified (); + [NoArrayLength ()] public Gtk.Widget get_submenu (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public construct with_label (string label); + [NoArrayLength ()] public construct with_mnemonic (string label); + [NoArrayLength ()] public void remove_submenu (); + [NoArrayLength ()] public void select (); + [NoArrayLength ()] public void set_accel_path (string accel_path); + [NoArrayLength ()] public void set_right_justified (bool right_justified); + [NoArrayLength ()] public void set_submenu (Gtk.Widget submenu); [HasEmitter ()] public signal void activate (); @@ -1589,15 +2426,25 @@ namespace Gtk { public signal void toggle_size_allocate (int allocation); } public class MenuShell : Gtk.Container { + [NoArrayLength ()] public void activate_item (Gtk.Widget menu_item, bool force_deactivate); + [NoArrayLength ()] public void append (Gtk.Widget child); + [NoArrayLength ()] public void deselect (); + [NoArrayLength ()] public bool get_take_focus (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public void insert (Gtk.Widget child, int position); + [NoArrayLength ()] public void prepend (Gtk.Widget child); + [NoArrayLength ()] public void select_first (bool search_sensitive); + [NoArrayLength ()] public void select_item (Gtk.Widget menu_item); + [NoArrayLength ()] public void set_take_focus (bool take_focus); public weak bool take_focus { get; set; } [HasEmitter ()] @@ -1609,22 +2456,35 @@ namespace Gtk { public signal void cancel (); } public class MenuToolButton : Gtk.ToolButton { + [NoArrayLength ()] public Gtk.Widget get_menu (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (Gtk.Widget icon_widget, string label); + [NoArrayLength ()] public construct from_stock (string stock_id); + [NoArrayLength ()] public void set_arrow_tooltip (Gtk.Tooltips tooltips, string tip_text, string tip_private); + [NoArrayLength ()] public void set_menu (Gtk.Widget menu); public weak Gtk.Menu menu { get; set; } public signal void show_menu (); } public class MessageDialog : Gtk.Dialog { + [NoArrayLength ()] public void format_secondary_markup (string message_format); + [NoArrayLength ()] public void format_secondary_text (string message_format); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (Gtk.Window parent, Gtk.DialogFlags @flags, Gtk.MessageType type, Gtk.ButtonsType buttons, string message_format); + [NoArrayLength ()] public construct with_markup (Gtk.Window parent, Gtk.DialogFlags @flags, Gtk.MessageType type, Gtk.ButtonsType buttons, string message_format); + [NoArrayLength ()] public void set_image (Gtk.Widget image); + [NoArrayLength ()] public void set_markup (string str); [NoAccessorMethod ()] public weak Gtk.MessageType message_type { get; set construct; } @@ -1642,10 +2502,15 @@ namespace Gtk { public weak Gtk.Widget image { get; set; } } public class Misc : Gtk.Widget { + [NoArrayLength ()] public void get_alignment (float xalign, float yalign); + [NoArrayLength ()] public void get_padding (int xpad, int ypad); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public void set_alignment (float xalign, float yalign); + [NoArrayLength ()] public void set_padding (int xpad, int ypad); [NoAccessorMethod ()] public weak float xalign { get; set; } @@ -1657,48 +2522,91 @@ namespace Gtk { public weak int ypad { get; set; } } public class Notebook : Gtk.Container { + [NoArrayLength ()] public int append_page (Gtk.Widget child, Gtk.Widget tab_label); + [NoArrayLength ()] public int append_page_menu (Gtk.Widget child, Gtk.Widget tab_label, Gtk.Widget menu_label); + [NoArrayLength ()] public int get_current_page (); + [NoArrayLength ()] public int get_group_id (); + [NoArrayLength ()] public Gtk.Widget get_menu_label (Gtk.Widget child); + [NoArrayLength ()] public string get_menu_label_text (Gtk.Widget child); + [NoArrayLength ()] public int get_n_pages (); + [NoArrayLength ()] public Gtk.Widget get_nth_page (int page_num); + [NoArrayLength ()] public bool get_scrollable (); + [NoArrayLength ()] public bool get_show_border (); + [NoArrayLength ()] public bool get_show_tabs (); + [NoArrayLength ()] public bool get_tab_detachable (Gtk.Widget child); + [NoArrayLength ()] public Gtk.Widget get_tab_label (Gtk.Widget child); + [NoArrayLength ()] public string get_tab_label_text (Gtk.Widget child); + [NoArrayLength ()] public Gtk.PositionType get_tab_pos (); + [NoArrayLength ()] public bool get_tab_reorderable (Gtk.Widget child); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public int insert_page (Gtk.Widget child, Gtk.Widget tab_label, int position); + [NoArrayLength ()] public int insert_page_menu (Gtk.Widget child, Gtk.Widget tab_label, Gtk.Widget menu_label, int position); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public void next_page (); + [NoArrayLength ()] public void popup_disable (); + [NoArrayLength ()] public void popup_enable (); + [NoArrayLength ()] public int prepend_page (Gtk.Widget child, Gtk.Widget tab_label); + [NoArrayLength ()] public int prepend_page_menu (Gtk.Widget child, Gtk.Widget tab_label, Gtk.Widget menu_label); + [NoArrayLength ()] public void prev_page (); + [NoArrayLength ()] public void query_tab_label_packing (Gtk.Widget child, bool expand, bool fill, Gtk.PackType pack_type); + [NoArrayLength ()] public void remove_page (int page_num); + [NoArrayLength ()] public void reorder_child (Gtk.Widget child, int position); + [NoArrayLength ()] public void set_current_page (int page_num); + [NoArrayLength ()] public void set_group_id (int group_id); + [NoArrayLength ()] public void set_menu_label (Gtk.Widget child, Gtk.Widget menu_label); + [NoArrayLength ()] public void set_menu_label_text (Gtk.Widget child, string menu_text); + [NoArrayLength ()] public void set_scrollable (bool scrollable); + [NoArrayLength ()] public void set_show_border (bool show_border); + [NoArrayLength ()] public void set_show_tabs (bool show_tabs); + [NoArrayLength ()] public void set_tab_detachable (Gtk.Widget child, bool detachable); + [NoArrayLength ()] public void set_tab_label (Gtk.Widget child, Gtk.Widget tab_label); + [NoArrayLength ()] public void set_tab_label_packing (Gtk.Widget child, bool expand, bool fill, Gtk.PackType pack_type); + [NoArrayLength ()] public void set_tab_label_text (Gtk.Widget child, string tab_text); + [NoArrayLength ()] public void set_tab_pos (Gtk.PositionType pos); + [NoArrayLength ()] public void set_tab_reorderable (Gtk.Widget child, bool reorderable); + [NoArrayLength ()] public static void set_window_creation_hook (Gtk.NotebookWindowCreationFunc func, pointer data, GLib.DestroyNotify destroy); [NoAccessorMethod ()] public weak int page { get; set; } @@ -1728,6 +2636,7 @@ namespace Gtk { public signal void page_added (Gtk.Widget p0, uint p1); } public class Object : GLib.InitiallyUnowned { + [NoArrayLength ()] public Gtk.Type get_type (); [NoAccessorMethod ()] public weak pointer user_data { get; set; } @@ -1739,44 +2648,79 @@ namespace Gtk { public signal void changed (); } public class PageSetup : GLib.Object { + [NoArrayLength ()] public Gtk.PageSetup copy (); + [NoArrayLength ()] public double get_bottom_margin (Gtk.Unit unit); + [NoArrayLength ()] public double get_left_margin (Gtk.Unit unit); + [NoArrayLength ()] public Gtk.PageOrientation get_orientation (); + [NoArrayLength ()] public double get_page_height (Gtk.Unit unit); + [NoArrayLength ()] public double get_page_width (Gtk.Unit unit); + [NoArrayLength ()] public double get_paper_height (Gtk.Unit unit); + [NoArrayLength ()] public Gtk.PaperSize get_paper_size (); + [NoArrayLength ()] public double get_paper_width (Gtk.Unit unit); + [NoArrayLength ()] public double get_right_margin (Gtk.Unit unit); + [NoArrayLength ()] public double get_top_margin (Gtk.Unit unit); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public void set_bottom_margin (double margin, Gtk.Unit unit); + [NoArrayLength ()] public void set_left_margin (double margin, Gtk.Unit unit); + [NoArrayLength ()] public void set_orientation (Gtk.PageOrientation orientation); + [NoArrayLength ()] public void set_paper_size (Gtk.PaperSize size); + [NoArrayLength ()] public void set_paper_size_and_default_margins (Gtk.PaperSize size); + [NoArrayLength ()] public void set_right_margin (double margin, Gtk.Unit unit); + [NoArrayLength ()] public void set_top_margin (double margin, Gtk.Unit unit); } public class PageSetupUnixDialog : Gtk.Dialog { + [NoArrayLength ()] public Gtk.PageSetup get_page_setup (); + [NoArrayLength ()] public Gtk.PrintSettings get_print_settings (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (string title, Gtk.Window parent); + [NoArrayLength ()] public void set_page_setup (Gtk.PageSetup page_setup); + [NoArrayLength ()] public void set_print_settings (Gtk.PrintSettings print_settings); } public class Paned : Gtk.Container { + [NoArrayLength ()] public void add1 (Gtk.Widget child); + [NoArrayLength ()] public void add2 (Gtk.Widget child); + [NoArrayLength ()] public Gtk.Widget get_child1 (); + [NoArrayLength ()] public Gtk.Widget get_child2 (); + [NoArrayLength ()] public int get_position (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public void pack1 (Gtk.Widget child, bool resize, bool shrink); + [NoArrayLength ()] public void pack2 (Gtk.Widget child, bool resize, bool shrink); + [NoArrayLength ()] public void set_position (int position); public weak int position { get; set; } [NoAccessorMethod ()] @@ -1793,36 +2737,64 @@ namespace Gtk { public signal bool cancel_position (); } public class Plug : Gtk.Window { + [NoArrayLength ()] public void @construct (pointer socket_id); + [NoArrayLength ()] public void construct_for_display (Gdk.Display display, pointer socket_id); + [NoArrayLength ()] public pointer get_id (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (pointer socket_id); + [NoArrayLength ()] public construct for_display (Gdk.Display display, pointer socket_id); public signal void embedded (); } public class Printer : GLib.Object { + [NoArrayLength ()] public int compare (Gtk.Printer b); + [NoArrayLength ()] public Gtk.PrintBackend get_backend (); + [NoArrayLength ()] public string get_description (); + [NoArrayLength ()] public string get_icon_name (); + [NoArrayLength ()] public int get_job_count (); + [NoArrayLength ()] public string get_location (); + [NoArrayLength ()] public string get_name (); + [NoArrayLength ()] public string get_state_message (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool is_active (); + [NoArrayLength ()] public bool is_default (); + [NoArrayLength ()] public bool is_new (); + [NoArrayLength ()] public construct (string name, Gtk.PrintBackend backend, bool virtual_); + [NoArrayLength ()] public bool set_description (string description); + [NoArrayLength ()] public void set_has_details (bool val); + [NoArrayLength ()] public void set_icon_name (string icon); + [NoArrayLength ()] public void set_is_active (bool active); + [NoArrayLength ()] public void set_is_default (bool val); + [NoArrayLength ()] public void set_is_new (bool val); + [NoArrayLength ()] public bool set_job_count (int count); + [NoArrayLength ()] public bool set_location (string location); + [NoArrayLength ()] public bool set_state_message (string message); [NoAccessorMethod ()] public weak string name { get; construct; } @@ -1841,51 +2813,86 @@ namespace Gtk { public signal void details_acquired (bool success); } public class PrinterOption : GLib.Object { + [NoArrayLength ()] public void allocate_choices (int num); + [NoArrayLength ()] public void choices_from_array (int num_choices, string[] choices, string[] choices_display); + [NoArrayLength ()] public void clear_has_conflict (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool has_choice (string choice); + [NoArrayLength ()] public construct (string name, string display_text, Gtk.PrinterOptionType type); + [NoArrayLength ()] public void @set (string value); public signal void changed (); } public class PrinterOptionSet : GLib.Object { + [NoArrayLength ()] public void add (Gtk.PrinterOption option); + [NoArrayLength ()] public static void boolean (Gtk.PrinterOption option, bool value); + [NoArrayLength ()] public void clear_conflicts (); + [NoArrayLength ()] public void @foreach (Gtk.PrinterOptionSetFunc func, pointer user_data); + [NoArrayLength ()] public void foreach_in_group (string group, Gtk.PrinterOptionSetFunc func, pointer user_data); + [NoArrayLength ()] public GLib.List get_groups (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public static void has_conflict (Gtk.PrinterOption option, bool has_conflict); + [NoArrayLength ()] public Gtk.PrinterOption lookup (string name); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public void remove (Gtk.PrinterOption option); public signal void changed (); } public class PrinterOptionWidget : Gtk.HBox { + [NoArrayLength ()] public Gtk.Widget get_external_label (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public string get_value (); + [NoArrayLength ()] public bool has_external_label (); + [NoArrayLength ()] public construct (Gtk.PrinterOption source); + [NoArrayLength ()] public void set_source (Gtk.PrinterOption source); [NoAccessorMethod ()] public weak Gtk.PrinterOption source { get; set construct; } public signal void changed (); } public class PrintBackend : GLib.Object { + [NoArrayLength ()] public void add_printer (Gtk.Printer printer); + [NoArrayLength ()] public void destroy (); + [NoArrayLength ()] public GLib.Quark error_quark (); + [NoArrayLength ()] public Gtk.Printer find_printer (string printer_name); + [NoArrayLength ()] public GLib.List get_printer_list (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public GLib.List load_modules (); + [NoArrayLength ()] public void print_stream (Gtk.PrintJob job, GLib.IOChannel data_io, Gtk.PrintJobCompleteFunc @callback, pointer user_data, GLib.DestroyNotify dnotify); + [NoArrayLength ()] public bool printer_list_is_done (); + [NoArrayLength ()] public void remove_printer (Gtk.Printer printer); + [NoArrayLength ()] public void set_list_done (); public signal void printer_list_changed (); public signal void printer_list_done (); @@ -1894,29 +2901,51 @@ namespace Gtk { public signal void printer_status_changed (Gtk.Printer printer); } public class PrintContext : GLib.Object { + [NoArrayLength ()] public Pango.Context create_pango_context (); + [NoArrayLength ()] public Pango.Layout create_pango_layout (); + [NoArrayLength ()] public Cairo.Context get_cairo_context (); + [NoArrayLength ()] public double get_dpi_x (); + [NoArrayLength ()] public double get_dpi_y (); + [NoArrayLength ()] public double get_height (); + [NoArrayLength ()] public Gtk.PageSetup get_page_setup (); + [NoArrayLength ()] public Pango.FontMap get_pango_fontmap (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public double get_width (); + [NoArrayLength ()] public void set_cairo_context (Cairo.Context cr, double dpi_x, double dpi_y); } public class PrintJob : GLib.Object { + [NoArrayLength ()] public Gtk.Printer get_printer (); + [NoArrayLength ()] public Gtk.PrintSettings get_settings (); + [NoArrayLength ()] public Gtk.PrintStatus get_status (); + [NoArrayLength ()] public Cairo.Surface get_surface (GLib.Error error); + [NoArrayLength ()] public string get_title (); + [NoArrayLength ()] public bool get_track_print_status (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (string title, Gtk.Printer printer, Gtk.PrintSettings settings, Gtk.PageSetup page_setup); + [NoArrayLength ()] public void send (Gtk.PrintJobCompleteFunc @callback, pointer user_data, GLib.DestroyNotify dnotify); + [NoArrayLength ()] public bool set_source_file (string filename, GLib.Error error); + [NoArrayLength ()] public void set_track_print_status (bool track_status); [NoAccessorMethod ()] public weak string title { get; construct; } @@ -1930,27 +2959,49 @@ namespace Gtk { public signal void status_changed (); } public class PrintOperation : GLib.Object, Gtk.PrintOperationPreview { + [NoArrayLength ()] public void cancel (); + [NoArrayLength ()] public Gtk.PageSetup get_default_page_setup (); + [NoArrayLength ()] public void get_error (GLib.Error error); + [NoArrayLength ()] public Gtk.PrintSettings get_print_settings (); + [NoArrayLength ()] public Gtk.PrintStatus get_status (); + [NoArrayLength ()] public string get_status_string (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool is_finished (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public Gtk.PrintOperationResult run (Gtk.PrintOperationAction action, Gtk.Window parent, GLib.Error error); + [NoArrayLength ()] public void set_allow_async (bool allow_async); + [NoArrayLength ()] public void set_current_page (int current_page); + [NoArrayLength ()] public void set_custom_tab_label (string label); + [NoArrayLength ()] public void set_default_page_setup (Gtk.PageSetup default_page_setup); + [NoArrayLength ()] public void set_export_filename (string filename); + [NoArrayLength ()] public void set_job_name (string job_name); + [NoArrayLength ()] public void set_n_pages (int n_pages); + [NoArrayLength ()] public void set_print_settings (Gtk.PrintSettings print_settings); + [NoArrayLength ()] public void set_show_progress (bool show_progress); + [NoArrayLength ()] public void set_track_print_status (bool track_status); + [NoArrayLength ()] public void set_unit (Gtk.Unit unit); + [NoArrayLength ()] public void set_use_full_page (bool full_page); public weak Gtk.PageSetup default_page_setup { get; set; } public weak Gtk.PrintSettings print_settings { get; set; } @@ -1988,80 +3039,153 @@ namespace Gtk { public signal bool preview (Gtk.PrintOperationPreview preview, Gtk.PrintContext context, Gtk.Window parent); } public class PrintSettings : GLib.Object { + [NoArrayLength ()] public Gtk.PrintSettings copy (); + [NoArrayLength ()] public void @foreach (Gtk.PrintSettingsFunc func, pointer user_data); + [NoArrayLength ()] public string @get (string key); + [NoArrayLength ()] public bool get_bool (string key); + [NoArrayLength ()] public bool get_collate (); + [NoArrayLength ()] public string get_default_source (); + [NoArrayLength ()] public string get_dither (); + [NoArrayLength ()] public double get_double (string key); + [NoArrayLength ()] public double get_double_with_default (string key, double def); + [NoArrayLength ()] public Gtk.PrintDuplex get_duplex (); + [NoArrayLength ()] public string get_finishings (); + [NoArrayLength ()] public int get_int (string key); + [NoArrayLength ()] public int get_int_with_default (string key, int def); + [NoArrayLength ()] public double get_length (string key, Gtk.Unit unit); + [NoArrayLength ()] public string get_media_type (); + [NoArrayLength ()] public int get_n_copies (); + [NoArrayLength ()] public int get_number_up (); + [NoArrayLength ()] public Gtk.PageOrientation get_orientation (); + [NoArrayLength ()] public string get_output_bin (); + [NoArrayLength ()] public Gtk.PageRange get_page_ranges (int num_ranges); + [NoArrayLength ()] public Gtk.PageSet get_page_set (); + [NoArrayLength ()] public double get_paper_height (Gtk.Unit unit); + [NoArrayLength ()] public Gtk.PaperSize get_paper_size (); + [NoArrayLength ()] public double get_paper_width (Gtk.Unit unit); + [NoArrayLength ()] public Gtk.PrintPages get_print_pages (); + [NoArrayLength ()] public string get_printer (); + [NoArrayLength ()] public Gtk.PrintQuality get_quality (); + [NoArrayLength ()] public int get_resolution (); + [NoArrayLength ()] public bool get_reverse (); + [NoArrayLength ()] public double get_scale (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool get_use_color (); + [NoArrayLength ()] public bool has_key (string key); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public void @set (string key, string value); + [NoArrayLength ()] public void set_bool (string key, bool value); + [NoArrayLength ()] public void set_collate (bool collate); + [NoArrayLength ()] public void set_default_source (string default_source); + [NoArrayLength ()] public void set_dither (string dither); + [NoArrayLength ()] public void set_double (string key, double value); + [NoArrayLength ()] public void set_duplex (Gtk.PrintDuplex duplex); + [NoArrayLength ()] public void set_finishings (string finishings); + [NoArrayLength ()] public void set_int (string key, int value); + [NoArrayLength ()] public void set_length (string key, double value, Gtk.Unit unit); + [NoArrayLength ()] public void set_media_type (string media_type); + [NoArrayLength ()] public void set_n_copies (int num_copies); + [NoArrayLength ()] public void set_number_up (int number_up); + [NoArrayLength ()] public void set_orientation (Gtk.PageOrientation orientation); + [NoArrayLength ()] public void set_output_bin (string output_bin); + [NoArrayLength ()] public void set_page_ranges (Gtk.PageRange page_ranges, int num_ranges); + [NoArrayLength ()] public void set_page_set (Gtk.PageSet page_set); + [NoArrayLength ()] public void set_paper_height (double height, Gtk.Unit unit); + [NoArrayLength ()] public void set_paper_size (Gtk.PaperSize paper_size); + [NoArrayLength ()] public void set_paper_width (double width, Gtk.Unit unit); + [NoArrayLength ()] public void set_print_pages (Gtk.PrintPages pages); + [NoArrayLength ()] public void set_printer (string printer); + [NoArrayLength ()] public void set_quality (Gtk.PrintQuality quality); + [NoArrayLength ()] public void set_resolution (int resolution); + [NoArrayLength ()] public void set_reverse (bool reverse); + [NoArrayLength ()] public void set_scale (double scale); + [NoArrayLength ()] public void set_use_color (bool use_color); + [NoArrayLength ()] public void unset (string key); } public class PrintUnixDialog : Gtk.Dialog { + [NoArrayLength ()] public void add_custom_tab (Gtk.Widget child, Gtk.Widget tab_label); + [NoArrayLength ()] public int get_current_page (); + [NoArrayLength ()] public Gtk.PageSetup get_page_setup (); + [NoArrayLength ()] public Gtk.Printer get_selected_printer (); + [NoArrayLength ()] public Gtk.PrintSettings get_settings (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (string title, Gtk.Window parent); + [NoArrayLength ()] public void set_current_page (int current_page); + [NoArrayLength ()] public void set_manual_capabilities (Gtk.PrintCapabilities capabilities); + [NoArrayLength ()] public void set_page_setup (Gtk.PageSetup page_setup); + [NoArrayLength ()] public void set_settings (Gtk.PrintSettings settings); public weak Gtk.PageSetup page_setup { get; set; } public weak int current_page { get; set; } @@ -2080,18 +3204,31 @@ namespace Gtk { public weak float text_yalign { get; set; } } public class ProgressBar : Gtk.Progress { + [NoArrayLength ()] public Pango.EllipsizeMode get_ellipsize (); + [NoArrayLength ()] public double get_fraction (); + [NoArrayLength ()] public Gtk.ProgressBarOrientation get_orientation (); + [NoArrayLength ()] public double get_pulse_step (); + [NoArrayLength ()] public string get_text (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public void pulse (); + [NoArrayLength ()] public void set_ellipsize (Pango.EllipsizeMode mode); + [NoArrayLength ()] public void set_fraction (double fraction); + [NoArrayLength ()] public void set_orientation (Gtk.ProgressBarOrientation orientation); + [NoArrayLength ()] public void set_pulse_step (double fraction); + [NoArrayLength ()] public void set_text (string text); [NoAccessorMethod ()] public weak Gtk.Adjustment adjustment { get; set; } @@ -2110,11 +3247,17 @@ namespace Gtk { public weak Pango.EllipsizeMode ellipsize { get; set; } } public class RadioAction : Gtk.ToggleAction { + [NoArrayLength ()] public int get_current_value (); + [NoArrayLength ()] public GLib.SList get_group (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (string name, string label, string tooltip, string stock_id, int value); + [NoArrayLength ()] public void set_current_value (int current_value); + [NoArrayLength ()] public void set_group (GLib.SList group); [NoAccessorMethod ()] public weak int value { get; set; } @@ -2123,56 +3266,96 @@ namespace Gtk { public signal void changed (Gtk.RadioAction current); } public class RadioButton : Gtk.CheckButton { + [NoArrayLength ()] public GLib.SList get_group (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (GLib.SList group); + [NoArrayLength ()] public construct from_widget (); + [NoArrayLength ()] public construct with_label (GLib.SList group, string label); + [NoArrayLength ()] public construct with_label_from_widget (string label); + [NoArrayLength ()] public construct with_mnemonic (GLib.SList group, string label); + [NoArrayLength ()] public construct with_mnemonic_from_widget (string label); + [NoArrayLength ()] public void set_group (GLib.SList group); public weak Gtk.RadioButton group { set; } public signal void group_changed (); } public class RadioMenuItem : Gtk.CheckMenuItem { + [NoArrayLength ()] public GLib.SList get_group (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (GLib.SList group); + [NoArrayLength ()] public construct from_widget (); + [NoArrayLength ()] public construct with_label (GLib.SList group, string label); + [NoArrayLength ()] public construct with_label_from_widget (string label); + [NoArrayLength ()] public construct with_mnemonic (GLib.SList group, string label); + [NoArrayLength ()] public construct with_mnemonic_from_widget (string label); + [NoArrayLength ()] public void set_group (GLib.SList group); public weak Gtk.RadioMenuItem group { set; } public signal void group_changed (); } public class RadioToolButton : Gtk.ToggleToolButton { + [NoArrayLength ()] public GLib.SList get_group (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (GLib.SList group); + [NoArrayLength ()] public construct from_stock (GLib.SList group, string stock_id); + [NoArrayLength ()] public construct from_widget (); + [NoArrayLength ()] public construct with_stock_from_widget (string stock_id); + [NoArrayLength ()] public void set_group (GLib.SList group); public weak Gtk.RadioToolButton group { set; } } public class Range : Gtk.Widget { + [NoArrayLength ()] public Gtk.Adjustment get_adjustment (); + [NoArrayLength ()] public bool get_inverted (); + [NoArrayLength ()] public Gtk.SensitivityType get_lower_stepper_sensitivity (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public Gtk.UpdateType get_update_policy (); + [NoArrayLength ()] public Gtk.SensitivityType get_upper_stepper_sensitivity (); + [NoArrayLength ()] public double get_value (); + [NoArrayLength ()] public void set_adjustment (Gtk.Adjustment adjustment); + [NoArrayLength ()] public void set_increments (double step, double page); + [NoArrayLength ()] public void set_inverted (bool setting); + [NoArrayLength ()] public void set_lower_stepper_sensitivity (Gtk.SensitivityType sensitivity); + [NoArrayLength ()] public void set_range (double min, double max); + [NoArrayLength ()] public void set_update_policy (Gtk.UpdateType policy); + [NoArrayLength ()] public void set_upper_stepper_sensitivity (Gtk.SensitivityType sensitivity); + [NoArrayLength ()] public void set_value (double value); public weak Gtk.UpdateType update_policy { get; set; } public weak Gtk.Adjustment adjustment { get; set construct; } @@ -2195,63 +3378,108 @@ namespace Gtk { public weak Gdk.Color @base; public weak int xthickness; public weak int ythickness; + [NoArrayLength ()] public Gtk.RcStyle copy (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public void @ref (); + [NoArrayLength ()] public void unref (); } public class RecentChooserDefault : Gtk.VBox, Gtk.RecentChooser { } public class RecentChooserDialog : Gtk.Dialog, Gtk.RecentChooser { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (string title, Gtk.Window parent, string first_button_text); + [NoArrayLength ()] public construct for_manager (string title, Gtk.Window parent, Gtk.RecentManager manager, string first_button_text); } public class RecentChooserMenu : Gtk.Menu, Gtk.RecentChooser { + [NoArrayLength ()] public bool get_show_numbers (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public construct for_manager (Gtk.RecentManager manager); + [NoArrayLength ()] public void set_show_numbers (bool show_numbers); public weak bool show_numbers { get; set; } } public class RecentChooserWidget : Gtk.VBox, Gtk.RecentChooser { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public construct for_manager (Gtk.RecentManager manager); } public class RecentFilter : Gtk.Object { + [NoArrayLength ()] public void add_age (int days); + [NoArrayLength ()] public void add_application (string application); + [NoArrayLength ()] public void add_custom (Gtk.RecentFilterFlags needed, Gtk.RecentFilterFunc func, pointer data, GLib.DestroyNotify data_destroy); + [NoArrayLength ()] public void add_group (string group); + [NoArrayLength ()] public void add_mime_type (string mime_type); + [NoArrayLength ()] public void add_pattern (string pattern); + [NoArrayLength ()] public void add_pixbuf_formats (); + [NoArrayLength ()] public bool filter (Gtk.RecentFilterInfo filter_info); + [NoArrayLength ()] public string get_name (); + [NoArrayLength ()] public Gtk.RecentFilterFlags get_needed (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public void set_name (string name); } public class RecentManager : GLib.Object { + [NoArrayLength ()] public bool add_full (string uri, Gtk.RecentData recent_data); + [NoArrayLength ()] public bool add_item (string uri); + [NoArrayLength ()] public GLib.Quark error_quark (); + [NoArrayLength ()] public Gtk.RecentManager get_default (); + [NoArrayLength ()] public static Gtk.RecentManager get_for_screen (Gdk.Screen screen); + [NoArrayLength ()] public GLib.List get_items (); + [NoArrayLength ()] public int get_limit (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool has_item (string uri); + [NoArrayLength ()] public Gtk.RecentInfo lookup_item (string uri, GLib.Error error); + [NoArrayLength ()] public bool move_item (string uri, string new_uri, GLib.Error error); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public int purge_items (GLib.Error error); + [NoArrayLength ()] public bool remove_item (string uri, GLib.Error error); + [NoArrayLength ()] public void set_limit (int limit); + [NoArrayLength ()] public void set_screen (Gdk.Screen screen); [NoAccessorMethod ()] public weak string filename { get; construct; } @@ -2261,12 +3489,19 @@ namespace Gtk { public signal void changed (); } public class Ruler : Gtk.Widget { + [NoArrayLength ()] public void draw_pos (); + [NoArrayLength ()] public void draw_ticks (); + [NoArrayLength ()] public Gtk.MetricType get_metric (); + [NoArrayLength ()] public void get_range (double lower, double upper, double position, double max_size); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public void set_metric (Gtk.MetricType metric); + [NoArrayLength ()] public void set_range (double lower, double upper, double position, double max_size); [NoAccessorMethod ()] public weak double lower { get; set; } @@ -2279,14 +3514,23 @@ namespace Gtk { public weak Gtk.MetricType metric { get; set; } } public class Scale : Gtk.Range { + [NoArrayLength ()] public int get_digits (); + [NoArrayLength ()] public bool get_draw_value (); + [NoArrayLength ()] public Pango.Layout get_layout (); + [NoArrayLength ()] public void get_layout_offsets (int x, int y); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public Gtk.PositionType get_value_pos (); + [NoArrayLength ()] public void set_digits (int digits); + [NoArrayLength ()] public void set_draw_value (bool draw_value); + [NoArrayLength ()] public void set_value_pos (Gtk.PositionType pos); public weak int digits { get; set; } public weak bool draw_value { get; set; } @@ -2294,26 +3538,43 @@ namespace Gtk { public signal string format_value (double value); } public class Scrollbar : Gtk.Range { + [NoArrayLength ()] public GLib.Type get_type (); } public class ScrolledWindow : Gtk.Bin { public weak Gtk.Widget hscrollbar; public weak Gtk.Widget vscrollbar; + [NoArrayLength ()] public void add_with_viewport (Gtk.Widget child); + [NoArrayLength ()] public Gtk.Adjustment get_hadjustment (); + [NoArrayLength ()] public Gtk.Widget get_hscrollbar (); + [NoArrayLength ()] public Gtk.CornerType get_placement (); + [NoArrayLength ()] public void get_policy (Gtk.PolicyType hscrollbar_policy, Gtk.PolicyType vscrollbar_policy); + [NoArrayLength ()] public Gtk.ShadowType get_shadow_type (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public Gtk.Adjustment get_vadjustment (); + [NoArrayLength ()] public Gtk.Widget get_vscrollbar (); + [NoArrayLength ()] public construct (Gtk.Adjustment hadjustment, Gtk.Adjustment vadjustment); + [NoArrayLength ()] public void set_hadjustment (Gtk.Adjustment hadjustment); + [NoArrayLength ()] public void set_placement (Gtk.CornerType window_placement); + [NoArrayLength ()] public void set_policy (Gtk.PolicyType hscrollbar_policy, Gtk.PolicyType vscrollbar_policy); + [NoArrayLength ()] public void set_shadow_type (Gtk.ShadowType type); + [NoArrayLength ()] public void set_vadjustment (Gtk.Adjustment vadjustment); + [NoArrayLength ()] public void unset_placement (); public weak Gtk.Adjustment hadjustment { get; set construct; } public weak Gtk.Adjustment vadjustment { get; set construct; } @@ -2330,78 +3591,132 @@ namespace Gtk { public signal void move_focus_out (Gtk.DirectionType direction); } public class Separator : Gtk.Widget { + [NoArrayLength ()] public GLib.Type get_type (); } public class SeparatorMenuItem : Gtk.MenuItem { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); } public class SeparatorToolItem : Gtk.ToolItem { + [NoArrayLength ()] public bool get_draw (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public void set_draw (bool draw); public weak bool draw { get; set; } } public class Settings : GLib.Object { + [NoArrayLength ()] public Gtk.Settings get_default (); + [NoArrayLength ()] public static Gtk.Settings get_for_screen (Gdk.Screen screen); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public static void install_property (GLib.ParamSpec pspec); + [NoArrayLength ()] public static void install_property_parser (GLib.ParamSpec pspec, Gtk.RcPropertyParser parser); + [NoArrayLength ()] public void set_double_property (string name, double v_double, string origin); + [NoArrayLength ()] public void set_long_property (string name, long v_long, string origin); + [NoArrayLength ()] public void set_property_value (string name, Gtk.SettingsValue svalue); + [NoArrayLength ()] public void set_string_property (string name, string v_string, string origin); [NoAccessorMethod ()] public weak GLib.HashTable color_hash { get; } } public class SizeGroup : GLib.Object { + [NoArrayLength ()] public void add_widget (Gtk.Widget widget); + [NoArrayLength ()] public bool get_ignore_hidden (); + [NoArrayLength ()] public Gtk.SizeGroupMode get_mode (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public GLib.SList get_widgets (); + [NoArrayLength ()] public construct (Gtk.SizeGroupMode mode); + [NoArrayLength ()] public void remove_widget (Gtk.Widget widget); + [NoArrayLength ()] public void set_ignore_hidden (bool ignore_hidden); + [NoArrayLength ()] public void set_mode (Gtk.SizeGroupMode mode); public weak Gtk.SizeGroupMode mode { get; set; } public weak bool ignore_hidden { get; set; } } public class Socket : Gtk.Container { + [NoArrayLength ()] public void add_id (pointer window_id); + [NoArrayLength ()] public pointer get_id (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); public signal void plug_added (); public signal bool plug_removed (); } public class SpinButton : Gtk.Entry, Gtk.Editable { + [NoArrayLength ()] public void configure (Gtk.Adjustment adjustment, double climb_rate, uint digits); + [NoArrayLength ()] public Gtk.Adjustment get_adjustment (); + [NoArrayLength ()] public uint get_digits (); + [NoArrayLength ()] public void get_increments (double step, double page); + [NoArrayLength ()] public bool get_numeric (); + [NoArrayLength ()] public void get_range (double min, double max); + [NoArrayLength ()] public bool get_snap_to_ticks (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public Gtk.SpinButtonUpdatePolicy get_update_policy (); + [NoArrayLength ()] public double get_value (); + [NoArrayLength ()] public int get_value_as_int (); + [NoArrayLength ()] public bool get_wrap (); + [NoArrayLength ()] public construct (Gtk.Adjustment adjustment, double climb_rate, uint digits); + [NoArrayLength ()] public construct with_range (double min, double max, double step); + [NoArrayLength ()] public void set_adjustment (Gtk.Adjustment adjustment); + [NoArrayLength ()] public void set_digits (uint digits); + [NoArrayLength ()] public void set_increments (double step, double page); + [NoArrayLength ()] public void set_numeric (bool numeric); + [NoArrayLength ()] public void set_range (double min, double max); + [NoArrayLength ()] public void set_snap_to_ticks (bool snap_to_ticks); + [NoArrayLength ()] public void set_update_policy (Gtk.SpinButtonUpdatePolicy policy); + [NoArrayLength ()] public void set_value (double value); + [NoArrayLength ()] public void set_wrap (bool wrap); + [NoArrayLength ()] public void spin (Gtk.SpinType direction, double increment); + [NoArrayLength ()] public void update (); public weak Gtk.Adjustment adjustment { get; set; } [NoAccessorMethod ()] @@ -2419,41 +3734,72 @@ namespace Gtk { public signal void change_value (Gtk.ScrollType scroll); } public class Statusbar : Gtk.HBox { + [NoArrayLength ()] public uint get_context_id (string context_description); + [NoArrayLength ()] public bool get_has_resize_grip (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public void pop (uint context_id); + [NoArrayLength ()] public uint push (uint context_id, string text); + [NoArrayLength ()] public void remove (uint context_id, uint message_id); + [NoArrayLength ()] public void set_has_resize_grip (bool setting); public weak bool has_resize_grip { get; set; } public signal void text_pushed (uint context_id, string text); public signal void text_popped (uint context_id, string text); } public class StatusIcon : GLib.Object { + [NoArrayLength ()] public bool get_blinking (); + [NoArrayLength ()] public bool get_geometry (Gdk.Screen screen, Gdk.Rectangle area, Gtk.Orientation orientation); + [NoArrayLength ()] public string get_icon_name (); + [NoArrayLength ()] public Gdk.Pixbuf get_pixbuf (); + [NoArrayLength ()] public int get_size (); + [NoArrayLength ()] public string get_stock (); + [NoArrayLength ()] public Gtk.ImageType get_storage_type (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool get_visible (); + [NoArrayLength ()] public bool is_embedded (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public construct from_file (string filename); + [NoArrayLength ()] public construct from_icon_name (string icon_name); + [NoArrayLength ()] public construct from_pixbuf (Gdk.Pixbuf pixbuf); + [NoArrayLength ()] public construct from_stock (string stock_id); + [NoArrayLength ()] public static void position_menu (Gtk.Menu menu, int x, int y, bool push_in, pointer user_data); + [NoArrayLength ()] public void set_blinking (bool blinking); + [NoArrayLength ()] public void set_from_file (string filename); + [NoArrayLength ()] public void set_from_icon_name (string icon_name); + [NoArrayLength ()] public void set_from_pixbuf (Gdk.Pixbuf pixbuf); + [NoArrayLength ()] public void set_from_stock (string stock_id); + [NoArrayLength ()] public void set_tooltip (string tooltip_text); + [NoArrayLength ()] public void set_visible (bool visible); [NoAccessorMethod ()] public weak Gdk.Pixbuf pixbuf { get; set; } @@ -2496,34 +3842,59 @@ namespace Gtk { public weak Gdk.GC black_gc; public weak Gdk.GC white_gc; public weak Gdk.Pixmap bg_pixmap; + [NoArrayLength ()] public void apply_default_background (Gdk.Window window, bool set_bg, Gtk.StateType state_type, Gdk.Rectangle area, int x, int y, int width, int height); + [NoArrayLength ()] public Gtk.Style attach (Gdk.Window window); + [NoArrayLength ()] public Gtk.Style copy (); + [NoArrayLength ()] public void detach (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool lookup_color (string color_name, Gdk.Color color); + [NoArrayLength ()] public Gtk.IconSet lookup_icon_set (string stock_id); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public Gdk.Pixbuf render_icon (Gtk.IconSource source, Gtk.TextDirection direction, Gtk.StateType state, Gtk.IconSize size, Gtk.Widget widget, string detail); + [NoArrayLength ()] public void set_background (Gdk.Window window, Gtk.StateType state_type); public signal void realize (); public signal void unrealize (); } public class Table : Gtk.Container { + [NoArrayLength ()] public void attach (Gtk.Widget child, uint left_attach, uint right_attach, uint top_attach, uint bottom_attach, Gtk.AttachOptions xoptions, Gtk.AttachOptions yoptions, uint xpadding, uint ypadding); + [NoArrayLength ()] public void attach_defaults (Gtk.Widget widget, uint left_attach, uint right_attach, uint top_attach, uint bottom_attach); + [NoArrayLength ()] public uint get_col_spacing (uint column); + [NoArrayLength ()] public uint get_default_col_spacing (); + [NoArrayLength ()] public uint get_default_row_spacing (); + [NoArrayLength ()] public bool get_homogeneous (); + [NoArrayLength ()] public uint get_row_spacing (uint row); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (uint rows, uint columns, bool homogeneous); + [NoArrayLength ()] public void resize (uint rows, uint columns); + [NoArrayLength ()] public void set_col_spacing (uint column, uint spacing); + [NoArrayLength ()] public void set_col_spacings (uint spacing); + [NoArrayLength ()] public void set_homogeneous (bool homogeneous); + [NoArrayLength ()] public void set_row_spacing (uint row, uint spacing); + [NoArrayLength ()] public void set_row_spacings (uint spacing); [NoAccessorMethod ()] public weak uint n_rows { get; set; } @@ -2535,76 +3906,145 @@ namespace Gtk { public weak bool homogeneous { get; set; } } public class TearoffMenuItem : Gtk.MenuItem { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); } public class TextBuffer : GLib.Object { + [NoArrayLength ()] public void add_selection_clipboard (Gtk.Clipboard clipboard); + [NoArrayLength ()] public void apply_tag_by_name (string name, Gtk.TextIter start, Gtk.TextIter end); + [NoArrayLength ()] public bool backspace (Gtk.TextIter iter, bool interactive, bool default_editable); + [NoArrayLength ()] public void copy_clipboard (Gtk.Clipboard clipboard); + [NoArrayLength ()] public Gtk.TextChildAnchor create_child_anchor (Gtk.TextIter iter); + [NoArrayLength ()] public Gtk.TextMark create_mark (string mark_name, Gtk.TextIter where, bool left_gravity); + [NoArrayLength ()] public Gtk.TextTag create_tag (string tag_name, string first_property_name); + [NoArrayLength ()] public void cut_clipboard (Gtk.Clipboard clipboard, bool default_editable); + [NoArrayLength ()] public void delete (Gtk.TextIter start, Gtk.TextIter end); + [NoArrayLength ()] public bool delete_interactive (Gtk.TextIter start_iter, Gtk.TextIter end_iter, bool default_editable); + [NoArrayLength ()] public void delete_mark (Gtk.TextMark mark); + [NoArrayLength ()] public void delete_mark_by_name (string name); + [NoArrayLength ()] public bool delete_selection (bool interactive, bool default_editable); + [NoArrayLength ()] public bool deserialize (Gtk.TextBuffer content_buffer, Gdk.Atom format, Gtk.TextIter iter, uchar data, ulong length, GLib.Error error); + [NoArrayLength ()] public bool deserialize_get_can_create_tags (Gdk.Atom format); + [NoArrayLength ()] public void deserialize_set_can_create_tags (Gdk.Atom format, bool can_create_tags); + [NoArrayLength ()] public void get_bounds (Gtk.TextIter start, Gtk.TextIter end); + [NoArrayLength ()] public int get_char_count (); + [NoArrayLength ()] public Gtk.TargetList get_copy_target_list (); + [NoArrayLength ()] public Gdk.Atom get_deserialize_formats (int n_formats); + [NoArrayLength ()] public void get_end_iter (Gtk.TextIter iter); + [NoArrayLength ()] public bool get_has_selection (); + [NoArrayLength ()] public Gtk.TextMark get_insert (); + [NoArrayLength ()] public void get_iter_at_child_anchor (Gtk.TextIter iter, Gtk.TextChildAnchor anchor); + [NoArrayLength ()] public void get_iter_at_line (Gtk.TextIter iter, int line_number); + [NoArrayLength ()] public void get_iter_at_line_index (Gtk.TextIter iter, int line_number, int byte_index); + [NoArrayLength ()] public void get_iter_at_line_offset (Gtk.TextIter iter, int line_number, int char_offset); + [NoArrayLength ()] public void get_iter_at_mark (Gtk.TextIter iter, Gtk.TextMark mark); + [NoArrayLength ()] public void get_iter_at_offset (Gtk.TextIter iter, int char_offset); + [NoArrayLength ()] public int get_line_count (); + [NoArrayLength ()] public Gtk.TextMark get_mark (string name); + [NoArrayLength ()] public bool get_modified (); + [NoArrayLength ()] public Gtk.TargetList get_paste_target_list (); + [NoArrayLength ()] public Gtk.TextMark get_selection_bound (); + [NoArrayLength ()] public bool get_selection_bounds (Gtk.TextIter start, Gtk.TextIter end); + [NoArrayLength ()] public Gdk.Atom get_serialize_formats (int n_formats); + [NoArrayLength ()] public string get_slice (Gtk.TextIter start, Gtk.TextIter end, bool include_hidden_chars); + [NoArrayLength ()] public void get_start_iter (Gtk.TextIter iter); + [NoArrayLength ()] public Gtk.TextTagTable get_tag_table (); + [NoArrayLength ()] public string get_text (Gtk.TextIter start, Gtk.TextIter end, bool include_hidden_chars); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public void insert (Gtk.TextIter iter, string text, int len); + [NoArrayLength ()] public void insert_at_cursor (string text, int len); + [NoArrayLength ()] public bool insert_interactive (Gtk.TextIter iter, string text, int len, bool default_editable); + [NoArrayLength ()] public bool insert_interactive_at_cursor (string text, int len, bool default_editable); + [NoArrayLength ()] public void insert_range (Gtk.TextIter iter, Gtk.TextIter start, Gtk.TextIter end); + [NoArrayLength ()] public bool insert_range_interactive (Gtk.TextIter iter, Gtk.TextIter start, Gtk.TextIter end, bool default_editable); + [NoArrayLength ()] public void insert_with_tags (Gtk.TextIter iter, string text, int len, Gtk.TextTag first_tag); + [NoArrayLength ()] public void insert_with_tags_by_name (Gtk.TextIter iter, string text, int len, string first_tag_name); + [NoArrayLength ()] public void move_mark (Gtk.TextMark mark, Gtk.TextIter where); + [NoArrayLength ()] public void move_mark_by_name (string name, Gtk.TextIter where); + [NoArrayLength ()] public construct (Gtk.TextTagTable table); + [NoArrayLength ()] public void paste_clipboard (Gtk.Clipboard clipboard, Gtk.TextIter override_location, bool default_editable); + [NoArrayLength ()] public void place_cursor (Gtk.TextIter where); + [NoArrayLength ()] public Gdk.Atom register_deserialize_format (string mime_type, Gtk.TextBufferDeserializeFunc function, pointer user_data, GLib.DestroyNotify user_data_destroy); + [NoArrayLength ()] public Gdk.Atom register_deserialize_tagset (string tagset_name); + [NoArrayLength ()] public Gdk.Atom register_serialize_format (string mime_type, Gtk.TextBufferSerializeFunc function, pointer user_data, GLib.DestroyNotify user_data_destroy); + [NoArrayLength ()] public Gdk.Atom register_serialize_tagset (string tagset_name); + [NoArrayLength ()] public void remove_all_tags (Gtk.TextIter start, Gtk.TextIter end); + [NoArrayLength ()] public void remove_selection_clipboard (Gtk.Clipboard clipboard); + [NoArrayLength ()] public void remove_tag_by_name (string name, Gtk.TextIter start, Gtk.TextIter end); + [NoArrayLength ()] public void select_range (Gtk.TextIter ins, Gtk.TextIter bound); + [NoArrayLength ()] public uchar serialize (Gtk.TextBuffer content_buffer, Gdk.Atom format, Gtk.TextIter start, Gtk.TextIter end, ulong length); + [NoArrayLength ()] public void set_modified (bool setting); + [NoArrayLength ()] public void set_text (string text, int len); + [NoArrayLength ()] public void unregister_deserialize_format (Gdk.Atom format); + [NoArrayLength ()] public void unregister_serialize_format (Gdk.Atom format); [NoAccessorMethod ()] public weak Gtk.TextTagTable tag_table { get; construct; } @@ -2634,24 +4074,39 @@ namespace Gtk { public signal void end_user_action (); } public class TextChildAnchor : GLib.Object { + [NoArrayLength ()] public bool get_deleted (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public GLib.List get_widgets (); + [NoArrayLength ()] public construct (); } public class TextMark : GLib.Object { + [NoArrayLength ()] public Gtk.TextBuffer get_buffer (); + [NoArrayLength ()] public bool get_deleted (); + [NoArrayLength ()] public bool get_left_gravity (); + [NoArrayLength ()] public string get_name (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool get_visible (); + [NoArrayLength ()] public void set_visible (bool setting); } public class TextTag : GLib.Object { + [NoArrayLength ()] public int get_priority (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (string name); + [NoArrayLength ()] public void set_priority (int priority); [NoAccessorMethod ()] public weak string name { get; construct; } @@ -2729,75 +4184,140 @@ namespace Gtk { public signal bool event (GLib.Object event_object, Gdk.Event event, Gtk.TextIter iter); } public class TextTagTable : GLib.Object { + [NoArrayLength ()] public void add (Gtk.TextTag tag); + [NoArrayLength ()] public void @foreach (Gtk.TextTagTableForeach func, pointer data); + [NoArrayLength ()] public int get_size (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public Gtk.TextTag lookup (string name); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public void remove (Gtk.TextTag tag); public signal void tag_changed (Gtk.TextTag tag, bool size_changed); public signal void tag_added (Gtk.TextTag tag); public signal void tag_removed (Gtk.TextTag tag); } public class TextView : Gtk.Container { + [NoArrayLength ()] public void add_child_at_anchor (Gtk.Widget child, Gtk.TextChildAnchor anchor); + [NoArrayLength ()] public void add_child_in_window (Gtk.Widget child, Gtk.TextWindowType which_window, int xpos, int ypos); + [NoArrayLength ()] public bool backward_display_line (Gtk.TextIter iter); + [NoArrayLength ()] public bool backward_display_line_start (Gtk.TextIter iter); + [NoArrayLength ()] public void buffer_to_window_coords (Gtk.TextWindowType win, int buffer_x, int buffer_y, int window_x, int window_y); + [NoArrayLength ()] public bool forward_display_line (Gtk.TextIter iter); + [NoArrayLength ()] public bool forward_display_line_end (Gtk.TextIter iter); + [NoArrayLength ()] public bool get_accepts_tab (); + [NoArrayLength ()] public int get_border_window_size (Gtk.TextWindowType type); + [NoArrayLength ()] public Gtk.TextBuffer get_buffer (); + [NoArrayLength ()] public bool get_cursor_visible (); + [NoArrayLength ()] public Gtk.TextAttributes get_default_attributes (); + [NoArrayLength ()] public bool get_editable (); + [NoArrayLength ()] public int get_indent (); + [NoArrayLength ()] public void get_iter_at_location (Gtk.TextIter iter, int x, int y); + [NoArrayLength ()] public void get_iter_at_position (Gtk.TextIter iter, int trailing, int x, int y); + [NoArrayLength ()] public void get_iter_location (Gtk.TextIter iter, Gdk.Rectangle location); + [NoArrayLength ()] public Gtk.Justification get_justification (); + [NoArrayLength ()] public int get_left_margin (); + [NoArrayLength ()] public void get_line_at_y (Gtk.TextIter target_iter, int y, int line_top); + [NoArrayLength ()] public void get_line_yrange (Gtk.TextIter iter, int y, int height); + [NoArrayLength ()] public bool get_overwrite (); + [NoArrayLength ()] public int get_pixels_above_lines (); + [NoArrayLength ()] public int get_pixels_below_lines (); + [NoArrayLength ()] public int get_pixels_inside_wrap (); + [NoArrayLength ()] public int get_right_margin (); + [NoArrayLength ()] public Pango.TabArray get_tabs (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public void get_visible_rect (Gdk.Rectangle visible_rect); + [NoArrayLength ()] public Gdk.Window get_window (Gtk.TextWindowType win); + [NoArrayLength ()] public Gtk.TextWindowType get_window_type (Gdk.Window window); + [NoArrayLength ()] public Gtk.WrapMode get_wrap_mode (); + [NoArrayLength ()] public void move_child (Gtk.Widget child, int xpos, int ypos); + [NoArrayLength ()] public bool move_mark_onscreen (Gtk.TextMark mark); + [NoArrayLength ()] public bool move_visually (Gtk.TextIter iter, int count); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public construct with_buffer (Gtk.TextBuffer buffer); + [NoArrayLength ()] public bool place_cursor_onscreen (); + [NoArrayLength ()] public void scroll_mark_onscreen (Gtk.TextMark mark); + [NoArrayLength ()] public bool scroll_to_iter (Gtk.TextIter iter, double within_margin, bool use_align, double xalign, double yalign); + [NoArrayLength ()] public void scroll_to_mark (Gtk.TextMark mark, double within_margin, bool use_align, double xalign, double yalign); + [NoArrayLength ()] public void set_accepts_tab (bool accepts_tab); + [NoArrayLength ()] public void set_border_window_size (Gtk.TextWindowType type, int size); + [NoArrayLength ()] public void set_buffer (Gtk.TextBuffer buffer); + [NoArrayLength ()] public void set_cursor_visible (bool setting); + [NoArrayLength ()] public void set_editable (bool setting); + [NoArrayLength ()] public void set_indent (int indent); + [NoArrayLength ()] public void set_justification (Gtk.Justification justification); + [NoArrayLength ()] public void set_left_margin (int left_margin); + [NoArrayLength ()] public void set_overwrite (bool overwrite); + [NoArrayLength ()] public void set_pixels_above_lines (int pixels_above_lines); + [NoArrayLength ()] public void set_pixels_below_lines (int pixels_below_lines); + [NoArrayLength ()] public void set_pixels_inside_wrap (int pixels_inside_wrap); + [NoArrayLength ()] public void set_right_margin (int right_margin); + [NoArrayLength ()] public void set_tabs (Pango.TabArray tabs); + [NoArrayLength ()] public void set_wrap_mode (Gtk.WrapMode wrap_mode); + [NoArrayLength ()] public bool starts_display_line (Gtk.TextIter iter); + [NoArrayLength ()] public void window_to_buffer_coords (Gtk.TextWindowType win, int window_x, int window_y, int buffer_x, int buffer_y); public weak int pixels_above_lines { get; set; } public weak int pixels_below_lines { get; set; } @@ -2828,11 +4348,17 @@ namespace Gtk { public signal void populate_popup (Gtk.Menu menu); } public class ToggleAction : Gtk.Action { + [NoArrayLength ()] public bool get_active (); + [NoArrayLength ()] public bool get_draw_as_radio (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (string name, string label, string tooltip, string stock_id); + [NoArrayLength ()] public void set_active (bool is_active); + [NoArrayLength ()] public void set_draw_as_radio (bool draw_as_radio); public weak bool draw_as_radio { get; set; } public weak bool active { get; set; } @@ -2840,15 +4366,25 @@ namespace Gtk { public signal void toggled (); } public class ToggleButton : Gtk.Button { + [NoArrayLength ()] public bool get_active (); + [NoArrayLength ()] public bool get_inconsistent (); + [NoArrayLength ()] public bool get_mode (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public construct with_label (string label); + [NoArrayLength ()] public construct with_mnemonic (string label); + [NoArrayLength ()] public void set_active (bool is_active); + [NoArrayLength ()] public void set_inconsistent (bool setting); + [NoArrayLength ()] public void set_mode (bool draw_indicator); public weak bool active { get; set; } public weak bool inconsistent { get; set; } @@ -2858,10 +4394,15 @@ namespace Gtk { public signal void toggled (); } public class ToggleToolButton : Gtk.ToolButton { + [NoArrayLength ()] public bool get_active (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public construct from_stock (string stock_id); + [NoArrayLength ()] public void set_active (bool is_active); public weak bool active { get; set; } public signal void toggled (); @@ -2870,24 +4411,43 @@ namespace Gtk { public weak int num_children; public weak GLib.List children; public weak Gtk.ToolbarStyle style; + [NoArrayLength ()] public int get_drop_index (int x, int y); + [NoArrayLength ()] public Gtk.IconSize get_icon_size (); + [NoArrayLength ()] public int get_item_index (Gtk.ToolItem item); + [NoArrayLength ()] public int get_n_items (); + [NoArrayLength ()] public Gtk.ToolItem get_nth_item (int n); + [NoArrayLength ()] public Gtk.Orientation get_orientation (); + [NoArrayLength ()] public Gtk.ReliefStyle get_relief_style (); + [NoArrayLength ()] public bool get_show_arrow (); + [NoArrayLength ()] public Gtk.ToolbarStyle get_style (); + [NoArrayLength ()] public bool get_tooltips (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public void insert (Gtk.ToolItem item, int pos); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public void set_drop_highlight_item (Gtk.ToolItem tool_item, int index_); + [NoArrayLength ()] public void set_orientation (Gtk.Orientation orientation); + [NoArrayLength ()] public void set_show_arrow (bool show_arrow); + [NoArrayLength ()] public void set_style (Gtk.ToolbarStyle style); + [NoArrayLength ()] public void set_tooltips (bool enable); + [NoArrayLength ()] public void unset_style (); public weak Gtk.Orientation orientation { get; set; } [NoAccessorMethod ()] @@ -2903,29 +4463,51 @@ namespace Gtk { public signal bool popup_context_menu (int x, int y, int button_number); } public class Tooltips : Gtk.Object { + [NoArrayLength ()] public void disable (); + [NoArrayLength ()] public void enable (); + [NoArrayLength ()] public void force_window (); + [NoArrayLength ()] public static bool get_info_from_tip_window (Gtk.Window tip_window, Gtk.Tooltips tooltips, Gtk.Widget current_widget); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public void set_tip (Gtk.Widget widget, string tip_text, string tip_private); } public class ToolButton : Gtk.ToolItem { + [NoArrayLength ()] public string get_icon_name (); + [NoArrayLength ()] public Gtk.Widget get_icon_widget (); + [NoArrayLength ()] public string get_label (); + [NoArrayLength ()] public Gtk.Widget get_label_widget (); + [NoArrayLength ()] public string get_stock_id (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool get_use_underline (); + [NoArrayLength ()] public construct (Gtk.Widget icon_widget, string label); + [NoArrayLength ()] public construct from_stock (string stock_id); + [NoArrayLength ()] public void set_icon_name (string icon_name); + [NoArrayLength ()] public void set_icon_widget (Gtk.Widget icon_widget); + [NoArrayLength ()] public void set_label (string label); + [NoArrayLength ()] public void set_label_widget (Gtk.Widget label_widget); + [NoArrayLength ()] public void set_stock_id (string stock_id); + [NoArrayLength ()] public void set_use_underline (bool use_underline); public weak string label { get; set; } public weak bool use_underline { get; set; } @@ -2936,27 +4518,49 @@ namespace Gtk { public signal void clicked (); } public class ToolItem : Gtk.Bin { + [NoArrayLength ()] public bool get_expand (); + [NoArrayLength ()] public bool get_homogeneous (); + [NoArrayLength ()] public Gtk.IconSize get_icon_size (); + [NoArrayLength ()] public bool get_is_important (); + [NoArrayLength ()] public Gtk.Orientation get_orientation (); + [NoArrayLength ()] public Gtk.Widget get_proxy_menu_item (string menu_item_id); + [NoArrayLength ()] public Gtk.ReliefStyle get_relief_style (); + [NoArrayLength ()] public Gtk.ToolbarStyle get_toolbar_style (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool get_use_drag_window (); + [NoArrayLength ()] public bool get_visible_horizontal (); + [NoArrayLength ()] public bool get_visible_vertical (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public void rebuild_menu (); + [NoArrayLength ()] public Gtk.Widget retrieve_proxy_menu_item (); + [NoArrayLength ()] public void set_expand (bool expand); + [NoArrayLength ()] public void set_homogeneous (bool homogeneous); + [NoArrayLength ()] public void set_is_important (bool is_important); + [NoArrayLength ()] public void set_proxy_menu_item (string menu_item_id, Gtk.Widget menu_item); + [NoArrayLength ()] public void set_use_drag_window (bool use_drag_window); + [NoArrayLength ()] public void set_visible_horizontal (bool visible_horizontal); + [NoArrayLength ()] public void set_visible_vertical (bool visible_vertical); public weak bool visible_horizontal { get; set; } public weak bool visible_vertical { get; set; } @@ -2967,22 +4571,35 @@ namespace Gtk { public signal bool set_tooltip (Gtk.Tooltips tooltips, string tip_text, string tip_private); } public class TrayIcon : Gtk.Plug { + [NoArrayLength ()] public GLib.Type get_type (); [NoAccessorMethod ()] public weak Gtk.Orientation orientation { get; } } public class TreeModelFilter : GLib.Object, Gtk.TreeModel, Gtk.TreeDragSource { + [NoArrayLength ()] public void clear_cache (); + [NoArrayLength ()] public bool convert_child_iter_to_iter (Gtk.TreeIter filter_iter, Gtk.TreeIter child_iter); + [NoArrayLength ()] public Gtk.TreePath convert_child_path_to_path (Gtk.TreePath child_path); + [NoArrayLength ()] public void convert_iter_to_child_iter (Gtk.TreeIter child_iter, Gtk.TreeIter filter_iter); + [NoArrayLength ()] public Gtk.TreePath convert_path_to_child_path (Gtk.TreePath filter_path); + [NoArrayLength ()] public Gtk.TreeModel get_model (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (Gtk.TreeModel child_model, Gtk.TreePath root); + [NoArrayLength ()] public void refilter (); + [NoArrayLength ()] public void set_modify_func (int n_columns, GLib.Type types, Gtk.TreeModelFilterModifyFunc func, pointer data, Gtk.DestroyNotify destroy); + [NoArrayLength ()] public void set_visible_column (int column); + [NoArrayLength ()] public void set_visible_func (Gtk.TreeModelFilterVisibleFunc func, pointer data, Gtk.DestroyNotify destroy); [NoAccessorMethod ()] public weak Gtk.TreeModel child_model { get; construct; } @@ -2990,150 +4607,286 @@ namespace Gtk { public weak Gtk.TreePath virtual_root { get; construct; } } public class TreeModelSort : GLib.Object, Gtk.TreeModel, Gtk.TreeSortable, Gtk.TreeDragSource { + [NoArrayLength ()] public void clear_cache (); + [NoArrayLength ()] public void convert_child_iter_to_iter (Gtk.TreeIter sort_iter, Gtk.TreeIter child_iter); + [NoArrayLength ()] public Gtk.TreePath convert_child_path_to_path (Gtk.TreePath child_path); + [NoArrayLength ()] public void convert_iter_to_child_iter (Gtk.TreeIter child_iter, Gtk.TreeIter sorted_iter); + [NoArrayLength ()] public Gtk.TreePath convert_path_to_child_path (Gtk.TreePath sorted_path); + [NoArrayLength ()] public Gtk.TreeModel get_model (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool iter_is_valid (Gtk.TreeIter iter); + [NoArrayLength ()] public construct with_model (Gtk.TreeModel child_model); + [NoArrayLength ()] public void reset_default_sort_func (); [NoAccessorMethod ()] public weak Gtk.TreeModel model { get; construct; } } public class TreeSelection : GLib.Object { + [NoArrayLength ()] public int count_selected_rows (); + [NoArrayLength ()] public Gtk.SelectionMode get_mode (); + [NoArrayLength ()] public bool get_selected (Gtk.TreeModel model, Gtk.TreeIter iter); + [NoArrayLength ()] public GLib.List get_selected_rows (Gtk.TreeModel model); + [NoArrayLength ()] public Gtk.TreeView get_tree_view (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public pointer get_user_data (); + [NoArrayLength ()] public bool iter_is_selected (Gtk.TreeIter iter); + [NoArrayLength ()] public bool path_is_selected (Gtk.TreePath path); + [NoArrayLength ()] public void select_all (); + [NoArrayLength ()] public void select_iter (Gtk.TreeIter iter); + [NoArrayLength ()] public void select_path (Gtk.TreePath path); + [NoArrayLength ()] public void select_range (Gtk.TreePath start_path, Gtk.TreePath end_path); + [NoArrayLength ()] public void selected_foreach (Gtk.TreeSelectionForeachFunc func, pointer data); + [NoArrayLength ()] public void set_mode (Gtk.SelectionMode type); + [NoArrayLength ()] public void set_select_function (Gtk.TreeSelectionFunc func, pointer data, Gtk.DestroyNotify destroy); + [NoArrayLength ()] public void unselect_all (); + [NoArrayLength ()] public void unselect_iter (Gtk.TreeIter iter); + [NoArrayLength ()] public void unselect_path (Gtk.TreePath path); + [NoArrayLength ()] public void unselect_range (Gtk.TreePath start_path, Gtk.TreePath end_path); public signal void changed (); } public class TreeStore : GLib.Object, Gtk.TreeModel, Gtk.TreeDragSource, Gtk.TreeDragDest, Gtk.TreeSortable { + [NoArrayLength ()] public void append (Gtk.TreeIter iter, Gtk.TreeIter parent); + [NoArrayLength ()] public void clear (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public void insert (Gtk.TreeIter iter, Gtk.TreeIter parent, int position); + [NoArrayLength ()] public void insert_after (Gtk.TreeIter iter, Gtk.TreeIter parent, Gtk.TreeIter sibling); + [NoArrayLength ()] public void insert_before (Gtk.TreeIter iter, Gtk.TreeIter parent, Gtk.TreeIter sibling); + [NoArrayLength ()] public void insert_with_values (Gtk.TreeIter iter, Gtk.TreeIter parent, int position); + [NoArrayLength ()] public void insert_with_valuesv (Gtk.TreeIter iter, Gtk.TreeIter parent, int position, int columns, GLib.Value values, int n_values); + [NoArrayLength ()] public bool is_ancestor (Gtk.TreeIter iter, Gtk.TreeIter descendant); + [NoArrayLength ()] public int iter_depth (Gtk.TreeIter iter); + [NoArrayLength ()] public bool iter_is_valid (Gtk.TreeIter iter); + [NoArrayLength ()] public void move_after (Gtk.TreeIter iter, Gtk.TreeIter position); + [NoArrayLength ()] public void move_before (Gtk.TreeIter iter, Gtk.TreeIter position); + [NoArrayLength ()] public construct (int n_columns); + [NoArrayLength ()] public construct newv (int n_columns, GLib.Type types); + [NoArrayLength ()] public void prepend (Gtk.TreeIter iter, Gtk.TreeIter parent); + [NoArrayLength ()] public bool remove (Gtk.TreeIter iter); + [NoArrayLength ()] public void reorder (Gtk.TreeIter parent, int new_order); + [NoArrayLength ()] public void @set (Gtk.TreeIter iter); + [NoArrayLength ()] public void set_column_types (int n_columns, GLib.Type types); + [NoArrayLength ()] public void set_valist (Gtk.TreeIter iter, pointer var_args); + [NoArrayLength ()] public void set_value (Gtk.TreeIter iter, int column, GLib.Value value); + [NoArrayLength ()] public void swap (Gtk.TreeIter a, Gtk.TreeIter b); } public class TreeView : Gtk.Container { + [NoArrayLength ()] public int append_column (Gtk.TreeViewColumn column); + [NoArrayLength ()] public void collapse_all (); + [NoArrayLength ()] public bool collapse_row (Gtk.TreePath path); + [NoArrayLength ()] public void columns_autosize (); + [NoArrayLength ()] public Gdk.Pixmap create_row_drag_icon (Gtk.TreePath path); + [NoArrayLength ()] public void enable_model_drag_dest (Gtk.TargetEntry targets, int n_targets, Gdk.DragAction actions); + [NoArrayLength ()] public void enable_model_drag_source (Gdk.ModifierType start_button_mask, Gtk.TargetEntry targets, int n_targets, Gdk.DragAction actions); + [NoArrayLength ()] public void expand_all (); + [NoArrayLength ()] public bool expand_row (Gtk.TreePath path, bool open_all); + [NoArrayLength ()] public void expand_to_path (Gtk.TreePath path); + [NoArrayLength ()] public void get_background_area (Gtk.TreePath path, Gtk.TreeViewColumn column, Gdk.Rectangle rect); + [NoArrayLength ()] public Gdk.Window get_bin_window (); + [NoArrayLength ()] public void get_cell_area (Gtk.TreePath path, Gtk.TreeViewColumn column, Gdk.Rectangle rect); + [NoArrayLength ()] public Gtk.TreeViewColumn get_column (int n); + [NoArrayLength ()] public GLib.List get_columns (); + [NoArrayLength ()] public void get_cursor (Gtk.TreePath path, Gtk.TreeViewColumn focus_column); + [NoArrayLength ()] public bool get_dest_row_at_pos (int drag_x, int drag_y, Gtk.TreePath path, Gtk.TreeViewDropPosition pos); + [NoArrayLength ()] public void get_drag_dest_row (Gtk.TreePath path, Gtk.TreeViewDropPosition pos); + [NoArrayLength ()] public bool get_enable_search (); + [NoArrayLength ()] public bool get_enable_tree_lines (); + [NoArrayLength ()] public Gtk.TreeViewColumn get_expander_column (); + [NoArrayLength ()] public bool get_fixed_height_mode (); + [NoArrayLength ()] public Gtk.TreeViewGridLines get_grid_lines (); + [NoArrayLength ()] public Gtk.Adjustment get_hadjustment (); + [NoArrayLength ()] public bool get_headers_clickable (); + [NoArrayLength ()] public bool get_headers_visible (); + [NoArrayLength ()] public bool get_hover_expand (); + [NoArrayLength ()] public bool get_hover_selection (); + [NoArrayLength ()] public Gtk.TreeModel get_model (); + [NoArrayLength ()] public bool get_path_at_pos (int x, int y, Gtk.TreePath path, Gtk.TreeViewColumn column, int cell_x, int cell_y); + [NoArrayLength ()] public bool get_reorderable (); + [NoArrayLength ()] public Gtk.TreeViewRowSeparatorFunc get_row_separator_func (); + [NoArrayLength ()] public bool get_rubber_banding (); + [NoArrayLength ()] public bool get_rules_hint (); + [NoArrayLength ()] public int get_search_column (); + [NoArrayLength ()] public Gtk.Entry get_search_entry (); + [NoArrayLength ()] public Gtk.TreeViewSearchEqualFunc get_search_equal_func (); + [NoArrayLength ()] public Gtk.TreeViewSearchPositionFunc get_search_position_func (); + [NoArrayLength ()] public Gtk.TreeSelection get_selection (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public Gtk.Adjustment get_vadjustment (); + [NoArrayLength ()] public bool get_visible_range (Gtk.TreePath start_path, Gtk.TreePath end_path); + [NoArrayLength ()] public void get_visible_rect (Gdk.Rectangle visible_rect); + [NoArrayLength ()] public int insert_column (Gtk.TreeViewColumn column, int position); + [NoArrayLength ()] public int insert_column_with_attributes (int position, string title, Gtk.CellRenderer cell); + [NoArrayLength ()] public int insert_column_with_data_func (int position, string title, Gtk.CellRenderer cell, Gtk.TreeCellDataFunc func, pointer data, GLib.DestroyNotify dnotify); + [NoArrayLength ()] public void map_expanded_rows (Gtk.TreeViewMappingFunc func, pointer data); + [NoArrayLength ()] public GLib.Type mode_get_type (); + [NoArrayLength ()] public void move_column_after (Gtk.TreeViewColumn column, Gtk.TreeViewColumn base_column); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public construct with_model (Gtk.TreeModel model); + [NoArrayLength ()] public int remove_column (Gtk.TreeViewColumn column); + [NoArrayLength ()] public void scroll_to_cell (Gtk.TreePath path, Gtk.TreeViewColumn column, bool use_align, float row_align, float col_align); + [NoArrayLength ()] public void scroll_to_point (int tree_x, int tree_y); + [NoArrayLength ()] public void set_column_drag_function (Gtk.TreeViewColumnDropFunc func, pointer user_data, Gtk.DestroyNotify destroy); + [NoArrayLength ()] public void set_cursor (Gtk.TreePath path, Gtk.TreeViewColumn focus_column, bool start_editing); + [NoArrayLength ()] public void set_cursor_on_cell (Gtk.TreePath path, Gtk.TreeViewColumn focus_column, Gtk.CellRenderer focus_cell, bool start_editing); + [NoArrayLength ()] public void set_destroy_count_func (Gtk.TreeDestroyCountFunc func, pointer data, Gtk.DestroyNotify destroy); + [NoArrayLength ()] public void set_drag_dest_row (Gtk.TreePath path, Gtk.TreeViewDropPosition pos); + [NoArrayLength ()] public void set_enable_search (bool enable_search); + [NoArrayLength ()] public void set_enable_tree_lines (bool enabled); + [NoArrayLength ()] public void set_expander_column (Gtk.TreeViewColumn column); + [NoArrayLength ()] public void set_fixed_height_mode (bool enable); + [NoArrayLength ()] public void set_grid_lines (Gtk.TreeViewGridLines grid_lines); + [NoArrayLength ()] public void set_hadjustment (Gtk.Adjustment adjustment); + [NoArrayLength ()] public void set_headers_clickable (bool setting); + [NoArrayLength ()] public void set_headers_visible (bool headers_visible); + [NoArrayLength ()] public void set_hover_expand (bool expand); + [NoArrayLength ()] public void set_hover_selection (bool hover); + [NoArrayLength ()] public void set_model (Gtk.TreeModel model); + [NoArrayLength ()] public void set_reorderable (bool reorderable); + [NoArrayLength ()] public void set_row_separator_func (Gtk.TreeViewRowSeparatorFunc func, pointer data, Gtk.DestroyNotify destroy); + [NoArrayLength ()] public void set_rubber_banding (bool enable); + [NoArrayLength ()] public void set_rules_hint (bool setting); + [NoArrayLength ()] public void set_search_column (int column); + [NoArrayLength ()] public void set_search_entry (Gtk.Entry entry); + [NoArrayLength ()] public void set_search_equal_func (Gtk.TreeViewSearchEqualFunc search_equal_func, pointer search_user_data, Gtk.DestroyNotify search_destroy); + [NoArrayLength ()] public void set_search_position_func (Gtk.TreeViewSearchPositionFunc func, pointer data, GLib.DestroyNotify destroy); + [NoArrayLength ()] public void set_vadjustment (Gtk.Adjustment adjustment); + [NoArrayLength ()] public void tree_to_widget_coords (int tx, int ty, int wx, int wy); + [NoArrayLength ()] public void unset_rows_drag_dest (); + [NoArrayLength ()] public void unset_rows_drag_source (); + [NoArrayLength ()] public void widget_to_tree_coords (int wx, int wy, int tx, int ty); public weak Gtk.TreeModel model { get; set; } public weak Gtk.Adjustment hadjustment { get; set; } @@ -3176,55 +4929,105 @@ namespace Gtk { public signal bool start_interactive_search (); } public class TreeViewColumn : Gtk.Object, Gtk.CellLayout { + [NoArrayLength ()] public void add_attribute (Gtk.CellRenderer cell_renderer, string attribute, int column); + [NoArrayLength ()] public bool cell_get_position (Gtk.CellRenderer cell_renderer, int start_pos, int width); + [NoArrayLength ()] public void cell_get_size (Gdk.Rectangle cell_area, int x_offset, int y_offset, int width, int height); + [NoArrayLength ()] public bool cell_is_visible (); + [NoArrayLength ()] public void cell_set_cell_data (Gtk.TreeModel tree_model, Gtk.TreeIter iter, bool is_expander, bool is_expanded); + [NoArrayLength ()] public void clear (); + [NoArrayLength ()] public void clear_attributes (Gtk.CellRenderer cell_renderer); + [NoArrayLength ()] public void focus_cell (Gtk.CellRenderer cell); + [NoArrayLength ()] public float get_alignment (); + [NoArrayLength ()] public GLib.List get_cell_renderers (); + [NoArrayLength ()] public bool get_clickable (); + [NoArrayLength ()] public bool get_expand (); + [NoArrayLength ()] public int get_fixed_width (); + [NoArrayLength ()] public int get_max_width (); + [NoArrayLength ()] public int get_min_width (); + [NoArrayLength ()] public bool get_reorderable (); + [NoArrayLength ()] public bool get_resizable (); + [NoArrayLength ()] public Gtk.TreeViewColumnSizing get_sizing (); + [NoArrayLength ()] public int get_sort_column_id (); + [NoArrayLength ()] public bool get_sort_indicator (); + [NoArrayLength ()] public Gtk.SortType get_sort_order (); + [NoArrayLength ()] public int get_spacing (); + [NoArrayLength ()] public string get_title (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool get_visible (); + [NoArrayLength ()] public Gtk.Widget get_widget (); + [NoArrayLength ()] public int get_width (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public construct with_attributes (string title, Gtk.CellRenderer cell, ...); + [NoArrayLength ()] public void pack_end (Gtk.CellRenderer cell, bool expand); + [NoArrayLength ()] public void pack_start (Gtk.CellRenderer cell, bool expand); + [NoArrayLength ()] public void queue_resize (); + [NoArrayLength ()] public void set_alignment (float xalign); + [NoArrayLength ()] public void set_attributes (Gtk.CellRenderer cell_renderer); + [NoArrayLength ()] public void set_cell_data_func (Gtk.CellRenderer cell_renderer, Gtk.TreeCellDataFunc func, pointer func_data, Gtk.DestroyNotify destroy); + [NoArrayLength ()] public void set_clickable (bool clickable); + [NoArrayLength ()] public void set_expand (bool expand); + [NoArrayLength ()] public void set_fixed_width (int fixed_width); + [NoArrayLength ()] public void set_max_width (int max_width); + [NoArrayLength ()] public void set_min_width (int min_width); + [NoArrayLength ()] public void set_reorderable (bool reorderable); + [NoArrayLength ()] public void set_resizable (bool resizable); + [NoArrayLength ()] public void set_sizing (Gtk.TreeViewColumnSizing type); + [NoArrayLength ()] public void set_sort_column_id (int sort_column_id); + [NoArrayLength ()] public void set_sort_indicator (bool setting); + [NoArrayLength ()] public void set_sort_order (Gtk.SortType order); + [NoArrayLength ()] public void set_spacing (int spacing); + [NoArrayLength ()] public void set_title (string title); + [NoArrayLength ()] public void set_visible (bool visible); + [NoArrayLength ()] public void set_widget (Gtk.Widget widget); public weak bool visible { get; set; } public weak bool resizable { get; set; } @@ -3246,23 +5049,41 @@ namespace Gtk { public signal void clicked (); } public class UIManager : GLib.Object { + [NoArrayLength ()] public void add_ui (uint merge_id, string path, string name, string action, Gtk.UIManagerItemType type, bool top); + [NoArrayLength ()] public uint add_ui_from_file (string filename, GLib.Error error); + [NoArrayLength ()] public uint add_ui_from_string (string buffer, long length, GLib.Error error); + [NoArrayLength ()] public void ensure_update (); + [NoArrayLength ()] public Gtk.AccelGroup get_accel_group (); + [NoArrayLength ()] public Gtk.Action get_action (string path); + [NoArrayLength ()] public GLib.List get_action_groups (); + [NoArrayLength ()] public bool get_add_tearoffs (); + [NoArrayLength ()] public GLib.SList get_toplevels (Gtk.UIManagerItemType types); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public string get_ui (); + [NoArrayLength ()] public Gtk.Widget get_widget (string path); + [NoArrayLength ()] public void insert_action_group (Gtk.ActionGroup action_group, int pos); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public construct merge_id (); + [NoArrayLength ()] public void remove_action_group (Gtk.ActionGroup action_group); + [NoArrayLength ()] public void remove_ui (uint merge_id); + [NoArrayLength ()] public void set_add_tearoffs (bool add_tearoffs); public weak bool add_tearoffs { get; set; } public weak string ui { get; } @@ -3274,21 +5095,33 @@ namespace Gtk { public signal void post_activate (Gtk.Action action); } public class VBox : Gtk.Box { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (bool homogeneous, int spacing); } public class VButtonBox : Gtk.ButtonBox { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); } public class Viewport : Gtk.Bin { + [NoArrayLength ()] public Gtk.Adjustment get_hadjustment (); + [NoArrayLength ()] public Gtk.ShadowType get_shadow_type (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public Gtk.Adjustment get_vadjustment (); + [NoArrayLength ()] public construct (Gtk.Adjustment hadjustment, Gtk.Adjustment vadjustment); + [NoArrayLength ()] public void set_hadjustment (Gtk.Adjustment adjustment); + [NoArrayLength ()] public void set_shadow_type (Gtk.ShadowType type); + [NoArrayLength ()] public void set_vadjustment (Gtk.Adjustment adjustment); public weak Gtk.Adjustment hadjustment { get; set construct; } public weak Gtk.Adjustment vadjustment { get; set construct; } @@ -3296,141 +5129,264 @@ namespace Gtk { public signal void set_scroll_adjustments (Gtk.Adjustment hadjustment, Gtk.Adjustment vadjustment); } public class VPaned : Gtk.Paned { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); } public class VRuler : Gtk.Ruler { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); } public class VScale : Gtk.Scale { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (Gtk.Adjustment adjustment); + [NoArrayLength ()] public construct with_range (double min, double max, double step); } public class VScrollbar : Gtk.Scrollbar { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (Gtk.Adjustment adjustment); } public class VSeparator : Gtk.Separator { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); } public class Widget : Gtk.Object, Atk.Implementor { public weak Gtk.Requisition requisition; public weak pointer allocation; public weak Gdk.Window window; + [NoArrayLength ()] public bool activate (); + [NoArrayLength ()] public void add_accelerator (string accel_signal, Gtk.AccelGroup accel_group, uint accel_key, Gdk.ModifierType accel_mods, Gtk.AccelFlags accel_flags); + [NoArrayLength ()] public void add_events (int events); + [NoArrayLength ()] public void add_mnemonic_label (Gtk.Widget label); + [NoArrayLength ()] public bool child_focus (Gtk.DirectionType direction); + [NoArrayLength ()] public static GLib.ParamSpec class_find_style_property (pointer klass, string property_name); + [NoArrayLength ()] public static void class_install_style_property (pointer klass, GLib.ParamSpec pspec); + [NoArrayLength ()] public static void class_install_style_property_parser (pointer klass, GLib.ParamSpec pspec, Gtk.RcPropertyParser parser); + [NoArrayLength ()] public static GLib.ParamSpec class_list_style_properties (pointer klass, uint n_properties); + [NoArrayLength ()] public void class_path (uint path_length, string path, string path_reversed); + [NoArrayLength ()] public Pango.Context create_pango_context (); + [NoArrayLength ()] public Pango.Layout create_pango_layout (string text); + [NoArrayLength ()] public void destroyed (Gtk.Widget widget_pointer); + [NoArrayLength ()] public void ensure_style (); + [NoArrayLength ()] public void freeze_child_notify (); + [NoArrayLength ()] public Atk.Object get_accessible (); + [NoArrayLength ()] public Gtk.Action get_action (); + [NoArrayLength ()] public Gtk.Widget get_ancestor (GLib.Type widget_type); + [NoArrayLength ()] public void get_child_requisition (Gtk.Requisition requisition); + [NoArrayLength ()] public bool get_child_visible (); + [NoArrayLength ()] public Gtk.Clipboard get_clipboard (Gdk.Atom selection); + [NoArrayLength ()] public Gdk.Colormap get_colormap (); + [NoArrayLength ()] public string get_composite_name (); + [NoArrayLength ()] public Gdk.Colormap get_default_colormap (); + [NoArrayLength ()] public Gtk.TextDirection get_default_direction (); + [NoArrayLength ()] public Gtk.Style get_default_style (); + [NoArrayLength ()] public Gdk.Visual get_default_visual (); + [NoArrayLength ()] public Gtk.TextDirection get_direction (); + [NoArrayLength ()] public Gdk.Display get_display (); + [NoArrayLength ()] public int get_events (); + [NoArrayLength ()] public Gdk.ExtensionMode get_extension_events (); + [NoArrayLength ()] public Gtk.RcStyle get_modifier_style (); + [NoArrayLength ()] public string get_name (); + [NoArrayLength ()] public bool get_no_show_all (); + [NoArrayLength ()] public Pango.Context get_pango_context (); + [NoArrayLength ()] public Gtk.Widget get_parent (); + [NoArrayLength ()] public Gdk.Window get_parent_window (); + [NoArrayLength ()] public void get_pointer (int x, int y); + [NoArrayLength ()] public Gdk.Window get_root_window (); + [NoArrayLength ()] public Gdk.Screen get_screen (); + [NoArrayLength ()] public Gtk.Settings get_settings (); + [NoArrayLength ()] public void get_size_request (int width, int height); + [NoArrayLength ()] public Gtk.Style get_style (); + [NoArrayLength ()] public Gtk.Widget get_toplevel (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public Gdk.Visual get_visual (); + [NoArrayLength ()] public void grab_default (); + [NoArrayLength ()] public bool has_screen (); + [NoArrayLength ()] public void hide_all (); + [NoArrayLength ()] public bool hide_on_delete (); + [NoArrayLength ()] public void input_shape_combine_mask (Gdk.Bitmap shape_mask, int offset_x, int offset_y); + [NoArrayLength ()] public bool intersect (Gdk.Rectangle area, Gdk.Rectangle intersection); + [NoArrayLength ()] public bool is_ancestor (Gtk.Widget ancestor); + [NoArrayLength ()] public bool is_composited (); + [NoArrayLength ()] public GLib.List list_accel_closures (); + [NoArrayLength ()] public GLib.List list_mnemonic_labels (); + [NoArrayLength ()] public void modify_base (Gtk.StateType state, Gdk.Color color); + [NoArrayLength ()] public void modify_bg (Gtk.StateType state, Gdk.Color color); + [NoArrayLength ()] public void modify_fg (Gtk.StateType state, Gdk.Color color); + [NoArrayLength ()] public void modify_font (Pango.FontDescription font_desc); + [NoArrayLength ()] public void modify_style (Gtk.RcStyle style); + [NoArrayLength ()] public void modify_text (Gtk.StateType state, Gdk.Color color); + [NoArrayLength ()] public construct (GLib.Type type, string first_property_name); + [NoArrayLength ()] public void path (uint path_length, string path, string path_reversed); + [NoArrayLength ()] public void pop_colormap (); + [NoArrayLength ()] public void pop_composite_child (); + [NoArrayLength ()] public static void push_colormap (Gdk.Colormap cmap); + [NoArrayLength ()] public void push_composite_child (); + [NoArrayLength ()] public void queue_draw (); + [NoArrayLength ()] public void queue_draw_area (int x, int y, int width, int height); + [NoArrayLength ()] public void queue_resize (); + [NoArrayLength ()] public void queue_resize_no_redraw (); + [NoArrayLength ()] public Gtk.Widget @ref (); + [NoArrayLength ()] public Gdk.Region region_intersect (Gdk.Region region); + [NoArrayLength ()] public bool remove_accelerator (Gtk.AccelGroup accel_group, uint accel_key, Gdk.ModifierType accel_mods); + [NoArrayLength ()] public void remove_mnemonic_label (Gtk.Widget label); + [NoArrayLength ()] public Gdk.Pixbuf render_icon (string stock_id, Gtk.IconSize size, string detail); + [NoArrayLength ()] public void reparent (Gtk.Widget new_parent); + [NoArrayLength ()] public void reset_rc_styles (); + [NoArrayLength ()] public void reset_shapes (); + [NoArrayLength ()] public int send_expose (Gdk.Event event); + [NoArrayLength ()] public void set_accel_path (string accel_path, Gtk.AccelGroup accel_group); + [NoArrayLength ()] public void set_app_paintable (bool app_paintable); + [NoArrayLength ()] public void set_child_visible (bool is_visible); + [NoArrayLength ()] public void set_colormap (Gdk.Colormap colormap); + [NoArrayLength ()] public void set_composite_name (string name); + [NoArrayLength ()] public static void set_default_colormap (Gdk.Colormap colormap); + [NoArrayLength ()] public static void set_default_direction (Gtk.TextDirection dir); + [NoArrayLength ()] public void set_direction (Gtk.TextDirection dir); + [NoArrayLength ()] public void set_double_buffered (bool double_buffered); + [NoArrayLength ()] public void set_events (int events); + [NoArrayLength ()] public void set_extension_events (Gdk.ExtensionMode mode); + [NoArrayLength ()] public void set_name (string name); + [NoArrayLength ()] public void set_no_show_all (bool no_show_all); + [NoArrayLength ()] public void set_parent (Gtk.Widget parent); + [NoArrayLength ()] public void set_parent_window (Gdk.Window parent_window); + [NoArrayLength ()] public void set_redraw_on_allocate (bool redraw_on_allocate); + [NoArrayLength ()] public bool set_scroll_adjustments (Gtk.Adjustment hadjustment, Gtk.Adjustment vadjustment); + [NoArrayLength ()] public void set_sensitive (bool sensitive); + [NoArrayLength ()] public void set_size_request (int width, int height); + [NoArrayLength ()] public void set_state (Gtk.StateType state); + [NoArrayLength ()] public void set_style (Gtk.Style style); + [NoArrayLength ()] public void shape_combine_mask (Gdk.Bitmap shape_mask, int offset_x, int offset_y); + [NoArrayLength ()] public void show_all (); + [NoArrayLength ()] public void show_now (); + [NoArrayLength ()] public void style_get (string first_property_name); + [NoArrayLength ()] public void style_get_property (string property_name, GLib.Value value); + [NoArrayLength ()] public void style_get_valist (string first_property_name, pointer var_args); + [NoArrayLength ()] public void thaw_child_notify (); + [NoArrayLength ()] public bool translate_coordinates (Gtk.Widget dest_widget, int src_x, int src_y, int dest_x, int dest_y); + [NoArrayLength ()] public void unparent (); + [NoArrayLength ()] public void unref (); public weak string name { get; set; } public weak Gtk.Container parent { get; set; } @@ -3540,101 +5496,195 @@ namespace Gtk { public signal bool can_activate_accel (uint signal_id); } public class Win32EmbedWidget : Gtk.Window { + [NoArrayLength ()] public GLib.Type get_type (); } public class Window : Gtk.Bin { + [NoArrayLength ()] public bool activate_default (); + [NoArrayLength ()] public bool activate_focus (); + [NoArrayLength ()] public bool activate_key (Gdk.EventKey event); + [NoArrayLength ()] public void add_accel_group (Gtk.AccelGroup accel_group); + [NoArrayLength ()] public void add_embedded_xid (uint xid); + [NoArrayLength ()] public void add_mnemonic (uint keyval, Gtk.Widget target); + [NoArrayLength ()] public void begin_move_drag (int button, int root_x, int root_y, uint timestamp); + [NoArrayLength ()] public void begin_resize_drag (Gdk.WindowEdge edge, int button, int root_x, int root_y, uint timestamp); + [NoArrayLength ()] public void deiconify (); + [NoArrayLength ()] public void fullscreen (); + [NoArrayLength ()] public bool get_accept_focus (); + [NoArrayLength ()] public bool get_decorated (); + [NoArrayLength ()] public GLib.List get_default_icon_list (); + [NoArrayLength ()] public void get_default_size (int width, int height); + [NoArrayLength ()] public bool get_deletable (); + [NoArrayLength ()] public bool get_destroy_with_parent (); + [NoArrayLength ()] public Gtk.Widget get_focus (); + [NoArrayLength ()] public bool get_focus_on_map (); + [NoArrayLength ()] public void get_frame_dimensions (int left, int top, int right, int bottom); + [NoArrayLength ()] public Gdk.Gravity get_gravity (); + [NoArrayLength ()] public Gtk.WindowGroup get_group (); + [NoArrayLength ()] public bool get_has_frame (); + [NoArrayLength ()] public Gdk.Pixbuf get_icon (); + [NoArrayLength ()] public GLib.List get_icon_list (); + [NoArrayLength ()] public string get_icon_name (); + [NoArrayLength ()] public Gdk.ModifierType get_mnemonic_modifier (); + [NoArrayLength ()] public bool get_modal (); + [NoArrayLength ()] public void get_position (int root_x, int root_y); + [NoArrayLength ()] public bool get_resizable (); + [NoArrayLength ()] public string get_role (); + [NoArrayLength ()] public Gdk.Screen get_screen (); + [NoArrayLength ()] public void get_size (int width, int height); + [NoArrayLength ()] public bool get_skip_pager_hint (); + [NoArrayLength ()] public bool get_skip_taskbar_hint (); + [NoArrayLength ()] public string get_title (); + [NoArrayLength ()] public Gtk.Window get_transient_for (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public Gdk.WindowTypeHint get_type_hint (); + [NoArrayLength ()] public bool get_urgency_hint (); + [NoArrayLength ()] public void iconify (); + [NoArrayLength ()] public GLib.List list_toplevels (); + [NoArrayLength ()] public void maximize (); + [NoArrayLength ()] public bool mnemonic_activate (uint keyval, Gdk.ModifierType modifier); + [NoArrayLength ()] public void move (int x, int y); + [NoArrayLength ()] public construct (Gtk.WindowType type); + [NoArrayLength ()] public bool parse_geometry (string geometry); + [NoArrayLength ()] public void present (); + [NoArrayLength ()] public void present_with_time (uint timestamp); + [NoArrayLength ()] public bool propagate_key_event (Gdk.EventKey event); + [NoArrayLength ()] public void remove_accel_group (Gtk.AccelGroup accel_group); + [NoArrayLength ()] public void remove_embedded_xid (uint xid); + [NoArrayLength ()] public void remove_mnemonic (uint keyval, Gtk.Widget target); + [NoArrayLength ()] public void reshow_with_initial_size (); + [NoArrayLength ()] public void resize (int width, int height); + [NoArrayLength ()] public void set_accept_focus (bool setting); + [NoArrayLength ()] public static void set_auto_startup_notification (bool setting); + [NoArrayLength ()] public void set_decorated (bool setting); + [NoArrayLength ()] public void set_default (Gtk.Widget default_widget); + [NoArrayLength ()] public static void set_default_icon (Gdk.Pixbuf icon); + [NoArrayLength ()] public static bool set_default_icon_from_file (string filename, GLib.Error err); + [NoArrayLength ()] public static void set_default_icon_list (GLib.List list); + [NoArrayLength ()] public static void set_default_icon_name (string name); + [NoArrayLength ()] public void set_default_size (int width, int height); + [NoArrayLength ()] public void set_deletable (bool setting); + [NoArrayLength ()] public void set_destroy_with_parent (bool setting); + [NoArrayLength ()] public void set_focus_on_map (bool setting); + [NoArrayLength ()] public void set_frame_dimensions (int left, int top, int right, int bottom); + [NoArrayLength ()] public void set_geometry_hints (Gtk.Widget geometry_widget, Gdk.Geometry geometry, Gdk.WindowHints geom_mask); + [NoArrayLength ()] public void set_gravity (Gdk.Gravity gravity); + [NoArrayLength ()] public void set_has_frame (bool setting); + [NoArrayLength ()] public void set_icon (Gdk.Pixbuf icon); + [NoArrayLength ()] public bool set_icon_from_file (string filename, GLib.Error err); + [NoArrayLength ()] public void set_icon_list (GLib.List list); + [NoArrayLength ()] public void set_icon_name (string name); + [NoArrayLength ()] public void set_keep_above (bool setting); + [NoArrayLength ()] public void set_keep_below (bool setting); + [NoArrayLength ()] public void set_mnemonic_modifier (Gdk.ModifierType modifier); + [NoArrayLength ()] public void set_modal (bool modal); + [NoArrayLength ()] public void set_position (Gtk.WindowPosition position); + [NoArrayLength ()] public void set_resizable (bool resizable); + [NoArrayLength ()] public void set_role (string role); + [NoArrayLength ()] public void set_screen (Gdk.Screen screen); + [NoArrayLength ()] public void set_skip_pager_hint (bool setting); + [NoArrayLength ()] public void set_skip_taskbar_hint (bool setting); + [NoArrayLength ()] public void set_title (string title); + [NoArrayLength ()] public void set_transient_for (Gtk.Window parent); + [NoArrayLength ()] public void set_type_hint (Gdk.WindowTypeHint hint); + [NoArrayLength ()] public void set_urgency_hint (bool setting); + [NoArrayLength ()] public void set_wmclass (string wmclass_name, string wmclass_class); + [NoArrayLength ()] public void stick (); + [NoArrayLength ()] public void unfullscreen (); + [NoArrayLength ()] public void unmaximize (); + [NoArrayLength ()] public void unstick (); [NoAccessorMethod ()] public weak Gtk.WindowType type { get; construct; } @@ -3679,185 +5729,345 @@ namespace Gtk { public signal void keys_changed (); } public class WindowGroup : GLib.Object { + [NoArrayLength ()] public void add_window (Gtk.Window window); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public void remove_window (Gtk.Window window); } public interface CellEditable { + [NoArrayLength ()] public void editing_done (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public void remove_widget (); + [NoArrayLength ()] public void start_editing (Gdk.Event event); } public interface CellLayout { + [NoArrayLength ()] public void add_attribute (Gtk.CellRenderer cell, string attribute, int column); + [NoArrayLength ()] public void clear (); + [NoArrayLength ()] public void clear_attributes (Gtk.CellRenderer cell); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public void pack_end (Gtk.CellRenderer cell, bool expand); + [NoArrayLength ()] public void pack_start (Gtk.CellRenderer cell, bool expand); + [NoArrayLength ()] public void reorder (Gtk.CellRenderer cell, int position); + [NoArrayLength ()] public void set_attributes (Gtk.CellRenderer cell); + [NoArrayLength ()] public void set_cell_data_func (Gtk.CellRenderer cell, Gtk.CellLayoutDataFunc func, pointer func_data, GLib.DestroyNotify destroy); } public interface Editable { + [NoArrayLength ()] public void copy_clipboard (); + [NoArrayLength ()] public void cut_clipboard (); + [NoArrayLength ()] public void delete_selection (); + [NoArrayLength ()] public void delete_text (int start_pos, int end_pos); + [NoArrayLength ()] public string get_chars (int start_pos, int end_pos); + [NoArrayLength ()] public bool get_editable (); + [NoArrayLength ()] public int get_position (); + [NoArrayLength ()] public bool get_selection_bounds (int start, int end); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public void insert_text (string new_text, int new_text_length, int position); + [NoArrayLength ()] public void paste_clipboard (); + [NoArrayLength ()] public void select_region (int start, int end); + [NoArrayLength ()] public void set_editable (bool is_editable); + [NoArrayLength ()] public void set_position (int position); } public interface FileChooser { + [NoArrayLength ()] public void add_filter (Gtk.FileFilter filter); + [NoArrayLength ()] public bool add_shortcut_folder (string folder, GLib.Error error); + [NoArrayLength ()] public bool add_shortcut_folder_uri (string uri, GLib.Error error); + [NoArrayLength ()] public GLib.Quark error_quark (); + [NoArrayLength ()] public Gtk.FileChooserAction get_action (); + [NoArrayLength ()] public string get_current_folder (); + [NoArrayLength ()] public string get_current_folder_uri (); + [NoArrayLength ()] public bool get_do_overwrite_confirmation (); + [NoArrayLength ()] public Gtk.Widget get_extra_widget (); + [NoArrayLength ()] public string get_filename (); + [NoArrayLength ()] public GLib.SList get_filenames (); + [NoArrayLength ()] public Gtk.FileFilter get_filter (); + [NoArrayLength ()] public bool get_local_only (); + [NoArrayLength ()] public string get_preview_filename (); + [NoArrayLength ()] public string get_preview_uri (); + [NoArrayLength ()] public Gtk.Widget get_preview_widget (); + [NoArrayLength ()] public bool get_preview_widget_active (); + [NoArrayLength ()] public bool get_select_multiple (); + [NoArrayLength ()] public bool get_show_hidden (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public string get_uri (); + [NoArrayLength ()] public GLib.SList get_uris (); + [NoArrayLength ()] public bool get_use_preview_label (); + [NoArrayLength ()] public GLib.SList list_filters (); + [NoArrayLength ()] public GLib.SList list_shortcut_folder_uris (); + [NoArrayLength ()] public GLib.SList list_shortcut_folders (); + [NoArrayLength ()] public void remove_filter (Gtk.FileFilter filter); + [NoArrayLength ()] public bool remove_shortcut_folder (string folder, GLib.Error error); + [NoArrayLength ()] public bool remove_shortcut_folder_uri (string uri, GLib.Error error); + [NoArrayLength ()] public void select_all (); + [NoArrayLength ()] public bool select_filename (string filename); + [NoArrayLength ()] public bool select_uri (string uri); + [NoArrayLength ()] public void set_action (Gtk.FileChooserAction action); + [NoArrayLength ()] public bool set_current_folder (string filename); + [NoArrayLength ()] public bool set_current_folder_uri (string uri); + [NoArrayLength ()] public void set_current_name (string name); + [NoArrayLength ()] public void set_do_overwrite_confirmation (bool do_overwrite_confirmation); + [NoArrayLength ()] public void set_extra_widget (Gtk.Widget extra_widget); + [NoArrayLength ()] public bool set_filename (string filename); + [NoArrayLength ()] public void set_filter (Gtk.FileFilter filter); + [NoArrayLength ()] public void set_local_only (bool local_only); + [NoArrayLength ()] public void set_preview_widget (Gtk.Widget preview_widget); + [NoArrayLength ()] public void set_preview_widget_active (bool active); + [NoArrayLength ()] public void set_select_multiple (bool select_multiple); + [NoArrayLength ()] public void set_show_hidden (bool show_hidden); + [NoArrayLength ()] public bool set_uri (string uri); + [NoArrayLength ()] public void set_use_preview_label (bool use_label); + [NoArrayLength ()] public void unselect_all (); + [NoArrayLength ()] public void unselect_filename (string filename); + [NoArrayLength ()] public void unselect_uri (string uri); } public interface PrintOperationPreview { + [NoArrayLength ()] public void end_preview (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool is_selected (int page_nr); + [NoArrayLength ()] public void render_page (int page_nr); } public interface RecentChooser { + [NoArrayLength ()] public void add_filter (Gtk.RecentFilter filter); + [NoArrayLength ()] public GLib.Quark error_quark (); + [NoArrayLength ()] public Gtk.RecentInfo get_current_item (); + [NoArrayLength ()] public string get_current_uri (); + [NoArrayLength ()] public Gtk.RecentFilter get_filter (); + [NoArrayLength ()] public GLib.List get_items (); + [NoArrayLength ()] public int get_limit (); + [NoArrayLength ()] public bool get_local_only (); + [NoArrayLength ()] public bool get_select_multiple (); + [NoArrayLength ()] public bool get_show_icons (); + [NoArrayLength ()] public bool get_show_not_found (); + [NoArrayLength ()] public bool get_show_numbers (); + [NoArrayLength ()] public bool get_show_private (); + [NoArrayLength ()] public bool get_show_tips (); + [NoArrayLength ()] public Gtk.RecentSortType get_sort_type (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public string get_uris (ulong length); + [NoArrayLength ()] public GLib.SList list_filters (); + [NoArrayLength ()] public void remove_filter (Gtk.RecentFilter filter); + [NoArrayLength ()] public void select_all (); + [NoArrayLength ()] public bool select_uri (string uri, GLib.Error error); + [NoArrayLength ()] public bool set_current_uri (string uri, GLib.Error error); + [NoArrayLength ()] public void set_filter (Gtk.RecentFilter filter); + [NoArrayLength ()] public void set_limit (int limit); + [NoArrayLength ()] public void set_local_only (bool local_only); + [NoArrayLength ()] public void set_select_multiple (bool select_multiple); + [NoArrayLength ()] public void set_show_icons (bool show_icons); + [NoArrayLength ()] public void set_show_not_found (bool show_not_found); + [NoArrayLength ()] public void set_show_numbers (bool show_numbers); + [NoArrayLength ()] public void set_show_private (bool show_private); + [NoArrayLength ()] public void set_show_tips (bool show_tips); + [NoArrayLength ()] public void set_sort_func (Gtk.RecentSortFunc sort_func, pointer sort_data, GLib.DestroyNotify data_destroy); + [NoArrayLength ()] public void set_sort_type (Gtk.RecentSortType sort_type); + [NoArrayLength ()] public void unselect_all (); + [NoArrayLength ()] public void unselect_uri (string uri); } public interface TreeDragDest { + [NoArrayLength ()] public bool drag_data_received (Gtk.TreePath dest, Gtk.SelectionData selection_data); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool row_drop_possible (Gtk.TreePath dest_path, Gtk.SelectionData selection_data); } public interface TreeDragSource { + [NoArrayLength ()] public bool drag_data_delete (Gtk.TreePath path); + [NoArrayLength ()] public bool drag_data_get (Gtk.TreePath path, Gtk.SelectionData selection_data); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool row_draggable (Gtk.TreePath path); } public interface TreeModel { + [NoArrayLength ()] public void @foreach (Gtk.TreeModelForeachFunc func, pointer user_data); + [NoArrayLength ()] public void @get (Gtk.TreeIter iter); + [NoArrayLength ()] public GLib.Type get_column_type (int index_); + [NoArrayLength ()] public Gtk.TreeModelFlags get_flags (); + [NoArrayLength ()] public bool get_iter (Gtk.TreeIter iter, Gtk.TreePath path); + [NoArrayLength ()] public bool get_iter_first (Gtk.TreeIter iter); + [NoArrayLength ()] public bool get_iter_from_string (Gtk.TreeIter iter, string path_string); + [NoArrayLength ()] public int get_n_columns (); + [NoArrayLength ()] public Gtk.TreePath get_path (Gtk.TreeIter iter); + [NoArrayLength ()] public string get_string_from_iter (Gtk.TreeIter iter); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public void get_valist (Gtk.TreeIter iter, pointer var_args); + [NoArrayLength ()] public void get_value (Gtk.TreeIter iter, int column, GLib.Value value); + [NoArrayLength ()] public bool iter_children (Gtk.TreeIter iter, Gtk.TreeIter parent); + [NoArrayLength ()] public bool iter_has_child (Gtk.TreeIter iter); + [NoArrayLength ()] public int iter_n_children (Gtk.TreeIter iter); + [NoArrayLength ()] public bool iter_next (Gtk.TreeIter iter); + [NoArrayLength ()] public bool iter_nth_child (Gtk.TreeIter iter, Gtk.TreeIter parent, int n); + [NoArrayLength ()] public bool iter_parent (Gtk.TreeIter iter, Gtk.TreeIter child); + [NoArrayLength ()] public void ref_node (Gtk.TreeIter iter); + [NoArrayLength ()] public void row_changed (Gtk.TreePath path, Gtk.TreeIter iter); + [NoArrayLength ()] public void row_deleted (Gtk.TreePath path); + [NoArrayLength ()] public void row_has_child_toggled (Gtk.TreePath path, Gtk.TreeIter iter); + [NoArrayLength ()] public void row_inserted (Gtk.TreePath path, Gtk.TreeIter iter); + [NoArrayLength ()] public void rows_reordered (Gtk.TreePath path, Gtk.TreeIter iter, int new_order); + [NoArrayLength ()] public void unref_node (Gtk.TreeIter iter); } public interface TreeSortable { + [NoArrayLength ()] public bool get_sort_column_id (int sort_column_id, Gtk.SortType order); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool has_default_sort_func (); + [NoArrayLength ()] public void set_default_sort_func (Gtk.TreeIterCompareFunc sort_func, pointer user_data, Gtk.DestroyNotify destroy); + [NoArrayLength ()] public void set_sort_column_id (int sort_column_id, Gtk.SortType order); + [NoArrayLength ()] public void set_sort_func (int sort_column_id, Gtk.TreeIterCompareFunc sort_func, pointer user_data, Gtk.DestroyNotify destroy); + [NoArrayLength ()] public void sort_column_changed (); } [ReferenceType ()] @@ -3896,9 +6106,13 @@ namespace Gtk { public weak Gtk.BindingEntry set_next; public weak Gtk.BindingEntry hash_next; public weak Gtk.BindingSignal signals; + [NoArrayLength ()] public static void add_signal (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers, string signal_name, uint n_args); + [NoArrayLength ()] public static void add_signall (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers, string signal_name, GLib.SList binding_args); + [NoArrayLength ()] public static void clear (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers); + [NoArrayLength ()] public static void remove (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers); } [ReferenceType ()] @@ -3911,10 +6125,15 @@ namespace Gtk { public weak Gtk.BindingEntry entries; public weak Gtk.BindingEntry current; public weak uint parsed; + [NoArrayLength ()] public bool activate (uint keyval, Gdk.ModifierType modifiers, Gtk.Object object); + [NoArrayLength ()] public void add_path (Gtk.PathType path_type, string path_pattern, Gtk.PathPriorityType priority); + [NoArrayLength ()] public static Gtk.BindingSet by_class (pointer object_class); + [NoArrayLength ()] public static Gtk.BindingSet find (string set_name); + [NoArrayLength ()] public construct (string set_name); } [ReferenceType ()] @@ -3925,8 +6144,11 @@ namespace Gtk { public weak Gtk.BindingArg args; } public struct Border { + [NoArrayLength ()] public Gtk.Border copy (); + [NoArrayLength ()] public void free (); + [NoArrayLength ()] public GLib.Type get_type (); } [ReferenceType ()] @@ -3961,51 +6183,93 @@ namespace Gtk { public weak string default_locales; } public struct IconInfo { + [NoArrayLength ()] public Gtk.IconInfo copy (); + [NoArrayLength ()] public void free (); + [NoArrayLength ()] public bool get_attach_points (Gdk.Point points, int n_points); + [NoArrayLength ()] public int get_base_size (); + [NoArrayLength ()] public Gdk.Pixbuf get_builtin_pixbuf (); + [NoArrayLength ()] public string get_display_name (); + [NoArrayLength ()] public bool get_embedded_rect (Gdk.Rectangle rectangle); + [NoArrayLength ()] public string get_filename (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public Gdk.Pixbuf load_icon (GLib.Error error); + [NoArrayLength ()] public void set_raw_coordinates (bool raw_coordinates); } public struct IconSet { + [NoArrayLength ()] public void add_source (Gtk.IconSource source); + [NoArrayLength ()] public Gtk.IconSet copy (); + [NoArrayLength ()] public void get_sizes (Gtk.IconSize sizes, int n_sizes); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public construct from_pixbuf (Gdk.Pixbuf pixbuf); + [NoArrayLength ()] public Gtk.IconSet @ref (); + [NoArrayLength ()] public Gdk.Pixbuf render_icon (Gtk.Style style, Gtk.TextDirection direction, Gtk.StateType state, Gtk.IconSize size, Gtk.Widget widget, string detail); + [NoArrayLength ()] public void unref (); } public struct IconSource { + [NoArrayLength ()] public Gtk.IconSource copy (); + [NoArrayLength ()] public void free (); + [NoArrayLength ()] public Gtk.TextDirection get_direction (); + [NoArrayLength ()] public bool get_direction_wildcarded (); + [NoArrayLength ()] public string get_filename (); + [NoArrayLength ()] public string get_icon_name (); + [NoArrayLength ()] public Gdk.Pixbuf get_pixbuf (); + [NoArrayLength ()] public Gtk.IconSize get_size (); + [NoArrayLength ()] public bool get_size_wildcarded (); + [NoArrayLength ()] public Gtk.StateType get_state (); + [NoArrayLength ()] public bool get_state_wildcarded (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public void set_direction (Gtk.TextDirection direction); + [NoArrayLength ()] public void set_direction_wildcarded (bool setting); + [NoArrayLength ()] public void set_filename (string filename); + [NoArrayLength ()] public void set_icon_name (string icon_name); + [NoArrayLength ()] public void set_pixbuf (Gdk.Pixbuf pixbuf); + [NoArrayLength ()] public void set_size (Gtk.IconSize size); + [NoArrayLength ()] public void set_size_wildcarded (bool setting); + [NoArrayLength ()] public void set_state (Gtk.StateType state); + [NoArrayLength ()] public void set_state_wildcarded (bool setting); } [ReferenceType ()] @@ -4059,6 +6323,7 @@ namespace Gtk { } [ReferenceType ()] public struct NotebookPage { + [NoArrayLength ()] public static int num (Gtk.Notebook notebook, Gtk.Widget child); } [ReferenceType ()] @@ -4067,24 +6332,43 @@ namespace Gtk { public weak int end; } public struct PaperSize { + [NoArrayLength ()] public Gtk.PaperSize copy (); + [NoArrayLength ()] public void free (); + [NoArrayLength ()] public string get_default (); + [NoArrayLength ()] public double get_default_bottom_margin (Gtk.Unit unit); + [NoArrayLength ()] public double get_default_left_margin (Gtk.Unit unit); + [NoArrayLength ()] public double get_default_right_margin (Gtk.Unit unit); + [NoArrayLength ()] public double get_default_top_margin (Gtk.Unit unit); + [NoArrayLength ()] public string get_display_name (); + [NoArrayLength ()] public double get_height (Gtk.Unit unit); + [NoArrayLength ()] public string get_name (); + [NoArrayLength ()] public string get_ppd_name (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public double get_width (Gtk.Unit unit); + [NoArrayLength ()] public bool is_custom (); + [NoArrayLength ()] public bool is_equal (Gtk.PaperSize size2); + [NoArrayLength ()] public construct (string name); + [NoArrayLength ()] public construct custom (string name, string display_name, double width, double height, Gtk.Unit unit); + [NoArrayLength ()] public construct from_ppd (string ppd_name, string ppd_display_name, double width, double height); + [NoArrayLength ()] public void set_size (double width, double height, Gtk.Unit unit); } [ReferenceType ()] @@ -4093,9 +6377,13 @@ namespace Gtk { public weak string device; public weak string output; public weak int @flags; + [NoArrayLength ()] public void free (); + [NoArrayLength ()] public static pointer from_printer_name (string printer); + [NoArrayLength ()] public static Gtk.PrintWin32Devnames from_win32 (pointer global); + [NoArrayLength ()] public pointer to_win32 (); } [ReferenceType ()] @@ -4122,10 +6410,15 @@ namespace Gtk { public weak GLib.Quark property_name; public weak string origin; public weak GLib.Value value; + [NoArrayLength ()] public static bool parse_border (GLib.ParamSpec pspec, GLib.String gstring, GLib.Value property_value); + [NoArrayLength ()] public static bool parse_color (GLib.ParamSpec pspec, GLib.String gstring, GLib.Value property_value); + [NoArrayLength ()] public static bool parse_enum (GLib.ParamSpec pspec, GLib.String gstring, GLib.Value property_value); + [NoArrayLength ()] public static bool parse_flags (GLib.ParamSpec pspec, GLib.String gstring, GLib.Value property_value); + [NoArrayLength ()] public static bool parse_requisition (GLib.ParamSpec pspec, GLib.String gstring, GLib.Value property_value); } [ReferenceType ()] @@ -4149,34 +6442,61 @@ namespace Gtk { public weak int age; } public struct RecentInfo { + [NoArrayLength ()] public bool exists (); + [NoArrayLength ()] public ulong get_added (); + [NoArrayLength ()] public int get_age (); + [NoArrayLength ()] public bool get_application_info (string app_name, string app_exec, uint count, ulong time_); + [NoArrayLength ()] public string get_applications (ulong length); + [NoArrayLength ()] public string get_description (); + [NoArrayLength ()] public string get_display_name (); + [NoArrayLength ()] public string get_groups (ulong length); + [NoArrayLength ()] public Gdk.Pixbuf get_icon (int size); + [NoArrayLength ()] public string get_mime_type (); + [NoArrayLength ()] public ulong get_modified (); + [NoArrayLength ()] public bool get_private_hint (); + [NoArrayLength ()] public string get_short_name (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public string get_uri (); + [NoArrayLength ()] public string get_uri_display (); + [NoArrayLength ()] public ulong get_visited (); + [NoArrayLength ()] public bool has_application (string app_name); + [NoArrayLength ()] public bool has_group (string group_name); + [NoArrayLength ()] public bool is_local (); + [NoArrayLength ()] public string last_application (); + [NoArrayLength ()] public bool match (Gtk.RecentInfo info_b); + [NoArrayLength ()] public Gtk.RecentInfo @ref (); + [NoArrayLength ()] public void unref (); } public struct Requisition { + [NoArrayLength ()] public Gtk.Requisition copy (); + [NoArrayLength ()] public void free (); + [NoArrayLength ()] public GLib.Type get_type (); } [ReferenceType ()] @@ -4188,20 +6508,35 @@ namespace Gtk { public weak int subdivide; } public struct SelectionData { + [NoArrayLength ()] public Gtk.SelectionData copy (); + [NoArrayLength ()] public void free (); + [NoArrayLength ()] public Gdk.Pixbuf get_pixbuf (); + [NoArrayLength ()] public bool get_targets (Gdk.Atom targets, int n_atoms); + [NoArrayLength ()] public uchar get_text (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public string get_uris (); + [NoArrayLength ()] public void @set (Gdk.Atom type, int format, uchar data, int length); + [NoArrayLength ()] public bool set_pixbuf (Gdk.Pixbuf pixbuf); + [NoArrayLength ()] public bool set_text (string str, int len); + [NoArrayLength ()] public bool set_uris (string uris); + [NoArrayLength ()] public bool targets_include_image (bool writable); + [NoArrayLength ()] public bool targets_include_rich_text (Gtk.TextBuffer buffer); + [NoArrayLength ()] public bool targets_include_text (); + [NoArrayLength ()] public bool targets_include_uri (); } [ReferenceType ()] @@ -4219,7 +6554,9 @@ namespace Gtk { public weak Gdk.ModifierType modifier; public weak uint keyval; public weak string translation_domain; + [NoArrayLength ()] public Gtk.StockItem copy (); + [NoArrayLength ()] public void free (); } [ReferenceType ()] @@ -4256,17 +6593,29 @@ namespace Gtk { public weak uint info; } public struct TargetList { + [NoArrayLength ()] public void add (Gdk.Atom target, uint @flags, uint info); + [NoArrayLength ()] public void add_image_targets (uint info, bool writable); + [NoArrayLength ()] public void add_rich_text_targets (uint info, bool deserializable, Gtk.TextBuffer buffer); + [NoArrayLength ()] public void add_table (Gtk.TargetEntry targets, uint ntargets); + [NoArrayLength ()] public void add_text_targets (uint info); + [NoArrayLength ()] public void add_uri_targets (uint info); + [NoArrayLength ()] public bool find (Gdk.Atom target, uint info); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (Gtk.TargetEntry targets, uint ntargets); + [NoArrayLength ()] public Gtk.TargetList @ref (); + [NoArrayLength ()] public void remove (Gdk.Atom target); + [NoArrayLength ()] public void unref (); } [ReferenceType ()] @@ -4289,107 +6638,204 @@ namespace Gtk { public weak uint is_text; } public struct TextAttributes { + [NoArrayLength ()] public Gtk.TextAttributes copy (); + [NoArrayLength ()] public void copy_values (Gtk.TextAttributes dest); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public Gtk.TextAttributes @ref (); + [NoArrayLength ()] public void unref (); } [ReferenceType ()] public struct TextBTree { } public struct TextIter { + [NoArrayLength ()] public bool backward_char (); + [NoArrayLength ()] public bool backward_chars (int count); + [NoArrayLength ()] public bool backward_cursor_position (); + [NoArrayLength ()] public bool backward_cursor_positions (int count); + [NoArrayLength ()] public bool backward_find_char (Gtk.TextCharPredicate pred, pointer user_data, Gtk.TextIter limit); + [NoArrayLength ()] public bool backward_line (); + [NoArrayLength ()] public bool backward_lines (int count); + [NoArrayLength ()] public bool backward_search (string str, Gtk.TextSearchFlags @flags, Gtk.TextIter match_start, Gtk.TextIter match_end, Gtk.TextIter limit); + [NoArrayLength ()] public bool backward_sentence_start (); + [NoArrayLength ()] public bool backward_sentence_starts (int count); + [NoArrayLength ()] public bool backward_to_tag_toggle (Gtk.TextTag tag); + [NoArrayLength ()] public bool backward_visible_cursor_position (); + [NoArrayLength ()] public bool backward_visible_cursor_positions (int count); + [NoArrayLength ()] public bool backward_visible_line (); + [NoArrayLength ()] public bool backward_visible_lines (int count); + [NoArrayLength ()] public bool backward_visible_word_start (); + [NoArrayLength ()] public bool backward_visible_word_starts (int count); + [NoArrayLength ()] public bool backward_word_start (); + [NoArrayLength ()] public bool backward_word_starts (int count); + [NoArrayLength ()] public bool begins_tag (Gtk.TextTag tag); + [NoArrayLength ()] public bool can_insert (bool default_editability); + [NoArrayLength ()] public int compare (Gtk.TextIter rhs); + [NoArrayLength ()] public Gtk.TextIter copy (); + [NoArrayLength ()] public bool editable (bool default_setting); + [NoArrayLength ()] public bool ends_line (); + [NoArrayLength ()] public bool ends_sentence (); + [NoArrayLength ()] public bool ends_tag (Gtk.TextTag tag); + [NoArrayLength ()] public bool ends_word (); + [NoArrayLength ()] public bool equal (Gtk.TextIter rhs); + [NoArrayLength ()] public bool forward_char (); + [NoArrayLength ()] public bool forward_chars (int count); + [NoArrayLength ()] public bool forward_cursor_position (); + [NoArrayLength ()] public bool forward_cursor_positions (int count); + [NoArrayLength ()] public bool forward_find_char (Gtk.TextCharPredicate pred, pointer user_data, Gtk.TextIter limit); + [NoArrayLength ()] public bool forward_line (); + [NoArrayLength ()] public bool forward_lines (int count); + [NoArrayLength ()] public bool forward_search (string str, Gtk.TextSearchFlags @flags, Gtk.TextIter match_start, Gtk.TextIter match_end, Gtk.TextIter limit); + [NoArrayLength ()] public bool forward_sentence_end (); + [NoArrayLength ()] public bool forward_sentence_ends (int count); + [NoArrayLength ()] public void forward_to_end (); + [NoArrayLength ()] public bool forward_to_line_end (); + [NoArrayLength ()] public bool forward_to_tag_toggle (Gtk.TextTag tag); + [NoArrayLength ()] public bool forward_visible_cursor_position (); + [NoArrayLength ()] public bool forward_visible_cursor_positions (int count); + [NoArrayLength ()] public bool forward_visible_line (); + [NoArrayLength ()] public bool forward_visible_lines (int count); + [NoArrayLength ()] public bool forward_visible_word_end (); + [NoArrayLength ()] public bool forward_visible_word_ends (int count); + [NoArrayLength ()] public bool forward_word_end (); + [NoArrayLength ()] public bool forward_word_ends (int count); + [NoArrayLength ()] public void free (); + [NoArrayLength ()] public bool get_attributes (Gtk.TextAttributes values); + [NoArrayLength ()] public Gtk.TextBuffer get_buffer (); + [NoArrayLength ()] public int get_bytes_in_line (); + [NoArrayLength ()] public unichar get_char (); + [NoArrayLength ()] public int get_chars_in_line (); + [NoArrayLength ()] public Gtk.TextChildAnchor get_child_anchor (); + [NoArrayLength ()] public Pango.Language get_language (); + [NoArrayLength ()] public int get_line (); + [NoArrayLength ()] public int get_line_index (); + [NoArrayLength ()] public int get_line_offset (); + [NoArrayLength ()] public GLib.SList get_marks (); + [NoArrayLength ()] public int get_offset (); + [NoArrayLength ()] public Gdk.Pixbuf get_pixbuf (); + [NoArrayLength ()] public string get_slice (Gtk.TextIter end); + [NoArrayLength ()] public GLib.SList get_tags (); + [NoArrayLength ()] public string get_text (Gtk.TextIter end); + [NoArrayLength ()] public GLib.SList get_toggled_tags (bool toggled_on); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public int get_visible_line_index (); + [NoArrayLength ()] public int get_visible_line_offset (); + [NoArrayLength ()] public string get_visible_slice (Gtk.TextIter end); + [NoArrayLength ()] public string get_visible_text (Gtk.TextIter end); + [NoArrayLength ()] public bool has_tag (Gtk.TextTag tag); + [NoArrayLength ()] public bool in_range (Gtk.TextIter start, Gtk.TextIter end); + [NoArrayLength ()] public bool inside_sentence (); + [NoArrayLength ()] public bool inside_word (); + [NoArrayLength ()] public bool is_cursor_position (); + [NoArrayLength ()] public bool is_end (); + [NoArrayLength ()] public bool is_start (); + [NoArrayLength ()] public void order (Gtk.TextIter second); + [NoArrayLength ()] public void set_line (int line_number); + [NoArrayLength ()] public void set_line_index (int byte_on_line); + [NoArrayLength ()] public void set_line_offset (int char_on_line); + [NoArrayLength ()] public void set_offset (int char_offset); + [NoArrayLength ()] public void set_visible_line_index (int byte_on_line); + [NoArrayLength ()] public void set_visible_line_offset (int char_on_line); + [NoArrayLength ()] public bool starts_line (); + [NoArrayLength ()] public bool starts_sentence (); + [NoArrayLength ()] public bool starts_word (); + [NoArrayLength ()] public bool toggles_tag (Gtk.TextTag tag); } [ReferenceType ()] @@ -4420,45 +6866,79 @@ namespace Gtk { public weak Gtk.Widget widget; public weak string tip_text; public weak string tip_private; + [NoArrayLength ()] public static Gtk.TooltipsData @get (Gtk.Widget widget); } public struct TreeIter { + [NoArrayLength ()] public Gtk.TreeIter copy (); + [NoArrayLength ()] public void free (); + [NoArrayLength ()] public GLib.Type get_type (); } public struct TreePath { + [NoArrayLength ()] public void append_index (int index_); + [NoArrayLength ()] public int compare (Gtk.TreePath b); + [NoArrayLength ()] public Gtk.TreePath copy (); + [NoArrayLength ()] public void down (); + [NoArrayLength ()] public void free (); + [NoArrayLength ()] public int get_depth (); + [NoArrayLength ()] public int get_indices (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool is_ancestor (Gtk.TreePath descendant); + [NoArrayLength ()] public bool is_descendant (Gtk.TreePath ancestor); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public construct first (); + [NoArrayLength ()] public construct from_indices (int first_index); + [NoArrayLength ()] public construct from_string (string path); + [NoArrayLength ()] public void next (); + [NoArrayLength ()] public void prepend_index (int index_); + [NoArrayLength ()] public bool prev (); + [NoArrayLength ()] public string to_string (); + [NoArrayLength ()] public bool up (); } public struct TreeRowReference { + [NoArrayLength ()] public Gtk.TreeRowReference copy (); + [NoArrayLength ()] public static void deleted (GLib.Object proxy, Gtk.TreePath path); + [NoArrayLength ()] public void free (); + [NoArrayLength ()] public Gtk.TreeModel get_model (); + [NoArrayLength ()] public Gtk.TreePath get_path (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public static void inserted (GLib.Object proxy, Gtk.TreePath path); + [NoArrayLength ()] public construct (Gtk.TreeModel model, Gtk.TreePath path); + [NoArrayLength ()] public construct proxy (GLib.Object proxy, Gtk.TreeModel model, Gtk.TreePath path); + [NoArrayLength ()] public static void reordered (GLib.Object proxy, Gtk.TreePath path, Gtk.TreeIter iter, int new_order); + [NoArrayLength ()] public bool valid (); } [ReferenceType ()] @@ -4481,135 +6961,238 @@ namespace Gtk { } [ReferenceType ()] public struct Accel { + [NoArrayLength ()] public static bool groups_activate (GLib.Object object, uint accel_key, Gdk.ModifierType accel_mods); + [NoArrayLength ()] public static GLib.SList groups_from_object (GLib.Object object); } [ReferenceType ()] public struct Accelerator { + [NoArrayLength ()] public uint get_default_mod_mask (); + [NoArrayLength ()] public static string get_label (uint accelerator_key, Gdk.ModifierType accelerator_mods); + [NoArrayLength ()] public static string name (uint accelerator_key, Gdk.ModifierType accelerator_mods); + [NoArrayLength ()] public static void parse (string accelerator, uint accelerator_key, Gdk.ModifierType accelerator_mods); + [NoArrayLength ()] public static void set_default_mod_mask (Gdk.ModifierType default_mod_mask); + [NoArrayLength ()] public static bool valid (uint keyval, Gdk.ModifierType modifiers); } [ReferenceType ()] public struct Global { + [NoArrayLength ()] public static bool _alternative_dialog_button_order (Gdk.Screen screen); + [NoArrayLength ()] public static uint _binding_parse_binding (GLib.Scanner scanner); + [NoArrayLength ()] public GLib.Type _cell_type_get_type (); + [NoArrayLength ()] public static string _check_version (uint required_major, uint required_minor, uint required_micro); + [NoArrayLength ()] public GLib.Type _clist_drag_pos_get_type (); + [NoArrayLength ()] public void _disable_setlocale (); + [NoArrayLength ()] public static void _enumerate_printers (Gtk.PrinterFunc func, pointer data, GLib.DestroyNotify destroy, bool wait); + [NoArrayLength ()] public bool _events_pending (); + [NoArrayLength ()] public Gdk.Event _get_current_event (); + [NoArrayLength ()] public static bool _get_current_event_state (Gdk.ModifierType state); + [NoArrayLength ()] public uint _get_current_event_time (); + [NoArrayLength ()] public Pango.Language _get_default_language (); + [NoArrayLength ()] public static Gtk.Widget _get_event_widget (Gdk.Event event); + [NoArrayLength ()] public static GLib.OptionGroup _get_option_group (bool open_default_display); + [NoArrayLength ()] public GLib.Type _identifier_get_type (); + [NoArrayLength ()] public static void _paint_arrow (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, Gtk.ArrowType arrow_type, bool fill, int x, int y, int width, int height); + [NoArrayLength ()] public static void _paint_box (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, int width, int height); + [NoArrayLength ()] public static void _paint_box_gap (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, int width, int height, Gtk.PositionType gap_side, int gap_x, int gap_width); + [NoArrayLength ()] public static void _paint_check (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, int width, int height); + [NoArrayLength ()] public static void _paint_diamond (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, int width, int height); + [NoArrayLength ()] public static void _paint_expander (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, Gtk.ExpanderStyle expander_style); + [NoArrayLength ()] public static void _paint_extension (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, int width, int height, Gtk.PositionType gap_side); + [NoArrayLength ()] public static void _paint_flat_box (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, int width, int height); + [NoArrayLength ()] public static void _paint_focus (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, int width, int height); + [NoArrayLength ()] public static void _paint_handle (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, int width, int height, Gtk.Orientation orientation); + [NoArrayLength ()] public static void _paint_hline (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x1, int x2, int y); + [NoArrayLength ()] public static void _paint_layout (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, bool use_text, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, Pango.Layout layout); + [NoArrayLength ()] public static void _paint_option (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, int width, int height); + [NoArrayLength ()] public static void _paint_polygon (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, Gdk.Point points, int npoints, bool fill); + [NoArrayLength ()] public static void _paint_resize_grip (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, Gdk.WindowEdge edge, int x, int y, int width, int height); + [NoArrayLength ()] public static void _paint_shadow (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, int width, int height); + [NoArrayLength ()] public static void _paint_shadow_gap (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, int width, int height, Gtk.PositionType gap_side, int gap_x, int gap_width); + [NoArrayLength ()] public static void _paint_slider (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, int width, int height, Gtk.Orientation orientation); + [NoArrayLength ()] public static void _paint_tab (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, int width, int height); + [NoArrayLength ()] public static void _paint_vline (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int y1_, int y2_, int x); + [NoArrayLength ()] public static bool _parse_args (int argc, string argv); + [NoArrayLength ()] public GLib.Type _private_flags_get_type (); + [NoArrayLength ()] public static void _propagate_event (Gtk.Widget widget, Gdk.Event event); + [NoArrayLength ()] public static void _rgb_to_hsv (double r, double g, double b, double h, double s, double v); + [NoArrayLength ()] public string _set_locale (); + [NoArrayLength ()] public static void _show_about_dialog (Gtk.Window parent, string first_property_name); + [NoArrayLength ()] public static void _text_layout_draw (pointer layout, Gtk.Widget widget, Gdk.Drawable drawable, Gdk.GC cursor_gc, int x_offset, int y_offset, int x, int y, int width, int height, GLib.List widgets); } [ReferenceType ()] public struct Bindings { + [NoArrayLength ()] public static bool activate (Gtk.Object object, uint keyval, Gdk.ModifierType modifiers); + [NoArrayLength ()] public static bool activate_event (Gtk.Object object, Gdk.EventKey event); } [ReferenceType ()] public struct Ctree { + [NoArrayLength ()] public GLib.Type expander_style_get_type (); + [NoArrayLength ()] public GLib.Type expansion_type_get_type (); + [NoArrayLength ()] public GLib.Type line_style_get_type (); + [NoArrayLength ()] public GLib.Type pos_get_type (); } [ReferenceType ()] public struct Drag { + [NoArrayLength ()] public static Gdk.DragContext begin (Gtk.Widget widget, Gtk.TargetList targets, Gdk.DragAction actions, int button, Gdk.Event event); + [NoArrayLength ()] public static bool check_threshold (Gtk.Widget widget, int start_x, int start_y, int current_x, int current_y); + [NoArrayLength ()] public static void dest_add_image_targets (Gtk.Widget widget); + [NoArrayLength ()] public static void dest_add_text_targets (Gtk.Widget widget); + [NoArrayLength ()] public static void dest_add_uri_targets (Gtk.Widget widget); + [NoArrayLength ()] public static Gdk.Atom dest_find_target (Gtk.Widget widget, Gdk.DragContext context, Gtk.TargetList target_list); + [NoArrayLength ()] public static Gtk.TargetList dest_get_target_list (Gtk.Widget widget); + [NoArrayLength ()] public static bool dest_get_track_motion (Gtk.Widget widget); + [NoArrayLength ()] public static void dest_set (Gtk.Widget widget, Gtk.DestDefaults @flags, Gtk.TargetEntry targets, int n_targets, Gdk.DragAction actions); + [NoArrayLength ()] public static void dest_set_proxy (Gtk.Widget widget, Gdk.Window proxy_window, Gdk.DragProtocol protocol, bool use_coordinates); + [NoArrayLength ()] public static void dest_set_target_list (Gtk.Widget widget, Gtk.TargetList target_list); + [NoArrayLength ()] public static void dest_set_track_motion (Gtk.Widget widget, bool track_motion); + [NoArrayLength ()] public static void dest_unset (Gtk.Widget widget); + [NoArrayLength ()] public static void finish (Gdk.DragContext context, bool success, bool del, uint time_); + [NoArrayLength ()] public static void get_data (Gtk.Widget widget, Gdk.DragContext context, Gdk.Atom target, uint time_); + [NoArrayLength ()] public static Gtk.Widget get_source_widget (Gdk.DragContext context); + [NoArrayLength ()] public static void highlight (Gtk.Widget widget); + [NoArrayLength ()] public static void set_icon_default (Gdk.DragContext context); + [NoArrayLength ()] public static void set_icon_name (Gdk.DragContext context, string icon_name, int hot_x, int hot_y); + [NoArrayLength ()] public static void set_icon_pixbuf (Gdk.DragContext context, Gdk.Pixbuf pixbuf, int hot_x, int hot_y); + [NoArrayLength ()] public static void set_icon_pixmap (Gdk.DragContext context, Gdk.Colormap colormap, Gdk.Pixmap pixmap, Gdk.Bitmap mask, int hot_x, int hot_y); + [NoArrayLength ()] public static void set_icon_stock (Gdk.DragContext context, string stock_id, int hot_x, int hot_y); + [NoArrayLength ()] public static void set_icon_widget (Gdk.DragContext context, Gtk.Widget widget, int hot_x, int hot_y); + [NoArrayLength ()] public static void source_add_image_targets (Gtk.Widget widget); + [NoArrayLength ()] public static void source_add_text_targets (Gtk.Widget widget); + [NoArrayLength ()] public static void source_add_uri_targets (Gtk.Widget widget); + [NoArrayLength ()] public static Gtk.TargetList source_get_target_list (Gtk.Widget widget); + [NoArrayLength ()] public static void source_set (Gtk.Widget widget, Gdk.ModifierType start_button_mask, Gtk.TargetEntry targets, int n_targets, Gdk.DragAction actions); + [NoArrayLength ()] public static void source_set_icon (Gtk.Widget widget, Gdk.Colormap colormap, Gdk.Pixmap pixmap, Gdk.Bitmap mask); + [NoArrayLength ()] public static void source_set_icon_name (Gtk.Widget widget, string icon_name); + [NoArrayLength ()] public static void source_set_icon_pixbuf (Gtk.Widget widget, Gdk.Pixbuf pixbuf); + [NoArrayLength ()] public static void source_set_icon_stock (Gtk.Widget widget, string stock_id); + [NoArrayLength ()] public static void source_set_target_list (Gtk.Widget widget, Gtk.TargetList target_list); + [NoArrayLength ()] public static void source_unset (Gtk.Widget widget); + [NoArrayLength ()] public static void unhighlight (Gtk.Widget widget); } [ReferenceType ()] public struct Draw { + [NoArrayLength ()] public static void insertion_cursor (Gtk.Widget widget, Gdk.Drawable drawable, Gdk.Rectangle area, Gdk.Rectangle location, bool is_primary, Gtk.TextDirection direction, bool draw_arrow); } [ReferenceType ()] public struct Gc { + [NoArrayLength ()] public static Gdk.GC @get (int depth, Gdk.Colormap colormap, Gdk.GCValues values, Gdk.GCValuesMask values_mask); + [NoArrayLength ()] public static void release (Gdk.GC gc); } [ReferenceType ()] public struct Grab { + [NoArrayLength ()] public static void add (Gtk.Widget widget); + [NoArrayLength ()] public Gtk.Widget get_current (); + [NoArrayLength ()] public static void remove (Gtk.Widget widget); } [ReferenceType ()] public struct Icon { + [NoArrayLength ()] public static Gtk.IconSize size_from_name (string name); + [NoArrayLength ()] public static string size_get_name (Gtk.IconSize size); + [NoArrayLength ()] public static bool size_lookup (Gtk.IconSize size, int width, int height); + [NoArrayLength ()] public static bool size_lookup_for_settings (Gtk.Settings settings, Gtk.IconSize size, int width, int height); + [NoArrayLength ()] public static Gtk.IconSize size_register (string name, int width, int height); + [NoArrayLength ()] public static void size_register_alias (string alias, Gtk.IconSize target); } [ReferenceType ()] @@ -4617,10 +7200,15 @@ namespace Gtk { } [ReferenceType ()] public struct Init { + [NoArrayLength ()] public static void abi_check (int argc, string argv, int num_checks, ulong sizeof_GtkWindow, ulong sizeof_GtkBox); + [NoArrayLength ()] public static void add (Gtk.Function function, pointer data); + [NoArrayLength ()] public static bool check (int argc, string argv); + [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, GLib.OptionEntry entries, string translation_domain, GLib.Error error); } [ReferenceType ()] @@ -4628,61 +7216,102 @@ namespace Gtk { } [ReferenceType ()] public struct Key { + [NoArrayLength ()] public static uint snooper_install (Gtk.KeySnoopFunc snooper, pointer func_data); + [NoArrayLength ()] public static void snooper_remove (uint snooper_handler_id); } [ReferenceType ()] public struct Main { + [NoArrayLength ()] public static void do_event (Gdk.Event event); + [NoArrayLength ()] public bool iteration (); + [NoArrayLength ()] public static bool iteration_do (bool blocking); + [NoArrayLength ()] public uint level (); + [NoArrayLength ()] public void quit (); } [ReferenceType ()] public struct Print { + [NoArrayLength ()] public GLib.Quark error_quark (); + [NoArrayLength ()] public static Gtk.PageSetup run_page_setup_dialog (Gtk.Window parent, Gtk.PageSetup page_setup, Gtk.PrintSettings settings); + [NoArrayLength ()] public static void run_page_setup_dialog_async (Gtk.Window parent, Gtk.PageSetup page_setup, Gtk.PrintSettings settings, Gtk.PageSetupDoneFunc done_cb, pointer data); } [ReferenceType ()] public struct Quit { + [NoArrayLength ()] public static uint add (uint main_level, Gtk.Function function, pointer data); + [NoArrayLength ()] public static void add_destroy (uint main_level, Gtk.Object object); + [NoArrayLength ()] public static void remove (uint quit_handler_id); + [NoArrayLength ()] public static void remove_by_data (pointer data); } [ReferenceType ()] public struct Rc { + [NoArrayLength ()] public static void add_default_file (string filename); + [NoArrayLength ()] public static string find_module_in_path (string module_file); + [NoArrayLength ()] public static string find_pixmap_in_path (Gtk.Settings settings, GLib.Scanner scanner, string pixmap_file); + [NoArrayLength ()] public string get_default_files (); + [NoArrayLength ()] public string get_im_module_file (); + [NoArrayLength ()] public string get_im_module_path (); + [NoArrayLength ()] public string get_module_dir (); + [NoArrayLength ()] public static Gtk.Style get_style (Gtk.Widget widget); + [NoArrayLength ()] public static Gtk.Style get_style_by_paths (Gtk.Settings settings, string widget_path, string class_path, GLib.Type type); + [NoArrayLength ()] public string get_theme_dir (); + [NoArrayLength ()] public static void parse (string filename); + [NoArrayLength ()] public static uint parse_color (GLib.Scanner scanner, Gdk.Color color); + [NoArrayLength ()] public static uint parse_priority (GLib.Scanner scanner, Gtk.PathPriorityType priority); + [NoArrayLength ()] public static uint parse_state (GLib.Scanner scanner, Gtk.StateType state); + [NoArrayLength ()] public static void parse_string (string rc_string); + [NoArrayLength ()] public bool reparse_all (); + [NoArrayLength ()] public static bool reparse_all_for_settings (Gtk.Settings settings, bool force_load); + [NoArrayLength ()] public static void reset_styles (Gtk.Settings settings); + [NoArrayLength ()] public GLib.Scanner scanner_new (); + [NoArrayLength ()] public static void set_default_files (string filenames); } [ReferenceType ()] public struct Selection { + [NoArrayLength ()] public static void add_target (Gtk.Widget widget, Gdk.Atom selection, Gdk.Atom target, uint info); + [NoArrayLength ()] public static void add_targets (Gtk.Widget widget, Gdk.Atom selection, Gtk.TargetEntry targets, uint ntargets); + [NoArrayLength ()] public static void clear_targets (Gtk.Widget widget, Gdk.Atom selection); + [NoArrayLength ()] public static bool convert (Gtk.Widget widget, Gdk.Atom selection, Gdk.Atom target, uint time_); + [NoArrayLength ()] public static bool owner_set (Gtk.Widget widget, Gdk.Atom selection, uint time_); + [NoArrayLength ()] public static bool owner_set_for_display (Gdk.Display display, Gtk.Widget widget, Gdk.Atom selection, uint time_); + [NoArrayLength ()] public static void remove_all (Gtk.Widget widget); } [ReferenceType ()] @@ -4690,22 +7319,33 @@ namespace Gtk { } [ReferenceType ()] public struct Stock { + [NoArrayLength ()] public static void add (Gtk.StockItem items, uint n_items); + [NoArrayLength ()] public static void add_static (Gtk.StockItem items, uint n_items); + [NoArrayLength ()] public GLib.SList list_ids (); + [NoArrayLength ()] public static bool lookup (string stock_id, Gtk.StockItem item); + [NoArrayLength ()] public static void set_translate_func (string domain, Gtk.TranslateFunc func, pointer data, Gtk.DestroyNotify notify); } [ReferenceType ()] public struct Target { + [NoArrayLength ()] public static void table_free (Gtk.TargetEntry targets, int n_targets); + [NoArrayLength ()] public static Gtk.TargetEntry table_new_from_list (Gtk.TargetList list, int n_targets); } [ReferenceType ()] public struct Targets { + [NoArrayLength ()] public static bool include_image (Gdk.Atom targets, int n_targets, bool writable); + [NoArrayLength ()] public static bool include_rich_text (Gdk.Atom targets, int n_targets, Gtk.TextBuffer buffer); + [NoArrayLength ()] public static bool include_text (Gdk.Atom targets, int n_targets); + [NoArrayLength ()] public static bool include_uri (Gdk.Atom targets, int n_targets); } [ReferenceType ()] @@ -4713,11 +7353,14 @@ namespace Gtk { } [ReferenceType ()] public struct Tree { + [NoArrayLength ()] public static bool get_row_drag_data (Gtk.SelectionData selection_data, Gtk.TreeModel tree_model, Gtk.TreePath path); + [NoArrayLength ()] public static bool set_row_drag_data (Gtk.SelectionData selection_data, Gtk.TreeModel tree_model, Gtk.TreePath path); } [ReferenceType ()] public struct Type { + [NoArrayLength ()] public pointer @class (); } [CCode (cprefix = "GTK_ACCEL_")] @@ -5750,6 +8393,7 @@ namespace Gtk { } [CCode (cheader_filename = "gtk/gtk.h")] namespace Gtk { + [NoArrayLength ()] public static void init (ref int argc, out string[] argv); public static void main (); public static void main_quit (); diff --git a/vala/vapi/pango.vala b/vala/vapi/pango.vala index 72e712d0b..5e1153b12 100644 --- a/vala/vapi/pango.vala +++ b/vala/vapi/pango.vala @@ -1,121 +1,222 @@ [CCode (cheader_filename = "pango/pango.h")] namespace Pango { public class Context : GLib.Object { + [NoArrayLength ()] public Pango.Direction get_base_dir (); + [NoArrayLength ()] public Pango.FontDescription get_font_description (); + [NoArrayLength ()] public Pango.FontMap get_font_map (); + [NoArrayLength ()] public Pango.Language get_language (); + [NoArrayLength ()] public Pango.Matrix get_matrix (); + [NoArrayLength ()] public Pango.FontMetrics get_metrics (Pango.FontDescription desc, Pango.Language language); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public void list_families (Pango.FontFamily families, int n_families); + [NoArrayLength ()] public Pango.Font load_font (Pango.FontDescription desc); + [NoArrayLength ()] public Pango.Fontset load_fontset (Pango.FontDescription desc, Pango.Language language); + [NoArrayLength ()] public void set_base_dir (Pango.Direction direction); + [NoArrayLength ()] public void set_font_description (Pango.FontDescription desc); + [NoArrayLength ()] public void set_language (Pango.Language language); + [NoArrayLength ()] public void set_matrix (Pango.Matrix matrix); } public class Font : GLib.Object { + [NoArrayLength ()] public Pango.FontDescription describe (); + [NoArrayLength ()] public Pango.FontDescription describe_with_absolute_size (); + [NoArrayLength ()] public static void descriptions_free (Pango.FontDescription descs, int n_descs); + [NoArrayLength ()] public Pango.EngineShape find_shaper (Pango.Language language, uint ch); + [NoArrayLength ()] public Pango.Coverage get_coverage (Pango.Language language); + [NoArrayLength ()] public Pango.FontMap get_font_map (); + [NoArrayLength ()] public void get_glyph_extents (uint glyph, Pango.Rectangle ink_rect, Pango.Rectangle logical_rect); + [NoArrayLength ()] public Pango.FontMetrics get_metrics (Pango.Language language); + [NoArrayLength ()] public GLib.Type get_type (); } public class Fontset : GLib.Object { + [NoArrayLength ()] public void @foreach (Pango.FontsetForeachFunc func, pointer data); + [NoArrayLength ()] public Pango.Font get_font (uint wc); + [NoArrayLength ()] public Pango.FontMetrics get_metrics (); + [NoArrayLength ()] public GLib.Type get_type (); } public class FontFace : GLib.Object { + [NoArrayLength ()] public Pango.FontDescription describe (); + [NoArrayLength ()] public string get_face_name (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public void list_sizes (int sizes, int n_sizes); } public class FontFamily : GLib.Object { + [NoArrayLength ()] public string get_name (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool is_monospace (); + [NoArrayLength ()] public void list_faces (Pango.FontFace faces, int n_faces); } public class FontMap : GLib.Object { + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public void list_families (Pango.FontFamily families, int n_families); + [NoArrayLength ()] public Pango.Font load_font (Pango.Context context, Pango.FontDescription desc); + [NoArrayLength ()] public Pango.Fontset load_fontset (Pango.Context context, Pango.FontDescription desc, Pango.Language language); } public class Layout : GLib.Object { + [NoArrayLength ()] public void context_changed (); + [NoArrayLength ()] public Pango.Layout copy (); + [NoArrayLength ()] public Pango.Alignment get_alignment (); + [NoArrayLength ()] public Pango.AttrList get_attributes (); + [NoArrayLength ()] public bool get_auto_dir (); + [NoArrayLength ()] public Pango.Context get_context (); + [NoArrayLength ()] public void get_cursor_pos (int index_, Pango.Rectangle strong_pos, Pango.Rectangle weak_pos); + [NoArrayLength ()] public Pango.EllipsizeMode get_ellipsize (); + [NoArrayLength ()] public void get_extents (Pango.Rectangle ink_rect, Pango.Rectangle logical_rect); + [NoArrayLength ()] public Pango.FontDescription get_font_description (); + [NoArrayLength ()] public int get_indent (); + [NoArrayLength ()] public Pango.LayoutIter get_iter (); + [NoArrayLength ()] public bool get_justify (); + [NoArrayLength ()] public Pango.LayoutLine get_line (int line); + [NoArrayLength ()] public int get_line_count (); + [NoArrayLength ()] public GLib.SList get_lines (); + [NoArrayLength ()] public void get_log_attrs (Pango.LogAttr attrs, int n_attrs); + [NoArrayLength ()] public void get_pixel_extents (Pango.Rectangle ink_rect, Pango.Rectangle logical_rect); + [NoArrayLength ()] public void get_pixel_size (int width, int height); + [NoArrayLength ()] public bool get_single_paragraph_mode (); + [NoArrayLength ()] public void get_size (int width, int height); + [NoArrayLength ()] public int get_spacing (); + [NoArrayLength ()] public Pango.TabArray get_tabs (); + [NoArrayLength ()] public string get_text (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public int get_width (); + [NoArrayLength ()] public Pango.WrapMode get_wrap (); + [NoArrayLength ()] public void index_to_line_x (int index_, bool trailing, int line, int x_pos); + [NoArrayLength ()] public void index_to_pos (int index_, Pango.Rectangle pos); + [NoArrayLength ()] public void move_cursor_visually (bool strong, int old_index, int old_trailing, int direction, int new_index, int new_trailing); + [NoArrayLength ()] public construct (Pango.Context context); + [NoArrayLength ()] public void set_alignment (Pango.Alignment alignment); + [NoArrayLength ()] public void set_attributes (Pango.AttrList attrs); + [NoArrayLength ()] public void set_auto_dir (bool auto_dir); + [NoArrayLength ()] public void set_ellipsize (Pango.EllipsizeMode ellipsize); + [NoArrayLength ()] public void set_font_description (Pango.FontDescription desc); + [NoArrayLength ()] public void set_indent (int indent); + [NoArrayLength ()] public void set_justify (bool justify); + [NoArrayLength ()] public void set_markup (string markup, int length); + [NoArrayLength ()] public void set_markup_with_accel (string markup, int length, unichar accel_marker, unichar accel_char); + [NoArrayLength ()] public void set_single_paragraph_mode (bool setting); + [NoArrayLength ()] public void set_spacing (int spacing); + [NoArrayLength ()] public void set_tabs (Pango.TabArray tabs); + [NoArrayLength ()] public void set_text (string text, int length); + [NoArrayLength ()] public void set_width (int width); + [NoArrayLength ()] public void set_wrap (Pango.WrapMode wrap); + [NoArrayLength ()] public bool xy_to_index (int x, int y, int index_, int trailing); } public class Renderer : GLib.Object { public weak Pango.Matrix matrix; + [NoArrayLength ()] public void activate (); + [NoArrayLength ()] public void deactivate (); + [NoArrayLength ()] public void draw_error_underline (int x, int y, int width, int height); + [NoArrayLength ()] public void draw_glyph (Pango.Font font, uint glyph, double x, double y); + [NoArrayLength ()] public void draw_glyphs (Pango.Font font, Pango.GlyphString glyphs, int x, int y); + [NoArrayLength ()] public void draw_layout (Pango.Layout layout, int x, int y); + [NoArrayLength ()] public void draw_layout_line (Pango.LayoutLine line, int x, int y); + [NoArrayLength ()] public void draw_rectangle (Pango.RenderPart part, int x, int y, int width, int height); + [NoArrayLength ()] public void draw_trapezoid (Pango.RenderPart part, double y1_, double x11, double x21, double y2, double x12, double x22); + [NoArrayLength ()] public Pango.Color get_color (Pango.RenderPart part); + [NoArrayLength ()] public Pango.Matrix get_matrix (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public void part_changed (Pango.RenderPart part); + [NoArrayLength ()] public void set_color (Pango.RenderPart part, Pango.Color color); + [NoArrayLength ()] public void set_matrix (Pango.Matrix matrix); } [ReferenceType ()] @@ -145,6 +246,7 @@ namespace Pango { public struct AttrFontDesc { public weak Pango.Attribute attr; public weak Pango.FontDescription desc; + [NoArrayLength ()] public construct (Pango.FontDescription desc); } [ReferenceType ()] @@ -154,31 +256,50 @@ namespace Pango { } [ReferenceType ()] public struct AttrIterator { + [NoArrayLength ()] public Pango.AttrIterator copy (); + [NoArrayLength ()] public void destroy (); + [NoArrayLength ()] public Pango.Attribute @get (Pango.AttrType type); + [NoArrayLength ()] public GLib.SList get_attrs (); + [NoArrayLength ()] public void get_font (Pango.FontDescription desc, Pango.Language language, GLib.SList extra_attrs); + [NoArrayLength ()] public bool next (); + [NoArrayLength ()] public void range (int start, int end); } [ReferenceType ()] public struct AttrLanguage { public weak Pango.Attribute attr; public weak Pango.Language value; + [NoArrayLength ()] public construct (Pango.Language language); } public struct AttrList { + [NoArrayLength ()] public void change (Pango.Attribute attr); + [NoArrayLength ()] public Pango.AttrList copy (); + [NoArrayLength ()] public Pango.AttrList filter (Pango.AttrFilterFunc func, pointer data); + [NoArrayLength ()] public Pango.AttrIterator get_iterator (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public void insert (Pango.Attribute attr); + [NoArrayLength ()] public void insert_before (Pango.Attribute attr); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public Pango.AttrList @ref (); + [NoArrayLength ()] public void splice (Pango.AttrList other, int pos, int len); + [NoArrayLength ()] public void unref (); } [ReferenceType ()] @@ -189,7 +310,9 @@ namespace Pango { public weak pointer data; public weak Pango.AttrDataCopyFunc copy_func; public weak GLib.DestroyNotify destroy_func; + [NoArrayLength ()] public construct (Pango.Rectangle ink_rect, Pango.Rectangle logical_rect); + [NoArrayLength ()] public construct with_data (Pango.Rectangle ink_rect, Pango.Rectangle logical_rect, pointer data, Pango.AttrDataCopyFunc copy_func, GLib.DestroyNotify destroy_func); } [ReferenceType ()] @@ -197,6 +320,7 @@ namespace Pango { public weak Pango.Attribute attr; public weak int size; public weak uint absolute; + [NoArrayLength ()] public construct (int size); } [ReferenceType ()] @@ -209,26 +333,42 @@ namespace Pango { public weak pointer klass; public weak uint start_index; public weak uint end_index; + [NoArrayLength ()] public Pango.Attribute copy (); + [NoArrayLength ()] public void destroy (); + [NoArrayLength ()] public bool equal (Pango.Attribute attr2); } public struct Color { + [NoArrayLength ()] public Pango.Color copy (); + [NoArrayLength ()] public void free (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool parse (string spec); } [ReferenceType ()] public struct Coverage { + [NoArrayLength ()] public Pango.Coverage copy (); + [NoArrayLength ()] public static Pango.Coverage from_bytes (uchar bytes, int n_bytes); + [NoArrayLength ()] public Pango.CoverageLevel @get (int index_); + [NoArrayLength ()] public void max (Pango.Coverage other); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public Pango.Coverage @ref (); + [NoArrayLength ()] public void @set (int index_, Pango.CoverageLevel level); + [NoArrayLength ()] public void to_bytes (uchar bytes, int n_bytes); + [NoArrayLength ()] public void unref (); } [ReferenceType ()] @@ -238,48 +378,89 @@ namespace Pango { public struct EngineShape { } public struct FontDescription { + [NoArrayLength ()] public bool better_match (Pango.FontDescription old_match, Pango.FontDescription new_match); + [NoArrayLength ()] public Pango.FontDescription copy (); + [NoArrayLength ()] public Pango.FontDescription copy_static (); + [NoArrayLength ()] public bool equal (Pango.FontDescription desc2); + [NoArrayLength ()] public void free (); + [NoArrayLength ()] public static Pango.FontDescription from_string (string str); + [NoArrayLength ()] public string get_family (); + [NoArrayLength ()] public Pango.FontMask get_set_fields (); + [NoArrayLength ()] public int get_size (); + [NoArrayLength ()] public bool get_size_is_absolute (); + [NoArrayLength ()] public Pango.Stretch get_stretch (); + [NoArrayLength ()] public Pango.Style get_style (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public Pango.Variant get_variant (); + [NoArrayLength ()] public Pango.Weight get_weight (); + [NoArrayLength ()] public uint hash (); + [NoArrayLength ()] public void merge (Pango.FontDescription desc_to_merge, bool replace_existing); + [NoArrayLength ()] public void merge_static (Pango.FontDescription desc_to_merge, bool replace_existing); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public void set_absolute_size (double size); + [NoArrayLength ()] public void set_family (string family); + [NoArrayLength ()] public void set_family_static (string family); + [NoArrayLength ()] public void set_size (int size); + [NoArrayLength ()] public void set_stretch (Pango.Stretch stretch); + [NoArrayLength ()] public void set_style (Pango.Style style); + [NoArrayLength ()] public void set_variant (Pango.Variant variant); + [NoArrayLength ()] public void set_weight (Pango.Weight weight); + [NoArrayLength ()] public string to_filename (); + [NoArrayLength ()] public string to_string (); + [NoArrayLength ()] public void unset_fields (Pango.FontMask to_unset); } public struct FontMetrics { + [NoArrayLength ()] public int get_approximate_char_width (); + [NoArrayLength ()] public int get_approximate_digit_width (); + [NoArrayLength ()] public int get_ascent (); + [NoArrayLength ()] public int get_descent (); + [NoArrayLength ()] public int get_strikethrough_position (); + [NoArrayLength ()] public int get_strikethrough_thickness (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public int get_underline_position (); + [NoArrayLength ()] public int get_underline_thickness (); + [NoArrayLength ()] public Pango.FontMetrics @ref (); + [NoArrayLength ()] public void unref (); } [ReferenceType ()] @@ -298,22 +479,37 @@ namespace Pango { public struct GlyphItem { public weak Pango.Item item; public weak Pango.GlyphString glyphs; + [NoArrayLength ()] public GLib.SList apply_attrs (string text, Pango.AttrList list); + [NoArrayLength ()] public void free (); + [NoArrayLength ()] public void letter_space (string text, Pango.LogAttr log_attrs, int letter_spacing); + [NoArrayLength ()] public Pango.GlyphItem split (string text, int split_index); } public struct GlyphString { + [NoArrayLength ()] public Pango.GlyphString copy (); + [NoArrayLength ()] public void extents (Pango.Font font, Pango.Rectangle ink_rect, Pango.Rectangle logical_rect); + [NoArrayLength ()] public void extents_range (int start, int end, Pango.Font font, Pango.Rectangle ink_rect, Pango.Rectangle logical_rect); + [NoArrayLength ()] public void free (); + [NoArrayLength ()] public void get_logical_widths (string text, int length, int embedding_level, int logical_widths); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public int get_width (); + [NoArrayLength ()] public void index_to_x (string text, int length, Pango.Analysis analysis, int index_, bool trailing, int x_pos); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public void set_size (int new_len); + [NoArrayLength ()] public void x_to_index (string text, int length, Pango.Analysis analysis, int x_pos, int index_, int trailing); } [ReferenceType ()] @@ -321,46 +517,81 @@ namespace Pango { public weak uint is_cluster_start; } public struct Item { + [NoArrayLength ()] public Pango.Item copy (); + [NoArrayLength ()] public void free (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public Pango.Item split (int split_index, int split_offset); } public struct Language { + [NoArrayLength ()] public static Pango.Language from_string (string language); + [NoArrayLength ()] public string get_sample_string (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool includes_script (Pango.Script script); + [NoArrayLength ()] public bool matches (string range_list); } public struct LayoutIter { + [NoArrayLength ()] public bool at_last_line (); + [NoArrayLength ()] public void free (); + [NoArrayLength ()] public int get_baseline (); + [NoArrayLength ()] public void get_char_extents (Pango.Rectangle logical_rect); + [NoArrayLength ()] public void get_cluster_extents (Pango.Rectangle ink_rect, Pango.Rectangle logical_rect); + [NoArrayLength ()] public int get_index (); + [NoArrayLength ()] public void get_layout_extents (Pango.Rectangle ink_rect, Pango.Rectangle logical_rect); + [NoArrayLength ()] public Pango.LayoutLine get_line (); + [NoArrayLength ()] public void get_line_extents (Pango.Rectangle ink_rect, Pango.Rectangle logical_rect); + [NoArrayLength ()] public void get_line_yrange (int y0_, int y1_); + [NoArrayLength ()] public Pango.LayoutRun get_run (); + [NoArrayLength ()] public void get_run_extents (Pango.Rectangle ink_rect, Pango.Rectangle logical_rect); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public bool next_char (); + [NoArrayLength ()] public bool next_cluster (); + [NoArrayLength ()] public bool next_line (); + [NoArrayLength ()] public bool next_run (); } public struct LayoutLine { + [NoArrayLength ()] public void get_extents (Pango.Rectangle ink_rect, Pango.Rectangle logical_rect); + [NoArrayLength ()] public void get_pixel_extents (Pango.Rectangle ink_rect, Pango.Rectangle logical_rect); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public void get_x_ranges (int start_index, int end_index, int ranges, int n_ranges); + [NoArrayLength ()] public void index_to_x (int index_, bool trailing, int x_pos); + [NoArrayLength ()] public Pango.LayoutLine @ref (); + [NoArrayLength ()] public void unref (); + [NoArrayLength ()] public bool x_to_index (int x_pos, int index_, int trailing); } [ReferenceType ()] @@ -383,13 +614,21 @@ namespace Pango { public weak uint backspace_deletes_character; } public struct Matrix { + [NoArrayLength ()] public void concat (Pango.Matrix new_matrix); + [NoArrayLength ()] public Pango.Matrix copy (); + [NoArrayLength ()] public void free (); + [NoArrayLength ()] public double get_font_scale_factor (); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public void rotate (double degrees); + [NoArrayLength ()] public void scale (double scale_x, double scale_y); + [NoArrayLength ()] public void translate (double tx, double ty); } [ReferenceType ()] @@ -401,73 +640,130 @@ namespace Pango { } [ReferenceType ()] public struct ScriptIter { + [NoArrayLength ()] public void free (); + [NoArrayLength ()] public void get_range (string start, string end, Pango.Script script); + [NoArrayLength ()] public construct (string text, int length); + [NoArrayLength ()] public bool next (); } public struct TabArray { + [NoArrayLength ()] public Pango.TabArray copy (); + [NoArrayLength ()] public void free (); + [NoArrayLength ()] public bool get_positions_in_pixels (); + [NoArrayLength ()] public int get_size (); + [NoArrayLength ()] public void get_tab (int tab_index, Pango.TabAlign alignment, int location); + [NoArrayLength ()] public void get_tabs (Pango.TabAlign alignments, int locations); + [NoArrayLength ()] public GLib.Type get_type (); + [NoArrayLength ()] public construct (int initial_size, bool positions_in_pixels); + [NoArrayLength ()] public construct with_positions (int size, bool positions_in_pixels, Pango.TabAlign first_alignment, int first_position); + [NoArrayLength ()] public void resize (int new_size); + [NoArrayLength ()] public void set_tab (int tab_index, Pango.TabAlign alignment, int location); } [ReferenceType ()] public struct Win32FontCache { + [NoArrayLength ()] public void free (); + [NoArrayLength ()] public pointer load (pointer logfont); + [NoArrayLength ()] public construct (); + [NoArrayLength ()] public void unload (pointer hfont); } [ReferenceType ()] public struct Attr { + [NoArrayLength ()] public static Pango.Attribute background_new (ushort red, ushort green, ushort blue); + [NoArrayLength ()] public static Pango.Attribute fallback_new (bool enable_fallback); + [NoArrayLength ()] public static Pango.Attribute family_new (string family); + [NoArrayLength ()] public static Pango.Attribute foreground_new (ushort red, ushort green, ushort blue); + [NoArrayLength ()] public static Pango.Attribute letter_spacing_new (int letter_spacing); + [NoArrayLength ()] public static Pango.Attribute rise_new (int rise); + [NoArrayLength ()] public static Pango.Attribute scale_new (double scale_factor); + [NoArrayLength ()] public static Pango.Attribute stretch_new (Pango.Stretch stretch); + [NoArrayLength ()] public static Pango.Attribute strikethrough_color_new (ushort red, ushort green, ushort blue); + [NoArrayLength ()] public static Pango.Attribute strikethrough_new (bool strikethrough); + [NoArrayLength ()] public static Pango.Attribute style_new (Pango.Style style); + [NoArrayLength ()] public static Pango.AttrType type_register (string name); + [NoArrayLength ()] public static Pango.Attribute underline_color_new (ushort red, ushort green, ushort blue); + [NoArrayLength ()] public static Pango.Attribute underline_new (Pango.Underline underline); + [NoArrayLength ()] public static Pango.Attribute variant_new (Pango.Variant variant); + [NoArrayLength ()] public static Pango.Attribute weight_new (Pango.Weight weight); } [ReferenceType ()] public struct Global { + [NoArrayLength ()] public static Pango.Direction _find_base_dir (string text, int length); + [NoArrayLength ()] public static void _find_paragraph_boundary (string text, int length, int paragraph_delimiter_index, int next_paragraph_start); + [NoArrayLength ()] public static void _get_log_attrs (string text, int length, int level, Pango.Language language, Pango.LogAttr log_attrs, int attrs_len); + [NoArrayLength ()] public static bool _is_zero_width (unichar ch); + [NoArrayLength ()] public static GLib.List _itemize_with_base_dir (Pango.Context context, Pango.Direction base_dir, string text, int start_index, int length, Pango.AttrList attrs, Pango.AttrIterator cached_iter); + [NoArrayLength ()] public static bool _parse_markup (string markup_text, int length, unichar accel_marker, Pango.AttrList attr_list, string text, unichar accel_char, GLib.Error error); + [NoArrayLength ()] public static bool _parse_stretch (string str, Pango.Stretch stretch, bool warn); + [NoArrayLength ()] public static bool _parse_style (string str, Pango.Style style, bool warn); + [NoArrayLength ()] public static bool _parse_variant (string str, Pango.Variant variant, bool warn); + [NoArrayLength ()] public static bool _parse_weight (string str, Pango.Weight weight, bool warn); + [NoArrayLength ()] public static void _quantize_line_geometry (int thickness, int position); + [NoArrayLength ()] public static int _read_line (GLib.File stream, GLib.String str); + [NoArrayLength ()] public static GLib.List _reorder_items (GLib.List logical_items); + [NoArrayLength ()] public static bool _scan_int (string pos, int @out); + [NoArrayLength ()] public static bool _scan_string (string pos, GLib.String @out); + [NoArrayLength ()] public static bool _scan_word (string pos, GLib.String @out); + [NoArrayLength ()] public static Pango.Script _script_for_unichar (unichar ch); + [NoArrayLength ()] public static Pango.Language _script_get_sample_language (Pango.Script script); + [NoArrayLength ()] public static bool _skip_space (string pos); + [NoArrayLength ()] public static string _split_file_list (string str); + [NoArrayLength ()] public static string _trim_string (string str); + [NoArrayLength ()] public static Pango.Direction _unichar_direction (unichar ch); } [CCode (cprefix = "PANGO_ALIGN_")]