summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Iofel <iofelben@gmail.com>2016-02-15 22:34:58 -0500
committerBen Iofel <iofelben@gmail.com>2016-02-15 22:34:58 -0500
commit26bdfb63f25b70098071800582ba505e39b810b5 (patch)
tree94d46f17697e0dda7d0cff78646af2bdafc8c1be
parent1b717f1f76ce974f7f250138e00d74ef3f92e2f1 (diff)
parent4f0627532da356515555feac10f84db99af859a6 (diff)
downloadvala-wip/beniofel/transform.tar.gz
Merge branch 'master' into wip/beniofel/transformwip/beniofel/transform
-rw-r--r--NEWS7
-rw-r--r--README2
-rw-r--r--codegen/valaccodeattribute.vala8
-rw-r--r--codegen/valaccodebasemodule.vala52
-rw-r--r--codegen/valaccodedelegatemodule.vala2
-rw-r--r--codegen/valaccodemethodmodule.vala5
-rw-r--r--codegen/valaccodestructmodule.vala4
-rw-r--r--codegen/valagirwriter.vala11
-rw-r--r--codegen/valagsignalmodule.vala2
-rw-r--r--compiler/valacompiler.vala7
-rw-r--r--configure.ac2
-rw-r--r--doc/valac.13
-rw-r--r--tests/basic-types/arrays.vala74
-rw-r--r--vala/Makefile.am1
-rw-r--r--vala/valaassignment.vala2
-rw-r--r--vala/valaattribute.vala8
-rw-r--r--vala/valaclass.vala6
-rw-r--r--vala/valacodecontext.vala13
-rw-r--r--vala/valacodewriter.vala20
-rw-r--r--vala/valadelegatetype.vala2
-rw-r--r--vala/valagirparser.vala32
-rw-r--r--vala/valalambdaexpression.vala3
-rw-r--r--vala/valamemberaccess.vala3
-rw-r--r--vala/valaobjectcreationexpression.vala2
-rw-r--r--vala/valasourcefile.vala64
-rw-r--r--vala/valasymbol.vala109
-rw-r--r--vala/valausedattr.vala3
-rw-r--r--vala/valaversionattribute.vala231
-rw-r--r--vapi/Makefile.am2
-rw-r--r--vapi/atk.vapi212
-rw-r--r--vapi/atspi-2.vapi37
-rw-r--r--vapi/cairo-xcb.vapi2
-rw-r--r--vapi/clutter-1.0.vapi1554
-rw-r--r--vapi/clutter-gdk-1.0.vapi7
-rw-r--r--vapi/clutter-gst-1.0.vapi10
-rw-r--r--vapi/clutter-gst-2.0.vapi11
-rw-r--r--vapi/clutter-gst-3.0.vapi57
-rw-r--r--vapi/clutter-gtk-1.0.vapi7
-rw-r--r--vapi/clutter-x11-1.0.vapi33
-rw-r--r--vapi/cogl-pango-1.0.vapi13
-rw-r--r--vapi/gconf-2.0.vapi2
-rw-r--r--vapi/gdk-2.0.vapi112
-rw-r--r--vapi/gdk-3.0.vapi503
-rw-r--r--vapi/gdk-pixbuf-2.0.vapi58
-rw-r--r--vapi/gdk-x11-2.0.vapi2
-rw-r--r--vapi/gdk-x11-3.0.vapi104
-rw-r--r--vapi/gdl-3.0.vapi59
-rw-r--r--vapi/gedit-2.20.vapi2
-rw-r--r--vapi/gedit.vapi30
-rw-r--r--vapi/geocode-glib-1.0.vapi3
-rw-r--r--vapi/gio-2.0.vapi1198
-rw-r--r--vapi/gio-unix-2.0.vapi2
-rw-r--r--vapi/gio-windows-2.0.deps1
-rw-r--r--vapi/gio-windows-2.0.vapi23
-rw-r--r--vapi/glib-2.0.vapi623
-rw-r--r--vapi/gnome-keyring-1.vapi2
-rw-r--r--vapi/gobject-2.0.vapi1127
-rw-r--r--vapi/gobject-introspection-1.0.vapi9
-rw-r--r--vapi/goocanvas.vapi2
-rw-r--r--vapi/gstreamer-0.10.vapi46
-rw-r--r--vapi/gstreamer-1.0.vapi193
-rw-r--r--vapi/gstreamer-allocators-1.0.vapi8
-rw-r--r--vapi/gstreamer-app-1.0.vapi2
-rw-r--r--vapi/gstreamer-audio-0.10.vapi2
-rw-r--r--vapi/gstreamer-audio-1.0.vapi13
-rw-r--r--vapi/gstreamer-base-0.10.vapi8
-rw-r--r--vapi/gstreamer-base-1.0.vapi35
-rw-r--r--vapi/gstreamer-check-1.0.vapi15
-rw-r--r--vapi/gstreamer-controller-0.10.vapi6
-rw-r--r--vapi/gstreamer-controller-1.0.vapi6
-rw-r--r--vapi/gstreamer-net-1.0.vapi8
-rw-r--r--vapi/gstreamer-pbutils-1.0.vapi13
-rw-r--r--vapi/gstreamer-rtp-1.0.vapi6
-rw-r--r--vapi/gstreamer-rtsp-1.0.vapi21
-rw-r--r--vapi/gstreamer-sdp-1.0.vapi83
-rw-r--r--vapi/gstreamer-tag-1.0.vapi1
-rw-r--r--vapi/gstreamer-video-1.0.vapi52
-rw-r--r--vapi/gtk+-2.0.vapi224
-rw-r--r--vapi/gtk+-3.0.vapi850
-rw-r--r--vapi/gtksourceview-3.0.vapi283
-rw-r--r--vapi/gudev-1.0.vapi4
-rw-r--r--vapi/json-glib-1.0.vapi98
-rw-r--r--vapi/libarchive.vapi28
-rw-r--r--vapi/libbonoboui-2.0.vapi2
-rw-r--r--vapi/libgda-4.0.vapi2
-rw-r--r--vapi/libgda-report-4.0.vapi2
-rw-r--r--vapi/libgdata.vapi947
-rw-r--r--vapi/libglade-2.0.vapi2
-rw-r--r--vapi/libnotify.vapi16
-rw-r--r--vapi/libpanelapplet-2.0.vapi2
-rw-r--r--vapi/libpeas-1.0.vapi9
-rw-r--r--vapi/libpeas-gtk-1.0.vapi6
-rw-r--r--vapi/librsvg-2.0.vapi70
-rw-r--r--vapi/libsoup-2.2.vapi2
-rw-r--r--vapi/libsoup-2.4.vapi432
-rw-r--r--vapi/libwnck-1.0.vapi2
-rw-r--r--vapi/libwnck-3.0.vapi83
-rw-r--r--vapi/linux.vapi6
-rw-r--r--vapi/lua.vapi2
-rw-r--r--vapi/metadata/Atk-1.0-custom.vala69
-rw-r--r--vapi/metadata/Clutter-1.0-custom.vala4
-rw-r--r--vapi/metadata/Gdk-3.0-custom.vala16
-rw-r--r--vapi/metadata/GdkPixbuf-2.0-custom.vala4
-rw-r--r--vapi/metadata/GdkX11-3.0-custom.vala56
-rw-r--r--vapi/metadata/Gio-2.0-custom.vala306
-rw-r--r--vapi/metadata/Gio-2.0.metadata2
-rw-r--r--vapi/metadata/GtkClutter-1.0-custom.vala4
-rw-r--r--vapi/metadata/Mx-1.0-custom.vala64
-rw-r--r--vapi/metadata/Pango-1.0-custom.vala20
-rw-r--r--vapi/metadata/Rsvg-2.0-custom.vala26
-rw-r--r--vapi/metadata/Soup-2.4-custom.vala54
-rw-r--r--vapi/mx-1.0.vapi228
-rw-r--r--vapi/packagekit-glib2.vapi569
-rw-r--r--vapi/packages/gdk-2.0/gdk-2.0-custom.vala16
-rw-r--r--vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala218
-rw-r--r--vapi/packages/gtk+-3.0/gtk+-3.0-custom.vala226
-rw-r--r--vapi/packages/gtk+-3.0/gtk+-3.0.gi90
-rw-r--r--vapi/packages/gtk+-3.0/gtk+-3.0.metadata217
-rw-r--r--vapi/pango.vapi209
-rw-r--r--vapi/pangocairo.vapi29
-rw-r--r--vapi/poppler-glib.vapi182
-rw-r--r--vapi/posix.vapi2
-rw-r--r--vapi/rest-0.6.vapi4
-rw-r--r--vapi/rest-0.7.vapi10
-rw-r--r--vapi/rest-extras-0.7.vapi2
-rw-r--r--vapi/sqlite3.vapi2
-rw-r--r--vapi/udisks2.vapi41
-rw-r--r--vapi/vte-2.90.vapi70
-rw-r--r--vapi/vte.vapi2
-rw-r--r--vapi/webkit2gtk-4.0.vapi191
-rw-r--r--vapi/webkit2gtk-web-extension-4.0.vapi124
-rw-r--r--vapi/xcb-icccm.vapi2
-rw-r--r--vapi/xcb.vapi14
-rw-r--r--vapigen/valagidlparser.vala116
134 files changed, 10023 insertions, 3241 deletions
diff --git a/NEWS b/NEWS
index d1e5ac4ae..017b35864 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,10 @@
+Vala 0.31.1
+===========
+
+ * Introduce [Version] attribute.
+ * Require and target GLib >= 2.32.
+ * Bug fixes and binding updates.
+
Vala 0.30.0
===========
diff --git a/README b/README
index c8c1d67a3..f89f6b061 100644
--- a/README
+++ b/README
@@ -39,4 +39,4 @@ all compile-time information is available when generating a binding.
More information about Vala is available at
- http://live.gnome.org/Vala/
+ https://wiki.gnome.org/Projects/Vala/
diff --git a/codegen/valaccodeattribute.vala b/codegen/valaccodeattribute.vala
index 6ef37aad2..38d2ebfc1 100644
--- a/codegen/valaccodeattribute.vala
+++ b/codegen/valaccodeattribute.vala
@@ -837,7 +837,7 @@ public class Vala.CCodeAttribute : AttributeCache {
if (sym != null) {
if (sym is Class && !((Class) sym).is_compact || sym is Interface) {
return CCodeBaseModule.get_ccode_upper_case_name (sym, "TYPE_");
- } else if (sym is ErrorType && sym.source_reference != null && sym.source_reference.file.context.require_glib_version (2, 26)) {
+ } else if (sym is ErrorType) {
return "G_TYPE_ERROR";
} else if (sym is Struct) {
var st = (Struct) sym;
@@ -867,11 +867,7 @@ public class Vala.CCodeAttribute : AttributeCache {
} else if (node is PointerType || node is DelegateType) {
return "G_TYPE_POINTER";
} else if (node is ErrorType) {
- if (node.source_reference != null && node.source_reference.file.context.require_glib_version (2, 26)) {
- return "G_TYPE_ERROR";
- } else {
- return "G_TYPE_POINTER";
- }
+ return "G_TYPE_ERROR";
} else if (node is VoidType) {
return "G_TYPE_NONE";
} else {
diff --git a/codegen/valaccodebasemodule.vala b/codegen/valaccodebasemodule.vala
index 04cca4c1a..785a2d638 100644
--- a/codegen/valaccodebasemodule.vala
+++ b/codegen/valaccodebasemodule.vala
@@ -461,16 +461,12 @@ public abstract class Vala.CCodeBaseModule : CodeGenerator {
gvalue_type = (Struct) glib_ns.scope.lookup ("Value");
gsource_type = (Class) glib_ns.scope.lookup ("Source");
- if (context.require_glib_version (2, 32)) {
- gmutex_type = (Struct) glib_ns.scope.lookup ("Mutex");
- grecmutex_type = (Struct) glib_ns.scope.lookup ("RecMutex");
- grwlock_type = (Struct) glib_ns.scope.lookup ("RWLock");
- gcond_type = (Struct) glib_ns.scope.lookup ("Cond");
+ gmutex_type = (Struct) glib_ns.scope.lookup ("Mutex");
+ grecmutex_type = (Struct) glib_ns.scope.lookup ("RecMutex");
+ grwlock_type = (Struct) glib_ns.scope.lookup ("RWLock");
+ gcond_type = (Struct) glib_ns.scope.lookup ("Cond");
- mutex_type = grecmutex_type;
- } else {
- mutex_type = (Struct) glib_ns.scope.lookup ("StaticRecMutex");
- }
+ mutex_type = grecmutex_type;
type_module_type = (TypeSymbol) glib_ns.scope.lookup ("TypeModule");
@@ -785,7 +781,7 @@ public abstract class Vala.CCodeBaseModule : CodeGenerator {
var cenum = new CCodeEnum (get_ccode_name (en));
- cenum.deprecated = en.deprecated;
+ cenum.deprecated = en.version.deprecated;
int flag_shift = 0;
foreach (EnumValue ev in en.get_values ()) {
@@ -800,7 +796,7 @@ public abstract class Vala.CCodeBaseModule : CodeGenerator {
ev.value.emit (this);
c_ev = new CCodeEnumValue (get_ccode_name (ev), get_cvalue (ev.value));
}
- c_ev.deprecated = ev.deprecated;
+ c_ev.deprecated = ev.version.deprecated;
cenum.add_value (c_ev);
}
@@ -882,15 +878,8 @@ public abstract class Vala.CCodeBaseModule : CodeGenerator {
pop_context ();
if (finalize_context != null) {
- string mutex_clear;
- if (context.require_glib_version (2, 32)) {
- mutex_clear = "g_rec_mutex_clear";
- } else {
- mutex_clear = "g_static_rec_mutex_free";
- }
-
push_context (finalize_context);
- var fc = new CCodeFunctionCall (new CCodeIdentifier (mutex_clear));
+ var fc = new CCodeFunctionCall (new CCodeIdentifier ("g_rec_mutex_clear"));
fc.add_argument (new CCodeUnaryExpression (CCodeUnaryOperator.ADDRESS_OF, l));
ccode.add_expression (fc);
pop_context ();
@@ -1000,7 +989,7 @@ public abstract class Vala.CCodeBaseModule : CodeGenerator {
} else {
cdecl.modifiers = CCodeModifiers.EXTERN;
}
- if (f.deprecated) {
+ if (f.version.deprecated) {
cdecl.modifiers |= CCodeModifiers.DEPRECATED;
}
decl_space.add_type_member_declaration (cdecl);
@@ -2619,7 +2608,7 @@ public abstract class Vala.CCodeBaseModule : CodeGenerator {
dup_function = get_ccode_ref_function ((ObjectTypeSymbol) type.data_type);
if (type.data_type is Interface && dup_function == null) {
Report.error (source_reference, "missing class prerequisite for interface `%s', add GLib.Object to interface declaration if unsure".printf (type.data_type.get_full_name ()));
- return null;
+ return new CCodeInvalidExpression();
}
} else if (cl != null && cl.is_immutable) {
// allow duplicates of immutable instances as for example strings
@@ -2643,7 +2632,7 @@ public abstract class Vala.CCodeBaseModule : CodeGenerator {
} else {
// duplicating non-reference counted objects may cause side-effects (and performance issues)
Report.error (source_reference, "duplicating %s instance, use unowned variable or explicitly invoke copy method".printf (type.data_type.name));
- return null;
+ return new CCodeInvalidExpression();
}
return new CCodeIdentifier (dup_function);
@@ -3311,8 +3300,7 @@ public abstract class Vala.CCodeBaseModule : CodeGenerator {
ccomma.append_expression (new CCodeConstant ("NULL"));
return new CCodeConditionalExpression (cisvalid, ccomma, new CCodeConstant ("NULL"));
- } else if (context.require_glib_version (2, 32) &&
- (type.data_type == gmutex_type ||
+ } else if ((type.data_type == gmutex_type ||
type.data_type == grecmutex_type ||
type.data_type == grwlock_type ||
type.data_type == gcond_type)) {
@@ -3697,14 +3685,20 @@ public abstract class Vala.CCodeBaseModule : CodeGenerator {
}
}
+ // TODO: don't duplicate the code in CCodeMethodModule, we do this right now because it needs to be before return
if (current_method != null && current_method.get_attribute ("Profile") != null) {
string prefix = "_vala_prof_%s".printf (get_ccode_real_name (current_method));
+ var level = new CCodeIdentifier (prefix + "_level");
+ ccode.open_if (new CCodeUnaryExpression (CCodeUnaryOperator.LOGICAL_NEGATION, new CCodeUnaryExpression (CCodeUnaryOperator.PREFIX_DECREMENT, level)));
+
var timer = new CCodeIdentifier (prefix + "_timer");
var stop_call = new CCodeFunctionCall (new CCodeIdentifier ("g_timer_stop"));
stop_call.add_argument (timer);
ccode.add_expression (stop_call);
+
+ ccode.close ();
}
if (is_in_constructor ()) {
@@ -5891,6 +5885,16 @@ public abstract class Vala.CCodeBaseModule : CodeGenerator {
} else {
return get_ccode_lower_case_name (type.error_code, infix);
}
+ } else if (node is DelegateType) {
+ var type = (DelegateType) node;
+ return get_ccode_lower_case_name (type.delegate_symbol, infix);
+ } else if (node is PointerType) {
+ var type = (PointerType) node;
+ return get_ccode_lower_case_name (type.base_type, infix);
+ } else if (node is GenericType) {
+ return "valageneric";
+ } else if (node is VoidType) {
+ return "valavoid";
} else {
var type = (DataType) node;
return get_ccode_lower_case_name (type.data_type, infix);
diff --git a/codegen/valaccodedelegatemodule.vala b/codegen/valaccodedelegatemodule.vala
index aa420593d..f474a6c81 100644
--- a/codegen/valaccodedelegatemodule.vala
+++ b/codegen/valaccodedelegatemodule.vala
@@ -116,7 +116,7 @@ public class Vala.CCodeDelegateModule : CCodeArrayModule {
}
var ctypedef = new CCodeTypeDefinition (return_type_cname, cfundecl);
- ctypedef.deprecated = d.deprecated;
+ ctypedef.deprecated = d.version.deprecated;
decl_space.add_type_definition (ctypedef);
}
diff --git a/codegen/valaccodemethodmodule.vala b/codegen/valaccodemethodmodule.vala
index 4eeb69840..6667d14da 100644
--- a/codegen/valaccodemethodmodule.vala
+++ b/codegen/valaccodemethodmodule.vala
@@ -171,7 +171,7 @@ public abstract class Vala.CCodeMethodModule : CCodeStructModule {
function.modifiers |= CCodeModifiers.INTERNAL;
}
- if (m.deprecated) {
+ if (m.version.deprecated) {
function.modifiers |= CCodeModifiers.DEPRECATED;
}
@@ -724,7 +724,8 @@ public abstract class Vala.CCodeMethodModule : CCodeStructModule {
m.body.emit (this);
}
- if (profile) {
+ // we generate the same code if we see a return statement, this handles the case without returns
+ if (profile && m.return_type is VoidType) {
string prefix = "_vala_prof_%s".printf (real_name);
var level = new CCodeIdentifier (prefix + "_level");
diff --git a/codegen/valaccodestructmodule.vala b/codegen/valaccodestructmodule.vala
index fe2a7c2a7..3f226d55b 100644
--- a/codegen/valaccodestructmodule.vala
+++ b/codegen/valaccodestructmodule.vala
@@ -64,7 +64,7 @@ public abstract class Vala.CCodeStructModule : CCodeBaseModule {
}
var instance_struct = new CCodeStruct ("_%s".printf (get_ccode_name (st)));
- instance_struct.deprecated = st.deprecated;
+ instance_struct.deprecated = st.version.deprecated;
foreach (Field f in st.get_fields ()) {
string field_ctype = get_ccode_name (f.variable_type);
@@ -77,7 +77,7 @@ public abstract class Vala.CCodeStructModule : CCodeBaseModule {
var suffix = get_ccode_declarator_suffix (f.variable_type);
if (suffix != null) {
- suffix.deprecated = f.deprecated;
+ suffix.deprecated = f.version.deprecated;
}
instance_struct.add_field (field_ctype, get_ccode_name (f), suffix);
diff --git a/codegen/valagirwriter.vala b/codegen/valagirwriter.vala
index a69e12a93..01389cfab 100644
--- a/codegen/valagirwriter.vala
+++ b/codegen/valagirwriter.vala
@@ -282,12 +282,15 @@ public class Vala.GIRWriter : CodeVisitor {
}
private void write_symbol_attributes (Symbol symbol) {
- if (symbol.deprecated) {
- buffer.append_printf (" deprecated=\"%s\"", (symbol.replacement == null) ? "" : "Use %s".printf (symbol.replacement));
- if (symbol.deprecated_since != null) {
- buffer.append_printf (" deprecated-version=\"%s\"", symbol.deprecated_since);
+ if (symbol.version.deprecated) {
+ buffer.append_printf (" deprecated=\"%s\"", (symbol.version.replacement == null) ? "" : "Use %s".printf (symbol.version.replacement));
+ if (symbol.version.deprecated_since != null) {
+ buffer.append_printf (" deprecated-version=\"%s\"", symbol.version.deprecated_since);
}
}
+ if (symbol.version.since != null) {
+ buffer.append_printf (" version=\"%s\"", symbol.version.since);
+ }
}
public override void visit_class (Class cl) {
diff --git a/codegen/valagsignalmodule.vala b/codegen/valagsignalmodule.vala
index eff678162..d9f7d51f3 100644
--- a/codegen/valagsignalmodule.vala
+++ b/codegen/valagsignalmodule.vala
@@ -333,7 +333,7 @@ public class Vala.GSignalModule : GObjectModule {
flags += "G_SIGNAL_NO_HOOKS";
}
- if (sig.get_attribute ("Deprecated") != null && CodeContext.get ().require_glib_version (2, 31)) {
+ if (sig.get_attribute ("Deprecated") != null) {
flags += "G_SIGNAL_DEPRECATED";
}
diff --git a/compiler/valacompiler.vala b/compiler/valacompiler.vala
index a2327f06f..a8c4831d0 100644
--- a/compiler/valacompiler.vala
+++ b/compiler/valacompiler.vala
@@ -73,6 +73,7 @@ class Vala.Compiler {
static bool experimental;
static bool experimental_non_null;
static bool gobject_tracing;
+ static bool disable_since_check;
static bool disable_warnings;
static string cc_command;
[CCode (array_length = false, array_null_terminated = true)]
@@ -138,6 +139,7 @@ class Vala.Compiler {
{ "enable-experimental", 0, 0, OptionArg.NONE, ref experimental, "Enable experimental features", null },
{ "disable-warnings", 0, 0, OptionArg.NONE, ref disable_warnings, "Disable warnings", null },
{ "fatal-warnings", 0, 0, OptionArg.NONE, ref fatal_warnings, "Treat warnings as fatal", null },
+ { "disable-since-check", 0, 0, OptionArg.NONE, ref disable_since_check, "Do not check whether used symbols exist in local packages", null },
{ "enable-experimental-non-null", 0, 0, OptionArg.NONE, ref experimental_non_null, "Enable experimental enhancements for non-null types", null },
{ "enable-gobject-tracing", 0, 0, OptionArg.NONE, ref gobject_tracing, "Enable GObject creation tracing", null },
{ "cc", 0, 0, OptionArg.STRING, ref cc_command, "Use COMMAND as C compiler command", "COMMAND" },
@@ -201,6 +203,7 @@ class Vala.Compiler {
context.assert = !disable_assert;
context.checking = enable_checking;
context.deprecated = deprecated;
+ context.since_check = !disable_since_check;
context.hide_internal = hide_internal;
context.experimental = experimental;
context.experimental_non_null = experimental_non_null;
@@ -274,7 +277,7 @@ class Vala.Compiler {
}
int glib_major = 2;
- int glib_minor = 24;
+ int glib_minor = 32;
if (target_glib != null && target_glib.scanf ("%d.%d", out glib_major, out glib_minor) != 2) {
Report.error (null, "Invalid format for --target-glib");
}
@@ -471,8 +474,6 @@ class Vala.Compiler {
context.write_dependencies (dependencies);
}
- context.used_attr.check_unused (context);
-
if (context.report.get_errors () > 0 || (fatal_warnings && context.report.get_warnings () > 0)) {
return quit ();
}
diff --git a/configure.ac b/configure.ac
index d1da12d09..56946102c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -65,7 +65,7 @@ AC_SUBST(COVERAGE_VALAFLAGS)
AC_SUBST(COVERAGE_CFLAGS)
AC_SUBST(COVERAGE_LIBS)
-GLIB_REQUIRED=2.24.0
+GLIB_REQUIRED=2.32.0
PKG_CHECK_MODULES(GLIB, glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED)
diff --git a/doc/valac.1 b/doc/valac.1
index 5000a262a..2d3f70b23 100644
--- a/doc/valac.1
+++ b/doc/valac.1
@@ -138,6 +138,9 @@ Keep temporary files
.B \--profile=\fIPROFILE\fR
Use the given profile instead of the default
.TP
+.B \--no-color
+Disable colored output
+.TP
.B \-q, --quiet
Do not print messages to the console
.TP
diff --git a/tests/basic-types/arrays.vala b/tests/basic-types/arrays.vala
index 00a7164e7..fece74999 100644
--- a/tests/basic-types/arrays.vala
+++ b/tests/basic-types/arrays.vala
@@ -120,6 +120,77 @@ void test_inline_array () {
assert (1 in a);
}
+[CCode (has_target = false)]
+delegate int SimpleFunc ();
+SimpleFunc[] simple_delegates;
+
+int simple_func () {
+ return 0;
+}
+
+void test_delegate_array () {
+ SimpleFunc[] a = {};
+ a = (owned) simple_delegates;
+ a += (SimpleFunc) simple_func;
+ assert (a.length == 1);
+ assert (simple_func in a);
+}
+
+class Baz : Object {
+ public Baz () {
+ }
+
+ Baz get_object ()
+ {
+ return new Baz ();
+ }
+
+ public Baz[] create_array () {
+ var a = get_array<Baz> ();
+ a += (Baz) get_object ();
+ assert (a.length == 2);
+ assert (!(get_object () in a));
+ return a;
+ }
+
+ public V[] create_array2<V> () {
+ var a = get_array2<V> ();
+ a += (V) get_object ();
+ assert (a.length == 3);
+ assert (!(get_object () in a));
+ return a;
+ }
+
+ T[] get_array<T> () {
+ T[] a = {};
+ a += (T) get_object ();
+ return a;
+ }
+
+ G[] get_array2<G> () {
+ G[] a = {};
+ a += (G) get_object ();
+ a += (G) get_object ();
+ return a;
+ }
+}
+
+void test_generics_array () {
+ var g = new Baz ();
+ var a = g.create_array ();
+ assert (a.length == 2);
+ var b = g.create_array2<Baz> ();
+ assert (b.length == 3);
+}
+
+void test_void_array () {
+ void*[] a = {};
+ a += (void*) null;
+ a += (void*) null;
+ assert (a.length == 2);
+ assert ((void*) null in a);
+}
+
void main () {
test_integer_array ();
test_string_array ();
@@ -128,4 +199,7 @@ void main () {
test_reference_transfer ();
test_length_assignment ();
test_inline_array ();
+ test_delegate_array ();
+ test_generics_array ();
+ test_void_array ();
}
diff --git a/vala/Makefile.am b/vala/Makefile.am
index cc4b4ee89..34ccd0894 100644
--- a/vala/Makefile.am
+++ b/vala/Makefile.am
@@ -163,6 +163,7 @@ libvalacore_la_VALASOURCES = \
valausingdirective.vala \
valavaluetype.vala \
valavariable.vala \
+ valaversionattribute.vala \
valavoidtype.vala \
valawhilestatement.vala \
valayieldstatement.vala \
diff --git a/vala/valaassignment.vala b/vala/valaassignment.vala
index 608694814..5f7b40eea 100644
--- a/vala/valaassignment.vala
+++ b/vala/valaassignment.vala
@@ -202,6 +202,8 @@ public class Vala.Assignment : Expression {
}
var sig = (Signal) ma.symbol_reference;
right.target_type = new DelegateType (sig.get_delegate (ma.inner.value_type, this));
+ } else if (ma.symbol_reference is DynamicProperty) {
+ // target_type not available for dynamic properties
} else {
right.formal_target_type = ma.formal_value_type.copy ();
right.target_type = ma.value_type.copy ();
diff --git a/vala/valaattribute.vala b/vala/valaattribute.vala
index 5486f4f2a..f1ef73f81 100644
--- a/vala/valaattribute.vala
+++ b/vala/valaattribute.vala
@@ -46,6 +46,14 @@ public class Vala.Attribute : CodeNode {
public Attribute (string name, SourceReference? source_reference = null) {
this.name = name;
this.source_reference = source_reference;
+
+ if (!CodeContext.get ().deprecated) {
+ if (name == "Deprecated") {
+ Report.deprecated (source_reference, "[Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = \"\", replacement = \"\")]");
+ } else if (name == "Experimental") {
+ Report.deprecated (source_reference, "[Experimental] is deprecated. Use [Version (experimental = true, experimental_until = \"\")]");
+ }
+ }
}
/**
diff --git a/vala/valaclass.vala b/vala/valaclass.vala
index 0d086e404..97c6f4a39 100644
--- a/vala/valaclass.vala
+++ b/vala/valaclass.vala
@@ -831,8 +831,7 @@ public class Vala.Class : ObjectTypeSymbol {
foreach (var impl in base_class.get_methods ()) {
if (impl.name == m.name && (impl.base_interface_type == null || impl.base_interface_type.data_type == iface)) {
// method is used as interface implementation, so it is not unused
- impl.check_deprecated (source_reference);
- impl.check_experimental (source_reference);
+ impl.version.check (source_reference);
impl.used = true;
implemented = true;
break;
@@ -858,8 +857,7 @@ public class Vala.Class : ObjectTypeSymbol {
}
if (sym is Property) {
// property is used as interface implementation, so it is not unused
- sym.check_deprecated (source_reference);
- sym.check_experimental (source_reference);
+ sym.version.check (source_reference);
sym.used = true;
} else {
error = true;
diff --git a/vala/valacodecontext.vala b/vala/valacodecontext.vala
index 628f71ed4..0ca1961ac 100644
--- a/vala/valacodecontext.vala
+++ b/vala/valacodecontext.vala
@@ -47,6 +47,11 @@ public class Vala.CodeContext {
public bool hide_internal { get; set; }
/**
+ * Do not check whether used symbols exist in local packages.
+ */
+ public bool since_check { get; set; }
+
+ /**
* Do not warn when using experimental features.
*/
public bool experimental { get; set; }
@@ -390,7 +395,7 @@ public class Vala.CodeContext {
* Read the given filename and pull in packages.
* The method is tolerant if the file does not exist.
*
- * @param filename a filanem
+ * @param filename a filename
* @return false if an error occurs while reading the file or if a package could not be added
*/
public bool add_packages_from_file (string filename) {
@@ -493,6 +498,12 @@ public class Vala.CodeContext {
}
flow_analyzer.analyze (this);
+
+ if (report.get_errors () > 0) {
+ return;
+ }
+
+ used_attr.check_unused (this);
}
public void load_plugins () {
diff --git a/vala/valacodewriter.vala b/vala/valacodewriter.vala
index d28d02ab3..d08f2a9a3 100644
--- a/vala/valacodewriter.vala
+++ b/vala/valacodewriter.vala
@@ -1619,6 +1619,19 @@ public class Vala.CodeWriter : CodeVisitor {
}
}
+ private bool skip_since_tag_check (Symbol sym, string since_val) {
+ Symbol parent_symbol = sym;
+
+ while (parent_symbol.parent_symbol != null) {
+ parent_symbol = parent_symbol.parent_symbol;
+ if (parent_symbol.version.since == since_val) {
+ return true;
+ }
+ }
+
+ return false;
+ }
+
private void write_attributes (CodeNode node) {
var sym = node as Symbol;
@@ -1653,6 +1666,13 @@ public class Vala.CodeWriter : CodeVisitor {
continue;
}
+ if (sym != null && attr.args.size == 1 && attr.name == "Version") {
+ string since_val = attr.get_string ("since");
+ if (since_val != null && skip_since_tag_check (sym, since_val)) {
+ continue;
+ }
+ }
+
if (!(node is Parameter) && !(node is PropertyAccessor)) {
write_indent ();
}
diff --git a/vala/valadelegatetype.vala b/vala/valadelegatetype.vala
index 704f98c8b..11ba57f00 100644
--- a/vala/valadelegatetype.vala
+++ b/vala/valadelegatetype.vala
@@ -51,7 +51,7 @@ public class Vala.DelegateType : DataType {
// logic temporarily duplicated from DataType class
Symbol global_symbol = delegate_symbol;
- while (global_symbol.parent_symbol.name != null) {
+ while (global_symbol.parent_symbol != null && global_symbol.parent_symbol.name != null) {
global_symbol = global_symbol.parent_symbol;
}
diff --git a/vala/valagirparser.vala b/vala/valagirparser.vala
index bfcd97fd5..3aa068a15 100644
--- a/vala/valagirparser.vala
+++ b/vala/valagirparser.vala
@@ -52,6 +52,7 @@ public class Vala.GirParser : CodeVisitor {
DEPRECATED,
REPLACEMENT,
DEPRECATED_SINCE,
+ SINCE,
ARRAY,
ARRAY_LENGTH_IDX,
ARRAY_NULL_TERMINATED,
@@ -1161,7 +1162,14 @@ public class Vala.GirParser : CodeVisitor {
// experimental
if (metadata.has_argument (ArgumentType.EXPERIMENTAL)) {
- symbol.set_attribute ("Experimental", metadata.get_bool (ArgumentType.EXPERIMENTAL));
+ symbol.set_attribute_bool ("Version", "experimental", metadata.get_bool (ArgumentType.EXPERIMENTAL));
+ }
+
+ // since
+ if (metadata.has_argument (ArgumentType.SINCE)) {
+ symbol.version.since = metadata.get_string (ArgumentType.SINCE);
+ } else if (symbol is Namespace == false && girdata["version"] != null) {
+ symbol.version.since = girdata.get ("version");
}
if (parent.symbol is Namespace) {
@@ -1201,13 +1209,13 @@ public class Vala.GirParser : CodeVisitor {
}
}
if (node.deprecated) {
- node.symbol.set_attribute ("Deprecated", true);
+ node.symbol.version.deprecated = true;
}
if (node.deprecated_since != null) {
- node.symbol.set_attribute_string ("Deprecated", "since", node.deprecated_since);
+ node.symbol.version.deprecated_since = node.deprecated_since;
}
if (node.deprecated_replacement != null) {
- node.symbol.set_attribute_string ("Deprecated", "replacement", node.deprecated_replacement);
+ node.symbol.version.replacement = node.deprecated_replacement;
}
if (node.new_symbol && !node.merged && !metadata.get_bool (ArgumentType.HIDDEN)) {
@@ -1850,6 +1858,7 @@ public class Vala.GirParser : CodeVisitor {
parse_include ();
} else if (reader.name == "package") {
var pkg = parse_package ();
+ this.current_source_file.package_name = pkg;
if (context.has_package (pkg)) {
// package already provided elsewhere, stop parsing this GIR
return;
@@ -2575,12 +2584,16 @@ public class Vala.GirParser : CodeVisitor {
} else if (type_name == "glong") {
if (ctype != null && ctype.has_prefix ("gssize")) {
type_name = "ssize_t";
+ } else if (ctype != null && ctype.has_prefix ("gintptr")) {
+ type_name = "intptr";
} else {
type_name = "long";
}
} else if (type_name == "gulong") {
if (ctype != null && ctype.has_prefix ("gsize")) {
type_name = "size_t";
+ } else if (ctype != null && ctype.has_prefix ("guintptr")) {
+ type_name = "uintptr";
} else {
type_name = "ulong";
}
@@ -2612,6 +2625,10 @@ public class Vala.GirParser : CodeVisitor {
type_name = "size_t";
} else if (type_name == "gssize") {
type_name = "ssize_t";
+ } else if (type_name == "guintptr") {
+ type_name = "uintptr";
+ } else if (type_name == "gintptr") {
+ type_name = "intptr";
} else if (type_name == "GType") {
type_name = "GLib.Type";
} else if (type_name == "GLib.String") {
@@ -3717,9 +3734,14 @@ public class Vala.GirParser : CodeVisitor {
var d = ((DelegateType) resolved_type).delegate_symbol;
if (!(d.name == "DestroyNotify" && d.parent_symbol.name == "GLib")) {
info.param.set_attribute_string ("CCode", "scope", "async");
- info.param.variable_type.value_owned = true;
+ info.param.variable_type.value_owned = (info.closure_idx != -1 && info.destroy_idx != -1);
}
}
+ } else {
+ var resolved_type = info.param.variable_type;
+ if (resolved_type is DelegateType) {
+ info.param.variable_type.value_owned = (info.closure_idx != -1 && info.destroy_idx != -1);
+ }
}
}
diff --git a/vala/valalambdaexpression.vala b/vala/valalambdaexpression.vala
index 98e86e121..172338822 100644
--- a/vala/valalambdaexpression.vala
+++ b/vala/valalambdaexpression.vala
@@ -137,8 +137,7 @@ public class Vala.LambdaExpression : Expression {
method = new Method (get_lambda_name (context), return_type, source_reference);
// track usage for flow analyzer
method.used = true;
- method.check_deprecated (source_reference);
- method.check_experimental (source_reference);
+ method.version.check (source_reference);
if (!cb.has_target || !context.analyzer.is_in_instance_method (this)) {
method.binding = MemberBinding.STATIC;
diff --git a/vala/valamemberaccess.vala b/vala/valamemberaccess.vala
index a6f8c8ebb..da12d27f8 100644
--- a/vala/valamemberaccess.vala
+++ b/vala/valamemberaccess.vala
@@ -699,8 +699,7 @@ public class Vala.MemberAccess : Expression {
}
member.used = true;
- member.check_deprecated (source_reference);
- member.check_experimental (source_reference);
+ member.version.check (source_reference);
if (access == SymbolAccessibility.PROTECTED) {
var target_type = (TypeSymbol) member.parent_symbol;
diff --git a/vala/valaobjectcreationexpression.vala b/vala/valaobjectcreationexpression.vala
index 3c4968dac..4cd5b3fcc 100644
--- a/vala/valaobjectcreationexpression.vala
+++ b/vala/valaobjectcreationexpression.vala
@@ -264,7 +264,7 @@ public class Vala.ObjectCreationExpression : Expression {
// track usage for flow analyzer
symbol_reference.used = true;
- symbol_reference.check_deprecated (source_reference);
+ symbol_reference.version.check (source_reference);
}
if (symbol_reference != null && symbol_reference.access == SymbolAccessibility.PRIVATE) {
diff --git a/vala/valasourcefile.vala b/vala/valasourcefile.vala
index 0126b1671..04dfeff4c 100644
--- a/vala/valasourcefile.vala
+++ b/vala/valasourcefile.vala
@@ -37,6 +37,70 @@ public class Vala.SourceFile {
}
}
+ private string _package_name;
+
+ public string? package_name {
+ get {
+ if (file_type != SourceFileType.PACKAGE) {
+ return null;
+ }
+
+ if (_package_name == null) {
+ _package_name = Path.get_basename (filename[0:filename.last_index_of_char ('.')]);
+ }
+
+ return _package_name;
+ }
+ set {
+ _package_name = value;
+ }
+ }
+
+ private string? _installed_version = null;
+ private bool _version_requested = false;
+
+ /**
+ * The installed package version or null
+ */
+ public string? installed_version {
+ get {
+ if (_version_requested) {
+ return _installed_version;
+ }
+
+ _version_requested = true;
+
+ string pkg_config_name = package_name;
+ if (pkg_config_name == null) {
+ return null;
+ }
+
+ string? standard_output;
+ int exit_status;
+
+ try {
+ Process.spawn_command_line_sync ("pkg-config --silence-errors --modversion %s".printf (pkg_config_name), out standard_output, null, out exit_status);
+ if (exit_status != 0) {
+ return null;
+ }
+ } catch (GLib.SpawnError err) {
+ return null;
+ }
+
+ standard_output = standard_output[0:-1];
+ if (standard_output != "") {
+ _installed_version = standard_output;
+ }
+
+ return _installed_version;
+ }
+ set {
+ _version_requested = value != null;
+ _installed_version = value;
+ }
+ }
+
+
/**
* Specifies whether this file is a VAPI package file.
*/
diff --git a/vala/valasymbol.vala b/vala/valasymbol.vala
index 5464e5ebc..a6ef1aa69 100644
--- a/vala/valasymbol.vala
+++ b/vala/valasymbol.vala
@@ -40,7 +40,7 @@ public abstract class Vala.Symbol : CodeNode {
}
/**
- * The scope this symbol opens.
+ * The scope this symbol is a part of
*/
public weak Scope owner {
get {
@@ -68,62 +68,6 @@ public abstract class Vala.Symbol : CodeNode {
public bool active { get; set; default = true; }
/**
- * Specifies whether this symbol has been deprecated.
- */
- public bool deprecated {
- get {
- if (_deprecated == null) {
- _deprecated = get_attribute ("Deprecated") != null;
- }
- return _deprecated;
- }
- set {
- _deprecated = value;
- set_attribute ("Deprecated", _deprecated);
- }
- }
-
- /**
- * Specifies what version this symbol has been deprecated since.
- */
- public string? deprecated_since {
- owned get {
- return get_attribute_string ("Deprecated", "since");
- }
- set {
- set_attribute_string ("Deprecated", "since", value);
- }
- }
-
- /**
- * Specifies the replacement if this symbol has been deprecated.
- */
- public string? replacement {
- owned get {
- return get_attribute_string ("Deprecated", "replacement");
- }
- set {
- set_attribute_string ("Deprecated", "replacement", value);
- }
- }
-
- /**
- * Specifies whether this symbol is experimental.
- */
- public bool experimental {
- get {
- if (_experimental == null) {
- _experimental = get_attribute ("Experimental") != null;
- }
- return _experimental;
- }
- set {
- _experimental = value;
- set_attribute ("Experimental", value);
- }
- }
-
- /**
* Specifies whether this symbol has been accessed.
*/
public bool used { get; set; }
@@ -138,6 +82,22 @@ public abstract class Vala.Symbol : CodeNode {
public Comment? comment { get; set; }
+
+ private VersionAttribute _version;
+
+ /**
+ * The associated [Version] attribute
+ */
+ public VersionAttribute version {
+ get {
+ if (_version == null) {
+ _version = new VersionAttribute (this);
+ }
+
+ return _version;
+ }
+ }
+
/**
* Specifies whether this method explicitly hides a member of a base
* type.
@@ -180,6 +140,9 @@ public abstract class Vala.Symbol : CodeNode {
return false;
}
+ /**
+ * The scope this symbol opens.
+ */
public Scope scope {
get { return _scope; }
}
@@ -228,8 +191,6 @@ public abstract class Vala.Symbol : CodeNode {
private weak Scope _owner;
private Scope _scope;
- private bool? _deprecated;
- private bool? _experimental;
public Symbol (string? name, SourceReference? source_reference, Comment? comment = null) {
this.name = name;
@@ -413,36 +374,6 @@ public abstract class Vala.Symbol : CodeNode {
return isclass;
}
- /**
- * Check to see if the symbol has been deprecated, and emit a warning
- * if it has.
- */
- public bool check_deprecated (SourceReference? source_ref = null) {
- if (external_package && deprecated) {
- if (!CodeContext.get ().deprecated) {
- Report.deprecated (source_ref, "%s %s%s".printf (get_full_name (), (deprecated_since == null) ? "is deprecated" : "has been deprecated since %s".printf (deprecated_since), (replacement == null) ? "" : ". Use %s".printf (replacement)));
- }
- return true;
- } else {
- return false;
- }
- }
-
- /**
- * Check to see if the symbol is experimental, and emit a warning
- * if it is.
- */
- public bool check_experimental (SourceReference? source_ref = null) {
- if (external_package && experimental) {
- if (!CodeContext.get ().experimental) {
- Report.experimental (source_ref, "%s is experimental".printf (get_full_name ()));
- }
- return true;
- } else {
- return false;
- }
- }
-
public Symbol? get_hidden_member () {
Symbol sym = null;
diff --git a/vala/valausedattr.vala b/vala/valausedattr.vala
index 04067e103..588aaf7f8 100644
--- a/vala/valausedattr.vala
+++ b/vala/valausedattr.vala
@@ -57,6 +57,7 @@ public class Vala.UsedAttr : CodeVisitor {
"HasEmitter", "",
"ReturnsModifiedPointer", "",
"Deprecated", "since", "replacement", "",
+ "Version", "since", "replacement", "deprecated", "deprecated_since", "experimental", "",
"Signal", "detailed", "run", "no_recurse", "action", "no_hooks", "",
"Description", "nick", "blurb", "",
@@ -72,7 +73,7 @@ public class Vala.UsedAttr : CodeVisitor {
"GtkCallback", "name", "",
"DBus", "name", "no_reply", "result", "use_string_marshalling", "value", "signature", "visible", "",
-
+
"GIR", "name", ""
};
diff --git a/vala/valaversionattribute.vala b/vala/valaversionattribute.vala
new file mode 100644
index 000000000..9c3df391f
--- /dev/null
+++ b/vala/valaversionattribute.vala
@@ -0,0 +1,231 @@
+/* valaversionattribute.vala
+ *
+ * Copyright (C) 2013 Florian Brosch
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ * Author:
+ * Florian Brosch <flo.brosch@gmail.com>
+ */
+
+using GLib;
+
+
+/**
+ * Represents a [Version] attribute
+ */
+public class Vala.VersionAttribute {
+ private weak Symbol symbol;
+
+ private bool? _deprecated;
+ private bool? _experimental;
+
+ /**
+ * Constructs a new VersionAttribute.
+ *
+ * @param symbol the owner
+ * @return a new VersionAttribute
+ * @see Vala.Symbol
+ */
+ public VersionAttribute (Symbol symbol) {
+ this.symbol = symbol;
+ }
+
+
+
+ /**
+ * Specifies whether this symbol has been deprecated.
+ */
+ public bool deprecated {
+ get {
+ if (_deprecated == null) {
+ _deprecated = symbol.get_attribute_bool ("Version", "deprecated", false)
+ || symbol.get_attribute_string ("Version", "deprecated_since") != null
+ || symbol.get_attribute_string ("Version", "replacement") != null
+ // [Deprecated] is deprecated
+ || symbol.get_attribute ("Deprecated") != null;
+ }
+ return _deprecated;
+ }
+ set {
+ _deprecated = value;
+ symbol.set_attribute_bool ("Version", "deprecated", _deprecated);
+ }
+ }
+
+ /**
+ * Specifies what version this symbol has been deprecated since.
+ */
+ public string? deprecated_since {
+ owned get {
+ return symbol.get_attribute_string ("Version", "deprecated_since")
+ // [Deprecated] is deprecated
+ ?? symbol.get_attribute_string ("Deprecated", "since");
+ }
+ set {
+ symbol.set_attribute_string ("Version", "deprecated_since", value);
+ }
+ }
+
+ /**
+ * Specifies the replacement if this symbol has been deprecated.
+ */
+ public string? replacement {
+ owned get {
+ return symbol.get_attribute_string ("Version", "replacement")
+ // [Deprecated] is deprecated
+ ?? symbol.get_attribute_string ("Deprecated", "replacement");
+ }
+ set {
+ symbol.set_attribute_string ("Version", "replacement", value);
+ }
+ }
+
+
+
+ /**
+ * Specifies whether this symbol is experimental.
+ */
+ public bool experimental {
+ get {
+ if (_experimental == null) {
+ _experimental = symbol.get_attribute_bool ("Version", "experimental", false)
+ || symbol.get_attribute_string ("Version", "experimental_until") != null
+ || symbol.get_attribute ("Experimental") != null;
+ }
+ return _experimental;
+ }
+ set {
+ _experimental = value;
+ symbol.set_attribute_bool ("Version", "experimental", value);
+ }
+ }
+
+ /**
+ * Specifies until which version this symbol is experimental.
+ */
+ public string? experimental_until {
+ owned get {
+ return symbol.get_attribute_string ("Version", "experimental_until");
+ }
+ set {
+ symbol.set_attribute_string ("Version", "experimental_until", value);
+ }
+ }
+
+
+
+ /**
+ * The minimum version for {@link Vala.VersionAttribute.symbol}
+ */
+ public string? since {
+ owned get {
+ return symbol.get_attribute_string ("Version", "since");
+ }
+ set {
+ symbol.set_attribute_string ("Version", "since", value);
+ }
+ }
+
+
+
+ /**
+ * Check to see if the symbol is experimental, deprecated or not available
+ * and emit a warning if it is.
+ */
+ public bool check (SourceReference? source_ref = null) {
+ bool result = false;
+
+ // deprecation:
+ if (symbol.external_package && deprecated) {
+ if (!CodeContext.get ().deprecated) {
+ Report.deprecated (source_ref, "%s %s%s".printf (symbol.get_full_name (), (deprecated_since == null) ? "is deprecated" : "has been deprecated since %s".printf (deprecated_since), (replacement == null) ? "" : ". Use %s".printf (replacement)));
+ }
+ result = true;
+ }
+
+ // availability:
+ if (symbol.external_package && since != null) {
+ string? package_version = symbol.source_reference.file.installed_version;
+
+ if (CodeContext.get ().since_check && package_version != null && VersionAttribute.cmp_versions (package_version, since) < 0) {
+ unowned string filename = symbol.source_reference.file.filename;
+ string pkg = Path.get_basename (filename[0:filename.last_index_of_char ('.')]);
+ Report.error (source_ref, "%s is not available in %s %s. Use %s >= %s".printf (symbol.get_full_name (), pkg, package_version, pkg, since));
+ }
+ result = true;
+ }
+
+ // experimental:
+ if (symbol.external_package && experimental) {
+ if (!CodeContext.get ().experimental) {
+ string? package_version = symbol.source_reference.file.installed_version;
+ string? experimental_until = this.experimental_until;
+
+ if (experimental_until == null || package_version == null || VersionAttribute.cmp_versions (package_version, experimental_until) < 0) {
+ Report.experimental (source_ref, "%s is experimental%s".printf (symbol.get_full_name (), (experimental_until != null) ? " until %s".printf (experimental_until) : ""));
+ }
+ }
+ result = true;
+ }
+
+ return result;
+ }
+
+
+ /**
+ * A simple version comparison function.
+ *
+ * @param v1str a version number
+ * @param v2str a version number
+ * @return an integer less than, equal to, or greater than zero, if v1str is <, == or > than v2str
+ * @see GLib.CompareFunc
+ */
+ public static int cmp_versions (string v1str, string v2str) {
+ string[] v1arr = v1str.split (".");
+ string[] v2arr = v2str.split (".");
+ int i = 0;
+
+ while (v1arr[i] != null && v2arr[i] != null) {
+ int v1num = int.parse (v1arr[i]);
+ int v2num = int.parse (v2arr[i]);
+
+ if (v1num < 0 || v2num < 0) {
+ // invalid format
+ return 0;
+ }
+
+ if (v1num > v2num) {
+ return 1;
+ }
+
+ if (v1num < v2num) {
+ return -1;
+ }
+
+ i++;
+ }
+
+ if (v1arr[i] != null && v2arr[i] == null) {
+ return 1;
+ }
+
+ if (v1arr[i] == null && v2arr[i] != null) {
+ return -1;
+ }
+
+ return 0;
+ }
+}
diff --git a/vapi/Makefile.am b/vapi/Makefile.am
index cd66ae5fd..1bbffba64 100644
--- a/vapi/Makefile.am
+++ b/vapi/Makefile.am
@@ -74,6 +74,8 @@ dist_vapi_DATA = \
gio-2.0.vapi \
gio-unix-2.0.deps \
gio-unix-2.0.vapi \
+ gio-windows-2.0.deps \
+ gio-windows-2.0.vapi \
gmodule-2.0.vapi \
gnet-2.0.deps \
gnet-2.0.vapi \
diff --git a/vapi/atk.vapi b/vapi/atk.vapi
index e56c95b3a..28035e8dc 100644
--- a/vapi/atk.vapi
+++ b/vapi/atk.vapi
@@ -23,7 +23,7 @@ namespace Atk {
public virtual int get_start_index ();
public virtual string get_uri (int i);
public bool is_inline ();
- [Deprecated (since = "1.8")]
+ [Version (deprecated = true, deprecated_since = "1.8", since = "1.4")]
public virtual bool is_selected_link ();
public virtual bool is_valid ();
[NoWrapper]
@@ -31,8 +31,8 @@ namespace Atk {
public int end_index { get; }
[NoAccessorMethod]
public int number_of_anchors { get; }
- [Deprecated (since = "1.8")]
[NoAccessorMethod]
+ [Version (deprecated = true, deprecated_since = "1.8")]
public bool selected_link { get; }
public int start_index { get; }
public virtual signal void link_activated ();
@@ -41,11 +41,11 @@ namespace Atk {
public class Misc : GLib.Object {
[CCode (has_construct_function = false)]
protected Misc ();
- [Deprecated]
+ [Version (deprecated = true, since = "1.13")]
public static unowned Atk.Misc get_instance ();
- [Deprecated]
+ [Version (deprecated = true, since = "1.13")]
public virtual void threads_enter ();
- [Deprecated]
+ [Version (deprecated = true, since = "1.13")]
public virtual void threads_leave ();
}
[CCode (cheader_filename = "atk/atk.h", type_id = "atk_no_op_object_get_type ()")]
@@ -68,19 +68,21 @@ namespace Atk {
[CCode (has_construct_function = false)]
protected Object ();
public bool add_relationship (Atk.RelationType relationship, Atk.Object target);
- [Deprecated]
+ [Version (deprecated = true)]
public virtual uint connect_property_change_handler (Atk.PropertyChangeHandler handler);
+ [Version (since = "1.12")]
public virtual Atk.AttributeSet get_attributes ();
public virtual unowned string get_description ();
public virtual int get_index_in_parent ();
- [Deprecated]
+ [Version (deprecated = true)]
public virtual Atk.Layer get_layer ();
- [Deprecated]
+ [Version (deprecated = true)]
public virtual int get_mdi_zorder ();
public int get_n_accessible_children ();
[NoWrapper]
public virtual int get_n_children ();
public virtual unowned string get_name ();
+ [Version (since = "2.8")]
public virtual unowned string get_object_locale ();
public virtual unowned Atk.Object get_parent ();
public virtual Atk.Role get_role ();
@@ -90,7 +92,7 @@ namespace Atk {
public Atk.Object ref_accessible_child (int i);
public virtual Atk.RelationSet ref_relation_set ();
public virtual Atk.StateSet ref_state_set ();
- [Deprecated]
+ [Version (deprecated = true)]
public virtual void remove_property_change_handler (uint handler_id);
public bool remove_relationship (Atk.RelationType relationship, Atk.Object target);
public virtual void set_description (string description);
@@ -111,31 +113,31 @@ namespace Atk {
public Atk.Object accessible_parent { owned get; set; }
[NoAccessorMethod]
public int accessible_role { get; set; }
- [Deprecated]
[NoAccessorMethod]
+ [Version (deprecated = true)]
public string accessible_table_caption { owned get; set; }
[NoAccessorMethod]
public Atk.Object accessible_table_caption_object { owned get; set; }
- [Deprecated]
[NoAccessorMethod]
+ [Version (deprecated = true)]
public string accessible_table_column_description { owned get; set; }
- [Deprecated]
[NoAccessorMethod]
+ [Version (deprecated = true)]
public Atk.Object accessible_table_column_header { owned get; set; }
- [Deprecated]
[NoAccessorMethod]
+ [Version (deprecated = true)]
public string accessible_table_row_description { owned get; set; }
- [Deprecated]
[NoAccessorMethod]
+ [Version (deprecated = true)]
public Atk.Object accessible_table_row_header { owned get; set; }
[NoAccessorMethod]
public Atk.Object accessible_table_summary { owned get; set; }
- [Deprecated]
[NoAccessorMethod]
+ [Version (deprecated = true)]
public double accessible_value { get; set; }
public virtual signal void active_descendant_changed (void* child);
public virtual signal void children_changed (uint change_index, void* changed_child);
- [Deprecated (since = "2.9.4")]
+ [Version (deprecated = true, deprecated_since = "2.9.4")]
public virtual signal void focus_event (bool focus_in);
public virtual signal void property_change (void* values);
public virtual signal void state_change (string name, bool state_set);
@@ -153,6 +155,7 @@ namespace Atk {
public class Plug : Atk.Object, Atk.Component {
[CCode (has_construct_function = false, type = "AtkObject*")]
public Plug ();
+ [Version (since = "1.30")]
public string get_id ();
[NoWrapper]
public virtual string get_object_id ();
@@ -161,18 +164,24 @@ namespace Atk {
[Compact]
public class Range {
[CCode (has_construct_function = false)]
+ [Version (since = "2.12")]
public Range (double lower_limit, double upper_limit, string description);
+ [Version (since = "2.12")]
public Atk.Range copy ();
+ [Version (since = "2.12")]
public void free ();
+ [Version (since = "2.12")]
public unowned string get_description ();
+ [Version (since = "2.12")]
public double get_lower_limit ();
+ [Version (since = "2.12")]
public double get_upper_limit ();
}
[CCode (cheader_filename = "atk/atk.h")]
public class Registry : GLib.Object {
- [Deprecated]
+ [Version (deprecated = true)]
public weak GLib.HashTable<GLib.Type,Atk.ObjectFactory> factory_singleton_cache;
- [Deprecated]
+ [Version (deprecated = true)]
public weak GLib.HashTable<GLib.Type,GLib.Type> factory_type_registry;
[CCode (has_construct_function = false)]
protected Registry ();
@@ -187,15 +196,16 @@ namespace Atk {
public Atk.RelationType relationship;
[CCode (has_construct_function = false)]
public Relation ([CCode (array_length_cname = "n_targets", array_length_pos = 1.5)] Atk.Object[] targets, Atk.RelationType relationship);
+ [Version (since = "1.9")]
public void add_target (Atk.Object target);
public Atk.RelationType get_relation_type ();
public unowned GLib.GenericArray<Atk.Object> get_target ();
public bool remove_target (Atk.Object target);
- [Deprecated (replacement = "RelationType.for_name", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "RelationType.for_name")]
public static Atk.RelationType type_for_name (string name);
- [Deprecated (replacement = "RelationType.get_name", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "RelationType.get_name")]
public static unowned string type_get_name (Atk.RelationType type);
- [Deprecated (replacement = "RelationType.register", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "RelationType.register")]
public static Atk.RelationType type_register (string name);
[NoAccessorMethod]
public Atk.RelationType relation_type { get; set; }
@@ -204,11 +214,12 @@ namespace Atk {
}
[CCode (cheader_filename = "atk/atk.h", type_id = "atk_relation_set_get_type ()")]
public class RelationSet : GLib.Object {
- [Deprecated]
+ [Version (deprecated = true)]
public weak GLib.GenericArray<Atk.Relation> relations;
[CCode (has_construct_function = false)]
public RelationSet ();
public void add (Atk.Relation relation);
+ [Version (since = "1.9")]
public void add_relation_by_type (Atk.RelationType relationship, Atk.Object target);
public bool contains (Atk.RelationType relationship);
public bool contains_target (Atk.RelationType relationship, Atk.Object target);
@@ -219,11 +230,13 @@ namespace Atk {
}
[CCode (cheader_filename = "atk/atk.h", type_id = "atk_socket_get_type ()")]
public class Socket : Atk.Object, Atk.Component {
- [Deprecated]
+ [Version (deprecated = true)]
public weak string embedded_plug_id;
[CCode (has_construct_function = false, type = "AtkObject*")]
public Socket ();
+ [Version (since = "1.30")]
public virtual void embed (string plug_id);
+ [Version (since = "1.30")]
public bool is_occupied ();
}
[CCode (cheader_filename = "atk/atk.h", type_id = "atk_state_set_get_type ()")]
@@ -254,19 +267,20 @@ namespace Atk {
[CCode (has_construct_function = false)]
protected Util ();
[CCode (cheader_filename = "atk/atk.h", cname = "atk_add_focus_tracker")]
- [Deprecated (since = "2.9.4")]
+ [Version (deprecated = true, deprecated_since = "2.9.4")]
public static uint add_focus_tracker (Atk.EventListener focus_tracker);
[CCode (cheader_filename = "atk/atk.h", cname = "atk_add_global_event_listener")]
public static uint add_global_event_listener ([CCode (type = "GSignalEmissionHook")] Atk.SignalEmissionHook listener, string event_type);
[CCode (cheader_filename = "atk/atk.h", cname = "atk_add_key_event_listener")]
public static uint add_key_event_listener (Atk.KeySnoopFunc listener);
[CCode (cheader_filename = "atk/atk.h", cname = "atk_focus_tracker_init")]
- [Deprecated (since = "2.9.4")]
+ [Version (deprecated = true, deprecated_since = "2.9.4")]
public static void focus_tracker_init (Atk.EventListenerInit init);
[CCode (cheader_filename = "atk/atk.h", cname = "atk_focus_tracker_notify")]
- [Deprecated (since = "2.9.4")]
+ [Version (deprecated = true, deprecated_since = "2.9.4")]
public static void focus_tracker_notify (Atk.Object object);
[CCode (cheader_filename = "atk/atk.h", cname = "atk_get_focus_object")]
+ [Version (since = "1.6")]
public static unowned Atk.Object get_focus_object ();
[CCode (cheader_filename = "atk/atk.h", cname = "atk_get_root")]
public static unowned Atk.Object get_root ();
@@ -275,9 +289,10 @@ namespace Atk {
[CCode (cheader_filename = "atk/atk.h", cname = "atk_get_toolkit_version")]
public static unowned string get_toolkit_version ();
[CCode (cheader_filename = "atk/atk.h", cname = "atk_get_version")]
+ [Version (since = "1.20")]
public static unowned string get_version ();
[CCode (cheader_filename = "atk/atk.h", cname = "atk_remove_focus_tracker")]
- [Deprecated (since = "2.9.4")]
+ [Version (deprecated = true, deprecated_since = "2.9.4")]
public static void remove_focus_tracker (uint tracker_id);
[CCode (cheader_filename = "atk/atk.h", cname = "atk_remove_global_event_listener")]
public static void remove_global_event_listener (uint listener_id);
@@ -296,20 +311,21 @@ namespace Atk {
}
[CCode (cheader_filename = "atk/atk.h", type_id = "atk_component_get_type ()")]
public interface Component : GLib.Object {
- [Deprecated (since = "2.9.4")]
+ [Version (deprecated = true, deprecated_since = "2.9.4")]
public abstract uint add_focus_handler (Atk.FocusHandler handler);
public abstract bool contains (int x, int y, Atk.CoordType coord_type);
+ [Version (since = "1.12")]
public abstract double get_alpha ();
public abstract void get_extents (int x, int y, int width, int height, Atk.CoordType coord_type);
public abstract Atk.Layer get_layer ();
public abstract int get_mdi_zorder ();
- [Deprecated]
+ [Version (deprecated = true)]
public abstract void get_position (int x, int y, Atk.CoordType coord_type);
- [Deprecated]
+ [Version (deprecated = true)]
public abstract void get_size (int width, int height);
public abstract bool grab_focus ();
public abstract Atk.Object? ref_accessible_at_point (int x, int y, Atk.CoordType coord_type);
- [Deprecated (since = "2.9.4")]
+ [Version (deprecated = true, deprecated_since = "2.9.4")]
public abstract void remove_focus_handler (uint handler_id);
public abstract bool set_extents (int x, int y, int width, int height, Atk.CoordType coord_type);
public abstract bool set_position (int x, int y, Atk.CoordType coord_type);
@@ -319,24 +335,30 @@ namespace Atk {
[CCode (cheader_filename = "atk/atk.h", type_id = "atk_document_get_type ()")]
public interface Document : GLib.Object {
[CCode (vfunc_name = "get_document_attribute_value")]
+ [Version (since = "1.12")]
public virtual unowned string? get_attribute_value (string attribute_name);
[CCode (vfunc_name = "get_document_attributes")]
+ [Version (since = "1.12")]
public virtual unowned Atk.AttributeSet get_attributes ();
+ [Version (since = "2.12")]
public virtual int get_current_page_number ();
- [Deprecated]
+ [Version (deprecated = true)]
public virtual void* get_document ();
- [Deprecated (replacement = "Document.get_locale", since = "vala-0.22")]
+ [Version (deprecated_since = "vala-0.22", replacement = "Document.get_locale")]
public virtual unowned string get_document_locale ();
- [Deprecated]
+ [Version (deprecated = true)]
public virtual unowned string get_document_type ();
[CCode (vfunc_name = "get_document_locale")]
- [Deprecated (since = "2.7.90")]
+ [Version (deprecated = true, deprecated_since = "2.7.90")]
public virtual unowned string get_locale ();
+ [Version (since = "2.12")]
public virtual int get_page_count ();
[CCode (vfunc_name = "set_document_attribute")]
+ [Version (since = "1.12")]
public virtual bool set_attribute_value (string attribute_name, string attribute_value);
public signal void load_complete ();
public signal void load_stopped ();
+ [Version (since = "2.12")]
public signal void page_changed (int page_number);
public signal void reload ();
}
@@ -352,6 +374,7 @@ namespace Atk {
}
[CCode (cheader_filename = "atk/atk.h", type_id = "atk_hyperlink_impl_get_type ()")]
public interface HyperlinkImpl : GLib.Object {
+ [Version (since = "1.12")]
public abstract Atk.Hyperlink get_hyperlink ();
}
[CCode (cheader_filename = "atk/atk.h", type_id = "atk_hypertext_get_type ()")]
@@ -364,6 +387,7 @@ namespace Atk {
[CCode (cheader_filename = "atk/atk.h", type_id = "atk_image_get_type ()")]
public interface Image : GLib.Object {
public abstract unowned string get_image_description ();
+ [Version (since = "1.12")]
public abstract unowned string? get_image_locale ();
public abstract void get_image_position (int x, int y, Atk.CoordType coord_type);
public abstract void get_image_size (int width, int height);
@@ -389,6 +413,7 @@ namespace Atk {
public abstract unowned string get_mime_type (int i);
public abstract int get_n_mime_types ();
public abstract GLib.IOChannel get_stream (string mime_type);
+ [Version (since = "1.12")]
public abstract unowned string? get_uri (string mime_type);
}
[CCode (cheader_filename = "atk/atk.h", type_id = "atk_table_get_type ()")]
@@ -396,16 +421,16 @@ namespace Atk {
public abstract bool add_column_selection (int column);
public abstract bool add_row_selection (int row);
public abstract unowned Atk.Object? get_caption ();
- [Deprecated]
+ [Version (deprecated = true)]
public abstract int get_column_at_index (int index_);
public abstract unowned string get_column_description (int column);
public abstract int get_column_extent_at (int row, int column);
public abstract unowned Atk.Object? get_column_header (int column);
- [Deprecated]
+ [Version (deprecated = true)]
public abstract int get_index_at (int row, int column);
public abstract int get_n_columns ();
public abstract int get_n_rows ();
- [Deprecated]
+ [Version (deprecated = true)]
public abstract int get_row_at_index (int index_);
public abstract unowned string? get_row_description (int row);
public abstract int get_row_extent_at (int row, int column);
@@ -435,27 +460,36 @@ namespace Atk {
}
[CCode (cheader_filename = "atk/atk.h", type_id = "atk_table_cell_get_type ()")]
public interface TableCell : Atk.Object {
+ [Version (since = "2.12")]
public abstract GLib.GenericArray<Atk.Object> get_column_header_cells ();
+ [Version (since = "2.12")]
public abstract int get_column_span ();
+ [Version (since = "2.12")]
public abstract bool get_position (out int row, out int column);
+ [Version (since = "2.12")]
public abstract bool get_row_column_span (out int row, out int column, out int row_span, out int column_span);
+ [Version (since = "2.12")]
public abstract GLib.GenericArray<Atk.Object> get_row_header_cells ();
+ [Version (since = "2.12")]
public abstract int get_row_span ();
+ [Version (since = "2.12")]
public abstract Atk.Object get_table ();
}
[CCode (cheader_filename = "atk/atk.h")]
public interface Text : GLib.Object {
public abstract bool add_selection (int start_offset, int end_offset);
- [Deprecated (replacement = "TextAttribute.for_name", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "TextAttribute.for_name")]
public static Atk.TextAttribute attribute_for_name (string name);
- [Deprecated (replacement = "TextAttribute.get_name", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "TextAttribute.get_name")]
public static unowned string attribute_get_name (Atk.TextAttribute attr);
- [Deprecated (replacement = "TextAttribute.get_value", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "TextAttribute.get_value")]
public static unowned string attribute_get_value (Atk.TextAttribute attr, int index_);
- [Deprecated (replacement = "TextAttribute.register", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "TextAttribute.register")]
public static Atk.TextAttribute attribute_register (string name);
+ [Version (since = "1.3")]
public static void free_ranges ([CCode (array_length = false)] Atk.TextRange[] ranges);
[CCode (array_length = false, array_null_terminated = true, cname = "atk_text_get_bounded_ranges")]
+ [Version (since = "1.3")]
public virtual Atk.TextRange[] get_bounded_ranges (Atk.TextRectangle rect, Atk.CoordType coord_type, Atk.TextClipType x_clip_type, Atk.TextClipType y_clip_type);
public abstract int get_caret_offset ();
public abstract unichar get_character_at_offset (int offset);
@@ -464,23 +498,25 @@ namespace Atk {
public abstract Atk.AttributeSet get_default_attributes ();
public abstract int get_n_selections ();
public abstract int get_offset_at_point (int x, int y, Atk.CoordType coords);
+ [Version (since = "1.3")]
public abstract void get_range_extents (int start_offset, int end_offset, Atk.CoordType coord_type, Atk.TextRectangle rect);
public abstract Atk.AttributeSet get_run_attributes (int offset, out int start_offset, out int end_offset);
public abstract string get_selection (int selection_num, out int start_offset, out int end_offset);
+ [Version (since = "2.10")]
public abstract string? get_string_at_offset (int offset, Atk.TextGranularity granularity, out int start_offset, out int end_offset);
public abstract string get_text (int start_offset, int end_offset);
- [Deprecated (since = "2.9.3")]
+ [Version (deprecated = true, deprecated_since = "2.9.3")]
public abstract string get_text_after_offset (int offset, Atk.TextBoundary boundary_type, out int start_offset, out int end_offset);
- [Deprecated]
+ [Version (deprecated = true)]
public abstract string get_text_at_offset (int offset, Atk.TextBoundary boundary_type, out int start_offset, out int end_offset);
- [Deprecated (since = "2.9.3")]
+ [Version (deprecated = true, deprecated_since = "2.9.3")]
public abstract string get_text_before_offset (int offset, Atk.TextBoundary boundary_type, out int start_offset, out int end_offset);
public abstract bool remove_selection (int selection_num);
public abstract bool set_caret_offset (int offset);
public abstract bool set_selection (int selection_num, int start_offset, int end_offset);
public virtual signal void text_attributes_changed ();
public virtual signal void text_caret_moved (int location);
- [Deprecated (since = "2.9.4")]
+ [Version (deprecated = true, deprecated_since = "2.9.4")]
public virtual signal void text_changed (int position, int length);
public signal void text_insert (int arg1, int arg2, string arg3);
public signal void text_remove (int arg1, int arg2, string arg3);
@@ -488,33 +524,48 @@ namespace Atk {
}
[CCode (cheader_filename = "atk/atk.h", type_id = "atk_value_get_type ()")]
public interface Value : GLib.Object {
- [Deprecated]
+ [Version (deprecated = true)]
public abstract void get_current_value (GLib.Value value);
+ [Version (since = "2.12")]
public abstract double get_increment ();
- [Deprecated]
+ [Version (deprecated = true)]
public abstract void get_maximum_value (GLib.Value value);
- [Deprecated]
+ [Version (deprecated = true, since = "1.12")]
public abstract void get_minimum_increment (GLib.Value value);
- [Deprecated]
+ [Version (deprecated = true)]
public abstract void get_minimum_value (GLib.Value value);
+ [Version (since = "2.12")]
public abstract Atk.Range? get_range ();
+ [Version (since = "2.12")]
public abstract GLib.SList<Atk.Range> get_sub_ranges ();
+ [Version (since = "2.12")]
public abstract void get_value_and_text (out double value, out string text);
- [Deprecated]
+ [Version (deprecated = true)]
public abstract bool set_current_value (GLib.Value value);
+ [Version (since = "2.12")]
public abstract void set_value (double new_value);
+ [Version (since = "2.12")]
public signal void value_changed (double value, string text);
}
[CCode (cheader_filename = "atk/atk.h", type_id = "atk_window_get_type ()")]
public interface Window : Atk.Object {
+ [Version (since = "2.2")]
public signal void activate ();
+ [Version (since = "2.2")]
public signal void create ();
+ [Version (since = "2.2")]
public signal void deactivate ();
+ [Version (since = "2.2")]
public signal void destroy ();
+ [Version (since = "2.2")]
public signal void maximize ();
+ [Version (since = "2.2")]
public signal void minimize ();
+ [Version (since = "2.2")]
public signal void move ();
+ [Version (since = "2.2")]
public signal void resize ();
+ [Version (since = "2.2")]
public signal void restore ();
}
[CCode (cheader_filename = "atk/atk.h", has_type_id = false)]
@@ -549,11 +600,11 @@ namespace Atk {
[CCode (cheader_filename = "atk/atk.h")]
[SimpleType]
public struct State : uint64 {
- [Deprecated (replacement = "StateType.for_name", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "StateType.for_name")]
public static Atk.StateType type_for_name (string name);
- [Deprecated (replacement = "StateType.get_name", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "StateType.get_name")]
public static unowned string type_get_name (Atk.StateType type);
- [Deprecated (replacement = "StateType.register", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "StateType.register")]
public static Atk.StateType type_register (string name);
}
[CCode (cheader_filename = "atk/atk.h", has_type_id = false)]
@@ -619,7 +670,7 @@ namespace Atk {
}
[CCode (cheader_filename = "atk/atk.h", cprefix = "ATK_ROLE_", type_id = "atk_role_get_type ()")]
public enum Role {
- [Deprecated (replacement = "Role.ACCELERATOR_LABEL", since = "vala-0.22")]
+ [Version (deprecated_since = "vala-0.22", replacement = "Role.ACCELERATOR_LABEL")]
ACCEL_LABEL,
INVALID,
[CCode (cname = "ATK_ROLE_ACCEL_LABEL")]
@@ -752,7 +803,7 @@ namespace Atk {
[CCode (cheader_filename = "atk/atk.h")]
public static unowned string get_name (Atk.Role role);
[CCode (cheader_filename = "atk/atk.h")]
- [Deprecated]
+ [Version (deprecated = true)]
public static Atk.Role register (string name);
}
[CCode (cheader_filename = "atk/atk.h", cprefix = "ATK_STATE_", type_id = "atk_state_type_get_type ()")]
@@ -901,88 +952,99 @@ namespace Atk {
[CCode (cheader_filename = "atk/atk.h", has_target = false)]
public delegate void EventListenerInit ();
[CCode (cheader_filename = "atk/atk.h", has_target = false)]
- [Deprecated (since = "2.9.4")]
+ [Version (deprecated = true, deprecated_since = "2.9.4")]
public delegate void FocusHandler (Atk.Object object, bool focus_in);
[CCode (cheader_filename = "atk/atk.h", instance_pos = 0.9)]
public delegate bool Function ();
[CCode (cheader_filename = "atk/atk.h", instance_pos = 1.9)]
public delegate int KeySnoopFunc (Atk.KeyEventStruct event);
[CCode (cheader_filename = "atk/atk.h", has_target = false)]
- [Deprecated]
+ [Version (deprecated = true)]
public delegate void PropertyChangeHandler (Atk.Object obj, Atk.PropertyValues vals);
[CCode (cheader_filename = "atk/atk.h", cname = "GSignalEmissionHook", has_target = false)]
public delegate bool SignalEmissionHook (GLib.SignalInvocationHint ihint, [CCode (array_length_pos = 1.9)] Atk.Value[] param_values, void* data);
[CCode (cheader_filename = "atk/atk.h", cname = "ATK_BINARY_AGE")]
+ [Version (since = "2.7.4")]
public const int BINARY_AGE;
[CCode (cheader_filename = "atk/atk.h", cname = "ATK_INTERFACE_AGE")]
+ [Version (since = "2.7.4")]
public const int INTERFACE_AGE;
[CCode (cheader_filename = "atk/atk.h", cname = "ATK_MAJOR_VERSION")]
+ [Version (since = "2.7.4")]
public const int MAJOR_VERSION;
[CCode (cheader_filename = "atk/atk.h", cname = "ATK_MICRO_VERSION")]
+ [Version (since = "2.7.4")]
public const int MICRO_VERSION;
[CCode (cheader_filename = "atk/atk.h", cname = "ATK_MINOR_VERSION")]
+ [Version (since = "2.7.4")]
public const int MINOR_VERSION;
[CCode (cheader_filename = "atk/atk.h", cname = "ATK_VERSION_MIN_REQUIRED")]
+ [Version (since = "2.14")]
public const int VERSION_MIN_REQUIRED;
[CCode (cheader_filename = "atk/atk.h")]
- [Deprecated (replacement = "Atk.Util.add_focus_tracker", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "Atk.Util.add_focus_tracker")]
public static uint add_focus_tracker (Atk.EventListener focus_tracker);
[CCode (cheader_filename = "atk/atk.h")]
- [Deprecated (replacement = "Atk.Util.add_global_event_listener", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "Atk.Util.add_global_event_listener")]
public static uint add_global_event_listener (GLib.SignalEmissionHook listener, string event_type);
[CCode (cheader_filename = "atk/atk.h")]
- [Deprecated (replacement = "Atk.Util.focus_tracker_init", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "Atk.Util.focus_tracker_init")]
public static void focus_tracker_init (Atk.EventListenerInit init);
[CCode (cheader_filename = "atk/atk.h")]
- [Deprecated (replacement = "Atk.Util.focus_tracker_notify", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "Atk.Util.focus_tracker_notify")]
public static void focus_tracker_notify (Atk.Object object);
[CCode (cheader_filename = "atk/atk.h")]
+ [Version (since = "2.8")]
public static uint get_binary_age ();
[CCode (cheader_filename = "atk/atk.h")]
- [Deprecated (replacement = "Atk.Registry.get_default.", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "Atk.Registry.get_default.")]
public static unowned Atk.Registry get_default_registry ();
[CCode (cheader_filename = "atk/atk.h")]
- [Deprecated (replacement = "Atk.Util.get_focus_object", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "Atk.Util.get_focus_object")]
public static unowned Atk.Object get_focus_object ();
[CCode (cheader_filename = "atk/atk.h")]
+ [Version (since = "2.8")]
public static uint get_interface_age ();
[CCode (cheader_filename = "atk/atk.h")]
+ [Version (since = "2.8")]
public static uint get_major_version ();
[CCode (cheader_filename = "atk/atk.h")]
+ [Version (since = "2.8")]
public static uint get_micro_version ();
[CCode (cheader_filename = "atk/atk.h")]
+ [Version (since = "2.8")]
public static uint get_minor_version ();
[CCode (cheader_filename = "atk/atk.h")]
- [Deprecated (replacement = "Atk.Util.get_root", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "Atk.Util.get_root")]
public static unowned Atk.Object get_root ();
[CCode (cheader_filename = "atk/atk.h")]
- [Deprecated (replacement = "Atk.Util.get_toolkit_name", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "Atk.Util.get_toolkit_name")]
public static unowned string get_toolkit_name ();
[CCode (cheader_filename = "atk/atk.h")]
- [Deprecated (replacement = "Atk.Util.get_toolkit_version", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "Atk.Util.get_toolkit_version")]
public static unowned string get_toolkit_version ();
[CCode (cheader_filename = "atk/atk.h")]
- [Deprecated (replacement = "Atk.Util.get_version", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "Atk.Util.get_version")]
public static unowned string get_version ();
[CCode (cheader_filename = "atk/atk.h")]
- [Deprecated (replacement = "Atk.Util.remove_focus_tracker", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "Atk.Util.remove_focus_tracker")]
public static void remove_focus_tracker (uint tracker_id);
[CCode (cheader_filename = "atk/atk.h")]
- [Deprecated (replacement = "Atk.Util.remove_global_event_listener", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "Atk.Util.remove_global_event_listener")]
public static void remove_global_event_listener (uint listener_id);
[CCode (cheader_filename = "atk/atk.h")]
- [Deprecated (replacement = "Atk.Util.remove_key_event_listener", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "Atk.Util.remove_key_event_listener")]
public static void remove_key_event_listener (uint listener_id);
[CCode (cheader_filename = "atk/atk.h")]
- [Deprecated (replacement = "Atk.Role.for_name", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "Atk.Role.for_name")]
public static Atk.Role role_for_name (string name);
[CCode (cheader_filename = "atk/atk.h")]
- [Deprecated (replacement = "Atk.Role.get_localized_name", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "Atk.Role.get_localized_name")]
public static unowned string role_get_localized_name (Atk.Role role);
[CCode (cheader_filename = "atk/atk.h")]
- [Deprecated (replacement = "Atk.Role.get_name", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "Atk.Role.get_name")]
public static unowned string role_get_name (Atk.Role role);
[CCode (cheader_filename = "atk/atk.h")]
- [Deprecated (replacement = "Atk.Role.register", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "Atk.Role.register")]
public static Atk.Role role_register (string name);
}
diff --git a/vapi/atspi-2.vapi b/vapi/atspi-2.vapi
index dae73f10b..faad39c99 100644
--- a/vapi/atspi-2.vapi
+++ b/vapi/atspi-2.vapi
@@ -16,7 +16,7 @@ namespace Atspi {
[CCode (has_construct_function = false)]
protected Accessible ();
public void clear_cache ();
- [Deprecated (since = "2.10")]
+ [Version (deprecated = true, deprecated_since = "2.10")]
public Atspi.Action get_action ();
public Atspi.Action get_action_iface ();
public Atspi.Accessible get_application () throws GLib.Error;
@@ -25,25 +25,25 @@ namespace Atspi {
public GLib.Array<string> get_attributes_as_array () throws GLib.Error;
public Atspi.Accessible get_child_at_index (int child_index) throws GLib.Error;
public int get_child_count () throws GLib.Error;
- [Deprecated (since = "2.10")]
+ [Version (deprecated = true, deprecated_since = "2.10")]
public Atspi.Collection get_collection ();
public Atspi.Collection get_collection_iface ();
- [Deprecated (since = "2.10")]
+ [Version (deprecated = true, deprecated_since = "2.10")]
public Atspi.Component get_component ();
public Atspi.Component get_component_iface ();
public string get_description () throws GLib.Error;
- [Deprecated (since = "2.10")]
+ [Version (deprecated = true, deprecated_since = "2.10")]
public Atspi.Document get_document ();
public Atspi.Document get_document_iface ();
- [Deprecated (since = "2.10")]
+ [Version (deprecated = true, deprecated_since = "2.10")]
public Atspi.EditableText get_editable_text ();
public Atspi.EditableText get_editable_text_iface ();
public Atspi.Hyperlink get_hyperlink ();
- [Deprecated (since = "2.10")]
+ [Version (deprecated = true, deprecated_since = "2.10")]
public Atspi.Hypertext get_hypertext ();
public Atspi.Hypertext get_hypertext_iface ();
public int get_id () throws GLib.Error;
- [Deprecated (since = "2.10")]
+ [Version (deprecated = true, deprecated_since = "2.10")]
public Atspi.Image get_image ();
public Atspi.Image get_image_iface ();
public int get_index_in_parent () throws GLib.Error;
@@ -56,20 +56,20 @@ namespace Atspi {
public GLib.Array<Atspi.Relation> get_relation_set () throws GLib.Error;
public Atspi.Role get_role () throws GLib.Error;
public string get_role_name () throws GLib.Error;
- [Deprecated (since = "2.10")]
+ [Version (deprecated = true, deprecated_since = "2.10")]
public Atspi.Selection get_selection ();
public Atspi.Selection get_selection_iface ();
public Atspi.StateSet get_state_set ();
- [Deprecated (since = "2.10")]
+ [Version (deprecated = true, deprecated_since = "2.10")]
public Atspi.Table get_table ();
public Atspi.TableCell get_table_cell ();
public Atspi.Table get_table_iface ();
- [Deprecated (since = "2.10")]
+ [Version (deprecated = true, deprecated_since = "2.10")]
public Atspi.Text get_text ();
public Atspi.Text get_text_iface ();
public string get_toolkit_name () throws GLib.Error;
public string get_toolkit_version () throws GLib.Error;
- [Deprecated (since = "2.10")]
+ [Version (deprecated = true, deprecated_since = "2.10")]
public Atspi.Value get_value ();
public Atspi.Value get_value_iface ();
public void set_cache_mask (Atspi.Cache mask);
@@ -217,12 +217,12 @@ namespace Atspi {
public bool do_action (int i) throws GLib.Error;
public string get_action_description (int i) throws GLib.Error;
public string get_action_name (int i) throws GLib.Error;
- [Deprecated (since = "2.10")]
+ [Version (deprecated = true, deprecated_since = "2.10")]
public string get_description (int i) throws GLib.Error;
public string get_key_binding (int i) throws GLib.Error;
public string get_localized_name (int i) throws GLib.Error;
public int get_n_actions () throws GLib.Error;
- [Deprecated (since = "2.10")]
+ [Version (deprecated = true, deprecated_since = "2.10")]
public string get_name (int i) throws GLib.Error;
}
[CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_collection_get_type ()")]
@@ -250,9 +250,9 @@ namespace Atspi {
}
[CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_document_get_type ()")]
public interface Document : GLib.Object {
- [Deprecated (since = "2.10")]
+ [Version (deprecated = true, deprecated_since = "2.10")]
public string get_attribute_value (string attribute) throws GLib.Error;
- [Deprecated (since = "2.10")]
+ [Version (deprecated = true, deprecated_since = "2.10")]
public GLib.HashTable<string,string> get_attributes () throws GLib.Error;
public int get_current_page_number () throws GLib.Error;
public string get_document_attribute_value (string attribute) throws GLib.Error;
@@ -338,9 +338,9 @@ namespace Atspi {
public interface Text : GLib.Object {
public bool add_selection (int start_offset, int end_offset) throws GLib.Error;
public GLib.HashTable<string,string> get_attribute_run (int offset, bool include_defaults, out int start_offset, out int end_offset) throws GLib.Error;
- [Deprecated (since = "2.10")]
+ [Version (deprecated = true, deprecated_since = "2.10")]
public string? get_attribute_value (int offset, string attribute_name) throws GLib.Error;
- [Deprecated (since = "2.10")]
+ [Version (deprecated = true, deprecated_since = "2.10")]
public GLib.HashTable<string,string> get_attributes (int offset, out int start_offset, out int end_offset) throws GLib.Error;
public GLib.Array<Atspi.TextRange> get_bounded_ranges (int x, int y, int width, int height, Atspi.CoordType type, Atspi.TextClipType clipTypeX, Atspi.TextClipType clipTypeY) throws GLib.Error;
public int get_caret_offset () throws GLib.Error;
@@ -352,10 +352,11 @@ namespace Atspi {
public int get_offset_at_point (int x, int y, Atspi.CoordType type) throws GLib.Error;
public Atspi.Rect get_range_extents (int start_offset, int end_offset, Atspi.CoordType type) throws GLib.Error;
public Atspi.Range get_selection (int selection_num) throws GLib.Error;
+ [Version (since = "2.9.90")]
public Atspi.TextRange get_string_at_offset (int offset, Atspi.TextGranularity granularity) throws GLib.Error;
public string get_text (int start_offset, int end_offset) throws GLib.Error;
public Atspi.TextRange get_text_after_offset (int offset, Atspi.TextBoundaryType type) throws GLib.Error;
- [Deprecated (since = "2.10")]
+ [Version (deprecated = true, deprecated_since = "2.10")]
public Atspi.TextRange get_text_at_offset (int offset, Atspi.TextBoundaryType type) throws GLib.Error;
public string? get_text_attribute_value (int offset, string attribute_name) throws GLib.Error;
public GLib.HashTable<string,string> get_text_attributes (int offset, out int start_offset, out int end_offset) throws GLib.Error;
diff --git a/vapi/cairo-xcb.vapi b/vapi/cairo-xcb.vapi
index fae14efe5..6eebd7246 100644
--- a/vapi/cairo-xcb.vapi
+++ b/vapi/cairo-xcb.vapi
@@ -20,7 +20,7 @@
* Jürg Billeter <j@bitron.ch>
*/
-[Deprecated (since = "vala-0.26", replacement = "bindings distributed with vala-extra-vapis")]
+[Version (deprecated_since = "vala-0.26", replacement = "bindings distributed with vala-extra-vapis")]
namespace Cairo {
[Compact]
[CCode (cname = "cairo_surface_t", cheader_filename = "cairo-xcb.h")]
diff --git a/vapi/clutter-1.0.vapi b/vapi/clutter-1.0.vapi
index 333455a69..e4f0ffe23 100644
--- a/vapi/clutter-1.0.vapi
+++ b/vapi/clutter-1.0.vapi
@@ -4,10 +4,10 @@
namespace Clutter {
namespace FrameSource {
[CCode (cheader_filename = "clutter/clutter.h")]
- [Deprecated (since = "1.6")]
+ [Version (deprecated = true, deprecated_since = "1.6", since = "0.8")]
public static uint add (uint fps, GLib.SourceFunc func);
[CCode (cheader_filename = "clutter/clutter.h")]
- [Deprecated (since = "1.6")]
+ [Version (deprecated = true, deprecated_since = "1.6", since = "0.8")]
public static uint add_full (int priority, uint fps, owned GLib.SourceFunc func);
}
namespace Key {
@@ -4563,84 +4563,107 @@ namespace Clutter {
namespace Threads {
namespace FrameSource {
[CCode (cheader_filename = "clutter/clutter.h", cname = "clutter_threads_add_frame_source")]
- [Deprecated (since = "1.6")]
+ [Version (deprecated = true, deprecated_since = "1.6", since = "0.8")]
public static uint add (uint fps, GLib.SourceFunc func);
[CCode (cheader_filename = "clutter/clutter.h", cname = "clutter_threads_add_frame_source_full")]
- [Deprecated (since = "1.6")]
+ [Version (deprecated = true, deprecated_since = "1.6", since = "0.8")]
public static uint add_full (int priority, uint fps, owned GLib.SourceFunc func);
}
namespace Idle {
[CCode (cheader_filename = "clutter/clutter.h", cname = "clutter_threads_add_idle")]
+ [Version (since = "0.4")]
public static uint add (GLib.SourceFunc func);
[CCode (cheader_filename = "clutter/clutter.h", cname = "clutter_threads_add_idle_full")]
+ [Version (since = "0.4")]
public static uint add_full (int priority, owned GLib.SourceFunc func);
}
namespace Timeout {
[CCode (cheader_filename = "clutter/clutter.h", cname = "clutter_threads_add_timeout")]
+ [Version (since = "0.4")]
public static uint add (uint interval, GLib.SourceFunc func);
[CCode (cheader_filename = "clutter/clutter.h", cname = "clutter_threads_add_timeout_full")]
+ [Version (since = "0.4")]
public static uint add_full (int priority, uint interval, owned GLib.SourceFunc func);
}
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "1.0")]
public static uint add_repaint_func (owned GLib.SourceFunc func);
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "1.10")]
public static uint add_repaint_func_full (Clutter.RepaintFlags flags, owned GLib.SourceFunc func);
[CCode (cheader_filename = "clutter/clutter.h")]
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.4")]
public static void enter ();
[CCode (cheader_filename = "clutter/clutter.h")]
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.4")]
public static void init ();
[CCode (cheader_filename = "clutter/clutter.h")]
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.4")]
public static void leave ();
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "1.0")]
public static void remove_repaint_func (uint handle_id);
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "0.4")]
public static void set_lock_functions (GLib.Callback enter_fn, GLib.Callback leave_fn);
}
namespace Util {
[CCode (cheader_filename = "clutter/clutter.h", cname = "clutter_util_next_p2")]
- [Deprecated (since = "1.2")]
+ [Version (deprecated = true, deprecated_since = "1.2")]
public static int next_power_of_2 (int a);
}
namespace Value {
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "1.10")]
public static Clutter.PaintNode dup_paint_node (GLib.Value value);
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "0.8")]
public static unowned Clutter.Color? get_color (GLib.Value value);
[CCode (cheader_filename = "clutter/clutter.h")]
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.8")]
public static unowned Cogl.Fixed? get_fixed (GLib.Value value);
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "1.10")]
public static unowned Clutter.PaintNode get_paint_node (GLib.Value value);
[CCode (array_length_pos = 1.1, array_length_type = "gsize", cheader_filename = "clutter/clutter.h")]
+ [Version (since = "0.8")]
public static unowned float[] get_shader_float (GLib.Value value);
[CCode (array_length_pos = 1.1, array_length_type = "gsize", cheader_filename = "clutter/clutter.h")]
+ [Version (since = "0.8")]
public static unowned int[] get_shader_int (GLib.Value value);
[CCode (array_length_pos = 1.1, array_length_type = "gsize", cheader_filename = "clutter/clutter.h")]
+ [Version (since = "0.8")]
public static unowned float[] get_shader_matrix (GLib.Value value);
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "0.8")]
public static unowned Clutter.Units? get_units (GLib.Value value);
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "0.8")]
public static void set_color (GLib.Value value, Clutter.Color color);
[CCode (cheader_filename = "clutter/clutter.h")]
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.8")]
public static void set_fixed (GLib.Value value, Cogl.Fixed fixed_);
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "1.10")]
public static void set_paint_node (GLib.Value value, Clutter.PaintNode? node);
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "0.8")]
public static void set_shader_float (GLib.Value value, [CCode (array_length_cname = "size", array_length_pos = 1.5)] float[] floats);
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "0.8")]
public static void set_shader_int (GLib.Value value, [CCode (array_length_cname = "size", array_length_pos = 1.5)] int[] ints);
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "0.8")]
public static void set_shader_matrix (GLib.Value value, [CCode (array_length_cname = "size", array_length_pos = 1.5)] float[] matrix);
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "0.8")]
public static void set_units (GLib.Value value, Clutter.Units units);
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "1.10")]
public static void take_paint_node (GLib.Value value, Clutter.PaintNode? node);
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_action_get_type ()")]
+ [Version (since = "1.4")]
public abstract class Action : Clutter.ActorMeta {
[CCode (has_construct_function = false)]
protected Action ();
@@ -4649,472 +4672,725 @@ namespace Clutter {
public class Actor : GLib.InitiallyUnowned, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable {
public uint32 flags;
[CCode (has_construct_function = false)]
+ [Version (since = "1.10")]
public Actor ();
+ [Version (since = "1.4")]
public void add_action (Clutter.Action action);
+ [Version (since = "1.4")]
public void add_action_with_name (string name, Clutter.Action action);
+ [Version (since = "1.10")]
public void add_child (Clutter.Actor child);
+ [Version (since = "1.4")]
public void add_constraint (Clutter.Constraint constraint);
+ [Version (since = "1.4")]
public void add_constraint_with_name (string name, Clutter.Constraint constraint);
+ [Version (since = "1.4")]
public void add_effect (Clutter.Effect effect);
+ [Version (since = "1.4")]
public void add_effect_with_name (string name, Clutter.Effect effect);
+ [Version (since = "1.10")]
public void add_transition (string name, Clutter.Transition transition);
+ [Version (since = "0.8")]
public virtual void allocate (Clutter.ActorBox box, Clutter.AllocationFlags flags);
+ [Version (since = "1.4")]
public void allocate_align_fill (Clutter.ActorBox box, double x_align, double y_align, bool x_fill, bool y_fill, Clutter.AllocationFlags flags);
+ [Version (since = "1.0")]
public void allocate_available_size (float x, float y, float available_width, float available_height, Clutter.AllocationFlags flags);
+ [Version (since = "0.8")]
public void allocate_preferred_size (Clutter.AllocationFlags flags);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public unowned Clutter.Animation animate (ulong mode, uint duration, ...);
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "1.0")]
public unowned Clutter.Animation animate_with_alpha (Clutter.Alpha alpha, ...);
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "1.0")]
public unowned Clutter.Animation animate_with_alphav (Clutter.Alpha alpha, [CCode (array_length_cname = "n_properties", array_length_pos = 1.5)] string[] properties, [CCode (array_length_cname = "n_properties", array_length_pos = 1.5)] GLib.Value[] values);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public unowned Clutter.Animation animate_with_timeline (ulong mode, Clutter.Timeline timeline, ...);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public unowned Clutter.Animation animate_with_timelinev (ulong mode, Clutter.Timeline timeline, [CCode (array_length_cname = "n_properties", array_length_pos = 2.5)] string[] properties, [CCode (array_length_cname = "n_properties", array_length_pos = 2.5)] GLib.Value[] values);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public unowned Clutter.Animation animatev (ulong mode, uint duration, [CCode (array_length_cname = "n_properties", array_length_pos = 2.5)] string[] properties, [CCode (array_length_cname = "n_properties", array_length_pos = 2.5)] GLib.Value[] values);
+ [Version (since = "0.6")]
public Clutter.Vertex apply_relative_transform_to_point (Clutter.Actor? ancestor, Clutter.Vertex point);
[NoWrapper]
public virtual void apply_transform (ref Clutter.Matrix matrix);
+ [Version (since = "0.4")]
public Clutter.Vertex apply_transform_to_point (Clutter.Vertex point);
- public void bind_model (GLib.ListModel model, owned Clutter.ActorCreateChildFunc create_child_func);
+ [Version (since = "1.24")]
+ public void bind_model (GLib.ListModel? model, owned Clutter.ActorCreateChildFunc create_child_func);
+ [Version (since = "1.4")]
public void clear_actions ();
+ [Version (since = "1.4")]
public void clear_constraints ();
+ [Version (since = "1.4")]
public void clear_effects ();
+ [Version (since = "1.4")]
public bool contains (Clutter.Actor descendant);
+ [Version (since = "1.8")]
public void continue_paint ();
+ [Version (since = "1.0")]
public Pango.Context create_pango_context ();
+ [Version (since = "1.0")]
public Pango.Layout create_pango_layout (string? text);
+ [Version (since = "1.10")]
public void destroy_all_children ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public void detach_animation ();
[CCode (cname = "clutter_actor_event")]
+ [Version (since = "0.6")]
public bool emit_event (Clutter.Event event, bool capture);
+ [Version (since = "0.4")]
public void get_abs_allocation_vertices ([CCode (array_length = false)] Clutter.Vertex[] verts);
public virtual unowned Atk.Object get_accessible ();
+ [Version (since = "1.4")]
public unowned Clutter.Action get_action (string name);
+ [Version (since = "1.4")]
public GLib.List<weak Clutter.Action> get_actions ();
+ [Version (since = "0.8")]
public Clutter.ActorBox get_allocation_box ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.8")]
public Clutter.Geometry get_allocation_geometry ();
+ [Version (since = "0.6")]
public void get_allocation_vertices (Clutter.Actor? ancestor, [CCode (array_length = false)] Clutter.Vertex[] verts);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.6")]
public void get_anchor_point (out float anchor_x, out float anchor_y);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public Clutter.Gravity get_anchor_point_gravity ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public unowned Clutter.Animation get_animation ();
+ [Version (since = "1.10")]
public Clutter.Color get_background_color ();
[CCode (cname = "clutter_get_actor_by_gid")]
- [Deprecated (since = "1.8")]
+ [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public static unowned Clutter.Actor get_by_gid (uint32 id_);
+ [Version (since = "1.10")]
public unowned Clutter.Actor get_child_at_index (int index_);
+ [Version (since = "1.12")]
public Clutter.Matrix get_child_transform ();
+ [Version (since = "1.10")]
public GLib.List<weak Clutter.Actor> get_children ();
+ [Version (since = "0.6")]
public void get_clip (out float xoff, out float yoff, out float width, out float height);
+ [Version (since = "1.4")]
public bool get_clip_to_allocation ();
+ [Version (since = "1.4")]
public unowned Clutter.Constraint get_constraint (string name);
+ [Version (since = "1.4")]
public GLib.List<weak Clutter.Constraint> get_constraints ();
+ [Version (since = "1.10")]
public unowned Clutter.Content get_content ();
+ [Version (since = "1.10")]
public Clutter.ActorBox get_content_box ();
+ [Version (since = "1.10")]
public Clutter.ContentGravity get_content_gravity ();
+ [Version (since = "1.12")]
public Clutter.ContentRepeat get_content_repeat ();
+ [Version (since = "1.10")]
public void get_content_scaling_filters (out Clutter.ScalingFilter min_filter, out Clutter.ScalingFilter mag_filter);
+ [Version (since = "1.10")]
public unowned Clutter.PaintVolume get_default_paint_volume ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12")]
public float get_depth ();
+ [Version (since = "1.10")]
public uint get_easing_delay ();
+ [Version (since = "1.10")]
public uint get_easing_duration ();
+ [Version (since = "1.10")]
public Clutter.AnimationMode get_easing_mode ();
+ [Version (since = "1.4")]
public unowned Clutter.Effect get_effect (string name);
+ [Version (since = "1.4")]
public GLib.List<weak Clutter.Effect> get_effects ();
+ [Version (since = "1.10")]
public unowned Clutter.Actor get_first_child ();
+ [Version (since = "0.8")]
public bool get_fixed_position_set ();
+ [Version (since = "1.0")]
public Clutter.ActorFlags get_flags ();
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10")]
public Clutter.Geometry get_geometry ();
- [Deprecated (since = "1.8")]
+ [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public uint32 get_gid ();
[CCode (cname = "clutter_actor_has_pointer")]
+ [Version (since = "1.2")]
public bool get_has_pointer ();
public float get_height ();
+ [Version (since = "1.10")]
public unowned Clutter.Actor get_last_child ();
+ [Version (since = "1.10")]
public unowned Clutter.LayoutManager get_layout_manager ();
+ [Version (since = "1.10")]
public void get_margin (Clutter.Margin margin);
+ [Version (since = "1.10")]
public float get_margin_bottom ();
+ [Version (since = "1.10")]
public float get_margin_left ();
+ [Version (since = "1.10")]
public float get_margin_right ();
+ [Version (since = "1.10")]
public float get_margin_top ();
+ [Version (since = "1.10")]
public int get_n_children ();
public unowned string get_name ();
+ [Version (since = "1.10")]
public unowned Clutter.Actor get_next_sibling ();
+ [Version (since = "1.8")]
public Clutter.OffscreenRedirect get_offscreen_redirect ();
public uint8 get_opacity ();
+ [Version (since = "1.6")]
public bool get_paint_box (out Clutter.ActorBox box);
+ [Version (since = "0.8")]
public uint8 get_paint_opacity ();
+ [Version (since = "0.8")]
public bool get_paint_visibility ();
[NoWrapper]
public virtual bool get_paint_volume (Clutter.PaintVolume volume);
+ [Version (since = "1.0")]
public unowned Pango.Context get_pango_context ();
public unowned Clutter.Actor? get_parent ();
+ [Version (since = "1.12")]
public void get_pivot_point (out float pivot_x, out float pivot_y);
+ [Version (since = "1.12")]
public float get_pivot_point_z ();
+ [Version (since = "0.6")]
public void get_position (out float x, out float y);
+ [Version (since = "0.8")]
public virtual void get_preferred_height (float for_width, out float min_height_p, out float natural_height_p);
+ [Version (since = "0.8")]
public void get_preferred_size (out float min_width_p, out float min_height_p, out float natural_width_p, out float natural_height_p);
+ [Version (since = "0.8")]
public virtual void get_preferred_width (float for_height, out float min_width_p, out float natural_width_p);
+ [Version (since = "1.10")]
public unowned Clutter.Actor get_previous_sibling ();
+ [Version (since = "0.6")]
public bool get_reactive ();
+ [Version (since = "1.2")]
public Clutter.RequestMode get_request_mode ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.8")]
public double get_rotation (Clutter.RotateAxis axis, out float x, out float y, out float z);
+ [Version (since = "1.12")]
public double get_rotation_angle (Clutter.RotateAxis axis);
+ [Version (since = "0.2")]
public void get_scale (out double scale_x, out double scale_y);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public void get_scale_center (out float center_x, out float center_y);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public Clutter.Gravity get_scale_gravity ();
+ [Version (since = "1.12")]
public double get_scale_z ();
- [Deprecated (since = "1.8")]
+ [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public unowned Clutter.Shader get_shader ();
+ [Version (since = "0.2")]
public void get_size (out float width, out float height);
+ [Version (since = "0.8")]
public unowned Clutter.Stage get_stage ();
+ [Version (since = "1.2")]
public Clutter.TextDirection get_text_direction ();
+ [Version (since = "1.12")]
public Clutter.Matrix get_transform ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public Clutter.Matrix get_transformation_matrix ();
+ [Version (since = "1.6")]
public unowned Clutter.PaintVolume get_transformed_paint_volume (Clutter.Actor relative_to_ancestor);
+ [Version (since = "0.8")]
public void get_transformed_position (out float x, out float y);
+ [Version (since = "0.8")]
public void get_transformed_size (out float width, out float height);
+ [Version (since = "1.10")]
public unowned Clutter.Transition get_transition (string name);
+ [Version (since = "1.12")]
public void get_translation (out float translate_x, out float translate_y, out float translate_z);
public float get_width ();
public float get_x ();
+ [Version (since = "1.10")]
public Clutter.ActorAlign get_x_align ();
+ [Version (since = "1.12")]
public bool get_x_expand ();
public float get_y ();
+ [Version (since = "1.10")]
public Clutter.ActorAlign get_y_align ();
+ [Version (since = "1.12")]
public bool get_y_expand ();
+ [Version (since = "1.12")]
public float get_z_position ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public Clutter.Gravity get_z_rotation_gravity ();
+ [Version (since = "1.0")]
public void grab_key_focus ();
+ [Version (since = "1.10")]
public bool has_actions ();
+ [Version (since = "1.4")]
public bool has_allocation ();
+ [Version (since = "1.10")]
public bool has_constraints ();
+ [Version (since = "1.10")]
public bool has_effects ();
+ [Version (since = "1.4")]
public bool has_key_focus ();
+ [Version (since = "1.8")]
public virtual bool has_overlaps ();
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.2")]
public virtual void hide_all ();
+ [Version (since = "1.10")]
public void insert_child_above (Clutter.Actor child, Clutter.Actor? sibling);
+ [Version (since = "1.10")]
public void insert_child_at_index (Clutter.Actor child, int index_);
+ [Version (since = "1.10")]
public void insert_child_below (Clutter.Actor child, Clutter.Actor? sibling);
+ [Version (since = "1.0")]
public bool is_in_clone_paint ();
+ [Version (since = "1.24")]
public bool is_mapped ();
+ [Version (since = "1.24")]
public bool is_realized ();
+ [Version (since = "0.6")]
public bool is_rotated ();
+ [Version (since = "0.6")]
public bool is_scaled ();
+ [Version (since = "1.24")]
public bool is_visible ();
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10")]
public void lower (Clutter.Actor? above);
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10")]
public void lower_bottom ();
+ [Version (since = "1.0")]
public virtual void map ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.6")]
public void move_anchor_point (float anchor_x, float anchor_y);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.6")]
public void move_anchor_point_from_gravity (Clutter.Gravity gravity);
+ [Version (since = "0.2")]
public void move_by (float dx, float dy);
+ [Version (since = "1.12")]
public bool needs_expand (Clutter.Orientation orientation);
[NoWrapper]
public virtual void paint_node (Clutter.PaintNode root);
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "1.2")]
public void pop_internal ();
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "1.2")]
public void push_internal ();
public void queue_redraw ();
+ [Version (since = "1.10")]
public void queue_redraw_with_clip (Cairo.RectangleInt? clip);
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10")]
public void raise (Clutter.Actor? below);
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10")]
public void raise_top ();
+ [Version (since = "1.4")]
public void remove_action (Clutter.Action action);
+ [Version (since = "1.4")]
public void remove_action_by_name (string name);
+ [Version (since = "1.10")]
public void remove_all_children ();
+ [Version (since = "1.10")]
public void remove_all_transitions ();
+ [Version (since = "1.10")]
public void remove_child (Clutter.Actor child);
public void remove_clip ();
+ [Version (since = "1.4")]
public void remove_constraint (Clutter.Constraint constraint);
+ [Version (since = "1.4")]
public void remove_constraint_by_name (string name);
+ [Version (since = "1.4")]
public void remove_effect (Clutter.Effect effect);
+ [Version (since = "1.4")]
public void remove_effect_by_name (string name);
+ [Version (since = "1.10")]
public void remove_transition (string name);
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.2")]
public void reparent (Clutter.Actor new_parent);
+ [Version (since = "1.10")]
public void replace_child (Clutter.Actor old_child, Clutter.Actor new_child);
+ [Version (since = "1.10")]
public void restore_easing_state ();
+ [Version (since = "1.10")]
public void save_easing_state ();
+ [Version (since = "1.10")]
public void set_allocation (Clutter.ActorBox box, Clutter.AllocationFlags flags);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.6")]
public void set_anchor_point (float anchor_x, float anchor_y);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.6")]
public void set_anchor_point_from_gravity (Clutter.Gravity gravity);
+ [Version (since = "1.10")]
public void set_background_color (Clutter.Color? color);
+ [Version (since = "1.10")]
public void set_child_above_sibling (Clutter.Actor child, Clutter.Actor? sibling);
+ [Version (since = "1.10")]
public void set_child_at_index (Clutter.Actor child, int index_);
+ [Version (since = "1.10")]
public void set_child_below_sibling (Clutter.Actor child, Clutter.Actor? sibling);
+ [Version (since = "1.12")]
public void set_child_transform (Clutter.Matrix? transform);
+ [Version (since = "0.6")]
public void set_clip (float xoff, float yoff, float width, float height);
+ [Version (since = "1.4")]
public void set_clip_to_allocation (bool clip_set);
+ [Version (since = "1.10")]
public void set_content (Clutter.Content? content);
+ [Version (since = "1.10")]
public void set_content_gravity (Clutter.ContentGravity gravity);
+ [Version (since = "1.12")]
public void set_content_repeat (Clutter.ContentRepeat repeat);
+ [Version (since = "1.10")]
public void set_content_scaling_filters (Clutter.ScalingFilter min_filter, Clutter.ScalingFilter mag_filter);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12")]
public void set_depth (float depth);
+ [Version (since = "1.10")]
public void set_easing_delay (uint msecs);
+ [Version (since = "1.10")]
public void set_easing_duration (uint msecs);
+ [Version (since = "1.10")]
public void set_easing_mode (Clutter.AnimationMode mode);
+ [Version (since = "0.8")]
public void set_fixed_position_set (bool is_set);
+ [Version (since = "1.0")]
public void set_flags (Clutter.ActorFlags flags);
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10")]
public void set_geometry (Clutter.Geometry geometry);
+ [Version (since = "0.2")]
public void set_height (float height);
+ [Version (since = "1.10")]
public void set_layout_manager (Clutter.LayoutManager? manager);
+ [Version (since = "1.10")]
public void set_margin (Clutter.Margin margin);
+ [Version (since = "1.10")]
public void set_margin_bottom (float margin);
+ [Version (since = "1.10")]
public void set_margin_left (float margin);
+ [Version (since = "1.10")]
public void set_margin_right (float margin);
+ [Version (since = "1.10")]
public void set_margin_top (float margin);
public void set_name (string name);
+ [Version (since = "1.8")]
public void set_offscreen_redirect (Clutter.OffscreenRedirect redirect);
public void set_opacity (uint8 opacity);
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10")]
public void set_parent (Clutter.Actor parent);
+ [Version (since = "1.12")]
public void set_pivot_point (float pivot_x, float pivot_y);
+ [Version (since = "1.12")]
public void set_pivot_point_z (float pivot_z);
public void set_position (float x, float y);
+ [Version (since = "0.6")]
public void set_reactive (bool reactive);
+ [Version (since = "1.2")]
public void set_request_mode (Clutter.RequestMode mode);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.8")]
public void set_rotation (Clutter.RotateAxis axis, double angle, float x, float y, float z);
+ [Version (since = "1.12")]
public void set_rotation_angle (Clutter.RotateAxis axis, double angle);
+ [Version (since = "0.2")]
public void set_scale (double scale_x, double scale_y);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public void set_scale_full (double scale_x, double scale_y, float center_x, float center_y);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public void set_scale_with_gravity (double scale_x, double scale_y, Clutter.Gravity gravity);
+ [Version (since = "1.12")]
public void set_scale_z (double scale_z);
- [Deprecated (since = "1.8")]
+ [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public bool set_shader (Clutter.Shader? shader);
- [Deprecated (since = "1.8")]
+ [Version (deprecated = true, deprecated_since = "1.8", since = "1.0")]
public void set_shader_param (string param, GLib.Value value);
- [Deprecated (since = "1.8")]
+ [Version (deprecated = true, deprecated_since = "1.8", since = "0.8")]
public void set_shader_param_float (string param, float value);
- [Deprecated (since = "1.8")]
+ [Version (deprecated = true, deprecated_since = "1.8", since = "0.8")]
public void set_shader_param_int (string param, int value);
public void set_size (float width, float height);
+ [Version (since = "1.2")]
public void set_text_direction (Clutter.TextDirection text_dir);
+ [Version (since = "1.12")]
public void set_transform (Clutter.Matrix? transform);
+ [Version (since = "1.12")]
public void set_translation (float translate_x, float translate_y, float translate_z);
+ [Version (since = "0.2")]
public void set_width (float width);
+ [Version (since = "0.6")]
public void set_x (float x);
+ [Version (since = "1.10")]
public void set_x_align (Clutter.ActorAlign x_align);
+ [Version (since = "1.12")]
public void set_x_expand (bool expand);
+ [Version (since = "0.6")]
public void set_y (float y);
+ [Version (since = "1.10")]
public void set_y_align (Clutter.ActorAlign y_align);
+ [Version (since = "1.12")]
public void set_y_expand (bool expand);
+ [Version (since = "1.12")]
public void set_z_position (float z_position);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public void set_z_rotation_from_gravity (double angle, Clutter.Gravity gravity);
public bool should_pick_paint ();
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.2")]
public virtual void show_all ();
+ [Version (since = "0.6")]
public bool transform_stage_point (float x, float y, out float x_out, out float y_out);
+ [Version (since = "1.0")]
public virtual void unmap ();
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.2")]
public void unparent ();
+ [Version (since = "1.0")]
public void unset_flags (Clutter.ActorFlags flags);
[NoAccessorMethod]
+ [Version (since = "1.4")]
public Clutter.Action actions { set; }
[NoAccessorMethod]
+ [Version (since = "0.8")]
public Clutter.ActorBox allocation { get; }
- [Deprecated (since = "1.12")]
[NoAccessorMethod]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public Clutter.Gravity anchor_gravity { get; set; }
- [Deprecated (since = "1.12")]
[NoAccessorMethod]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.8")]
public float anchor_x { get; set; }
- [Deprecated (since = "1.12")]
[NoAccessorMethod]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.8")]
public float anchor_y { get; set; }
+ [Version (since = "1.10")]
public Clutter.Color background_color { get; set; }
[NoAccessorMethod]
+ [Version (since = "1.10")]
public bool background_color_set { get; }
[NoAccessorMethod]
+ [Version (since = "1.12")]
public bool child_transform_set { get; }
- [Deprecated (since = "1.12")]
[NoAccessorMethod]
+ [Version (deprecated = true, deprecated_since = "1.12")]
public Clutter.Geometry clip { get; set; }
[NoAccessorMethod]
+ [Version (since = "1.12")]
public Clutter.Rect clip_rect { owned get; set; }
+ [Version (since = "1.0")]
public bool clip_to_allocation { get; set; }
[NoAccessorMethod]
+ [Version (since = "1.4")]
public Clutter.Constraint constraints { set; }
+ [Version (since = "1.10")]
public Clutter.Content content { get; set; }
+ [Version (since = "1.10")]
public Clutter.ActorBox content_box { get; }
+ [Version (since = "1.10")]
public Clutter.ContentGravity content_gravity { get; set; }
+ [Version (since = "1.12")]
public Clutter.ContentRepeat content_repeat { get; set; }
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.6")]
public float depth { get; set; }
[NoAccessorMethod]
+ [Version (since = "1.4")]
public Clutter.Effect effect { set; }
+ [Version (since = "1.10")]
public Clutter.Actor first_child { get; }
+ [Version (since = "0.8")]
public bool fixed_position_set { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.8")]
public float fixed_x { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.8")]
public float fixed_y { get; set; }
[NoAccessorMethod]
public bool has_clip { get; }
[NoAccessorMethod]
+ [Version (since = "1.2")]
public bool has_pointer { get; }
public float height { get; set; }
+ [Version (since = "1.10")]
public Clutter.Actor last_child { get; }
+ [Version (since = "1.10")]
public Clutter.LayoutManager layout_manager { get; set; }
[NoAccessorMethod]
public Clutter.ScalingFilter magnification_filter { get; set; }
[NoAccessorMethod]
+ [Version (since = "1.0")]
public bool mapped { get; }
+ [Version (since = "1.10")]
public float margin_bottom { get; set; }
+ [Version (since = "1.10")]
public float margin_left { get; set; }
+ [Version (since = "1.10")]
public float margin_right { get; set; }
+ [Version (since = "1.10")]
public float margin_top { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.8")]
public float min_height { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.8")]
public bool min_height_set { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.8")]
public float min_width { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.8")]
public bool min_width_set { get; set; }
[NoAccessorMethod]
public Clutter.ScalingFilter minification_filter { get; set; }
+ [Version (since = "0.2")]
public string name { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.8")]
public float natural_height { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.8")]
public bool natural_height_set { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.8")]
public float natural_width { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.8")]
public bool natural_width_set { get; set; }
+ [Version (since = "1.8")]
public Clutter.OffscreenRedirect offscreen_redirect { get; set; }
public uint opacity { get; set; }
[NoAccessorMethod]
+ [Version (since = "1.12")]
public Clutter.Point pivot_point { owned get; set; }
+ [Version (since = "1.12")]
public float pivot_point_z { get; set; }
[NoAccessorMethod]
+ [Version (since = "1.12")]
public Clutter.Point position { owned get; set; }
+ [Version (since = "0.6")]
public bool reactive { get; set; }
[NoAccessorMethod]
+ [Version (since = "1.0")]
public bool realized { get; }
+ [Version (since = "0.8")]
public Clutter.RequestMode request_mode { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.6")]
public double rotation_angle_x { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.6")]
public double rotation_angle_y { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.6")]
public double rotation_angle_z { get; set; }
- [Deprecated (since = "1.12")]
[NoAccessorMethod]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.6")]
public Clutter.Vertex rotation_center_x { get; set; }
- [Deprecated (since = "1.12")]
[NoAccessorMethod]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.6")]
public Clutter.Vertex rotation_center_y { get; set; }
- [Deprecated (since = "1.12")]
[NoAccessorMethod]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.6")]
public Clutter.Vertex rotation_center_z { get; set; }
- [Deprecated (since = "1.12")]
[NoAccessorMethod]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public Clutter.Gravity rotation_center_z_gravity { get; set; }
- [Deprecated (since = "1.12")]
[NoAccessorMethod]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public float scale_center_x { get; set; }
- [Deprecated (since = "1.12")]
[NoAccessorMethod]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public float scale_center_y { get; set; }
- [Deprecated (since = "1.12")]
[NoAccessorMethod]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public Clutter.Gravity scale_gravity { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.6")]
public double scale_x { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.6")]
public double scale_y { get; set; }
+ [Version (since = "1.12")]
public double scale_z { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.8")]
public bool show_on_set_parent { get; set; }
[NoAccessorMethod]
+ [Version (since = "1.12")]
public Clutter.Size size { owned get; set; }
+ [Version (since = "1.0")]
public Clutter.TextDirection text_direction { get; set; }
[NoAccessorMethod]
+ [Version (since = "1.12")]
public bool transform_set { get; }
[NoAccessorMethod]
+ [Version (since = "1.12")]
public float translation_x { get; set; }
[NoAccessorMethod]
+ [Version (since = "1.12")]
public float translation_y { get; set; }
[NoAccessorMethod]
+ [Version (since = "1.12")]
public float translation_z { get; set; }
[NoAccessorMethod]
public bool visible { get; set; }
public float width { get; set; }
public float x { get; set; }
+ [Version (since = "1.10")]
public Clutter.ActorAlign x_align { get; set; }
+ [Version (since = "1.12")]
public bool x_expand { get; set; }
public float y { get; set; }
+ [Version (since = "1.10")]
public Clutter.ActorAlign y_align { get; set; }
+ [Version (since = "1.12")]
public bool y_expand { get; set; }
+ [Version (since = "1.12")]
public float z_position { get; set; }
+ [Version (since = "1.0")]
public signal void allocation_changed (Clutter.ActorBox box, Clutter.AllocationFlags flags);
+ [Version (since = "0.6")]
public virtual signal bool button_press_event (Clutter.ButtonEvent event);
+ [Version (since = "0.6")]
public virtual signal bool button_release_event (Clutter.ButtonEvent event);
+ [Version (since = "0.6")]
public virtual signal bool captured_event (Clutter.Event event);
[HasEmitter]
+ [Version (since = "0.2")]
public virtual signal void destroy ();
+ [Version (since = "0.6")]
public virtual signal bool enter_event (Clutter.CrossingEvent event);
+ [Version (since = "0.6")]
public virtual signal bool event (Clutter.Event event);
[HasEmitter]
+ [Version (since = "0.2")]
public virtual signal void hide ();
+ [Version (since = "0.6")]
public virtual signal void key_focus_in ();
+ [Version (since = "0.6")]
public virtual signal void key_focus_out ();
+ [Version (since = "0.6")]
public virtual signal bool key_press_event (Clutter.KeyEvent event);
+ [Version (since = "0.6")]
public virtual signal bool key_release_event (Clutter.KeyEvent event);
+ [Version (since = "0.6")]
public virtual signal bool leave_event (Clutter.CrossingEvent event);
+ [Version (since = "0.6")]
public virtual signal bool motion_event (Clutter.MotionEvent event);
- [Deprecated (since = "1.12")]
[HasEmitter]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.8")]
public virtual signal void paint ();
+ [Version (since = "0.2")]
public virtual signal void parent_set (Clutter.Actor? old_parent);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public virtual signal void pick (Clutter.Color color);
[HasEmitter]
+ [Version (since = "1.2")]
public virtual signal void queue_relayout ();
- [Deprecated (since = "1.16")]
[HasEmitter]
+ [Version (deprecated = true, deprecated_since = "1.16", since = "0.8")]
public virtual signal void realize ();
+ [Version (since = "0.6")]
public virtual signal bool scroll_event (Clutter.ScrollEvent event);
[HasEmitter]
+ [Version (since = "0.2")]
public virtual signal void show ();
+ [Version (since = "1.12")]
public virtual signal bool touch_event (Clutter.Event event);
+ [Version (since = "1.12")]
public signal void transition_stopped (string name, bool is_finished);
+ [Version (since = "1.10")]
public signal void transitions_completed ();
- [Deprecated (since = "1.16")]
[HasEmitter]
+ [Version (deprecated = true, deprecated_since = "1.16", since = "0.8")]
public virtual signal void unrealize ();
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_actor_meta_get_type ()")]
+ [Version (since = "1.4")]
public abstract class ActorMeta : GLib.InitiallyUnowned {
[CCode (has_construct_function = false)]
protected ActorMeta ();
@@ -5130,6 +5406,7 @@ namespace Clutter {
public string name { get; set; }
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_align_constraint_get_type ()")]
+ [Version (since = "1.4")]
public class AlignConstraint : Clutter.Constraint {
[CCode (has_construct_function = false, type = "ClutterConstraint*")]
public AlignConstraint (Clutter.Actor? source, Clutter.AlignAxis axis, float factor);
@@ -5144,35 +5421,43 @@ namespace Clutter {
public Clutter.Actor source { get; set construct; }
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_alpha_get_type ()")]
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.2")]
public class Alpha : GLib.InitiallyUnowned, Clutter.Scriptable {
[CCode (has_construct_function = false)]
public Alpha ();
[CCode (has_construct_function = false)]
+ [Version (since = "1.0")]
public Alpha.full (Clutter.Timeline timeline, ulong mode);
public double get_alpha ();
+ [Version (since = "1.0")]
public ulong get_mode ();
public unowned Clutter.Timeline get_timeline ();
+ [Version (since = "1.0")]
public static ulong register_closure (GLib.Closure closure);
+ [Version (since = "1.0")]
public static ulong register_func (Clutter.AlphaFunc func);
+ [Version (since = "0.8")]
public void set_closure (GLib.Closure closure);
public void set_func (owned Clutter.AlphaFunc func);
+ [Version (since = "1.0")]
public void set_mode (ulong mode);
public void set_timeline (Clutter.Timeline timeline);
[CCode (has_construct_function = false)]
+ [Version (since = "1.0")]
public Alpha.with_func (Clutter.Timeline timeline, owned Clutter.AlphaFunc func);
public double alpha { get; }
+ [Version (since = "1.0")]
public ulong mode { get; set construct; }
public Clutter.Timeline timeline { get; set; }
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_animation_get_type ()")]
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public class Animation : GLib.Object, Clutter.Scriptable {
[CCode (has_construct_function = false)]
public Animation ();
public unowned Clutter.Animation bind (string property_name, GLib.Value final);
public unowned Clutter.Animation bind_interval (string property_name, owned Clutter.Interval interval);
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "1.0")]
public unowned Clutter.Alpha get_alpha ();
public uint get_duration ();
public unowned Clutter.Interval get_interval (string property_name);
@@ -5181,7 +5466,7 @@ namespace Clutter {
public unowned GLib.Object get_object ();
public unowned Clutter.Timeline get_timeline ();
public bool has_property (string property_name);
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "1.0")]
public void set_alpha (Clutter.Alpha alpha);
public void set_duration (uint msecs);
public void set_loop (bool loop);
@@ -5191,7 +5476,7 @@ namespace Clutter {
public void unbind_property (string property_name);
public unowned Clutter.Animation update (string property_name, GLib.Value final);
public void update_interval (string property_name, Clutter.Interval interval);
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "1.0")]
public Clutter.Alpha alpha { get; set; }
public uint duration { get; set; }
public bool loop { get; set; }
@@ -5203,7 +5488,7 @@ namespace Clutter {
public virtual signal void started ();
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_animator_get_type ()")]
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.2")]
public class Animator : GLib.Object, Clutter.Scriptable {
[CCode (has_construct_function = false)]
public Animator ();
@@ -5226,7 +5511,7 @@ namespace Clutter {
}
[CCode (cheader_filename = "clutter/clutter.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "clutter_animator_key_get_type ()")]
[Compact]
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.2")]
public class AnimatorKey {
public ulong get_mode ();
public unowned GLib.Object get_object ();
@@ -5237,6 +5522,7 @@ namespace Clutter {
}
[CCode (cheader_filename = "clutter/clutter.h")]
[Compact]
+ [Version (since = "0.2")]
public class AnyEvent : Clutter.Event {
public Clutter.EventFlags flags;
public weak Clutter.Actor source;
@@ -5245,6 +5531,7 @@ namespace Clutter {
public Clutter.EventType type;
}
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "0.4")]
public class Backend : GLib.Object {
[CCode (has_construct_function = false)]
protected Backend ();
@@ -5258,14 +5545,15 @@ namespace Clutter {
public virtual void ensure_context (Clutter.Stage stage);
[NoWrapper]
public virtual unowned Clutter.DeviceManager get_device_manager ();
- [Deprecated (since = "1.4")]
+ [Version (deprecated = true, deprecated_since = "1.4", since = "0.4")]
public uint get_double_click_distance ();
- [Deprecated (since = "1.4")]
+ [Version (deprecated = true, deprecated_since = "1.4", since = "0.4")]
public uint get_double_click_time ();
[NoWrapper]
public virtual Clutter.FeatureFlags get_features ();
- [Deprecated (since = "1.4")]
+ [Version (deprecated = true, deprecated_since = "1.4", since = "1.0")]
public unowned string get_font_name ();
+ [Version (since = "0.8")]
public unowned Cairo.FontOptions get_font_options ();
public double get_resolution ();
[NoWrapper]
@@ -5278,21 +5566,25 @@ namespace Clutter {
public virtual bool pre_parse () throws GLib.Error;
[NoWrapper]
public virtual void redraw (Clutter.Stage stage);
- [Deprecated (since = "1.4")]
+ [Version (deprecated = true, deprecated_since = "1.4", since = "0.4")]
public void set_double_click_distance (uint distance);
- [Deprecated (since = "1.4")]
+ [Version (deprecated = true, deprecated_since = "1.4", since = "0.4")]
public void set_double_click_time (uint msec);
- [Deprecated (since = "1.4")]
+ [Version (deprecated = true, deprecated_since = "1.4", since = "1.0")]
public void set_font_name (string font_name);
+ [Version (since = "0.8")]
public void set_font_options (Cairo.FontOptions options);
- [Deprecated (since = "1.4")]
+ [Version (deprecated = true, deprecated_since = "1.4", since = "0.4")]
public void set_resolution (double dpi);
+ [Version (since = "1.0")]
public signal void font_changed ();
+ [Version (since = "1.0")]
public signal void resolution_changed ();
+ [Version (since = "1.4")]
public signal void settings_changed ();
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_behaviour_get_type ()")]
- [Deprecated (since = "1.6")]
+ [Version (deprecated = true, deprecated_since = "1.6", since = "0.2")]
public abstract class Behaviour : GLib.Object, Clutter.Scriptable {
[CCode (has_construct_function = false)]
protected Behaviour ();
@@ -5304,32 +5596,42 @@ namespace Clutter {
public unowned Clutter.Alpha get_alpha ();
public int get_n_actors ();
public unowned Clutter.Actor get_nth_actor (int index_);
+ [Version (since = "0.4")]
public bool is_applied (Clutter.Actor actor);
public void remove (Clutter.Actor actor);
+ [Version (since = "0.4")]
public void remove_all ();
public void set_alpha (Clutter.Alpha alpha);
public Clutter.Alpha alpha { get; set; }
+ [Version (since = "0.4")]
public virtual signal void applied (Clutter.Actor actor);
+ [Version (since = "0.4")]
public virtual signal void removed (Clutter.Actor actor);
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_behaviour_depth_get_type ()")]
- [Deprecated (since = "1.6")]
+ [Version (deprecated = true, deprecated_since = "1.6", since = "0.2")]
public class BehaviourDepth : Clutter.Behaviour, Clutter.Scriptable {
[CCode (has_construct_function = false, type = "ClutterBehaviour*")]
+ [Version (since = "0.4")]
public BehaviourDepth (Clutter.Alpha? alpha, int depth_start, int depth_end);
+ [Version (since = "0.6")]
public void get_bounds (out int depth_start, out int depth_end);
+ [Version (since = "0.6")]
public void set_bounds (int depth_start, int depth_end);
[NoAccessorMethod]
+ [Version (since = "0.4")]
public int depth_end { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.4")]
public int depth_start { get; set; }
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_behaviour_ellipse_get_type ()")]
- [Deprecated (since = "1.6")]
+ [Version (deprecated = true, deprecated_since = "1.6", since = "0.4")]
public class BehaviourEllipse : Clutter.Behaviour, Clutter.Scriptable {
[CCode (has_construct_function = false, type = "ClutterBehaviour*")]
public BehaviourEllipse (Clutter.Alpha? alpha, int x, int y, int width, int height, Clutter.RotateDirection direction, double start, double end);
public double get_angle_end ();
+ [Version (since = "0.6")]
public double get_angle_start ();
public double get_angle_tilt (Clutter.RotateAxis axis);
public void get_center (out int x, out int y);
@@ -5338,6 +5640,7 @@ namespace Clutter {
public void get_tilt (out double angle_tilt_x, out double angle_tilt_y, out double angle_tilt_z);
public int get_width ();
public void set_angle_end (double angle_end);
+ [Version (since = "0.6")]
public void set_angle_start (double angle_start);
public void set_angle_tilt (Clutter.RotateAxis axis, double angle_tilt);
public void set_center (int x, int y);
@@ -5360,11 +5663,13 @@ namespace Clutter {
public int width { get; set; }
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_behaviour_opacity_get_type ()")]
- [Deprecated (since = "1.6")]
+ [Version (deprecated = true, deprecated_since = "1.6", since = "0.2")]
public class BehaviourOpacity : Clutter.Behaviour, Clutter.Scriptable {
[CCode (has_construct_function = false, type = "ClutterBehaviour*")]
public BehaviourOpacity (Clutter.Alpha? alpha, uint8 opacity_start, uint8 opacity_end);
+ [Version (since = "0.6")]
public void get_bounds (out uint8 opacity_start, out uint8 opacity_end);
+ [Version (since = "0.6")]
public void set_bounds (uint8 opacity_start, uint8 opacity_end);
[NoAccessorMethod]
public uint opacity_end { get; set; }
@@ -5372,21 +5677,25 @@ namespace Clutter {
public uint opacity_start { get; set; }
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_behaviour_path_get_type ()")]
- [Deprecated (since = "1.6")]
+ [Version (deprecated = true, deprecated_since = "1.6", since = "0.2")]
public class BehaviourPath : Clutter.Behaviour, Clutter.Scriptable {
[CCode (has_construct_function = false, type = "ClutterBehaviour*")]
public BehaviourPath (Clutter.Alpha? alpha, Clutter.Path path);
+ [Version (since = "1.0")]
public unowned Clutter.Path get_path ();
+ [Version (since = "1.0")]
public void set_path (Clutter.Path path);
[CCode (has_construct_function = false, type = "ClutterBehaviour*")]
+ [Version (since = "1.0")]
public BehaviourPath.with_description (Clutter.Alpha? alpha, string desc);
[CCode (has_construct_function = false, type = "ClutterBehaviour*")]
+ [Version (since = "1.0")]
public BehaviourPath.with_knots (Clutter.Alpha? alpha, [CCode (array_length_cname = "n_knots", array_length_pos = 2.1, array_length_type = "guint")] Clutter.Knot[] knots);
public Clutter.Path path { get; set; }
public virtual signal void knot_reached (uint knot_num);
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_behaviour_rotate_get_type ()")]
- [Deprecated (since = "1.6")]
+ [Version (deprecated = true, deprecated_since = "1.6", since = "0.4")]
public class BehaviourRotate : Clutter.Behaviour, Clutter.Scriptable {
[CCode (has_construct_function = false, type = "ClutterBehaviour*")]
public BehaviourRotate (Clutter.Alpha? alpha, Clutter.RotateAxis axis, Clutter.RotateDirection direction, double angle_start, double angle_end);
@@ -5412,39 +5721,47 @@ namespace Clutter {
public Clutter.RotateDirection direction { get; set; }
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_behaviour_scale_get_type ()")]
- [Deprecated (since = "1.6")]
+ [Version (deprecated = true, deprecated_since = "1.6", since = "0.2")]
public class BehaviourScale : Clutter.Behaviour, Clutter.Scriptable {
[CCode (has_construct_function = false, type = "ClutterBehaviour*")]
public BehaviourScale (Clutter.Alpha? alpha, double x_scale_start, double y_scale_start, double x_scale_end, double y_scale_end);
+ [Version (since = "0.4")]
public void get_bounds (out double x_scale_start, out double y_scale_start, out double x_scale_end, out double y_scale_end);
+ [Version (since = "0.6")]
public void set_bounds (double x_scale_start, double y_scale_start, double x_scale_end, double y_scale_end);
[NoAccessorMethod]
+ [Version (since = "0.6")]
public double x_scale_end { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.6")]
public double x_scale_start { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.6")]
public double y_scale_end { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.6")]
public double y_scale_start { get; set; }
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_bin_layout_get_type ()")]
+ [Version (since = "1.2")]
public class BinLayout : Clutter.LayoutManager {
[CCode (has_construct_function = false, type = "ClutterLayoutManager*")]
public BinLayout (Clutter.BinAlignment x_align = Clutter.BinAlignment.START, Clutter.BinAlignment y_align = Clutter.BinAlignment.START);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.2")]
public void add (Clutter.Actor child, Clutter.BinAlignment x_align, Clutter.BinAlignment y_align);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.2")]
public void get_alignment (Clutter.Actor? child, out Clutter.BinAlignment x_align, out Clutter.BinAlignment y_align);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.2")]
public void set_alignment (Clutter.Actor? child, Clutter.BinAlignment x_align, Clutter.BinAlignment y_align);
- [Deprecated (since = "1.12")]
[NoAccessorMethod]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.2")]
public Clutter.BinAlignment x_align { get; set; }
- [Deprecated (since = "1.12")]
[NoAccessorMethod]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.2")]
public Clutter.BinAlignment y_align { get; set; }
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_bind_constraint_get_type ()")]
+ [Version (since = "1.4")]
public class BindConstraint : Clutter.Constraint {
[CCode (has_construct_function = false, type = "ClutterConstraint*")]
public BindConstraint (Clutter.Actor? source, Clutter.BindCoordinate coordinate, float offset);
@@ -5459,6 +5776,7 @@ namespace Clutter {
public Clutter.Actor source { get; set construct; }
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_binding_pool_get_type ()")]
+ [Version (since = "1.0")]
public class BindingPool : GLib.Object {
[CCode (has_construct_function = false)]
public BindingPool (string name);
@@ -5477,96 +5795,106 @@ namespace Clutter {
public string name { owned get; construct; }
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_blur_effect_get_type ()")]
+ [Version (since = "1.4")]
public class BlurEffect : Clutter.OffscreenEffect {
[CCode (has_construct_function = false, type = "ClutterEffect*")]
public BlurEffect ();
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_box_get_type ()")]
+ [Version (since = "1.2")]
public class Box : Clutter.Actor, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable {
[CCode (has_construct_function = false, type = "ClutterActor*")]
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "1.2")]
public Box (Clutter.LayoutManager manager);
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "1.2")]
public Clutter.Color get_color ();
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "1.2")]
public unowned Clutter.LayoutManager get_layout_manager ();
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "1.2")]
public void pack (Clutter.Actor actor, ...);
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "1.2")]
public void pack_after (Clutter.Actor actor, Clutter.Actor? sibling, ...);
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "1.2")]
public void pack_at (Clutter.Actor actor, int position, ...);
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "1.2")]
public void pack_before (Clutter.Actor actor, Clutter.Actor? sibling, ...);
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "1.2")]
public void packv (Clutter.Actor actor, [CCode (array_length_cname = "n_properties", array_length_pos = 1.5, array_length_type = "guint")] string[] properties, [CCode (array_length_cname = "n_properties", array_length_pos = 1.5, array_length_type = "guint")] GLib.Value[] values);
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "1.2")]
public void set_color (Clutter.Color? color);
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "1.2")]
public void set_layout_manager (Clutter.LayoutManager manager);
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "1.2")]
public Clutter.Color color { get; set; }
- [Deprecated (since = "1.10")]
[NoAccessorMethod]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "1.2")]
public bool color_set { get; set; }
public Clutter.LayoutManager layout_manager { get; set; }
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_box_layout_get_type ()")]
+ [Version (since = "1.2")]
public class BoxLayout : Clutter.LayoutManager {
[CCode (has_construct_function = false, type = "ClutterLayoutManager*")]
public BoxLayout ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.2")]
public void get_alignment (Clutter.Actor actor, out Clutter.BoxAlignment x_align, out Clutter.BoxAlignment y_align);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.2")]
public uint get_easing_duration ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.2")]
public ulong get_easing_mode ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.2")]
public bool get_expand (Clutter.Actor actor);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.2")]
public void get_fill (Clutter.Actor actor, out bool x_fill, out bool y_fill);
+ [Version (since = "1.4")]
public bool get_homogeneous ();
+ [Version (since = "1.12")]
public Clutter.Orientation get_orientation ();
public bool get_pack_start ();
public uint get_spacing ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.2")]
public bool get_use_animations ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.2")]
public bool get_vertical ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.2")]
public void pack (Clutter.Actor actor, bool expand, bool x_fill, bool y_fill, Clutter.BoxAlignment x_align, Clutter.BoxAlignment y_align);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.2")]
public void set_alignment (Clutter.Actor actor, Clutter.BoxAlignment x_align, Clutter.BoxAlignment y_align);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.2")]
public void set_easing_duration (uint msecs);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.2")]
public void set_easing_mode (ulong mode);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.2")]
public void set_expand (Clutter.Actor actor, bool expand);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.2")]
public void set_fill (Clutter.Actor actor, bool x_fill, bool y_fill);
+ [Version (since = "1.4")]
public void set_homogeneous (bool homogeneous);
+ [Version (since = "1.12")]
public void set_orientation (Clutter.Orientation orientation);
public void set_pack_start (bool pack_start);
public void set_spacing (uint spacing);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.2")]
public void set_use_animations (bool animate);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.2")]
public void set_vertical (bool vertical);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.2")]
public uint easing_duration { get; set; }
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.2")]
public ulong easing_mode { get; set; }
+ [Version (since = "1.4")]
public bool homogeneous { get; set; }
+ [Version (since = "1.12")]
public Clutter.Orientation orientation { get; set; }
public bool pack_start { get; set; }
public uint spacing { get; set; }
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.2")]
public bool use_animations { get; set; }
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.2")]
public bool vertical { get; set; }
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_brightness_contrast_effect_get_type ()")]
+ [Version (since = "1.10")]
public class BrightnessContrastEffect : Clutter.OffscreenEffect {
[CCode (has_construct_function = false, type = "ClutterEffect*")]
public BrightnessContrastEffect ();
@@ -5583,6 +5911,7 @@ namespace Clutter {
}
[CCode (cheader_filename = "clutter/clutter.h")]
[Compact]
+ [Version (since = "0.2")]
public class ButtonEvent : Clutter.Event {
public double axes;
public uint32 button;
@@ -5598,47 +5927,60 @@ namespace Clutter {
public float y;
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_cairo_texture_get_type ()")]
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public class CairoTexture : Clutter.Texture, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable {
[CCode (has_construct_function = false, type = "ClutterActor*")]
public CairoTexture (uint width, uint height);
public void clear ();
- [Deprecated (since = "1.8")]
+ [Version (deprecated = true, deprecated_since = "1.8", since = "1.0")]
public Cairo.Context create ();
- [Deprecated (since = "1.8")]
+ [Version (deprecated = true, deprecated_since = "1.8", since = "1.0")]
public Cairo.Context create_region (int x_offset, int y_offset, int width, int height);
+ [Version (since = "1.8")]
public bool get_auto_resize ();
public void get_surface_size (out uint width, out uint height);
+ [Version (since = "1.8")]
public void invalidate ();
+ [Version (since = "1.8")]
public void invalidate_rectangle (Cairo.RectangleInt? rect);
+ [Version (since = "1.8")]
public void set_auto_resize (bool value);
public void set_surface_size (uint width, uint height);
+ [Version (since = "1.8")]
public bool auto_resize { get; set; }
[NoAccessorMethod]
public uint surface_height { get; set; }
[NoAccessorMethod]
public uint surface_width { get; set; }
+ [Version (since = "1.6")]
public virtual signal Cairo.Surface create_surface (uint width, uint height);
+ [Version (since = "1.8")]
public virtual signal bool draw (Cairo.Context cr);
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_canvas_get_type ()")]
+ [Version (since = "1.10")]
public class Canvas : GLib.Object, Clutter.Content {
[CCode (has_construct_function = false)]
protected Canvas ();
+ [Version (since = "1.18")]
public int get_scale_factor ();
public static Clutter.Content @new ();
+ [Version (since = "1.18")]
public void set_scale_factor (int scale);
public bool set_size (int width, int height);
[NoAccessorMethod]
public int height { get; set; }
+ [Version (since = "1.18")]
public int scale_factor { get; set; }
[NoAccessorMethod]
+ [Version (since = "1.18")]
public bool scale_factor_set { get; }
[NoAccessorMethod]
public int width { get; set; }
public virtual signal bool draw (Cairo.Context cr, int width, int height);
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_child_meta_get_type ()")]
+ [Version (since = "0.8")]
public abstract class ChildMeta : GLib.Object {
[CCode (has_construct_function = false)]
protected ChildMeta ();
@@ -5648,30 +5990,38 @@ namespace Clutter {
public Clutter.Container container { get; construct; }
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_click_action_get_type ()")]
+ [Version (since = "1.4")]
public class ClickAction : Clutter.Action {
[CCode (has_construct_function = false, type = "ClutterAction*")]
public ClickAction ();
public uint get_button ();
+ [Version (since = "1.8")]
public void get_coords (out float press_x, out float press_y);
+ [Version (since = "1.6")]
public Clutter.ModifierType get_state ();
public void release ();
[NoAccessorMethod]
public bool held { get; }
[NoAccessorMethod]
+ [Version (since = "1.8")]
public int long_press_duration { get; set; }
[NoAccessorMethod]
+ [Version (since = "1.8")]
public int long_press_threshold { get; set; }
[NoAccessorMethod]
public bool pressed { get; }
public virtual signal void clicked (Clutter.Actor actor);
+ [Version (since = "1.8")]
public virtual signal bool long_press (Clutter.Actor actor, Clutter.LongPressState state);
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_clip_node_get_type ()")]
+ [Version (since = "1.10")]
public class ClipNode : Clutter.PaintNode {
[CCode (has_construct_function = false, type = "ClutterPaintNode*")]
public ClipNode ();
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_clone_get_type ()")]
+ [Version (since = "1.0")]
public class Clone : Clutter.Actor, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable {
[CCode (has_construct_function = false, type = "ClutterActor*")]
public Clone (Clutter.Actor source);
@@ -5680,11 +6030,13 @@ namespace Clutter {
public Clutter.Actor source { get; set construct; }
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_color_node_get_type ()")]
+ [Version (since = "1.10")]
public class ColorNode : Clutter.PipelineNode {
[CCode (has_construct_function = false, type = "ClutterPaintNode*")]
public ColorNode (Clutter.Color? color);
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_colorize_effect_get_type ()")]
+ [Version (since = "1.4")]
public class ColorizeEffect : Clutter.OffscreenEffect {
[CCode (has_construct_function = false, type = "ClutterEffect*")]
public ColorizeEffect (Clutter.Color tint);
@@ -5693,6 +6045,7 @@ namespace Clutter {
public Clutter.Color tint { get; set; }
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_constraint_get_type ()")]
+ [Version (since = "1.4")]
public abstract class Constraint : Clutter.ActorMeta {
[CCode (has_construct_function = false)]
protected Constraint ();
@@ -5703,6 +6056,7 @@ namespace Clutter {
}
[CCode (cheader_filename = "clutter/clutter.h")]
[Compact]
+ [Version (since = "0.2")]
public class CrossingEvent : Clutter.Event {
public weak Clutter.InputDevice device;
public Clutter.EventFlags flags;
@@ -5715,6 +6069,7 @@ namespace Clutter {
public float y;
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_deform_effect_get_type ()")]
+ [Version (since = "1.4")]
public abstract class DeformEffect : Clutter.OffscreenEffect {
[CCode (has_construct_function = false)]
protected DeformEffect ();
@@ -5731,6 +6086,7 @@ namespace Clutter {
public uint y_tiles { get; set; }
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_desaturate_effect_get_type ()")]
+ [Version (since = "1.4")]
public class DesaturateEffect : Clutter.OffscreenEffect {
[CCode (has_construct_function = false, type = "ClutterEffect*")]
public DesaturateEffect (double factor);
@@ -5739,6 +6095,7 @@ namespace Clutter {
public double factor { get; set; }
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_device_manager_get_type ()")]
+ [Version (since = "1.2")]
public abstract class DeviceManager : GLib.Object {
[CCode (has_construct_function = false)]
protected DeviceManager ();
@@ -5759,6 +6116,7 @@ namespace Clutter {
public signal void device_removed (Clutter.InputDevice device);
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_drag_action_get_type ()")]
+ [Version (since = "1.4")]
public class DragAction : Clutter.Action {
[CCode (has_construct_function = false, type = "ClutterAction*")]
public DragAction ();
@@ -5773,8 +6131,10 @@ namespace Clutter {
public void set_drag_handle (Clutter.Actor? handle);
public void set_drag_threshold (int x_threshold, int y_threshold);
[NoAccessorMethod]
+ [Version (since = "1.12")]
public Clutter.Rect drag_area { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "1.12")]
public bool drag_area_set { get; }
public Clutter.DragAxis drag_axis { get; set; }
public Clutter.Actor drag_handle { get; set; }
@@ -5785,19 +6145,23 @@ namespace Clutter {
public virtual signal void drag_begin (Clutter.Actor actor, float event_x, float event_y, Clutter.ModifierType modifiers);
public virtual signal void drag_end (Clutter.Actor actor, float event_x, float event_y, Clutter.ModifierType modifiers);
public virtual signal void drag_motion (Clutter.Actor actor, float delta_x, float delta_y);
+ [Version (since = "1.12")]
public virtual signal bool drag_progress (Clutter.Actor actor, float delta_x, float delta_y);
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_drop_action_get_type ()")]
+ [Version (since = "1.8")]
public class DropAction : Clutter.Action {
[CCode (has_construct_function = false, type = "ClutterAction*")]
public DropAction ();
public virtual signal bool can_drop (Clutter.Actor actor, float event_x, float event_y);
public virtual signal void drop (Clutter.Actor actor, float event_x, float event_y);
+ [Version (since = "1.12")]
public signal void drop_cancel (Clutter.Actor actor, float event_x, float event_y);
public virtual signal void over_in (Clutter.Actor actor);
public virtual signal void over_out (Clutter.Actor actor);
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_effect_get_type ()")]
+ [Version (since = "1.4")]
public abstract class Effect : Clutter.ActorMeta {
[CCode (has_construct_function = false)]
protected Effect ();
@@ -5811,69 +6175,124 @@ namespace Clutter {
public virtual void post_paint ();
[NoWrapper]
public virtual bool pre_paint ();
+ [Version (since = "1.8")]
public void queue_repaint ();
}
[CCode (cheader_filename = "clutter/clutter.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "clutter_event_get_type ()")]
[Compact]
+ [Version (since = "0.2")]
public class Event {
public Clutter.EventType type;
[CCode (has_construct_function = false)]
public Event (Clutter.EventType type);
+ [Version (since = "1.18")]
public static uint add_filter (Clutter.Stage? stage, [CCode (delegate_target_pos = 2.2, destroy_notify_pos = 2.1)] owned Clutter.EventFilterFunc func);
public Clutter.Event copy ();
public void free ();
+ [Version (since = "0.4")]
public static Clutter.Event @get ();
+ [Version (since = "1.12")]
public double get_angle (Clutter.Event target);
+ [Version (since = "1.6")]
public double get_axes (out uint n_axes);
+ [Version (since = "1.0")]
public uint32 get_button ();
+ [Version (since = "1.0")]
public uint get_click_count ();
+ [Version (since = "0.4")]
public void get_coords (out float x, out float y);
+ [Version (since = "1.0")]
public unowned Clutter.InputDevice get_device ();
public int get_device_id ();
+ [Version (since = "1.0")]
public Clutter.InputDeviceType get_device_type ();
+ [Version (since = "1.12")]
public float get_distance (Clutter.Event target);
+ [Version (since = "1.10")]
public unowned Clutter.EventSequence get_event_sequence ();
+ [Version (since = "1.0")]
public Clutter.EventFlags get_flags ();
+ [Version (since = "1.24")]
public void get_gesture_motion_delta (out double dx, out double dy);
public Clutter.TouchpadGesturePhase get_gesture_phase ();
+ [Version (since = "1.24")]
public double get_gesture_pinch_angle_delta ();
+ [Version (since = "1.24")]
public double get_gesture_pinch_scale ();
+ [Version (since = "1.24")]
public uint get_gesture_swipe_finger_count ();
+ [Version (since = "1.0")]
public uint16 get_key_code ();
+ [Version (since = "1.0")]
public uint get_key_symbol ();
public unichar get_key_unicode ();
+ [Version (since = "1.12")]
public void get_position (Clutter.Point position);
+ [Version (since = "1.0")]
public unowned Clutter.Actor get_related ();
+ [Version (since = "1.10")]
public void get_scroll_delta (out double dx, out double dy);
+ [Version (since = "1.0")]
public Clutter.ScrollDirection get_scroll_direction ();
+ [Version (since = "1.26")]
+ public Clutter.ScrollFinishFlags get_scroll_finish_flags ();
+ [Version (since = "1.26")]
+ public Clutter.ScrollSource get_scroll_source ();
+ [Version (since = "0.6")]
public unowned Clutter.Actor get_source ();
+ [Version (since = "1.6")]
public unowned Clutter.InputDevice get_source_device ();
+ [Version (since = "0.8")]
public unowned Clutter.Stage get_stage ();
+ [Version (since = "0.4")]
public Clutter.ModifierType get_state ();
+ [Version (since = "1.16")]
public void get_state_full (out Clutter.ModifierType button_state, out Clutter.ModifierType base_state, out Clutter.ModifierType latched_state, out Clutter.ModifierType locked_state, out Clutter.ModifierType effective_state);
+ [Version (since = "0.4")]
public uint32 get_time ();
[CCode (cname = "clutter_event_type")]
public Clutter.EventType get_type ();
+ [Version (since = "1.12")]
public bool has_control_modifier ();
+ [Version (since = "1.12")]
public bool has_shift_modifier ();
+ [Version (since = "1.12")]
public bool is_pointer_emulated ();
+ [Version (since = "0.4")]
public static unowned Clutter.Event peek ();
+ [Version (since = "0.6")]
public void put ();
+ [Version (since = "1.18")]
public static void remove_filter (uint id);
+ [Version (since = "1.8")]
public void set_button (uint32 button);
+ [Version (since = "1.8")]
public void set_coords (float x, float y);
+ [Version (since = "1.6")]
public void set_device (Clutter.InputDevice? device);
+ [Version (since = "1.8")]
public void set_flags (Clutter.EventFlags flags);
+ [Version (since = "1.8")]
public void set_key_code (uint16 key_code);
+ [Version (since = "1.8")]
public void set_key_symbol (uint key_sym);
+ [Version (since = "1.8")]
public void set_key_unicode (unichar key_unicode);
+ [Version (since = "1.8")]
public void set_related (Clutter.Actor? actor);
+ [Version (since = "1.10")]
public void set_scroll_delta (double dx, double dy);
+ [Version (since = "1.8")]
public void set_scroll_direction (Clutter.ScrollDirection direction);
+ [Version (since = "1.8")]
public void set_source (Clutter.Actor? actor);
+ [Version (since = "1.8")]
public void set_source_device (Clutter.InputDevice? device);
+ [Version (since = "1.8")]
public void set_stage (Clutter.Stage? stage);
+ [Version (since = "1.8")]
public void set_state (Clutter.ModifierType state);
+ [Version (since = "1.8")]
public void set_time (uint32 time_);
public Clutter.AnyEvent any {[CCode (cname = "(ClutterAnyEvent *)")] get; }
public Clutter.ButtonEvent button {[CCode (cname = "(ClutterButtonEvent *)")] get; }
@@ -5888,14 +6307,17 @@ namespace Clutter {
}
[CCode (cheader_filename = "clutter/clutter.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "clutter_event_sequence_get_type ()")]
[Compact]
+ [Version (since = "1.12")]
public class EventSequence {
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_fixed_layout_get_type ()")]
+ [Version (since = "1.2")]
public class FixedLayout : Clutter.LayoutManager {
[CCode (has_construct_function = false, type = "ClutterLayoutManager*")]
public FixedLayout ();
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_flow_layout_get_type ()")]
+ [Version (since = "1.2")]
public class FlowLayout : Clutter.LayoutManager {
[CCode (has_construct_function = false, type = "ClutterLayoutManager*")]
public FlowLayout (Clutter.FlowOrientation orientation);
@@ -5905,6 +6327,7 @@ namespace Clutter {
public Clutter.FlowOrientation get_orientation ();
public void get_row_height (out float min_height, out float max_height);
public float get_row_spacing ();
+ [Version (since = "1.16")]
public bool get_snap_to_grid ();
public void set_column_spacing (float spacing);
public void set_column_width (float min_width, float max_width);
@@ -5912,6 +6335,7 @@ namespace Clutter {
public void set_orientation (Clutter.FlowOrientation orientation);
public void set_row_height (float min_height, float max_height);
public void set_row_spacing (float spacing);
+ [Version (since = "1.16")]
public void set_snap_to_grid (bool snap_to_grid);
public float column_spacing { get; set; }
public bool homogeneous { get; set; }
@@ -5925,37 +6349,56 @@ namespace Clutter {
public float min_row_height { get; set; }
public Clutter.FlowOrientation orientation { get; set construct; }
public float row_spacing { get; set; }
+ [Version (since = "1.16")]
public bool snap_to_grid { get; set; }
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_gesture_action_get_type ()")]
+ [Version (since = "1.8")]
public class GestureAction : Clutter.Action {
[CCode (has_construct_function = false, type = "ClutterAction*")]
public GestureAction ();
+ [Version (since = "1.12")]
public void cancel ();
[NoWrapper]
public virtual bool gesture_prepare (Clutter.Actor actor);
+ [Version (since = "1.12")]
public unowned Clutter.InputDevice get_device (uint point);
+ [Version (since = "1.14")]
public unowned Clutter.Event get_last_event (uint point);
public void get_motion_coords (uint point, out float motion_x, out float motion_y);
+ [Version (since = "1.12")]
public float get_motion_delta (uint point, out float delta_x, out float delta_y);
+ [Version (since = "1.12")]
public uint get_n_current_points ();
+ [Version (since = "1.12")]
public int get_n_touch_points ();
public void get_press_coords (uint point, out float press_x, out float press_y);
public void get_release_coords (uint point, out float release_x, out float release_y);
+ [Version (since = "1.12")]
public unowned Clutter.EventSequence get_sequence (uint point);
+ [Version (since = "1.18")]
public void get_threshold_trigger_distance (out float x, out float y);
+ [Version (since = "1.20")]
public Clutter.GestureTriggerEdge get_threshold_trigger_edge ();
- [Deprecated (since = "1.20")]
+ [Version (deprecated = true, deprecated_since = "1.20", since = "1.18")]
public Clutter.GestureTriggerEdge get_threshold_trigger_egde ();
+ [Version (since = "1.12")]
public float get_velocity (uint point, out float velocity_x, out float velocity_y);
+ [Version (since = "1.12")]
public void set_n_touch_points (int nb_points);
+ [Version (since = "1.18")]
public void set_threshold_trigger_distance (float x, float y);
+ [Version (since = "1.18")]
public void set_threshold_trigger_edge (Clutter.GestureTriggerEdge edge);
+ [Version (since = "1.16")]
public int n_touch_points { get; set; }
[NoAccessorMethod]
+ [Version (since = "1.18")]
public float threshold_trigger_distance_x { get; construct; }
[NoAccessorMethod]
+ [Version (since = "1.18")]
public float threshold_trigger_distance_y { get; construct; }
+ [Version (since = "1.18")]
public Clutter.GestureTriggerEdge threshold_trigger_edge { get; construct; }
public virtual signal bool gesture_begin (Clutter.Actor actor);
public virtual signal void gesture_cancel (Clutter.Actor actor);
@@ -5963,6 +6406,7 @@ namespace Clutter {
public virtual signal bool gesture_progress (Clutter.Actor actor);
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_grid_layout_get_type ()")]
+ [Version (since = "1.12")]
public class GridLayout : Clutter.LayoutManager {
[CCode (has_construct_function = false, type = "ClutterLayoutManager*")]
public GridLayout ();
@@ -5989,23 +6433,26 @@ namespace Clutter {
public uint row_spacing { get; set; }
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_group_get_type ()")]
+ [Version (since = "0.2")]
public class Group : Clutter.Actor, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable {
[CCode (has_construct_function = false, type = "ClutterActor*")]
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10")]
public Group ();
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.2")]
public int get_n_children ();
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.2")]
public unowned Clutter.Actor get_nth_child (int index_);
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10")]
public void remove_all ();
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_image_get_type ()")]
+ [Version (since = "1.10")]
public class Image : GLib.Object, Clutter.Content {
[CCode (has_construct_function = false)]
protected Image ();
public static Clutter.Content @new ();
public bool set_area ([CCode (array_length = false)] uint8[] data, Cogl.PixelFormat pixel_format, Cairo.RectangleInt rect, uint row_stride) throws GLib.Error;
+ [Version (since = "1.12")]
public bool set_bytes (GLib.Bytes data, Cogl.PixelFormat pixel_format, uint width, uint height, uint row_stride) throws GLib.Error;
public bool set_data ([CCode (array_length = false)] uint8[] data, Cogl.PixelFormat pixel_format, uint width, uint height, uint row_stride) throws GLib.Error;
}
@@ -6013,73 +6460,117 @@ namespace Clutter {
public class InputDevice : GLib.Object {
[CCode (has_construct_function = false)]
protected InputDevice ();
+ [Version (since = "1.6")]
public unowned Clutter.InputDevice get_associated_device ();
+ [Version (since = "1.6")]
public Clutter.InputAxis get_axis (uint index_);
+ [Version (since = "1.6")]
public bool get_axis_value ([CCode (array_length = false)] double[] axes, Clutter.InputAxis axis, out double value);
+ [Version (since = "1.12")]
public bool get_coords (Clutter.EventSequence? sequence, Clutter.Point point);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.2")]
public void get_device_coords (out int x, out int y);
+ [Version (since = "1.0")]
public int get_device_id ();
+ [Version (since = "1.6")]
public Clutter.InputMode get_device_mode ();
+ [Version (since = "1.2")]
public unowned string get_device_name ();
+ [Version (since = "1.0")]
public Clutter.InputDeviceType get_device_type ();
+ [Version (since = "1.6")]
public bool get_enabled ();
[CCode (cname = "clutter_get_input_device_for_id")]
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.8")]
public static unowned Clutter.InputDevice get_for_id (int id_);
+ [Version (since = "1.10")]
public unowned Clutter.Actor get_grabbed_actor ();
+ [Version (since = "1.6")]
public bool get_has_cursor ();
+ [Version (since = "1.6")]
public bool get_key (uint index_, out uint keyval, out Clutter.ModifierType modifiers);
+ [Version (since = "1.16")]
public Clutter.ModifierType get_modifier_state ();
+ [Version (since = "1.6")]
public uint get_n_axes ();
+ [Version (since = "1.6")]
public uint get_n_keys ();
+ [Version (since = "1.2")]
public unowned Clutter.Actor get_pointer_actor ();
+ [Version (since = "1.2")]
public unowned Clutter.Stage get_pointer_stage ();
+ [Version (since = "1.22")]
public unowned string get_product_id ();
+ [Version (since = "1.6")]
public GLib.List<weak Clutter.InputDevice> get_slave_devices ();
+ [Version (since = "1.22")]
public unowned string get_vendor_id ();
+ [Version (since = "1.10")]
public void grab (Clutter.Actor actor);
+ [Version (since = "1.10")]
public bool keycode_to_evdev (uint hardware_keycode, uint evdev_keycode);
+ [Version (since = "1.12")]
public unowned Clutter.Actor sequence_get_grabbed_actor (Clutter.EventSequence sequence);
+ [Version (since = "1.12")]
public void sequence_grab (Clutter.EventSequence sequence, Clutter.Actor actor);
+ [Version (since = "1.12")]
public void sequence_ungrab (Clutter.EventSequence sequence);
+ [Version (since = "1.6")]
public void set_enabled (bool enabled);
+ [Version (since = "1.6")]
public void set_key (uint index_, uint keyval, Clutter.ModifierType modifiers);
+ [Version (since = "1.10")]
public void ungrab ();
+ [Version (since = "1.2")]
public void update_from_event (Clutter.Event event, bool update_stage);
[NoAccessorMethod]
+ [Version (since = "1.6")]
public Clutter.Backend backend { owned get; construct; }
[NoAccessorMethod]
+ [Version (since = "1.6")]
public Clutter.DeviceManager device_manager { owned get; construct; }
public Clutter.InputMode device_mode { get; construct; }
+ [Version (since = "1.2")]
public Clutter.InputDeviceType device_type { get; construct; }
+ [Version (since = "1.6")]
public bool enabled { get; set; }
+ [Version (since = "1.6")]
public bool has_cursor { get; construct; }
[NoAccessorMethod]
+ [Version (since = "1.2")]
public int id { get; construct; }
+ [Version (since = "1.6")]
public uint n_axes { get; }
[NoAccessorMethod]
+ [Version (since = "1.2")]
public string name { owned get; construct; }
+ [Version (since = "1.22")]
public string product_id { get; construct; }
+ [Version (since = "1.22")]
public string vendor_id { get; construct; }
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_interval_get_type ()")]
+ [Version (since = "1.0")]
public class Interval : GLib.InitiallyUnowned, Clutter.Scriptable {
[CCode (has_construct_function = false)]
public Interval (GLib.Type gtype, ...);
public Clutter.Interval clone ();
+ [Version (since = "1.4")]
public unowned GLib.Value? compute (double factor);
public virtual bool compute_value (double factor, out GLib.Value value);
public GLib.Value get_final_value ();
public GLib.Value get_initial_value ();
public void get_interval (...);
public GLib.Type get_value_type ();
+ [Version (since = "1.12")]
public bool is_valid ();
public unowned GLib.Value? peek_final_value ();
public unowned GLib.Value? peek_initial_value ();
public static void register_progress_func (GLib.Type value_type, Clutter.ProgressFunc func);
+ [Version (since = "1.10")]
public void set_final (...);
public void set_final_value (GLib.Value value);
+ [Version (since = "1.10")]
public void set_initial (...);
public void set_initial_value (GLib.Value value);
public void set_interval (...);
@@ -6087,13 +6578,16 @@ namespace Clutter {
[CCode (has_construct_function = false)]
public Interval.with_values (GLib.Type gtype, GLib.Value? initial, GLib.Value? final);
[NoAccessorMethod]
+ [Version (since = "1.12")]
public GLib.Value final { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "1.12")]
public GLib.Value initial { owned get; set; }
public GLib.Type value_type { get; construct; }
}
[CCode (cheader_filename = "clutter/clutter.h")]
[Compact]
+ [Version (since = "0.2")]
public class KeyEvent : Clutter.Event {
public weak Clutter.InputDevice device;
public Clutter.EventFlags flags;
@@ -6107,6 +6601,7 @@ namespace Clutter {
public unichar unicode_value;
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_keyframe_transition_get_type ()")]
+ [Version (since = "1.12")]
public class KeyframeTransition : Clutter.PropertyTransition, Clutter.Scriptable {
[CCode (has_construct_function = false, type = "ClutterTransition*")]
public KeyframeTransition (string property_name);
@@ -6119,11 +6614,12 @@ namespace Clutter {
public void set_values ([CCode (array_length_cname = "n_values", array_length_pos = 0.5, array_length_type = "guint")] GLib.Value[] values);
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_layout_manager_get_type ()")]
+ [Version (since = "1.2")]
public abstract class LayoutManager : GLib.InitiallyUnowned {
[CCode (has_construct_function = false)]
protected LayoutManager ();
public virtual void allocate (Clutter.Container container, Clutter.ActorBox allocation, Clutter.AllocationFlags flags);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.2")]
public virtual unowned Clutter.Alpha begin_animation (uint duration, ulong mode);
public void child_get (Clutter.Container container, Clutter.Actor actor, ...);
public void child_get_property (Clutter.Container container, Clutter.Actor actor, string property_name, GLib.Value value);
@@ -6131,11 +6627,12 @@ namespace Clutter {
public void child_set_property (Clutter.Container container, Clutter.Actor actor, string property_name, GLib.Value value);
[NoWrapper]
public virtual unowned Clutter.LayoutMeta create_child_meta (Clutter.Container container, Clutter.Actor actor);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.2")]
public virtual void end_animation ();
public unowned GLib.ParamSpec find_child_property (string name);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.2")]
public virtual double get_animation_progress ();
+ [Version (since = "1.0")]
public unowned Clutter.LayoutMeta get_child_meta (Clutter.Container container, Clutter.Actor actor);
[NoWrapper]
public virtual GLib.Type get_child_meta_type ();
@@ -6148,6 +6645,7 @@ namespace Clutter {
public virtual signal void layout_changed ();
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_layout_meta_get_type ()")]
+ [Version (since = "1.2")]
public abstract class LayoutMeta : Clutter.ChildMeta {
[CCode (has_construct_function = false)]
protected LayoutMeta ();
@@ -6155,7 +6653,7 @@ namespace Clutter {
public Clutter.LayoutManager manager { get; construct; }
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_list_model_get_type ()")]
- [Deprecated (since = "1.24")]
+ [Version (deprecated = true, deprecated_since = "1.24", since = "0.6")]
public class ListModel : Clutter.Model, Clutter.Scriptable {
[CCode (has_construct_function = false, type = "ClutterModel*")]
public ListModel (uint n_columns, ...);
@@ -6164,6 +6662,7 @@ namespace Clutter {
}
[CCode (cheader_filename = "clutter/clutter.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "clutter_margin_get_type ()")]
[Compact]
+ [Version (since = "1.10")]
public class Margin {
public float bottom;
public float left;
@@ -6175,7 +6674,7 @@ namespace Clutter {
public void free ();
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_model_get_type ()")]
- [Deprecated (since = "1.24")]
+ [Version (deprecated = true, deprecated_since = "1.24", since = "0.6")]
public abstract class Model : GLib.Object, Clutter.Scriptable {
[CCode (has_construct_function = false)]
protected Model ();
@@ -6186,6 +6685,7 @@ namespace Clutter {
public void @foreach (Clutter.ModelForeachFunc func);
public virtual unowned string get_column_name (uint column);
public virtual GLib.Type get_column_type (uint column);
+ [Version (since = "1.0")]
public bool get_filter_set ();
public Clutter.ModelIter get_first_iter ();
public virtual Clutter.ModelIter get_iter_at_row (uint row);
@@ -6209,6 +6709,7 @@ namespace Clutter {
public void set_sort (int column, owned Clutter.ModelSortFunc? func);
public void set_sorting_column (int column);
public void set_types ([CCode (array_length_cname = "n_columns", array_length_pos = 0.5, array_length_type = "guint")] GLib.Type[] types);
+ [Version (since = "1.0")]
public bool filter_set { get; }
public virtual signal void filter_changed ();
public virtual signal void row_added (Clutter.ModelIter iter);
@@ -6217,10 +6718,11 @@ namespace Clutter {
public virtual signal void sort_changed ();
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_model_iter_get_type ()")]
- [Deprecated (since = "1.24")]
+ [Version (deprecated = true, deprecated_since = "1.24", since = "0.6")]
public abstract class ModelIter : GLib.Object {
[CCode (has_construct_function = false)]
protected ModelIter ();
+ [Version (since = "0.8")]
public virtual Clutter.ModelIter copy ();
public void @get (...);
public virtual unowned Clutter.Model get_model ();
@@ -6239,6 +6741,7 @@ namespace Clutter {
}
[CCode (cheader_filename = "clutter/clutter.h")]
[Compact]
+ [Version (since = "0.2")]
public class MotionEvent : Clutter.Event {
public double axes;
public weak Clutter.InputDevice device;
@@ -6252,18 +6755,22 @@ namespace Clutter {
public float y;
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_offscreen_effect_get_type ()")]
+ [Version (since = "1.4")]
public abstract class OffscreenEffect : Clutter.Effect {
[CCode (has_construct_function = false)]
protected OffscreenEffect ();
public virtual Cogl.Handle create_texture (float width, float height);
public unowned Cogl.Material get_target ();
+ [Version (since = "1.14")]
public bool get_target_rect (out unowned Clutter.Rect rect);
- [Deprecated (since = "1.14")]
+ [Version (deprecated = true, deprecated_since = "1.14", since = "1.8")]
public bool get_target_size (out float width, out float height);
+ [Version (since = "1.10")]
public unowned Cogl.Handle get_texture ();
public virtual void paint_target ();
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_page_turn_effect_get_type ()")]
+ [Version (since = "1.4")]
public class PageTurnEffect : Clutter.DeformEffect {
[CCode (has_construct_function = false, type = "ClutterEffect*")]
public PageTurnEffect (double period, double angle, float radius);
@@ -6278,6 +6785,7 @@ namespace Clutter {
public float radius { get; set; }
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_paint_node_get_type ()")]
+ [Version (since = "1.10")]
public abstract class PaintNode {
[CCode (has_construct_function = false)]
protected PaintNode ();
@@ -6290,32 +6798,50 @@ namespace Clutter {
}
[CCode (cheader_filename = "clutter/clutter.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "clutter_paint_volume_get_type ()")]
[Compact]
+ [Version (since = "1.4")]
public class PaintVolume {
+ [Version (since = "1.6")]
public Clutter.PaintVolume copy ();
+ [Version (since = "1.6")]
public void free ();
+ [Version (since = "1.6")]
public float get_depth ();
+ [Version (since = "1.6")]
public float get_height ();
+ [Version (since = "1.6")]
public Clutter.Vertex get_origin ();
+ [Version (since = "1.6")]
public float get_width ();
+ [Version (since = "1.6")]
public void set_depth (float depth);
+ [Version (since = "1.6")]
public bool set_from_allocation (Clutter.Actor actor);
+ [Version (since = "1.6")]
public void set_height (float height);
+ [Version (since = "1.6")]
public void set_origin (Clutter.Vertex origin);
+ [Version (since = "1.6")]
public void set_width (float width);
+ [Version (since = "1.6")]
public void union (Clutter.PaintVolume another_pv);
+ [Version (since = "1.10")]
public void union_box (Clutter.ActorBox box);
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_pan_action_get_type ()")]
+ [Version (since = "1.12")]
public class PanAction : Clutter.GestureAction {
[CCode (has_construct_function = false, type = "ClutterAction*")]
public PanAction ();
public double get_acceleration_factor ();
+ [Version (since = "1.24")]
public float get_constrained_motion_delta (uint point, out float delta_x, out float delta_y);
public double get_deceleration ();
public bool get_interpolate ();
public void get_interpolated_coords (out float interpolated_x, out float interpolated_y);
public float get_interpolated_delta (out float delta_x, out float delta_y);
+ [Version (since = "1.14")]
public void get_motion_coords (uint point, out float motion_x, out float motion_y);
+ [Version (since = "1.14")]
public float get_motion_delta (uint point, out float delta_x, out float delta_y);
public Clutter.PanAxis get_pan_axis ();
public void set_acceleration_factor (double factor);
@@ -6335,6 +6861,7 @@ namespace Clutter {
protected ParamSpecUnit ();
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_path_get_type ()")]
+ [Version (since = "1.0")]
public class Path : GLib.InitiallyUnowned {
[CCode (has_construct_function = false)]
public Path ();
@@ -6368,6 +6895,7 @@ namespace Clutter {
public uint length { get; }
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_path_constraint_get_type ()")]
+ [Version (since = "1.6")]
public class PathConstraint : Clutter.Constraint {
[CCode (has_construct_function = false, type = "ClutterConstraint*")]
public PathConstraint (Clutter.Path? path, float offset);
@@ -6380,12 +6908,14 @@ namespace Clutter {
public signal void node_reached (Clutter.Actor actor, uint index);
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_pipeline_node_get_type ()")]
+ [Version (since = "1.10")]
public class PipelineNode : Clutter.PaintNode {
[CCode (has_construct_function = false)]
protected PipelineNode ();
}
[CCode (cheader_filename = "clutter/clutter.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "clutter_point_get_type ()")]
[Compact]
+ [Version (since = "1.12")]
public class Point {
public float x;
public float y;
@@ -6398,6 +6928,7 @@ namespace Clutter {
public static unowned Clutter.Point zero ();
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_property_transition_get_type ()")]
+ [Version (since = "1.10")]
public class PropertyTransition : Clutter.Transition, Clutter.Scriptable {
[CCode (has_construct_function = false, type = "ClutterTransition*")]
public PropertyTransition (string? property_name);
@@ -6407,6 +6938,7 @@ namespace Clutter {
}
[CCode (cheader_filename = "clutter/clutter.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "clutter_rect_get_type ()")]
[Compact]
+ [Version (since = "1.12")]
public class Rect {
public weak Clutter.Point origin;
public weak Clutter.Size size;
@@ -6431,24 +6963,25 @@ namespace Clutter {
public static unowned Clutter.Rect zero ();
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_rectangle_get_type ()")]
+ [Version (since = "0.2")]
public class Rectangle : Clutter.Actor, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable {
[CCode (has_construct_function = false, type = "ClutterActor*")]
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10")]
public Rectangle ();
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.2")]
public Clutter.Color get_border_color ();
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.2")]
public uint get_border_width ();
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10")]
public Clutter.Color get_color ();
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10")]
public void set_border_color (Clutter.Color color);
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.2")]
public void set_border_width (uint width);
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10")]
public void set_color (Clutter.Color color);
[CCode (has_construct_function = false, type = "ClutterActor*")]
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10")]
public Rectangle.with_color (Clutter.Color color);
public Clutter.Color border_color { get; set; }
public uint border_width { get; set; }
@@ -6457,85 +6990,96 @@ namespace Clutter {
public bool has_border { get; set; }
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_rotate_action_get_type ()")]
+ [Version (since = "1.12")]
public class RotateAction : Clutter.GestureAction {
[CCode (has_construct_function = false, type = "ClutterAction*")]
public RotateAction ();
public virtual signal bool rotate (Clutter.Actor actor, double angle);
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_score_get_type ()")]
+ [Version (since = "0.6")]
public class Score : GLib.Object {
[CCode (has_construct_function = false)]
- [Deprecated (since = "1.8")]
+ [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public Score ();
- [Deprecated (since = "1.8")]
+ [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public ulong append (Clutter.Timeline? parent, Clutter.Timeline timeline);
- [Deprecated (since = "1.8")]
+ [Version (deprecated = true, deprecated_since = "1.8", since = "0.8")]
public ulong append_at_marker (Clutter.Timeline parent, string marker_name, Clutter.Timeline timeline);
- [Deprecated (since = "1.8")]
+ [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public bool get_loop ();
- [Deprecated (since = "1.8")]
+ [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public unowned Clutter.Timeline get_timeline (ulong id_);
- [Deprecated (since = "1.8")]
+ [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public bool is_playing ();
- [Deprecated (since = "1.8")]
+ [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public GLib.SList<weak Clutter.Timeline> list_timelines ();
- [Deprecated (since = "1.8")]
+ [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public void pause ();
- [Deprecated (since = "1.8")]
+ [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public void remove (ulong id_);
- [Deprecated (since = "1.8")]
+ [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public void remove_all ();
- [Deprecated (since = "1.8")]
+ [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public void rewind ();
- [Deprecated (since = "1.8")]
+ [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public void set_loop (bool loop);
- [Deprecated (since = "1.8")]
+ [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public void start ();
- [Deprecated (since = "1.8")]
+ [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public void stop ();
- [Deprecated (since = "1.8")]
+ [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public bool loop { get; set; }
- [Deprecated (since = "1.8")]
+ [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public virtual signal void completed ();
- [Deprecated (since = "1.8")]
+ [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public virtual signal void paused ();
- [Deprecated (since = "1.8")]
+ [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public virtual signal void started ();
- [Deprecated (since = "1.8")]
+ [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public virtual signal void timeline_completed (Clutter.Timeline timeline);
- [Deprecated (since = "1.8")]
+ [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public virtual signal void timeline_started (Clutter.Timeline timeline);
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_script_get_type ()")]
+ [Version (since = "0.6")]
public class Script : GLib.Object {
[CCode (has_construct_function = false)]
public Script ();
+ [Version (since = "0.8")]
public void add_search_paths ([CCode (array_length_cname = "n_paths", array_length_pos = 1.1, array_length_type = "gsize")] string[] paths);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.8")]
public void add_states (string? name, Clutter.State state);
public void connect_signals (void* user_data);
public void connect_signals_full (Clutter.ScriptConnectFunc func);
public void ensure_objects ();
public unowned GLib.Object get_object (string name);
public int get_objects (...);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.8")]
public unowned Clutter.State get_states (string? name);
+ [Version (since = "1.10")]
public unowned string get_translation_domain ();
public virtual GLib.Type get_type_from_name (string type_name);
+ [Version (since = "0.8")]
public GLib.List<weak GLib.Object> list_objects ();
public uint load_from_data (string data, ssize_t length) throws GLib.Error;
public uint load_from_file (string filename) throws GLib.Error;
+ [Version (since = "1.10")]
public uint load_from_resource (string resource_path) throws GLib.Error;
+ [Version (since = "0.8")]
public string lookup_filename (string filename);
+ [Version (since = "1.10")]
public void set_translation_domain (string? domain);
public void unmerge_objects (uint merge_id);
[NoAccessorMethod]
public string filename { owned get; }
[NoAccessorMethod]
public bool filename_set { get; }
+ [Version (since = "1.10")]
public string translation_domain { get; set; }
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_scroll_actor_get_type ()")]
+ [Version (since = "1.12")]
public class ScrollActor : Clutter.Actor, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable {
[CCode (has_construct_function = false, type = "ClutterActor*")]
public ScrollActor ();
@@ -6547,12 +7091,15 @@ namespace Clutter {
}
[CCode (cheader_filename = "clutter/clutter.h")]
[Compact]
+ [Version (since = "0.2")]
public class ScrollEvent : Clutter.Event {
public double axes;
public weak Clutter.InputDevice device;
public Clutter.ScrollDirection direction;
+ public Clutter.ScrollFinishFlags finish_flags;
public Clutter.EventFlags flags;
public Clutter.ModifierType modifier_state;
+ public Clutter.ScrollSource scroll_source;
public weak Clutter.Actor source;
public weak Clutter.Stage stage;
public uint32 time;
@@ -6561,13 +7108,15 @@ namespace Clutter {
public float y;
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_settings_get_type ()")]
+ [Version (since = "1.4")]
public class Settings : GLib.Object {
[CCode (has_construct_function = false)]
protected Settings ();
public static unowned Clutter.Settings get_default ();
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "1.4")]
public Clutter.Backend backend { construct; }
[NoAccessorMethod]
+ [Version (since = "1.8")]
public int dnd_drag_threshold { get; set; }
[NoAccessorMethod]
public int double_click_distance { get; set; }
@@ -6588,6 +7137,7 @@ namespace Clutter {
[NoAccessorMethod]
public uint fontconfig_timestamp { set; }
[NoAccessorMethod]
+ [Version (since = "1.8")]
public int long_press_duration { get; set; }
[NoAccessorMethod]
public uint password_hint_time { get; set; }
@@ -6597,24 +7147,31 @@ namespace Clutter {
public int window_scaling_factor { get; set; }
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_shader_get_type ()")]
- [Deprecated (since = "1.8")]
+ [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public class Shader : GLib.Object {
[CCode (has_construct_function = false)]
public Shader ();
+ [Version (since = "0.8")]
public bool compile () throws GLib.Error;
+ [Version (since = "1.0")]
public unowned Cogl.Handle get_cogl_fragment_shader ();
+ [Version (since = "1.0")]
public unowned Cogl.Handle get_cogl_program ();
+ [Version (since = "1.0")]
public unowned Cogl.Handle get_cogl_vertex_shader ();
public unowned string get_fragment_source ();
public bool get_is_enabled ();
public unowned string get_vertex_source ();
+ [Version (since = "0.8")]
public bool is_compiled ();
public void release ();
public void set_fragment_source (string data, ssize_t length);
public void set_is_enabled (bool enabled);
+ [Version (since = "1.0")]
public void set_uniform (string name, GLib.Value value);
public void set_vertex_source (string data, ssize_t length);
[NoAccessorMethod]
+ [Version (since = "0.8")]
public bool compiled { get; }
[NoAccessorMethod]
public bool enabled { get; set; }
@@ -6624,8 +7181,10 @@ namespace Clutter {
public string vertex_source { owned get; set; }
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_shader_effect_get_type ()")]
+ [Version (since = "1.4")]
public class ShaderEffect : Clutter.OffscreenEffect {
[CCode (has_construct_function = false, type = "ClutterEffect*")]
+ [Version (since = "1.8")]
public ShaderEffect (Clutter.ShaderType shader_type);
public unowned Cogl.Handle get_program ();
public unowned Cogl.Handle get_shader ();
@@ -6652,6 +7211,7 @@ namespace Clutter {
}
[CCode (cheader_filename = "clutter/clutter.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "clutter_size_get_type ()")]
[Compact]
+ [Version (since = "1.12")]
public class Size {
public float height;
public float width;
@@ -6662,6 +7222,7 @@ namespace Clutter {
public unowned Clutter.Size init (float width, float height);
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_snap_constraint_get_type ()")]
+ [Version (since = "1.6")]
public class SnapConstraint : Clutter.Constraint {
[CCode (has_construct_function = false, type = "ClutterConstraint*")]
public SnapConstraint (Clutter.Actor? source, Clutter.SnapEdge from_edge, Clutter.SnapEdge to_edge, float offset);
@@ -6679,105 +7240,154 @@ namespace Clutter {
public Clutter.SnapEdge to_edge { get; set construct; }
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_stage_get_type ()")]
+ [Version (since = "0.2")]
public class Stage : Clutter.Group, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable {
[CCode (has_construct_function = false, type = "ClutterActor*")]
+ [Version (since = "0.8")]
public Stage ();
[CCode (cname = "clutter_stage_event")]
+ [Version (since = "0.4")]
public bool emit_event (Clutter.Event event);
+ [Version (since = "0.8")]
public void ensure_current ();
+ [Version (since = "1.0")]
public void ensure_redraw ();
+ [Version (since = "1.0")]
public void ensure_viewport ();
+ [Version (since = "1.6")]
public bool get_accept_focus ();
public unowned Clutter.Actor get_actor_at_pos (Clutter.PickMode pick_mode, int x, int y);
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10")]
public Clutter.Color get_color ();
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10")]
public static unowned Clutter.Stage get_default ();
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.6")]
public Clutter.Fog get_fog ();
+ [Version (since = "1.0")]
public bool get_fullscreen ();
+ [Version (since = "0.6")]
public unowned Clutter.Actor get_key_focus ();
+ [Version (since = "1.2")]
public void get_minimum_size (out uint width, out uint height);
+ [Version (since = "1.8")]
public bool get_motion_events_enabled ();
+ [Version (since = "1.4")]
public bool get_no_clear_hint ();
public Clutter.Perspective get_perspective ();
+ [Version (since = "1.8")]
public Cairo.RectangleInt get_redraw_clip_bounds ();
+ [Version (since = "1.0")]
public bool get_throttle_motion_events ();
+ [Version (since = "0.4")]
public unowned string get_title ();
+ [Version (since = "1.2")]
public bool get_use_alpha ();
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.6")]
public bool get_use_fog ();
+ [Version (since = "0.4")]
public bool get_user_resizable ();
+ [Version (since = "0.4")]
public void hide_cursor ();
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.8")]
public bool is_default ();
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.8")]
public void queue_redraw ();
[CCode (array_length = false)]
public uint8[] read_pixels (int x, int y, int width = -1, int height = -1);
[CCode (cname = "clutter_redraw")]
public void redraw ();
+ [Version (since = "1.6")]
public void set_accept_focus (bool accept_focus);
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10")]
public void set_color (Clutter.Color color);
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.6")]
public void set_fog (Clutter.Fog fog);
+ [Version (since = "1.0")]
public void set_fullscreen (bool fullscreen);
+ [Version (since = "0.6")]
public void set_key_focus (Clutter.Actor? actor);
+ [Version (since = "1.2")]
public void set_minimum_size (uint width, uint height);
+ [Version (since = "1.8")]
public void set_motion_events_enabled (bool enabled);
+ [Version (since = "1.4")]
public void set_no_clear_hint (bool no_clear);
public void set_perspective (Clutter.Perspective perspective);
+ [Version (since = "1.0")]
public void set_throttle_motion_events (bool throttle);
+ [Version (since = "0.4")]
public void set_title (string title);
+ [Version (since = "1.2")]
public void set_use_alpha (bool use_alpha);
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.6")]
public void set_use_fog (bool fog);
+ [Version (since = "0.4")]
public void set_user_resizable (bool resizable);
public void show_cursor ();
+ [Version (since = "1.6")]
public bool accept_focus { get; set; }
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10")]
public Clutter.Color color { get; set; }
[NoAccessorMethod]
public bool cursor_visible { get; set; }
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "1.0")]
public Clutter.Fog fog { get; set; }
[NoAccessorMethod]
public bool fullscreen_set { get; }
+ [Version (since = "1.2")]
public Clutter.Actor key_focus { get; set; }
+ [Version (since = "1.4")]
public bool no_clear_hint { get; set; }
- [Deprecated (since = "1.10")]
[NoAccessorMethod]
+ [Version (deprecated = true, deprecated_since = "1.10")]
public bool offscreen { get; set; }
+ [Version (since = "0.8")]
public Clutter.Perspective perspective { get; set; }
+ [Version (since = "0.4")]
public string title { get; set; }
+ [Version (since = "1.2")]
public bool use_alpha { get; set; }
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.6")]
public bool use_fog { get; set; }
+ [Version (since = "0.4")]
public bool user_resizable { get; set; }
+ [Version (since = "0.6")]
public virtual signal void activate ();
+ [Version (since = "1.20")]
public signal void after_paint ();
+ [Version (since = "0.6")]
public virtual signal void deactivate ();
+ [Version (since = "1.2")]
public virtual signal bool delete_event (Clutter.Event event);
+ [Version (since = "0.6")]
public virtual signal void fullscreen ();
+ [Version (since = "0.6")]
public virtual signal void unfullscreen ();
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_stage_manager_get_type ()")]
+ [Version (since = "1.0")]
public class StageManager : GLib.Object {
[CCode (has_construct_function = false)]
protected StageManager ();
+ [Version (since = "0.8")]
public static unowned Clutter.StageManager get_default ();
+ [Version (since = "0.8")]
public unowned Clutter.Stage get_default_stage ();
+ [Version (since = "0.8")]
public GLib.SList<weak Clutter.Stage> list_stages ();
public unowned GLib.SList<Clutter.Stage> peek_stages ();
- [Deprecated (since = "1.2")]
+ [Version (deprecated = true, deprecated_since = "1.2", since = "0.8")]
public void set_default_stage (Clutter.Stage stage);
+ [Version (since = "0.8")]
public Clutter.Stage default_stage { get; }
+ [Version (since = "0.8")]
public virtual signal void stage_added (Clutter.Stage stage);
+ [Version (since = "0.8")]
public virtual signal void stage_removed (Clutter.Stage stage);
}
[CCode (cheader_filename = "clutter/clutter.h")]
[Compact]
+ [Version (since = "0.2")]
public class StageStateEvent : Clutter.Event {
public Clutter.StageState changed_mask;
public Clutter.EventFlags flags;
@@ -6788,130 +7398,137 @@ namespace Clutter {
public Clutter.EventType type;
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_state_get_type ()")]
+ [Version (since = "1.4")]
public class State : GLib.Object, Clutter.Scriptable {
[CCode (has_construct_function = false)]
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public State ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public unowned Clutter.Animator get_animator (string source_state_name, string target_state_name);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public uint get_duration (string? source_state_name, string? target_state_name);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public GLib.List<weak Clutter.StateKey> get_keys (string? source_state_name, string? target_state_name, GLib.Object? object, string? property_name);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public unowned string get_state ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public GLib.List<weak string> get_states ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public unowned Clutter.Timeline get_timeline ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public void remove_key (string? source_state_name, string? target_state_name, GLib.Object? object, string? property_name);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public void set_animator (string source_state_name, string target_state_name, Clutter.Animator? animator);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public void set_duration (string? source_state_name, string? target_state_name, uint duration);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public unowned Clutter.State set_key (string? source_state_name, string target_state_name, GLib.Object object, string property_name, uint mode, GLib.Value value, double pre_delay, double post_delay);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public unowned Clutter.Timeline set_state (string target_state_name);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public unowned Clutter.Timeline warp_to_state (string target_state_name);
- [Deprecated (since = "1.12")]
[NoAccessorMethod]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public uint duration { get; set; }
- [Deprecated (since = "1.12")]
[NoAccessorMethod]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public string state { owned get; set; }
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public virtual signal void completed ();
}
[CCode (cheader_filename = "clutter/clutter.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "clutter_state_key_get_type ()")]
[Compact]
+ [Version (since = "1.4")]
public class StateKey {
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public ulong get_mode ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public unowned GLib.Object get_object ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public double get_post_delay ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public double get_pre_delay ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public unowned string get_property_name ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public GLib.Type get_property_type ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public unowned string get_source_state_name ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public unowned string get_target_state_name ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public bool get_value (GLib.Value value);
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_swipe_action_get_type ()")]
+ [Version (since = "1.8")]
public class SwipeAction : Clutter.GestureAction {
[CCode (has_construct_function = false, type = "ClutterAction*")]
public SwipeAction ();
- [Deprecated (since = "1.14")]
+ [Version (deprecated = true, deprecated_since = "1.14", since = "1.8")]
public virtual signal void swept (Clutter.Actor actor, Clutter.SwipeDirection direction);
+ [Version (since = "1.14")]
public virtual signal bool swipe (Clutter.Actor actor, Clutter.SwipeDirection direction);
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_table_layout_get_type ()")]
- [Deprecated (since = "1.18")]
+ [Version (deprecated = true, deprecated_since = "1.18", since = "1.4")]
public class TableLayout : Clutter.LayoutManager {
[CCode (has_construct_function = false, type = "ClutterLayoutManager*")]
public TableLayout ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public void get_alignment (Clutter.Actor actor, out Clutter.TableAlignment x_align, out Clutter.TableAlignment y_align);
public int get_column_count ();
public uint get_column_spacing ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public uint get_easing_duration ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public ulong get_easing_mode ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public void get_expand (Clutter.Actor actor, out bool x_expand, out bool y_expand);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public void get_fill (Clutter.Actor actor, out bool x_fill, out bool y_fill);
public int get_row_count ();
public uint get_row_spacing ();
public void get_span (Clutter.Actor actor, out int column_span, out int row_span);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public bool get_use_animations ();
public void pack (Clutter.Actor actor, int column, int row);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public void set_alignment (Clutter.Actor actor, Clutter.TableAlignment x_align, Clutter.TableAlignment y_align);
public void set_column_spacing (uint spacing);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public void set_easing_duration (uint msecs);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public void set_easing_mode (ulong mode);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public void set_expand (Clutter.Actor actor, bool x_expand, bool y_expand);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public void set_fill (Clutter.Actor actor, bool x_fill, bool y_fill);
public void set_row_spacing (uint spacing);
public void set_span (Clutter.Actor actor, int column_span, int row_span);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public void set_use_animations (bool animate);
public uint column_spacing { get; set; }
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public uint easing_duration { get; set; }
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public ulong easing_mode { get; set; }
public uint row_spacing { get; set; }
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public bool use_animations { get; set; }
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_tap_action_get_type ()")]
+ [Version (since = "1.14")]
public class TapAction : Clutter.GestureAction {
[CCode (has_construct_function = false, type = "ClutterAction*")]
public TapAction ();
public virtual signal void tap (Clutter.Actor actor);
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_text_get_type ()")]
+ [Version (since = "1.0")]
public class Text : Clutter.Actor, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable {
[CCode (has_construct_function = false, type = "ClutterActor*")]
public Text ();
+ [Version (since = "1.10")]
public int coords_to_position (float x, float y);
public void delete_chars (uint n_chars);
public bool delete_selection ();
@@ -6919,20 +7536,25 @@ namespace Clutter {
public Text.full (string font_name, string text, Clutter.Color color);
public bool get_activatable ();
public unowned Pango.AttrList get_attributes ();
+ [Version (since = "1.10")]
public unowned Clutter.TextBuffer get_buffer ();
public string get_chars (ssize_t start_pos, ssize_t end_pos);
public Clutter.Color get_color ();
public Clutter.Color get_cursor_color ();
public int get_cursor_position ();
+ [Version (since = "1.16")]
public void get_cursor_rect (out unowned Clutter.Rect rect);
public uint get_cursor_size ();
public bool get_cursor_visible ();
public bool get_editable ();
public Pango.EllipsizeMode get_ellipsize ();
+ [Version (since = "1.2")]
public Pango.FontDescription get_font_description ();
public unowned string get_font_name ();
+ [Version (since = "0.6")]
public bool get_justify ();
public unowned Pango.Layout get_layout ();
+ [Version (since = "1.8")]
public void get_layout_offsets (out int x, out int y);
public Pango.Alignment get_line_alignment ();
public bool get_line_wrap ();
@@ -6940,6 +7562,7 @@ namespace Clutter {
public int get_max_length ();
public unichar get_password_char ();
public bool get_selectable ();
+ [Version (since = "1.8")]
public Clutter.Color get_selected_text_color ();
public string get_selection ();
public int get_selection_bound ();
@@ -6952,6 +7575,7 @@ namespace Clutter {
public bool position_to_coords (int position, out float x, out float y, out float line_height = null);
public void set_activatable (bool activatable);
public void set_attributes (Pango.AttrList? attrs);
+ [Version (since = "1.10")]
public void set_buffer (Clutter.TextBuffer buffer);
public void set_color (Clutter.Color color);
public void set_cursor_color (Clutter.Color? color);
@@ -6960,6 +7584,7 @@ namespace Clutter {
public void set_cursor_visible (bool cursor_visible);
public void set_editable (bool editable);
public void set_ellipsize (Pango.EllipsizeMode mode);
+ [Version (since = "1.2")]
public void set_font_description (Pango.FontDescription font_desc);
public void set_font_name (string? font_name);
public void set_justify (bool justify);
@@ -6969,8 +7594,10 @@ namespace Clutter {
public void set_markup (string? markup);
public void set_max_length (int max);
public void set_password_char (unichar wc);
+ [Version (since = "1.2")]
public void set_preedit_string (string? preedit_str, Pango.AttrList? preedit_attrs, uint cursor_pos);
public void set_selectable (bool selectable);
+ [Version (since = "1.8")]
public void set_selected_text_color (Clutter.Color? color);
public void set_selection (ssize_t start_pos, ssize_t end_pos);
public void set_selection_bound (int selection_bound);
@@ -6981,21 +7608,25 @@ namespace Clutter {
[CCode (cname = "clutter_text_activate")]
public bool try_activate ();
[CCode (has_construct_function = false, type = "ClutterActor*")]
+ [Version (since = "1.10")]
public Text.with_buffer (Clutter.TextBuffer buffer);
[CCode (has_construct_function = false, type = "ClutterActor*")]
public Text.with_text (string? font_name, string text);
public bool activatable { get; set; }
public Pango.AttrList attributes { get; set; }
+ [Version (since = "1.8")]
public Clutter.TextBuffer buffer { get; set; }
public Clutter.Color color { get; set; }
public Clutter.Color cursor_color { get; set; }
[NoAccessorMethod]
public bool cursor_color_set { get; }
+ [Version (since = "1.12")]
public int cursor_position { get; set; }
public int cursor_size { get; set; }
public bool cursor_visible { get; set; }
public bool editable { get; set; }
public Pango.EllipsizeMode ellipsize { get; set; }
+ [Version (since = "1.2")]
public Pango.FontDescription font_description { owned get; set; }
public string font_name { get; set; }
public bool justify { get; set; }
@@ -7004,12 +7635,14 @@ namespace Clutter {
public Pango.WrapMode line_wrap_mode { get; set; }
public int max_length { get; set; }
public uint password_char { get; set; }
- [Deprecated (since = "1.12")]
[NoAccessorMethod]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public int position { get; set; }
public bool selectable { get; set; }
+ [Version (since = "1.8")]
public Clutter.Color selected_text_color { get; set; }
[NoAccessorMethod]
+ [Version (since = "1.8")]
public bool selected_text_color_set { get; }
public int selection_bound { get; set; }
public Clutter.Color selection_color { get; set; }
@@ -7019,14 +7652,17 @@ namespace Clutter {
public string text { get; set; }
public bool use_markup { get; set; }
public virtual signal void activate ();
+ [Version (since = "1.16")]
public virtual signal void cursor_changed ();
- [Deprecated (since = "1.16")]
+ [Version (deprecated = true, deprecated_since = "1.16", since = "1.0")]
public virtual signal void cursor_event (Clutter.Geometry geometry);
[HasEmitter]
+ [Version (since = "1.2")]
public signal void delete_text (int start_pos, int end_pos);
public virtual signal void text_changed ();
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_text_buffer_get_type ()")]
+ [Version (since = "1.10")]
public class TextBuffer : GLib.Object {
[CCode (has_construct_function = false)]
public TextBuffer ();
@@ -7052,83 +7688,85 @@ namespace Clutter {
public virtual signal void inserted_text (uint position, string chars, uint n_chars);
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_text_node_get_type ()")]
+ [Version (since = "1.10")]
public class TextNode : Clutter.PaintNode {
[CCode (has_construct_function = false, type = "ClutterPaintNode*")]
public TextNode (Pango.Layout? layout, Clutter.Color? color);
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_texture_get_type ()")]
+ [Version (since = "0.2")]
public class Texture : Clutter.Actor, Atk.Implementor, Clutter.Animatable, Clutter.Scriptable, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable {
[CCode (has_construct_function = false, type = "ClutterActor*")]
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12")]
public Texture ();
[CCode (has_construct_function = false, type = "ClutterActor*")]
- [Deprecated (since = "1.8")]
+ [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public Texture.from_actor (Clutter.Actor actor);
[CCode (has_construct_function = false, type = "ClutterActor*")]
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.8")]
public Texture.from_file (string filename) throws Clutter.TextureError;
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12")]
public void get_base_size (out int width, out int height);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public unowned Cogl.Handle get_cogl_material ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.8")]
public unowned Cogl.Handle get_cogl_texture ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.8")]
public Clutter.TextureQuality get_filter_quality ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public bool get_keep_aspect_ratio ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public bool get_load_async ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public bool get_load_data_async ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.8")]
public int get_max_tile_waste ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public bool get_pick_with_alpha ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public Cogl.PixelFormat get_pixel_format ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public void get_repeat (out bool repeat_x, out bool repeat_y);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public bool get_sync_size ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.6")]
public bool set_area_from_rgb_data ([CCode (array_length = false)] uint8[] data, bool has_alpha, int x, int y, int width, int height, int rowstride, int bpp, Clutter.TextureFlags flags) throws GLib.Error;
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.8")]
public void set_cogl_material (Cogl.Handle cogl_material);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.8")]
public void set_cogl_texture (Cogl.Handle cogl_tex);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.8")]
public void set_filter_quality (Clutter.TextureQuality filter_quality);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.8")]
public bool set_from_file (string filename) throws GLib.Error;
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.4")]
public bool set_from_rgb_data ([CCode (array_length = false)] uint8[] data, bool has_alpha, int width, int height, int rowstride, int bpp, Clutter.TextureFlags flags) throws GLib.Error;
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.4")]
public bool set_from_yuv_data ([CCode (array_length = false)] uint8[] data, int width, int height, Clutter.TextureFlags flags) throws GLib.Error;
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public void set_keep_aspect_ratio (bool keep_aspect);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public void set_load_async (bool load_async);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public void set_load_data_async (bool load_async);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.4")]
public void set_pick_with_alpha (bool pick_with_alpha);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public void set_repeat (bool repeat_x, bool repeat_y);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public void set_sync_size (bool sync_size);
public Cogl.Material cogl_material { get; set; }
public Cogl.Texture cogl_texture { get; set; }
[NoAccessorMethod]
public bool disable_slicing { get; construct; }
- [Deprecated (since = "1.12")]
[NoAccessorMethod]
+ [Version (deprecated = true, deprecated_since = "1.12")]
public string filename { owned get; set; }
public Clutter.TextureQuality filter_quality { get; set construct; }
public bool keep_aspect_ratio { get; set; }
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public bool load_async { set; }
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public bool load_data_async { set; }
public bool pick_with_alpha { get; set; }
public Cogl.PixelFormat pixel_format { get; }
@@ -7139,90 +7777,131 @@ namespace Clutter {
public bool sync_size { get; set; }
[NoAccessorMethod]
public int tile_waste { get; }
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public virtual signal void load_finished (GLib.Error error);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12")]
public virtual signal void pixbuf_change ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12")]
public virtual signal void size_change (int width, int height);
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_texture_node_get_type ()")]
+ [Version (since = "1.10")]
public class TextureNode : Clutter.PipelineNode {
[CCode (has_construct_function = false, type = "ClutterPaintNode*")]
public TextureNode (Cogl.Texture texture, Clutter.Color? color, Clutter.ScalingFilter min_filter, Clutter.ScalingFilter mag_filter);
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_timeline_get_type ()")]
+ [Version (since = "0.2")]
public class Timeline : GLib.Object, Clutter.Scriptable {
[CCode (has_construct_function = false)]
+ [Version (since = "0.6")]
public Timeline (uint msecs);
+ [Version (since = "1.14")]
public void add_marker (string marker_name, double progress);
+ [Version (since = "0.8")]
public void add_marker_at_time (string marker_name, uint msecs);
public void advance (uint msecs);
+ [Version (since = "0.8")]
public void advance_to_marker (string marker_name);
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.4")]
public Clutter.Timeline clone ();
+ [Version (since = "1.6")]
public bool get_auto_reverse ();
+ [Version (since = "1.12")]
public bool get_cubic_bezier_progress (Clutter.Point c_1, Clutter.Point c_2);
+ [Version (since = "1.10")]
public int get_current_repeat ();
+ [Version (since = "0.4")]
public uint get_delay ();
+ [Version (since = "0.6")]
public uint get_delta ();
+ [Version (since = "0.6")]
public Clutter.TimelineDirection get_direction ();
+ [Version (since = "0.6")]
public uint get_duration ();
+ [Version (since = "1.10")]
public int64 get_duration_hint ();
public uint get_elapsed_time ();
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10")]
public bool get_loop ();
+ [Version (since = "0.6")]
public double get_progress ();
+ [Version (since = "1.10")]
public Clutter.AnimationMode get_progress_mode ();
+ [Version (since = "1.10")]
public int get_repeat_count ();
+ [Version (since = "1.12")]
public bool get_step_progress (out int n_steps, out Clutter.StepMode step_mode);
+ [Version (since = "0.8")]
public bool has_marker (string marker_name);
public bool is_playing ();
[CCode (array_length_pos = 1.1, array_length_type = "gsize", array_null_terminated = true)]
+ [Version (since = "0.8")]
public string[] list_markers (int msecs);
public void pause ();
+ [Version (since = "0.8")]
public void remove_marker (string marker_name);
public void rewind ();
+ [Version (since = "1.6")]
public void set_auto_reverse (bool reverse);
+ [Version (since = "1.12")]
public void set_cubic_bezier_progress (Clutter.Point c_1, Clutter.Point c_2);
+ [Version (since = "0.4")]
public void set_delay (uint msecs);
+ [Version (since = "0.6")]
public void set_direction (Clutter.TimelineDirection direction);
+ [Version (since = "0.6")]
public void set_duration (uint msecs);
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10")]
public void set_loop (bool loop);
+ [Version (since = "1.10")]
public void set_progress_func (owned Clutter.TimelineProgressFunc? func);
+ [Version (since = "1.10")]
public void set_progress_mode (Clutter.AnimationMode mode);
+ [Version (since = "1.10")]
public void set_repeat_count (int count);
+ [Version (since = "1.12")]
public void set_step_progress (int n_steps, Clutter.StepMode step_mode);
public void skip (uint msecs);
public void start ();
public void stop ();
+ [Version (since = "1.6")]
public bool auto_reverse { get; set; }
+ [Version (since = "0.4")]
public uint delay { get; set; }
+ [Version (since = "0.6")]
public Clutter.TimelineDirection direction { get; set; }
+ [Version (since = "0.6")]
public uint duration { get; set; }
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10")]
public bool loop { get; set; }
+ [Version (since = "1.10")]
public Clutter.AnimationMode progress_mode { get; set; }
+ [Version (since = "1.10")]
public int repeat_count { get; set; }
public virtual signal void completed ();
+ [Version (since = "0.8")]
public virtual signal void marker_reached (string marker_name, int msecs);
public virtual signal void new_frame (int msecs);
public virtual signal void paused ();
public virtual signal void started ();
+ [Version (since = "1.12")]
public virtual signal void stopped (bool is_finished);
}
[CCode (cheader_filename = "clutter/clutter.h")]
[Compact]
- [Deprecated (since = "1.6")]
+ [Version (deprecated = true, deprecated_since = "1.6", since = "0.6")]
public class TimeoutPool {
[CCode (has_construct_function = false)]
public TimeoutPool (int priority);
+ [Version (since = "0.4")]
public uint add (uint fps, owned GLib.SourceFunc func);
+ [Version (since = "0.4")]
public void remove (uint id_);
}
[CCode (cheader_filename = "clutter/clutter.h")]
[Compact]
+ [Version (since = "1.10")]
public class TouchEvent : Clutter.Event {
public double axes;
public weak Clutter.InputDevice device;
@@ -7238,6 +7917,7 @@ namespace Clutter {
}
[CCode (cheader_filename = "clutter/clutter.h")]
[Compact]
+ [Version (since = "1.24")]
public class TouchpadPinchEvent : Clutter.Event {
public float angle_delta;
public float dx;
@@ -7254,6 +7934,7 @@ namespace Clutter {
}
[CCode (cheader_filename = "clutter/clutter.h")]
[Compact]
+ [Version (since = "1.24")]
public class TouchpadSwipeEvent : Clutter.Event {
public float dx;
public float dy;
@@ -7268,6 +7949,7 @@ namespace Clutter {
public float y;
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_transition_get_type ()")]
+ [Version (since = "1.10")]
public abstract class Transition : Clutter.Timeline, Clutter.Scriptable {
[CCode (has_construct_function = false)]
protected Transition ();
@@ -7281,15 +7963,18 @@ namespace Clutter {
public unowned Clutter.Interval get_interval ();
public bool get_remove_on_complete ();
public void set_animatable (Clutter.Animatable? animatable);
+ [Version (since = "1.12")]
public void set_from_value (GLib.Value value);
public void set_interval (Clutter.Interval? interval);
public void set_remove_on_complete (bool remove_complete);
+ [Version (since = "1.12")]
public void set_to_value (GLib.Value value);
public Clutter.Animatable animatable { get; set; }
public Clutter.Interval interval { get; set; }
public bool remove_on_complete { get; set; }
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_transition_group_get_type ()")]
+ [Version (since = "1.12")]
public class TransitionGroup : Clutter.Transition, Clutter.Scriptable {
[CCode (has_construct_function = false, type = "ClutterTransition*")]
public TransitionGroup ();
@@ -7298,6 +7983,7 @@ namespace Clutter {
public void remove_transition (Clutter.Transition transition);
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_zoom_action_get_type ()")]
+ [Version (since = "1.12")]
public class ZoomAction : Clutter.GestureAction {
[CCode (has_construct_function = false, type = "ClutterAction*")]
public ZoomAction ();
@@ -7309,64 +7995,82 @@ namespace Clutter {
public virtual signal bool zoom (Clutter.Actor actor, Clutter.Point focal_point, double factor);
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_animatable_get_type ()")]
+ [Version (since = "1.0")]
public interface Animatable : GLib.Object {
- [Deprecated (since = "1.8")]
+ [Version (deprecated = true, deprecated_since = "1.8", since = "1.0")]
public abstract bool animate_property (Clutter.Animation animation, string property_name, GLib.Value initial_value, GLib.Value final_value, double progress, GLib.Value value);
+ [Version (since = "1.4")]
public abstract unowned GLib.ParamSpec find_property (string property_name);
+ [Version (since = "1.4")]
public abstract void get_initial_state (string property_name, GLib.Value value);
+ [Version (since = "1.8")]
public abstract bool interpolate_value (string property_name, Clutter.Interval interval, double progress, out GLib.Value value);
+ [Version (since = "1.4")]
public abstract void set_final_state (string property_name, GLib.Value value);
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_container_get_type ()")]
+ [Version (since = "0.4")]
public interface Container : GLib.Object {
public void add (params Clutter.Actor[] actors);
[CCode (vfunc_name = "add")]
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.4")]
public abstract void add_actor (Clutter.Actor actor);
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.4")]
public void add_valist (Clutter.Actor first_actor, va_list var_args);
+ [Version (since = "0.8")]
public void child_get (Clutter.Actor actor, ...);
+ [Version (since = "0.8")]
public void child_get_property (Clutter.Actor child, string property, GLib.Value value);
+ [Version (since = "0.8")]
public void child_set (Clutter.Actor actor, ...);
+ [Version (since = "0.8")]
public void child_set_property (Clutter.Actor child, string property, GLib.Value value);
+ [Version (since = "0.8")]
public static unowned GLib.ParamSpec class_find_child_property (GLib.ObjectClass klass, string property_name);
[CCode (array_length_pos = 1.1, array_length_type = "guint")]
+ [Version (since = "0.8")]
public static GLib.ParamSpec[] class_list_child_properties (GLib.ObjectClass klass);
+ [Version (since = "1.2")]
public virtual void create_child_meta (Clutter.Actor actor);
+ [Version (since = "1.2")]
public virtual void destroy_child_meta (Clutter.Actor actor);
+ [Version (since = "0.6")]
public unowned Clutter.Actor find_child_by_name (string child_name);
[CCode (cname = "clutter_container_class_find_child_property")]
public class unowned GLib.ParamSpec find_child_property (string property_name);
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.4")]
public abstract void @foreach (Clutter.Callback callback);
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "1.0")]
public virtual void foreach_with_internals (Clutter.Callback callback);
+ [Version (since = "0.8")]
public virtual unowned Clutter.ChildMeta get_child_meta (Clutter.Actor actor);
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.4")]
public GLib.List<weak Clutter.Actor> get_children ();
[CCode (cname = "clutter_container_class_list_child_properties")]
public class unowned GLib.ParamSpec[] list_child_properties ();
[CCode (vfunc_name = "lower")]
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.6")]
public virtual void lower_child (Clutter.Actor actor, Clutter.Actor? sibling = null);
[CCode (vfunc_name = "raise")]
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.6")]
public virtual void raise_child (Clutter.Actor actor, Clutter.Actor? sibling = null);
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.4")]
public void remove (...);
[CCode (vfunc_name = "remove")]
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.4")]
public abstract void remove_actor (Clutter.Actor actor);
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.4")]
public void remove_valist (Clutter.Actor first_actor, va_list var_args);
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.6")]
public abstract void sort_depth_order ();
public virtual signal void actor_added (Clutter.Actor actor);
public virtual signal void actor_removed (Clutter.Actor actor);
[HasEmitter]
+ [Version (since = "0.8")]
public virtual signal void child_notify (Clutter.Actor child, GLib.ParamSpec pspec);
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_content_get_type ()")]
+ [Version (since = "1.10")]
public interface Content : GLib.Object {
public abstract bool get_preferred_size (out float width, out float height);
public abstract void invalidate ();
@@ -7376,72 +8080,74 @@ namespace Clutter {
public virtual signal void detached (Clutter.Actor actor);
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_media_get_type ()")]
+ [Version (since = "0.2")]
public interface Media : GLib.Object {
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public double get_audio_volume ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public double get_buffer_fill ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.2")]
public bool get_can_seek ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.2")]
public double get_duration ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.2")]
public bool get_playing ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public double get_progress ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.2")]
public string get_subtitle_font_name ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.2")]
public string get_subtitle_uri ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.2")]
public string get_uri ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public void set_audio_volume (double volume);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.2")]
public void set_filename (string filename);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.2")]
public void set_playing (bool playing);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public void set_progress (double progress);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.2")]
public void set_subtitle_font_name (string font_name);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.2")]
public void set_subtitle_uri (string uri);
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.2")]
public void set_uri (string uri);
[ConcreteAccessor]
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public abstract double audio_volume { get; set; }
[ConcreteAccessor]
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public abstract double buffer_fill { get; }
[ConcreteAccessor]
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.2")]
public abstract bool can_seek { get; }
[ConcreteAccessor]
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.2")]
public abstract double duration { get; }
[ConcreteAccessor]
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.2")]
public abstract bool playing { get; set; }
[ConcreteAccessor]
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
public abstract double progress { get; set; }
[ConcreteAccessor]
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.2")]
public abstract string subtitle_font_name { owned get; set; }
[ConcreteAccessor]
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "1.2")]
public abstract string subtitle_uri { owned get; set; }
[ConcreteAccessor]
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.2")]
public abstract string uri { owned get; set; }
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.2")]
public virtual signal void eos ();
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.2")]
public virtual signal void error (GLib.Error error);
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_scriptable_get_type ()")]
+ [Version (since = "0.6")]
public interface Scriptable : GLib.Object {
public abstract unowned string get_id ();
public abstract bool parse_custom_node (Clutter.Script script, GLib.Value value, string name, Json.Node node);
@@ -7487,32 +8193,53 @@ namespace Clutter {
public float y1;
public float x2;
public float y2;
+ [Version (since = "1.12")]
public static Clutter.ActorBox? alloc ();
+ [Version (since = "1.2")]
public void clamp_to_pixel ();
+ [Version (since = "1.0")]
public bool contains (float x, float y);
+ [Version (since = "1.0")]
public Clutter.ActorBox? copy ();
+ [Version (since = "1.0")]
public bool equal (Clutter.ActorBox box_b);
+ [Version (since = "1.0")]
public void free ();
[CCode (cname = "clutter_actor_box_from_vertices")]
public ActorBox.from_vertices (Clutter.Vertex[] verts);
+ [Version (since = "1.0")]
public float get_area ();
+ [Version (since = "1.0")]
public float get_height ();
+ [Version (since = "1.0")]
public void get_origin (out float x, out float y);
+ [Version (since = "1.0")]
public void get_size (out float width, out float height);
+ [Version (since = "1.0")]
public float get_width ();
+ [Version (since = "1.0")]
public float get_x ();
+ [Version (since = "1.0")]
public float get_y ();
+ [Version (since = "1.10")]
public unowned Clutter.ActorBox? init (float x_1, float y_1, float x_2, float y_2);
+ [Version (since = "1.10")]
public void init_rect (float x, float y, float width, float height);
+ [Version (since = "1.2")]
public Clutter.ActorBox interpolate (Clutter.ActorBox final, double progress);
+ [Version (since = "1.6")]
public void set_origin (float x, float y);
+ [Version (since = "1.6")]
public void set_size (float width, float height);
+ [Version (since = "1.4")]
public Clutter.ActorBox union (Clutter.ActorBox b);
}
[CCode (cheader_filename = "clutter/clutter.h", has_type_id = false)]
+ [Version (since = "1.10")]
public struct ActorIter {
public void destroy ();
public void init (Clutter.Actor root);
+ [Version (since = "1.12")]
public bool is_valid ();
public bool next (out unowned Clutter.Actor child);
public bool prev (out unowned Clutter.Actor child);
@@ -7525,10 +8252,14 @@ namespace Clutter {
public uint8 blue;
public uint8 alpha;
public Clutter.Color add (Clutter.Color b);
+ [Version (since = "1.12")]
public static Clutter.Color? alloc ();
+ [Version (since = "0.2")]
public Clutter.Color? copy ();
public Clutter.Color darken ();
+ [Version (since = "0.2")]
public bool equal (Clutter.Color v2);
+ [Version (since = "0.2")]
public void free ();
[CCode (cname = "clutter_color_from_hls")]
public Color.from_hls (float hue, float luminance, float saturation);
@@ -7536,9 +8267,13 @@ namespace Clutter {
public Color.from_pixel (uint32 pixel);
[CCode (cname = "clutter_color_from_string")]
public Color.from_string (string str);
+ [Version (since = "1.6")]
public static unowned Clutter.Color? get_static (Clutter.StaticColor color);
+ [Version (since = "1.0")]
public uint hash ();
+ [Version (since = "1.12")]
public unowned Clutter.Color? init (uint8 red, uint8 green, uint8 blue, uint8 alpha);
+ [Version (since = "1.6")]
public Clutter.Color interpolate (Clutter.Color final, double progress);
public Clutter.Color lighten ();
[CCode (cname = "clutter_color_from_string")]
@@ -7547,25 +8282,29 @@ namespace Clutter {
public Clutter.Color subtract (Clutter.Color b);
public void to_hls (out float hue, out float luminance, out float saturation);
public uint32 to_pixel ();
+ [Version (since = "0.2")]
public string to_string ();
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_fog_get_type ()")]
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.6")]
public struct Fog {
public float z_near;
public float z_far;
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_geometry_get_type ()")]
- [Deprecated (since = "1.16")]
+ [Version (deprecated = true, deprecated_since = "1.16")]
public struct Geometry {
public int x;
public int y;
public uint width;
public uint height;
+ [Version (since = "1.4")]
public bool intersects (Clutter.Geometry geometry1);
+ [Version (since = "1.4")]
public Clutter.Geometry union (Clutter.Geometry geometry_b);
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_knot_get_type ()")]
+ [Version (since = "0.2")]
public struct Knot {
public int x;
public int y;
@@ -7575,14 +8314,20 @@ namespace Clutter {
}
[CCode (cheader_filename = "clutter/clutter.h")]
public struct Matrix : Cogl.Matrix {
+ [Version (since = "1.12")]
public static Clutter.Matrix? alloc ();
+ [Version (since = "1.12")]
public static void free (Clutter.Matrix? matrix);
public static GLib.Type get_type ();
+ [Version (since = "1.12")]
public static unowned Clutter.Matrix? init_from_array (Clutter.Matrix matrix, [CCode (array_length = false)] float[] values);
+ [Version (since = "1.12")]
public static unowned Clutter.Matrix? init_from_matrix (Clutter.Matrix a, Clutter.Matrix b);
+ [Version (since = "1.12")]
public static unowned Clutter.Matrix? init_identity (Clutter.Matrix matrix);
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_path_node_get_type ()")]
+ [Version (since = "1.0")]
public struct PathNode {
public Clutter.PathNodeType type;
[CCode (array_length = false, array_null_terminated = true)]
@@ -7592,6 +8337,7 @@ namespace Clutter {
public void free ();
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_perspective_get_type ()")]
+ [Version (since = "0.4")]
public struct Perspective {
public float fovy;
public float aspect;
@@ -7599,6 +8345,7 @@ namespace Clutter {
public float z_far;
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "CLUTTER_TYPE_UNITS")]
+ [Version (since = "1.0")]
public struct Units {
public Clutter.Units? copy ();
public void free ();
@@ -7622,17 +8369,24 @@ namespace Clutter {
public string to_string ();
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_vertex_get_type ()")]
+ [Version (since = "0.4")]
public struct Vertex {
public float x;
public float y;
public float z;
+ [Version (since = "1.12")]
public static Clutter.Vertex? alloc ();
+ [Version (since = "1.0")]
public Clutter.Vertex? copy ();
+ [Version (since = "1.0")]
public bool equal (Clutter.Vertex vertex_b);
+ [Version (since = "1.0")]
public void free ();
+ [Version (since = "1.10")]
public unowned Clutter.Vertex? init (float x, float y, float z);
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_ACTOR_ALIGN_", type_id = "clutter_actor_align_get_type ()")]
+ [Version (since = "1.10")]
public enum ActorAlign {
FILL,
START,
@@ -7649,6 +8403,7 @@ namespace Clutter {
NO_LAYOUT
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_ALIGN_", type_id = "clutter_align_axis_get_type ()")]
+ [Version (since = "1.4")]
public enum AlignAxis {
X_AXIS,
Y_AXIS,
@@ -7656,12 +8411,14 @@ namespace Clutter {
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_", type_id = "clutter_allocation_flags_get_type ()")]
[Flags]
+ [Version (since = "1.0")]
public enum AllocationFlags {
ALLOCATION_NONE,
ABSOLUTE_ORIGIN_CHANGED,
DELEGATE_LAYOUT
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_", type_id = "clutter_animation_mode_get_type ()")]
+ [Version (since = "1.0")]
public enum AnimationMode {
CUSTOM_MODE,
LINEAR,
@@ -7706,18 +8463,20 @@ namespace Clutter {
ANIMATION_LAST
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_BIN_ALIGNMENT_", type_id = "clutter_bin_alignment_get_type ()")]
+ [Version (since = "1.2")]
public enum BinAlignment {
- [Deprecated]
+ [Version (deprecated = true)]
FIXED,
- [Deprecated]
+ [Version (deprecated = true)]
FILL,
START,
- [Deprecated]
+ [Version (deprecated = true)]
END,
- [Deprecated]
+ [Version (deprecated = true)]
CENTER
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_BIND_", type_id = "clutter_bind_coordinate_get_type ()")]
+ [Version (since = "1.4")]
public enum BindCoordinate {
X,
Y,
@@ -7728,12 +8487,14 @@ namespace Clutter {
ALL
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_BOX_ALIGNMENT_", type_id = "clutter_box_alignment_get_type ()")]
+ [Version (since = "1.2")]
public enum BoxAlignment {
START,
END,
CENTER
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_CONTENT_GRAVITY_", type_id = "clutter_content_gravity_get_type ()")]
+ [Version (since = "1.10")]
public enum ContentGravity {
TOP_LEFT,
TOP,
@@ -7749,6 +8510,7 @@ namespace Clutter {
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_REPEAT_", type_id = "clutter_content_repeat_get_type ()")]
[Flags]
+ [Version (since = "1.12")]
public enum ContentRepeat {
NONE,
X_AXIS,
@@ -7756,6 +8518,7 @@ namespace Clutter {
BOTH
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_DRAG_", type_id = "clutter_drag_axis_get_type ()")]
+ [Version (since = "1.4")]
public enum DragAxis {
AXIS_NONE,
X_AXIS,
@@ -7769,11 +8532,13 @@ namespace Clutter {
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_EVENT_", type_id = "clutter_event_flags_get_type ()")]
[Flags]
+ [Version (since = "0.6")]
public enum EventFlags {
NONE,
FLAG_SYNTHETIC
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_", type_id = "clutter_event_type_get_type ()")]
+ [Version (since = "0.4")]
public enum EventType {
NOTHING,
KEY_PRESS,
@@ -7798,6 +8563,7 @@ namespace Clutter {
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_FEATURE_")]
[Flags]
+ [Version (since = "0.4")]
public enum FeatureFlags {
TEXTURE_NPOT,
SYNC_TO_VBLANK,
@@ -7816,25 +8582,27 @@ namespace Clutter {
public static Clutter.FeatureFlags @get ();
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_FLOW_", type_id = "clutter_flow_orientation_get_type ()")]
+ [Version (since = "1.2")]
public enum FlowOrientation {
HORIZONTAL,
VERTICAL
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_FONT_", type_id = "clutter_font_flags_get_type ()")]
- [Deprecated (since = "1.22")]
[Flags]
+ [Version (deprecated = true, deprecated_since = "1.22", since = "1.0")]
public enum FontFlags {
MIPMAPPING,
HINTING
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_GESTURE_TRIGGER_EDGE_", type_id = "clutter_gesture_trigger_edge_get_type ()")]
+ [Version (since = "1.18")]
public enum GestureTriggerEdge {
NONE,
AFTER,
BEFORE
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_GRAVITY_", type_id = "clutter_gravity_get_type ()")]
- [Deprecated (since = "1.22")]
+ [Version (deprecated = true, deprecated_since = "1.22", since = "0.2")]
public enum Gravity {
NONE,
NORTH,
@@ -7848,6 +8616,7 @@ namespace Clutter {
CENTER
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_GRID_POSITION_", type_id = "clutter_grid_position_get_type ()")]
+ [Version (since = "1.12")]
public enum GridPosition {
LEFT,
RIGHT,
@@ -7855,6 +8624,7 @@ namespace Clutter {
BOTTOM
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_INIT_", type_id = "clutter_init_error_get_type ()")]
+ [Version (since = "0.2")]
public enum InitError {
SUCCESS,
ERROR_UNKNOWN,
@@ -7864,6 +8634,7 @@ namespace Clutter {
public static GLib.Quark quark ();
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_INPUT_AXIS_", type_id = "clutter_input_axis_get_type ()")]
+ [Version (since = "1.6")]
public enum InputAxis {
IGNORE,
X,
@@ -7876,6 +8647,7 @@ namespace Clutter {
LAST
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_", type_id = "clutter_input_device_type_get_type ()")]
+ [Version (since = "1.0")]
public enum InputDeviceType {
POINTER_DEVICE,
KEYBOARD_DEVICE,
@@ -7890,18 +8662,20 @@ namespace Clutter {
N_DEVICE_TYPES
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_INPUT_MODE_", type_id = "clutter_input_mode_get_type ()")]
+ [Version (since = "1.6")]
public enum InputMode {
MASTER,
SLAVE,
FLOATING
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_INTERPOLATION_", type_id = "clutter_interpolation_get_type ()")]
- [Deprecated (since = "1.22")]
+ [Version (deprecated = true, deprecated_since = "1.22", since = "1.2")]
public enum Interpolation {
LINEAR,
CUBIC
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_LONG_PRESS_", type_id = "clutter_long_press_state_get_type ()")]
+ [Version (since = "1.8")]
public enum LongPressState {
QUERY,
ACTIVATE,
@@ -7909,6 +8683,7 @@ namespace Clutter {
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_", type_id = "clutter_modifier_type_get_type ()")]
[Flags]
+ [Version (since = "0.4")]
public enum ModifierType {
SHIFT_MASK,
LOCK_MASK,
@@ -7945,16 +8720,19 @@ namespace Clutter {
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_OFFSCREEN_REDIRECT_", type_id = "clutter_offscreen_redirect_get_type ()")]
[Flags]
+ [Version (since = "1.8")]
public enum OffscreenRedirect {
AUTOMATIC_FOR_OPACITY,
ALWAYS
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_ORIENTATION_", type_id = "clutter_orientation_get_type ()")]
+ [Version (since = "1.12")]
public enum Orientation {
HORIZONTAL,
VERTICAL
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_PAN_", type_id = "clutter_pan_axis_get_type ()")]
+ [Version (since = "1.12")]
public enum PanAxis {
AXIS_NONE,
X_AXIS,
@@ -7962,6 +8740,7 @@ namespace Clutter {
AXIS_AUTO
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_PATH_", type_id = "clutter_path_node_type_get_type ()")]
+ [Version (since = "1.0")]
public enum PathNodeType {
MOVE_TO,
LINE_TO,
@@ -7972,6 +8751,7 @@ namespace Clutter {
REL_CURVE_TO
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_PICK_", type_id = "clutter_pick_mode_get_type ()")]
+ [Version (since = "1.0")]
public enum PickMode {
NONE,
REACTIVE,
@@ -7979,36 +8759,41 @@ namespace Clutter {
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_REPAINT_FLAGS_", type_id = "clutter_repaint_flags_get_type ()")]
[Flags]
+ [Version (since = "1.10")]
public enum RepaintFlags {
PRE_PAINT,
POST_PAINT,
QUEUE_REDRAW_ON_ADD
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_REQUEST_", type_id = "clutter_request_mode_get_type ()")]
+ [Version (since = "0.8")]
public enum RequestMode {
HEIGHT_FOR_WIDTH,
WIDTH_FOR_HEIGHT,
CONTENT_SIZE
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_", type_id = "clutter_rotate_axis_get_type ()")]
+ [Version (since = "0.4")]
public enum RotateAxis {
X_AXIS,
Y_AXIS,
Z_AXIS
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_ROTATE_", type_id = "clutter_rotate_direction_get_type ()")]
- [Deprecated (since = "1.22")]
+ [Version (deprecated = true, deprecated_since = "1.22", since = "0.4")]
public enum RotateDirection {
CW,
CCW
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_SCALING_FILTER_", type_id = "clutter_scaling_filter_get_type ()")]
+ [Version (since = "1.10")]
public enum ScalingFilter {
LINEAR,
NEAREST,
TRILINEAR
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_SCROLL_", type_id = "clutter_scroll_direction_get_type ()")]
+ [Version (since = "0.4")]
public enum ScrollDirection {
UP,
DOWN,
@@ -8016,20 +8801,39 @@ namespace Clutter {
RIGHT,
SMOOTH
}
+ [CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_SCROLL_FINISHED_", type_id = "clutter_scroll_finish_flags_get_type ()")]
+ [Flags]
+ [Version (since = "1.26")]
+ public enum ScrollFinishFlags {
+ NONE,
+ HORIZONTAL,
+ VERTICAL
+ }
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_SCROLL_", type_id = "clutter_scroll_mode_get_type ()")]
[Flags]
+ [Version (since = "1.12")]
public enum ScrollMode {
NONE,
HORIZONTALLY,
VERTICALLY,
BOTH
}
+ [CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_SCROLL_SOURCE_", type_id = "clutter_scroll_source_get_type ()")]
+ [Version (since = "1.26")]
+ public enum ScrollSource {
+ UNKNOWN,
+ WHEEL,
+ FINGER,
+ CONTINUOUS
+ }
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_", type_id = "clutter_shader_type_get_type ()")]
+ [Version (since = "1.4")]
public enum ShaderType {
VERTEX_SHADER,
FRAGMENT_SHADER
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_SNAP_EDGE_", type_id = "clutter_snap_edge_get_type ()")]
+ [Version (since = "1.6")]
public enum SnapEdge {
TOP,
RIGHT,
@@ -8038,12 +8842,14 @@ namespace Clutter {
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_STAGE_STATE_", type_id = "clutter_stage_state_get_type ()")]
[Flags]
+ [Version (since = "0.4")]
public enum StageState {
FULLSCREEN,
OFFSCREEN,
ACTIVATED
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_COLOR_", type_id = "clutter_static_color_get_type ()")]
+ [Version (since = "1.6")]
public enum StaticColor {
WHITE,
BLACK,
@@ -8092,12 +8898,14 @@ namespace Clutter {
TRANSPARENT
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_STEP_MODE_", type_id = "clutter_step_mode_get_type ()")]
+ [Version (since = "1.12")]
public enum StepMode {
START,
END
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_SWIPE_DIRECTION_", type_id = "clutter_swipe_direction_get_type ()")]
[Flags]
+ [Version (since = "1.8")]
public enum SwipeDirection {
UP,
DOWN,
@@ -8105,21 +8913,22 @@ namespace Clutter {
RIGHT
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_TABLE_ALIGNMENT_", type_id = "clutter_table_alignment_get_type ()")]
- [Deprecated (since = "1.22")]
+ [Version (deprecated = true, deprecated_since = "1.22", since = "1.4")]
public enum TableAlignment {
START,
CENTER,
END
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_TEXT_DIRECTION_", type_id = "clutter_text_direction_get_type ()")]
+ [Version (since = "1.2")]
public enum TextDirection {
DEFAULT,
LTR,
RTL
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_TEXTURE_", type_id = "clutter_texture_flags_get_type ()")]
- [Deprecated (since = "1.22")]
[Flags]
+ [Version (deprecated = true, deprecated_since = "1.22", since = "0.4")]
public enum TextureFlags {
NONE,
RGB_FLAG_BGR,
@@ -8127,18 +8936,20 @@ namespace Clutter {
YUV_FLAG_YUV2
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_TEXTURE_QUALITY_", type_id = "clutter_texture_quality_get_type ()")]
- [Deprecated (since = "1.22")]
+ [Version (deprecated = true, deprecated_since = "1.22", since = "0.8")]
public enum TextureQuality {
LOW,
MEDIUM,
HIGH
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_TIMELINE_", type_id = "clutter_timeline_direction_get_type ()")]
+ [Version (since = "0.6")]
public enum TimelineDirection {
FORWARD,
BACKWARD
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_TOUCHPAD_GESTURE_PHASE_", type_id = "clutter_touchpad_gesture_phase_get_type ()")]
+ [Version (since = "1.24")]
public enum TouchpadGesturePhase {
BEGIN,
UPDATE,
@@ -8146,6 +8957,7 @@ namespace Clutter {
CANCEL
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_UNIT_", type_id = "clutter_unit_type_get_type ()")]
+ [Version (since = "1.0")]
public enum UnitType {
PIXEL,
EM,
@@ -8154,17 +8966,20 @@ namespace Clutter {
CM
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_ZOOM_", type_id = "clutter_zoom_axis_get_type ()")]
+ [Version (since = "1.12")]
public enum ZoomAxis {
X_AXIS,
Y_AXIS,
BOTH
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_IMAGE_ERROR_INVALID_")]
+ [Version (since = "1.10")]
public errordomain ImageError {
DATA;
public static GLib.Quark quark ();
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_SCRIPT_ERROR_INVALID_")]
+ [Version (since = "0.6")]
public errordomain ScriptError {
TYPE_FUNCTION,
PROPERTY,
@@ -8172,7 +8987,7 @@ namespace Clutter {
public static GLib.Quark quark ();
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_SHADER_ERROR_")]
- [Deprecated (since = "1.8")]
+ [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public errordomain ShaderError {
NO_ASM,
NO_GLSL,
@@ -8180,6 +8995,7 @@ namespace Clutter {
public static GLib.Quark quark ();
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_TEXTURE_ERROR_")]
+ [Version (since = "0.4")]
public errordomain TextureError {
OUT_OF_MEMORY,
NO_YUV,
@@ -8187,43 +9003,51 @@ namespace Clutter {
public static GLib.Quark quark ();
}
[CCode (cheader_filename = "clutter/clutter.h", instance_pos = 1.9)]
+ [Version (since = "1.24")]
public delegate Clutter.Actor ActorCreateChildFunc (GLib.Object item);
[CCode (cheader_filename = "clutter/clutter.h", instance_pos = 1.9)]
- [Deprecated (since = "1.12")]
+ [Version (deprecated = true, deprecated_since = "1.12", since = "0.2")]
public delegate double AlphaFunc (Clutter.Alpha alpha);
[CCode (cheader_filename = "clutter/clutter.h", instance_pos = 2.9)]
- [Deprecated (since = "1.6")]
+ [Version (deprecated = true, deprecated_since = "1.6", since = "0.2")]
public delegate void BehaviourForeachFunc (Clutter.Behaviour behaviour, Clutter.Actor actor);
[CCode (cheader_filename = "clutter/clutter.h", instance_pos = 4.9)]
+ [Version (since = "1.0")]
public delegate bool BindingActionFunc (GLib.Object gobject, string action_name, uint key_val, Clutter.ModifierType modifiers);
[CCode (cheader_filename = "clutter/clutter.h", instance_pos = 1.9)]
public delegate void Callback (Clutter.Actor actor);
[CCode (cheader_filename = "clutter/clutter.h", instance_pos = 1.9)]
+ [Version (since = "1.18")]
public delegate bool EventFilterFunc (Clutter.Event event);
[CCode (cheader_filename = "clutter/clutter.h", instance_pos = 2.9)]
- [Deprecated (since = "1.24")]
+ [Version (deprecated = true, deprecated_since = "1.24", since = "0.6")]
public delegate bool ModelFilterFunc (Clutter.Model model, Clutter.ModelIter iter);
[CCode (cheader_filename = "clutter/clutter.h", instance_pos = 2.9)]
- [Deprecated (since = "1.24")]
+ [Version (deprecated = true, deprecated_since = "1.24", since = "0.6")]
public delegate bool ModelForeachFunc (Clutter.Model model, Clutter.ModelIter iter);
[CCode (cheader_filename = "clutter/clutter.h", instance_pos = 3.9)]
- [Deprecated (since = "1.24")]
+ [Version (deprecated = true, deprecated_since = "1.24", since = "0.6")]
public delegate int ModelSortFunc (Clutter.Model model, GLib.Value a, GLib.Value b);
[CCode (cheader_filename = "clutter/clutter.h", instance_pos = 1.9)]
+ [Version (since = "1.0")]
public delegate void PathCallback (Clutter.PathNode node);
[CCode (cheader_filename = "clutter/clutter.h", has_target = false)]
+ [Version (since = "1.0")]
public delegate bool ProgressFunc (GLib.Value a, GLib.Value b, double progress, GLib.Value retval);
[CCode (cheader_filename = "clutter/clutter.h", instance_pos = 6.9)]
+ [Version (since = "0.6")]
public delegate void ScriptConnectFunc (Clutter.Script script, GLib.Object object, string signal_name, string handler_name, GLib.Object connect_object, GLib.ConnectFlags flags);
[CCode (cheader_filename = "clutter/clutter.h", instance_pos = 3.9)]
+ [Version (since = "1.10")]
public delegate double TimelineProgressFunc (Clutter.Timeline timeline, double elapsed, double total);
[CCode (cheader_filename = "clutter/clutter.h", cname = "CLUTTER_COGL")]
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.4")]
public const string COGL;
[CCode (cheader_filename = "clutter/clutter.h", cname = "CLUTTER_CURRENT_TIME")]
+ [Version (since = "0.4")]
public const int CURRENT_TIME;
[CCode (cheader_filename = "clutter/clutter.h", cname = "CLUTTER_FLAVOUR")]
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.4")]
public const string FLAVOUR;
[CCode (cheader_filename = "clutter/clutter.h", cname = "CLUTTER_MAJOR_VERSION")]
public const int MAJOR_VERSION;
@@ -8234,6 +9058,7 @@ namespace Clutter {
[CCode (cheader_filename = "clutter/clutter.h", cname = "CLUTTER_PATH_RELATIVE")]
public const int PATH_RELATIVE;
[CCode (cheader_filename = "clutter/clutter.h", cname = "CLUTTER_PRIORITY_REDRAW")]
+ [Version (since = "0.8")]
public const int PRIORITY_REDRAW;
[CCode (cheader_filename = "clutter/clutter.h", cname = "CLUTTER_VERSION")]
public const double VERSION;
@@ -8244,71 +9069,93 @@ namespace Clutter {
[CCode (cheader_filename = "clutter/clutter.h")]
public static void base_init ();
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "1.12")]
public static void cairo_clear (Cairo.Context cr);
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "1.0")]
public static void cairo_set_source_color (Cairo.Context cr, Clutter.Color color);
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "1.2")]
public static bool check_version (uint major, uint minor, uint micro);
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "1.10")]
public static bool check_windowing_backend (string backend_type);
[CCode (cheader_filename = "clutter/clutter.h")]
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.8")]
public static void clear_glyph_cache ();
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "1.14")]
public static void disable_accessibility ();
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "0.4")]
public static void do_event (Clutter.Event event);
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "0.4")]
public static bool events_pending ();
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "1.4")]
public static bool get_accessibility_enabled ();
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "1.2")]
public static unowned Clutter.Event get_current_event ();
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "1.0")]
public static uint32 get_current_event_time ();
[CCode (cheader_filename = "clutter/clutter.h")]
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10")]
public static bool get_debug_enabled ();
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "0.4")]
public static unowned Clutter.Backend get_default_backend ();
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "0.6")]
public static uint get_default_frame_rate ();
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "1.2")]
public static Clutter.TextDirection get_default_text_direction ();
[CCode (cheader_filename = "clutter/clutter.h")]
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "1.0")]
public static Clutter.FontFlags get_font_flags ();
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "1.0")]
public static unowned Pango.FontMap get_font_map ();
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "0.6")]
public static unowned Clutter.Actor get_keyboard_grab ();
[CCode (cheader_filename = "clutter/clutter.h")]
- [Deprecated (since = "1.8")]
+ [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public static bool get_motion_events_enabled ();
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "0.2")]
public static GLib.OptionGroup get_option_group ();
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "0.8")]
public static GLib.OptionGroup get_option_group_without_init ();
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "0.6")]
public static unowned Clutter.Actor get_pointer_grab ();
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "0.6")]
public static unowned string get_script_id (GLib.Object gobject);
[CCode (cheader_filename = "clutter/clutter.h")]
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.4")]
public static bool get_show_fps ();
[CCode (cheader_filename = "clutter/clutter.h")]
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10")]
public static ulong get_timestamp ();
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "0.6")]
public static void grab_keyboard (Clutter.Actor actor);
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "0.6")]
public static void grab_pointer (Clutter.Actor actor);
[CCode (cheader_filename = "clutter/clutter.h")]
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.8")]
public static void grab_pointer_for_device (Clutter.Actor actor, int id_);
[CCode (cheader_filename = "clutter/clutter.h")]
public static Clutter.InitError init ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv);
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "0.2")]
public static Clutter.InitError init_with_args ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv, string? parameter_string, [CCode (array_length = false)] GLib.OptionEntry[]? entries, string? translation_domain) throws GLib.Error;
[CCode (cheader_filename = "clutter/clutter.h")]
public static uint32 keysym_to_unicode (uint keyval);
@@ -8319,41 +9166,50 @@ namespace Clutter {
[CCode (cheader_filename = "clutter/clutter.h")]
public static void main_quit ();
[CCode (cheader_filename = "clutter/clutter.h")]
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.6")]
public static void set_default_frame_rate (uint frames_per_sec);
[CCode (cheader_filename = "clutter/clutter.h")]
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "1.0")]
public static void set_font_flags (Clutter.FontFlags flags);
[CCode (cheader_filename = "clutter/clutter.h")]
- [Deprecated (since = "1.8")]
+ [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public static void set_motion_events_enabled (bool enable);
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "1.16")]
public static void set_windowing_backend (string backend_type);
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "1.18")]
public static void test_add_data_full (string test_path, owned GLib.TestDataFunc test_func);
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "1.18")]
public static bool test_check_actor_at_point (Clutter.Actor stage, Clutter.Point point, Clutter.Actor actor, out Clutter.Actor? result);
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "1.18")]
public static bool test_check_color_at_point (Clutter.Actor stage, Clutter.Point point, Clutter.Color color, out Clutter.Color result);
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "1.18")]
public static unowned Clutter.Actor test_get_stage ();
[CCode (cheader_filename = "clutter/clutter.h")]
public static void test_init (int argc, string argv);
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "1.18")]
public static int test_run ();
[CCode (cheader_filename = "clutter/clutter.h")]
- [Deprecated (replacement = "Threads.add_repaint_func", since = "vala-0.14")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Threads.add_repaint_func")]
public static uint threads_add_repaint_func (GLib.SourceFunc func, void* data, GLib.DestroyNotify notify);
[CCode (cheader_filename = "clutter/clutter.h")]
- [Deprecated (replacement = "Threads.remove_repaint_func", since = "vala-0.14")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Threads.remove_repaint_func")]
public static void threads_remove_repaint_func (uint handle_id);
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "0.6")]
public static void ungrab_keyboard ();
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "0.6")]
public static void ungrab_pointer ();
[CCode (cheader_filename = "clutter/clutter.h")]
- [Deprecated (since = "1.10")]
+ [Version (deprecated = true, deprecated_since = "1.10", since = "0.8")]
public static void ungrab_pointer_for_device (int id_);
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Version (since = "1.10")]
public static uint unicode_to_keysym (uint32 wc);
}
diff --git a/vapi/clutter-gdk-1.0.vapi b/vapi/clutter-gdk-1.0.vapi
index 36e2a6b4c..fc9a77dfb 100644
--- a/vapi/clutter-gdk-1.0.vapi
+++ b/vapi/clutter-gdk-1.0.vapi
@@ -3,19 +3,26 @@
[CCode (cprefix = "ClutterGdk", gir_namespace = "ClutterGdk", gir_version = "1.0", lower_case_cprefix = "clutter_gdk_")]
namespace ClutterGdk {
[CCode (cheader_filename = "clutter/gdk/clutter-gdk.h")]
+ [Version (since = "1.10")]
public static void disable_event_retrieval ();
[CCode (cheader_filename = "clutter/gdk/clutter-gdk.h")]
+ [Version (since = "0.6")]
public static unowned Gdk.Display get_default_display ();
[CCode (cheader_filename = "clutter/gdk/clutter-gdk.h")]
+ [Version (since = "1.10")]
public static unowned Clutter.Stage get_stage_from_window (Gdk.Window window);
[CCode (cheader_filename = "clutter/gdk/clutter-gdk.h")]
+ [Version (since = "1.10")]
public static unowned Gdk.Window get_stage_window (Clutter.Stage stage);
[CCode (cheader_filename = "clutter/gdk/clutter-gdk.h")]
+ [Version (since = "1.22")]
public static unowned Gdk.Visual get_visual ();
[CCode (cheader_filename = "clutter/gdk/clutter-gdk.h")]
public static Gdk.FilterReturn handle_event (Gdk.Event event);
[CCode (cheader_filename = "clutter/gdk/clutter-gdk.h")]
+ [Version (since = "0.8")]
public static void set_display (Gdk.Display display);
[CCode (cheader_filename = "clutter/gdk/clutter-gdk.h")]
+ [Version (since = "1.10")]
public static bool set_stage_foreign (Clutter.Stage stage, Gdk.Window window);
}
diff --git a/vapi/clutter-gst-1.0.vapi b/vapi/clutter-gst-1.0.vapi
index 23909ebeb..0f01840a5 100644
--- a/vapi/clutter-gst-1.0.vapi
+++ b/vapi/clutter-gst-1.0.vapi
@@ -19,7 +19,7 @@ namespace ClutterGst {
[CCode (cheader_filename = "clutter-gst/clutter-gst.h", type_id = "clutter_gst_video_sink_get_type ()")]
public class VideoSink : Gst.BaseSink, Gst.ImplementsInterface, Gst.Navigation {
[CCode (has_construct_function = false, type = "GstElement*")]
- [Deprecated (since = "1.6")]
+ [Version (deprecated = true, deprecated_since = "1.6")]
public VideoSink (Clutter.Texture texture);
[NoAccessorMethod]
public Clutter.Texture texture { owned get; set; }
@@ -30,12 +30,14 @@ namespace ClutterGst {
public class VideoTexture : Clutter.Texture, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Media, Clutter.Scriptable, ClutterGst.Player {
[CCode (has_construct_function = false, type = "ClutterActor*")]
public VideoTexture ();
+ [Version (since = "1.2")]
public unowned Cogl.Handle get_idle_material ();
public void set_idle_material (Cogl.Handle material);
[NoAccessorMethod]
public Gst.Fraction pixel_aspect_ratio { get; set; }
}
[CCode (cheader_filename = "clutter-gst/clutter-gst.h")]
+ [Version (since = "1.4")]
public interface Player : Clutter.Media, GLib.Object, Clutter.Media {
public static void class_init (GLib.ObjectClass object_class);
public void deinit ();
@@ -43,6 +45,7 @@ namespace ClutterGst {
public abstract unowned GLib.List<string> get_audio_streams ();
public abstract ClutterGst.BufferingMode get_buffering_mode ();
public abstract bool get_idle ();
+ [Version (since = "1.6")]
public abstract bool get_in_seek ();
public abstract unowned Gst.Element get_pipeline ();
public abstract ClutterGst.SeekFlags get_seek_flags ();
@@ -59,6 +62,7 @@ namespace ClutterGst {
public abstract void* audio_streams { get; }
public abstract bool idle { get; }
public abstract Cogl.Handle idle_material { get; set; }
+ [Version (since = "1.6")]
public abstract bool in_seek { get; }
public abstract ClutterGst.SeekFlags seek_flags { get; set; }
public abstract int subtitle_track { get; set; }
@@ -67,12 +71,14 @@ namespace ClutterGst {
public virtual signal void download_buffering (double start, double stop);
}
[CCode (cheader_filename = "clutter-gst/clutter-gst.h", cprefix = "CLUTTER_GST_BUFFERING_MODE_", type_id = "clutter_gst_buffering_mode_get_type ()")]
+ [Version (since = "1.4")]
public enum BufferingMode {
STREAM,
DOWNLOAD
}
[CCode (cheader_filename = "clutter-gst/clutter-gst.h", cprefix = "CLUTTER_GST_SEEK_FLAG_", type_id = "clutter_gst_seek_flags_get_type ()")]
[Flags]
+ [Version (since = "1.4")]
public enum SeekFlags {
NONE,
ACCURATE
@@ -80,7 +86,9 @@ namespace ClutterGst {
[CCode (cheader_filename = "clutter-gst/clutter-gst.h")]
public static Clutter.InitError init ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv);
[CCode (cheader_filename = "clutter-gst/clutter-gst.h")]
+ [Version (since = "1.0")]
public static Clutter.InitError init_with_args ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv, string parameter_string, GLib.OptionEntry entries, string translation_domain) throws GLib.Error;
[CCode (cheader_filename = "clutter-gst/clutter-gst.h")]
+ [Version (since = "1.4")]
public static void player_class_init (GLib.ObjectClass object_class);
}
diff --git a/vapi/clutter-gst-2.0.vapi b/vapi/clutter-gst-2.0.vapi
index 83381ee0b..97cac31f0 100644
--- a/vapi/clutter-gst-2.0.vapi
+++ b/vapi/clutter-gst-2.0.vapi
@@ -19,7 +19,7 @@ namespace ClutterGst {
[CCode (cheader_filename = "clutter-gst/clutter-gst.h", type_id = "clutter_gst_video_sink_get_type ()")]
public class VideoSink : Gst.Base.Sink, Gst.Video.Navigation {
[CCode (has_construct_function = false, type = "GstElement*")]
- [Deprecated (since = "1.6")]
+ [Version (deprecated = true, deprecated_since = "1.6")]
public VideoSink (Clutter.Texture texture);
[NoAccessorMethod]
public Clutter.Texture texture { owned get; set; }
@@ -30,12 +30,15 @@ namespace ClutterGst {
public class VideoTexture : Clutter.Texture, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Media, Clutter.Scriptable, ClutterGst.Player {
[CCode (has_construct_function = false, type = "ClutterActor*")]
public VideoTexture ();
+ [Version (since = "1.2")]
public unowned Cogl.Handle get_idle_material ();
+ [Version (since = "1.2")]
public void set_idle_material (Cogl.Handle material);
[NoAccessorMethod]
public Gst.Fraction pixel_aspect_ratio { owned get; set; }
}
[CCode (cheader_filename = "clutter-gst/clutter-gst.h")]
+ [Version (since = "1.4")]
public interface Player : Clutter.Media, GLib.Object, Clutter.Media {
public static void class_init (GLib.ObjectClass object_class);
public void deinit ();
@@ -43,6 +46,7 @@ namespace ClutterGst {
public abstract unowned GLib.List<string> get_audio_streams ();
public abstract ClutterGst.BufferingMode get_buffering_mode ();
public abstract bool get_idle ();
+ [Version (since = "1.6")]
public abstract bool get_in_seek ();
public abstract unowned Gst.Element get_pipeline ();
public abstract ClutterGst.SeekFlags get_seek_flags ();
@@ -59,6 +63,7 @@ namespace ClutterGst {
public abstract void* audio_streams { get; }
public abstract bool idle { get; }
public abstract Cogl.Handle idle_material { get; set; }
+ [Version (since = "1.6")]
public abstract bool in_seek { get; }
public abstract ClutterGst.SeekFlags seek_flags { get; set; }
public abstract int subtitle_track { get; set; }
@@ -67,12 +72,14 @@ namespace ClutterGst {
public virtual signal void download_buffering (double start, double stop);
}
[CCode (cheader_filename = "clutter-gst/clutter-gst.h", cprefix = "CLUTTER_GST_BUFFERING_MODE_", type_id = "clutter_gst_buffering_mode_get_type ()")]
+ [Version (since = "1.4")]
public enum BufferingMode {
STREAM,
DOWNLOAD
}
[CCode (cheader_filename = "clutter-gst/clutter-gst.h", cprefix = "CLUTTER_GST_SEEK_FLAG_", type_id = "clutter_gst_seek_flags_get_type ()")]
[Flags]
+ [Version (since = "1.4")]
public enum SeekFlags {
NONE,
ACCURATE
@@ -80,7 +87,9 @@ namespace ClutterGst {
[CCode (cheader_filename = "clutter-gst/clutter-gst.h")]
public static Clutter.InitError init ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv);
[CCode (cheader_filename = "clutter-gst/clutter-gst.h")]
+ [Version (since = "1.0")]
public static Clutter.InitError init_with_args ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv, string parameter_string, GLib.OptionEntry entries, string translation_domain) throws GLib.Error;
[CCode (cheader_filename = "clutter-gst/clutter-gst.h")]
+ [Version (since = "1.4")]
public static void player_class_init (GLib.ObjectClass object_class);
}
diff --git a/vapi/clutter-gst-3.0.vapi b/vapi/clutter-gst-3.0.vapi
index 9e62fff6d..38662b381 100644
--- a/vapi/clutter-gst-3.0.vapi
+++ b/vapi/clutter-gst-3.0.vapi
@@ -22,12 +22,15 @@ namespace ClutterGst {
protected Aspectratio ();
public static Clutter.Content @new ();
[NoAccessorMethod]
+ [Version (since = "3.0")]
public bool fill_allocation { get; set; }
[NoAccessorMethod]
+ [Version (since = "3.0")]
public bool paint_borders { get; set; }
}
[CCode (cheader_filename = "clutter-gst/clutter-gst.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "clutter_gst_box_get_type ()")]
[Compact]
+ [Version (since = "3.0")]
public class Box {
public float x1;
public float x2;
@@ -84,7 +87,7 @@ namespace ClutterGst {
public class CameraDevice : GLib.Object {
[CCode (has_construct_function = false)]
protected CameraDevice ();
- public void get_capture_resolution (int width, int height);
+ public void get_capture_resolution (out int width, out int height);
public unowned string get_name ();
public unowned string get_node ();
public unowned GLib.GenericArray<ClutterGst.VideoResolution> get_supported_resolutions ();
@@ -105,19 +108,28 @@ namespace ClutterGst {
public signal void camera_removed (ClutterGst.CameraDevice camera_device);
}
[CCode (cheader_filename = "clutter-gst/clutter-gst.h", type_id = "clutter_gst_content_get_type ()")]
+ [Version (since = "0.0")]
public class Content : GLib.Object, Clutter.Content {
[CCode (has_construct_function = false)]
protected Content ();
+ [Version (since = "3.0")]
public unowned ClutterGst.Frame get_frame ();
+ [Version (since = "3.0")]
public unowned ClutterGst.Overlays get_overlays ();
+ [Version (since = "3.0")]
public unowned ClutterGst.Player get_player ();
+ [Version (since = "3.0")]
public unowned ClutterGst.VideoSink get_sink ();
[NoWrapper]
public virtual bool has_painting_content ();
public static Clutter.Content @new ();
+ [Version (since = "3.0")]
public static Clutter.Content new_with_sink (ClutterGst.VideoSink sink);
+ [Version (since = "3.0")]
public void set_frame (ClutterGst.Frame frame);
+ [Version (since = "3.0")]
public void set_player (ClutterGst.Player player);
+ [Version (since = "3.0")]
public void set_sink (ClutterGst.VideoSink sink);
public ClutterGst.Frame frame { get; set; }
[NoAccessorMethod]
@@ -133,26 +145,33 @@ namespace ClutterGst {
[CCode (has_construct_function = false, type = "ClutterActor*")]
public Crop ();
[NoAccessorMethod]
+ [Version (since = "3.0")]
public bool cull_backface { get; set; }
[NoAccessorMethod]
+ [Version (since = "3.0")]
public ClutterGst.Box input_region { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "3.0")]
public ClutterGst.Box output_region { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "3.0")]
public bool paint_borders { get; set; }
}
[CCode (cheader_filename = "clutter-gst/clutter-gst.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "clutter_gst_frame_get_type ()")]
[Compact]
+ [Version (since = "3.0")]
public class Frame {
public ClutterGst.VideoResolution resolution;
}
[CCode (cheader_filename = "clutter-gst/clutter-gst.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "clutter_gst_overlay_get_type ()")]
[Compact]
+ [Version (since = "3.0")]
public class Overlay {
public weak ClutterGst.Box position;
}
[CCode (cheader_filename = "clutter-gst/clutter-gst.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "clutter_gst_overlays_get_type ()")]
[Compact]
+ [Version (since = "3.0")]
public class Overlays {
public weak GLib.GenericArray<void*> overlays;
}
@@ -160,54 +179,76 @@ namespace ClutterGst {
public class Playback : GLib.Object, ClutterGst.Player {
[CCode (has_construct_function = false)]
public Playback ();
+ [Version (since = "1.4")]
public int get_audio_stream ();
+ [Version (since = "1.4")]
public unowned GLib.List<string> get_audio_streams ();
public int64 get_buffer_duration ();
public double get_buffer_fill ();
public int get_buffer_size ();
+ [Version (since = "1.4")]
public ClutterGst.BufferingMode get_buffering_mode ();
public double get_duration ();
+ [Version (since = "1.6")]
public bool get_in_seek ();
public double get_position ();
public double get_progress ();
+ [Version (since = "1.4")]
public ClutterGst.SeekFlags get_seek_flags ();
public string get_subtitle_font_name ();
+ [Version (since = "1.4")]
public int get_subtitle_track ();
+ [Version (since = "1.4")]
public unowned GLib.List<string> get_subtitle_tracks ();
public string get_subtitle_uri ();
public string get_uri ();
+ [Version (since = "1.4")]
public string get_user_agent ();
public bool is_live_media ();
+ [Version (since = "1.4")]
public void set_audio_stream (int index_);
public void set_buffer_duration (int64 duration);
public void set_buffer_size (int size);
+ [Version (since = "1.4")]
public void set_buffering_mode (ClutterGst.BufferingMode mode);
public void set_filename (string filename);
public void set_progress (double progress);
+ [Version (since = "1.4")]
public void set_seek_flags (ClutterGst.SeekFlags flags);
public void set_subtitle_font_name (string font_name);
+ [Version (since = "1.4")]
public void set_subtitle_track (int index_);
public void set_subtitle_uri (string uri);
public void set_uri (string uri);
+ [Version (since = "1.4")]
public void set_user_agent (string user_agent);
+ [Version (since = "1.4")]
public int audio_stream { get; set; }
+ [Version (since = "1.4")]
public void* audio_streams { get; }
public double buffer_fill { get; }
[NoAccessorMethod]
public bool can_seek { get; }
public double duration { get; }
+ [Version (since = "1.6")]
public bool in_seek { get; }
public double progress { get; set; }
+ [Version (since = "1.4")]
public ClutterGst.SeekFlags seek_flags { get; set; }
public string subtitle_font_name { owned get; set; }
+ [Version (since = "1.4")]
public int subtitle_track { get; set; }
+ [Version (since = "1.4")]
public void* subtitle_tracks { get; }
public string subtitle_uri { owned get; set; }
public string uri { owned get; set; }
+ [Version (since = "1.4")]
public string user_agent { owned get; set; }
+ [Version (since = "1.4")]
public virtual signal bool should_buffer (Gst.Query query);
}
[CCode (cheader_filename = "clutter-gst/clutter-gst.h", type_id = "clutter_gst_video_sink_get_type ()")]
+ [Version (since = "3.0")]
public class VideoSink : Gst.Video.Sink, Gst.Video.ColorBalance, Gst.Video.Navigation {
[CCode (has_construct_function = false)]
public VideoSink ();
@@ -221,14 +262,23 @@ namespace ClutterGst {
public virtual signal void pipeline_ready ();
}
[CCode (cheader_filename = "clutter-gst/clutter-gst.h", type_id = "clutter_gst_player_get_type ()")]
+ [Version (since = "1.4")]
public interface Player : GLib.Object {
+ [Version (since = "3.0")]
public abstract double get_audio_volume ();
+ [Version (since = "3.0")]
public abstract unowned ClutterGst.Frame get_frame ();
+ [Version (since = "3.0")]
public abstract bool get_idle ();
+ [Version (since = "3.0")]
public abstract unowned Gst.Element get_pipeline ();
+ [Version (since = "3.0")]
public abstract bool get_playing ();
+ [Version (since = "3.0")]
public abstract unowned ClutterGst.VideoSink get_video_sink ();
+ [Version (since = "3.0")]
public abstract void set_audio_volume (double volume);
+ [Version (since = "3.0")]
public abstract void set_playing (bool playing);
public abstract double audio_volume { get; set; }
public abstract bool idle { get; }
@@ -240,6 +290,7 @@ namespace ClutterGst {
public virtual signal void size_change (int width, int height);
}
[CCode (cheader_filename = "clutter-gst/clutter-gst.h", has_type_id = false)]
+ [Version (since = "3.0")]
public struct VideoResolution {
public int width;
public int height;
@@ -247,20 +298,24 @@ namespace ClutterGst {
public int par_d;
}
[CCode (cheader_filename = "clutter-gst/clutter-gst.h", cprefix = "CLUTTER_GST_BUFFERING_MODE_", type_id = "clutter_gst_buffering_mode_get_type ()")]
+ [Version (since = "1.4")]
public enum BufferingMode {
STREAM,
DOWNLOAD
}
[CCode (cheader_filename = "clutter-gst/clutter-gst.h", cprefix = "CLUTTER_GST_SEEK_FLAG_", type_id = "clutter_gst_seek_flags_get_type ()")]
[Flags]
+ [Version (since = "1.4")]
public enum SeekFlags {
NONE,
ACCURATE
}
[CCode (cheader_filename = "clutter-gst/clutter-gst.h")]
+ [Version (since = "3.0")]
public static Gst.Element create_video_sink ();
[CCode (cheader_filename = "clutter-gst/clutter-gst.h")]
public static Clutter.InitError init ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv);
[CCode (cheader_filename = "clutter-gst/clutter-gst.h")]
+ [Version (since = "1.0")]
public static Clutter.InitError init_with_args ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv, string parameter_string, GLib.OptionEntry entries, string translation_domain) throws GLib.Error;
}
diff --git a/vapi/clutter-gtk-1.0.vapi b/vapi/clutter-gtk-1.0.vapi
index 10409451b..0515454f4 100644
--- a/vapi/clutter-gtk-1.0.vapi
+++ b/vapi/clutter-gtk-1.0.vapi
@@ -18,11 +18,15 @@ namespace GtkClutter {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public Embed ();
public unowned Clutter.Actor get_stage ();
+ [Version (since = "1.4")]
public bool get_use_layout_size ();
+ [Version (since = "1.4")]
public void set_use_layout_size (bool use_layout_size);
+ [Version (since = "1.4")]
public bool use_layout_size { get; set construct; }
}
[CCode (cheader_filename = "clutter-gtk/clutter-gtk.h", type_id = "gtk_clutter_texture_get_type ()")]
+ [Version (since = "1.0")]
public class Texture : Clutter.Texture, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable {
[CCode (has_construct_function = false, type = "ClutterActor*")]
public Texture ();
@@ -38,9 +42,10 @@ namespace GtkClutter {
public unowned Clutter.Actor get_stage ();
}
[CCode (cheader_filename = "clutter-gtk/clutter-gtk.h", cprefix = "GTK_CLUTTER_TEXTURE_ERROR_INVALID_STOCK_")]
+ [Version (since = "1.0")]
public errordomain TextureError {
[CCode (cname = "GTK_CLUTTER_TEXTURE_ERROR_INVALID_STOCK_ID")]
- [Deprecated (replacement = "INVALID_STOCK_ID", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "INVALID_STOCK_ID")]
ID,
[CCode (cname = "GTK_CLUTTER_TEXTURE_ERROR_INVALID_STOCK_ID")]
INVALID_STOCK_ID
diff --git a/vapi/clutter-x11-1.0.vapi b/vapi/clutter-x11-1.0.vapi
index f86bffb50..1dbf239a1 100644
--- a/vapi/clutter-x11-1.0.vapi
+++ b/vapi/clutter-x11-1.0.vapi
@@ -3,6 +3,7 @@
[CCode (cprefix = "ClutterX11", gir_namespace = "ClutterX11", gir_version = "1.0", lower_case_cprefix = "clutter_x11_")]
namespace ClutterX11 {
[CCode (cheader_filename = "clutter/x11/clutter-x11.h", type_id = "clutter_x11_texture_pixmap_get_type ()")]
+ [Version (since = "0.8")]
public class TexturePixmap : Clutter.Texture, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable {
[CCode (has_construct_function = false, type = "ClutterActor*")]
public TexturePixmap ();
@@ -38,73 +39,99 @@ namespace ClutterX11 {
public int window_x { get; }
[NoAccessorMethod]
public int window_y { get; }
+ [Version (since = "1.2")]
public signal void queue_damage_redraw (int x, int y, int width, int height);
[HasEmitter]
public virtual signal void update_area (int x, int y, int width, int height);
}
[CCode (cheader_filename = "clutter/x11/clutter-x11.h", cprefix = "CLUTTER_X11_FILTER_", type_id = "clutter_x11_filter_return_get_type ()")]
+ [Version (since = "0.6")]
public enum FilterReturn {
CONTINUE,
TRANSLATE,
REMOVE
}
[CCode (cheader_filename = "clutter/x11/clutter-x11.h", instance_pos = 2.9)]
+ [Version (since = "0.6")]
public delegate ClutterX11.FilterReturn FilterFunc (X.Event xev, Clutter.Event cev);
[CCode (cheader_filename = "clutter/x11/clutter-x11.h")]
+ [Version (since = "0.6")]
public static void add_filter (ClutterX11.FilterFunc func);
[CCode (cheader_filename = "clutter/x11/clutter-x11.h")]
+ [Version (since = "0.8")]
public static void disable_event_retrieval ();
[CCode (cheader_filename = "clutter/x11/clutter-x11.h")]
- [Deprecated (since = "1.14")]
+ [Version (deprecated = true, deprecated_since = "1.14", since = "0.8")]
public static void enable_xinput ();
[CCode (cheader_filename = "clutter/x11/clutter-x11.h")]
+ [Version (since = "1.4")]
public static int event_get_key_group (Clutter.Event event);
[CCode (cheader_filename = "clutter/x11/clutter-x11.h")]
+ [Version (since = "1.12")]
public static uint event_sequence_get_touch_detail (Clutter.EventSequence sequence);
[CCode (cheader_filename = "clutter/x11/clutter-x11.h")]
+ [Version (since = "1.0")]
public static X.Time get_current_event_time ();
[CCode (cheader_filename = "clutter/x11/clutter-x11.h")]
+ [Version (since = "0.6")]
public static unowned X.Display get_default_display ();
[CCode (cheader_filename = "clutter/x11/clutter-x11.h")]
+ [Version (since = "0.6")]
public static int get_default_screen ();
[CCode (cheader_filename = "clutter/x11/clutter-x11.h")]
- [Deprecated (since = "1.2")]
+ [Version (deprecated = true, deprecated_since = "1.2", since = "0.8")]
public static unowned GLib.SList<Clutter.InputDevice> get_input_devices ();
[CCode (cheader_filename = "clutter/x11/clutter-x11.h")]
+ [Version (since = "0.6")]
public static X.Window get_root_window ();
[CCode (cheader_filename = "clutter/x11/clutter-x11.h")]
+ [Version (since = "0.8")]
public static unowned Clutter.Stage get_stage_from_window (X.Window win);
[CCode (cheader_filename = "clutter/x11/clutter-x11.h")]
- [Deprecated (since = "1.2")]
+ [Version (deprecated = true, deprecated_since = "1.2", since = "0.4")]
public static X.VisualInfo? get_stage_visual (Clutter.Stage stage);
[CCode (cheader_filename = "clutter/x11/clutter-x11.h")]
+ [Version (since = "0.4")]
public static X.Window get_stage_window (Clutter.Stage stage);
[CCode (cheader_filename = "clutter/x11/clutter-x11.h")]
+ [Version (since = "1.2")]
public static bool get_use_argb_visual ();
[CCode (cheader_filename = "clutter/x11/clutter-x11.h")]
+ [Version (since = "1.22")]
public static bool get_use_stereo_stage ();
[CCode (cheader_filename = "clutter/x11/clutter-x11.h")]
+ [Version (since = "1.2")]
public static X.VisualInfo? get_visual_info ();
[CCode (cheader_filename = "clutter/x11/clutter-x11.h")]
+ [Version (since = "0.8")]
public static ClutterX11.FilterReturn handle_event (X.Event xevent);
[CCode (cheader_filename = "clutter/x11/clutter-x11.h")]
public static bool has_composite_extension ();
[CCode (cheader_filename = "clutter/x11/clutter-x11.h")]
+ [Version (since = "0.8")]
public static bool has_event_retrieval ();
[CCode (cheader_filename = "clutter/x11/clutter-x11.h")]
+ [Version (since = "0.8")]
public static bool has_xinput ();
[CCode (cheader_filename = "clutter/x11/clutter-x11.h")]
+ [Version (since = "0.6")]
public static void remove_filter (ClutterX11.FilterFunc func);
[CCode (cheader_filename = "clutter/x11/clutter-x11.h")]
+ [Version (since = "0.8")]
public static void set_display (X.Display xdpy);
[CCode (cheader_filename = "clutter/x11/clutter-x11.h")]
+ [Version (since = "0.4")]
public static bool set_stage_foreign (Clutter.Stage stage, X.Window xwindow);
[CCode (cheader_filename = "clutter/x11/clutter-x11.h")]
+ [Version (since = "1.2")]
public static void set_use_argb_visual (bool use_argb);
[CCode (cheader_filename = "clutter/x11/clutter-x11.h")]
+ [Version (since = "1.22")]
public static void set_use_stereo_stage (bool use_stereo);
[CCode (cheader_filename = "clutter/x11/clutter-x11.h")]
+ [Version (since = "0.6")]
public static void trap_x_errors ();
[CCode (cheader_filename = "clutter/x11/clutter-x11.h")]
+ [Version (since = "0.4")]
public static int untrap_x_errors ();
}
diff --git a/vapi/cogl-pango-1.0.vapi b/vapi/cogl-pango-1.0.vapi
index 689e2a08b..ebdee2674 100644
--- a/vapi/cogl-pango-1.0.vapi
+++ b/vapi/cogl-pango-1.0.vapi
@@ -10,23 +10,30 @@ namespace CoglPango {
}
[CCode (cheader_filename = "cogl-pango/cogl-pango.h")]
public interface FontMap : Pango.CairoFontMap, GLib.Object {
+ [Version (since = "1.0")]
public static void clear_glyph_cache (CoglPango.FontMap font_map);
public static Pango.Context create_context (CoglPango.FontMap font_map);
+ [Version (since = "1.0")]
public static unowned Pango.Renderer get_renderer (CoglPango.FontMap font_map);
+ [Version (since = "1.0")]
public static Cogl.Bool get_use_mipmapping (CoglPango.FontMap font_map);
+ [Version (since = "1.14")]
public static Pango.FontMap @new ();
+ [Version (since = "1.14")]
public static void set_resolution (CoglPango.FontMap font_map, double dpi);
+ [Version (since = "1.0")]
public static void set_use_mipmapping (CoglPango.FontMap font_map, Cogl.Bool value);
}
[CCode (cheader_filename = "cogl-pango/cogl-pango.h")]
+ [Version (since = "1.0")]
public static void ensure_glyph_cache_for_layout (Pango.Layout layout);
[CCode (cheader_filename = "cogl-pango/cogl-pango.h")]
- [Deprecated (since = "1.16")]
+ [Version (deprecated = true, deprecated_since = "1.16", since = "1.0")]
public static void render_layout (Pango.Layout layout, int x, int y, Cogl.Color color, int flags);
[CCode (cheader_filename = "cogl-pango/cogl-pango.h")]
- [Deprecated (since = "1.16")]
+ [Version (deprecated = true, deprecated_since = "1.16", since = "1.0")]
public static void render_layout_line (Pango.LayoutLine line, int x, int y, Cogl.Color color);
[CCode (cheader_filename = "cogl-pango/cogl-pango.h")]
- [Deprecated (since = "1.16")]
+ [Version (deprecated = true, deprecated_since = "1.16", since = "1.0")]
public static void render_layout_subpixel (Pango.Layout layout, int x, int y, Cogl.Color color, int flags);
}
diff --git a/vapi/gconf-2.0.vapi b/vapi/gconf-2.0.vapi
index e146c42ca..6179c06bf 100644
--- a/vapi/gconf-2.0.vapi
+++ b/vapi/gconf-2.0.vapi
@@ -1,6 +1,6 @@
/* gconf-2.0.vapi generated by vapigen, do not modify. */
-[Deprecated (replacement = "GLib.Settings")]
+[Version (replacement = "GLib.Settings")]
namespace GConf {
[CCode (cheader_filename = "gconf/gconf.h", ref_function = "gconf_change_set_ref", ref_function_void = true, type_id = "gconf_change_set_get_type ()", unref_function = "gconf_change_set_unref")]
[Compact]
diff --git a/vapi/gdk-2.0.vapi b/vapi/gdk-2.0.vapi
index 45848a238..677d2be8c 100644
--- a/vapi/gdk-2.0.vapi
+++ b/vapi/gdk-2.0.vapi
@@ -1,7 +1,7 @@
/* gdk-2.0.vapi generated by vapigen, do not modify. */
[CCode (gir_namespace = "Gdk", gir_version = "2.0")]
-[Deprecated (replacement = "gdk-3.0")]
+[Version (replacement = "gdk-3.0")]
namespace Gdk {
namespace Key {
[CCode (cheader_filename = "gdk/gdk.h")]
@@ -4387,7 +4387,7 @@ namespace Gdk {
[CCode (cheader_filename = "gdk/gdk.h", ref_function = "g_object_ref", unref_function = "g_object_unref")]
public class Bitmap {
public weak GLib.Object parent_instance;
- [Deprecated (since = "2.22")]
+ [Version (deprecated_since = "2.22")]
public static Gdk.Bitmap create_from_data (Gdk.Drawable drawable, [CCode (array_length = false)] uint8[] data, int width, int height);
}
[CCode (cheader_filename = "gdk/gdk.h")]
@@ -4570,7 +4570,7 @@ namespace Gdk {
public class Drawable : GLib.Object {
[CCode (has_construct_function = false)]
protected Drawable ();
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public unowned Gdk.Image copy_to_image (Gdk.Image image, int src_x, int src_y, int dest_x, int dest_y, int width, int height);
[NoWrapper]
public virtual unowned Cairo.Surface create_cairo_surface (int width, int height);
@@ -4678,7 +4678,7 @@ namespace Gdk {
public static unowned Gdk.Font load_for_display (Gdk.Display display, string font_name);
}
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public class GC : GLib.Object {
public int clip_x_origin;
public int clip_y_origin;
@@ -4715,7 +4715,7 @@ namespace Gdk {
public GC.with_values (Gdk.Drawable drawable, Gdk.GCValues values, Gdk.GCValuesMask values_mask);
}
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public class Image : GLib.Object {
public uint16 bits_per_pixel;
public uint16 bpl;
@@ -4791,15 +4791,15 @@ namespace Gdk {
public class Pixmap : Gdk.Drawable {
[CCode (has_construct_function = false)]
public Pixmap (Gdk.Drawable? drawable, int width, int height, int depth);
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public static unowned Gdk.Pixmap colormap_create_from_xpm (Gdk.Drawable drawable, Gdk.Colormap colormap, out unowned Gdk.Bitmap mask, Gdk.Color transparent_color, string filename);
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public static unowned Gdk.Pixmap colormap_create_from_xpm_d (Gdk.Drawable drawable, Gdk.Colormap colormap, out unowned Gdk.Bitmap mask, Gdk.Color transparent_color, string data);
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public static unowned Gdk.Pixmap create_from_data (Gdk.Drawable drawable, [CCode (array_length = false)] uint8[] data, int width, int height, int depth, Gdk.Color fg, Gdk.Color bg);
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public static unowned Gdk.Pixmap create_from_xpm (Gdk.Drawable drawable, out unowned Gdk.Bitmap mask, Gdk.Color transparent_color, string filename);
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public static unowned Gdk.Pixmap create_from_xpm_d (Gdk.Drawable drawable, out unowned Gdk.Bitmap mask, Gdk.Color transparent_color, string data);
public static unowned Gdk.Pixmap foreign_new (Gdk.NativeWindow anid);
public static unowned Gdk.Pixmap foreign_new_for_display (Gdk.Display display, Gdk.NativeWindow anid);
@@ -5406,16 +5406,16 @@ namespace Gdk {
public void union (Gdk.Rectangle src2, out Gdk.Rectangle dest);
}
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public struct RgbCmap {
[CCode (array_length = false)]
public weak uint32[] colors;
public int n_colors;
public weak GLib.SList info_list;
[CCode (has_construct_function = false)]
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public RgbCmap (uint32[] colors);
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public void free ();
}
[CCode (cheader_filename = "gdk/gdk.h")]
@@ -6015,7 +6015,7 @@ namespace Gdk {
[CCode (cheader_filename = "gdk/gdk.h", has_target = false)]
public delegate void InputFunction (void* data, int source, Gdk.InputCondition condition);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public delegate void SpanFunc (Gdk.Span span);
[CCode (cheader_filename = "gdk/gdk.h")]
public const int CURRENT_TIME;
@@ -6082,82 +6082,82 @@ namespace Gdk {
[CCode (cheader_filename = "gdk/gdk.h")]
public static void drag_status (Gdk.DragContext context, Gdk.DragAction action, uint32 time_);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public static void draw_arc (Gdk.Drawable drawable, Gdk.GC gc, bool filled, int x, int y, int width, int height, int angle1, int angle2);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public static void draw_drawable (Gdk.Drawable drawable, Gdk.GC gc, Gdk.Drawable src, int xsrc, int ysrc, int xdest, int ydest, int width, int height);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public static void draw_glyphs (Gdk.Drawable drawable, Gdk.GC gc, Pango.Font font, int x, int y, Pango.GlyphString glyphs);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public static void draw_glyphs_transformed (Gdk.Drawable drawable, Gdk.GC gc, Pango.Matrix matrix, Pango.Font font, int x, int y, Pango.GlyphString glyphs);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public static void draw_gray_image (Gdk.Drawable drawable, Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, [CCode (array_length = false)] uchar[] buf, int rowstride);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public static void draw_image (Gdk.Drawable drawable, Gdk.GC gc, Gdk.Image image, int xsrc, int ysrc, int xdest, int ydest, int width, int height);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public static void draw_indexed_image (Gdk.Drawable drawable, Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, [CCode (array_length = false)] uchar[] buf, int rowstride, Gdk.RgbCmap cmap);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public static void draw_layout (Gdk.Drawable drawable, Gdk.GC gc, int x, int y, Pango.Layout layout);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public static void draw_layout_line (Gdk.Drawable drawable, Gdk.GC gc, int x, int y, Pango.LayoutLine line);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public static void draw_layout_line_with_colors (Gdk.Drawable drawable, Gdk.GC gc, int x, int y, Pango.LayoutLine line, Gdk.Color foreground, Gdk.Color background);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public static void draw_layout_with_colors (Gdk.Drawable drawable, Gdk.GC gc, int x, int y, Pango.Layout layout, Gdk.Color foreground, Gdk.Color background);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public static void draw_line (Gdk.Drawable drawable, Gdk.GC gc, int x1_, int y1_, int x2_, int y2_);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public static void draw_lines (Gdk.Drawable drawable, Gdk.GC gc, Gdk.Point[] points);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public static void draw_pixbuf (Gdk.Drawable drawable, 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);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public static void draw_point (Gdk.Drawable drawable, Gdk.GC gc, int x, int y);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public static void draw_points (Gdk.Drawable drawable, Gdk.GC gc, Gdk.Point[] points);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public static void draw_polygon (Gdk.Drawable drawable, Gdk.GC gc, bool filled, Gdk.Point[] points);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public static void draw_rectangle (Gdk.Drawable drawable, Gdk.GC gc, bool filled, int x, int y, int width, int height);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public static void draw_rgb_32_image (Gdk.Drawable drawable, Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, [CCode (array_length = false)] uchar[] buf, int rowstride);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public static void draw_rgb_32_image_dithalign (Gdk.Drawable drawable, Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, [CCode (array_length = false)] uchar[] buf, int rowstride, int xdith, int ydith);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public static void draw_rgb_image (Gdk.Drawable drawable, Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, [CCode (array_length = false)] uchar[] rgb_buf, int rowstride);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public static void draw_rgb_image_dithalign (Gdk.Drawable drawable, Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, [CCode (array_length = false)] uchar[] rgb_buf, int rowstride, int xdith, int ydith);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public static void draw_segments (Gdk.Drawable drawable, Gdk.GC gc, Gdk.Segment[] segs);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public static void draw_text (Gdk.Drawable drawable, Gdk.Font font, Gdk.GC gc, int x, int y, string text, int text_length);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public static void draw_text_wc (Gdk.Drawable drawable, Gdk.Font font, Gdk.GC gc, int x, int y, Gdk.WChar text, int text_length);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public static void draw_trapezoids (Gdk.Drawable drawable, Gdk.GC gc, Gdk.Trapezoid[] trapezoids);
[CCode (cheader_filename = "gdk/gdk.h")]
public static void drop_finish (Gdk.DragContext context, bool success, uint32 time_);
@@ -6266,52 +6266,52 @@ namespace Gdk {
[CCode (cheader_filename = "gdk/gdk.h")]
public static void query_visual_types (out Gdk.VisualType visual_types, int count);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public static bool rgb_colormap_ditherable (Gdk.Colormap cmap);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public static bool rgb_ditherable ();
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public static void rgb_find_color (Gdk.Colormap colormap, ref Gdk.Color color);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public static unowned Gdk.Colormap rgb_get_colormap ();
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public static unowned Gdk.Visual rgb_get_visual ();
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public static void rgb_set_install (bool install);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public static void rgb_set_min_colors (int min_colors);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public static void rgb_set_verbose (bool verbose);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (replacement = "Selection.convert", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Selection.convert")]
public static void selection_convert (Gdk.Window requestor, Gdk.Atom selection, Gdk.Atom target, uint32 time_);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (replacement = "Selection.owner_get", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Selection.owner_get")]
public static unowned Gdk.Window selection_owner_get (Gdk.Atom selection);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (replacement = "Selection.owner_get_for_display", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Selection.owner_get_for_display")]
public static unowned Gdk.Window selection_owner_get_for_display (Gdk.Display display, Gdk.Atom selection);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (replacement = "Selection.owner_set", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Selection.owner_set")]
public static bool selection_owner_set (Gdk.Window owner, Gdk.Atom selection, uint32 time_, bool send_event);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (replacement = "Selection.owner_set_for_display", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Selection.owner_set_for_display")]
public static bool selection_owner_set_for_display (Gdk.Display display, Gdk.Window owner, Gdk.Atom selection, uint32 time_, bool send_event);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (replacement = "Selection.property_get", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Selection.property_get")]
public static int selection_property_get (Gdk.Window requestor, uchar[] data, out Gdk.Atom prop_type, int prop_format);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (replacement = "Selection.send_notify", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Selection.send_notify")]
public static void selection_send_notify (Gdk.NativeWindow requestor, Gdk.Atom selection, Gdk.Atom target, Gdk.Atom property, uint32 time_);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (replacement = "Selection.send_notify_for_display", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Selection.send_notify_for_display")]
public static void selection_send_notify_for_display (Gdk.Display display, Gdk.NativeWindow requestor, Gdk.Atom selection, Gdk.Atom target, Gdk.Atom property, uint32 time_);
[CCode (cheader_filename = "gdk/gdk.h")]
public static void set_double_click_time (uint msec);
diff --git a/vapi/gdk-3.0.vapi b/vapi/gdk-3.0.vapi
index d913d52c0..d7bed84ea 100644
--- a/vapi/gdk-3.0.vapi
+++ b/vapi/gdk-3.0.vapi
@@ -4550,29 +4550,37 @@ namespace Gdk {
[CCode (cheader_filename = "gdk/gdk.h")]
public static unowned Gdk.Window? owner_get (Gdk.Atom selection);
[CCode (cheader_filename = "gdk/gdk.h")]
+ [Version (since = "2.2")]
public static unowned Gdk.Window? owner_get_for_display (Gdk.Display display, Gdk.Atom selection);
[CCode (cheader_filename = "gdk/gdk.h")]
public static bool owner_set (Gdk.Window? owner, Gdk.Atom selection, uint32 time_, bool send_event);
[CCode (cheader_filename = "gdk/gdk.h")]
+ [Version (since = "2.2")]
public static bool owner_set_for_display (Gdk.Display display, Gdk.Window? owner, Gdk.Atom selection, uint32 time_, bool send_event);
[CCode (cheader_filename = "gdk/gdk.h")]
public static int property_get (Gdk.Window requestor, [CCode (array_length = false, type = "guchar**")] uint8[] data, Gdk.Atom prop_type, int prop_format);
[CCode (cheader_filename = "gdk/gdk.h")]
public static void send_notify (Gdk.Window requestor, Gdk.Atom selection, Gdk.Atom target, Gdk.Atom property, uint32 time_);
[CCode (cheader_filename = "gdk/gdk.h")]
+ [Version (since = "2.2")]
public static void send_notify_for_display (Gdk.Display display, Gdk.Window requestor, Gdk.Atom selection, Gdk.Atom target, Gdk.Atom property, uint32 time_);
}
[CCode (cheader_filename = "gdk/gdk.h", type_id = "gdk_app_launch_context_get_type ()")]
public class AppLaunchContext : GLib.AppLaunchContext {
[CCode (has_construct_function = false)]
- [Deprecated (since = "3.0")]
+ [Version (deprecated = true, deprecated_since = "3.0", since = "2.14")]
public AppLaunchContext ();
+ [Version (since = "2.14")]
public void set_desktop (int desktop);
- [Deprecated (since = "3.0")]
+ [Version (deprecated = true, deprecated_since = "3.0", since = "2.14")]
public void set_display (Gdk.Display display);
+ [Version (since = "2.14")]
public void set_icon (GLib.Icon? icon);
+ [Version (since = "2.14")]
public void set_icon_name (string? icon_name);
+ [Version (since = "2.14")]
public void set_screen (Gdk.Screen screen);
+ [Version (since = "2.14")]
public void set_timestamp (uint32 timestamp);
[NoAccessorMethod]
public Gdk.Display display { owned get; construct; }
@@ -4580,23 +4588,31 @@ namespace Gdk {
[CCode (cheader_filename = "gdk/gdk.h", type_id = "gdk_cursor_get_type ()")]
public class Cursor : GLib.Object {
[CCode (has_construct_function = false)]
- [Deprecated (since = "3.16")]
+ [Version (deprecated = true, deprecated_since = "3.16")]
public Cursor (Gdk.CursorType cursor_type);
[CCode (has_construct_function = false)]
+ [Version (since = "2.2")]
public Cursor.for_display (Gdk.Display display, Gdk.CursorType cursor_type);
[CCode (has_construct_function = false)]
+ [Version (since = "2.8")]
public Cursor.from_name (Gdk.Display display, string name);
[CCode (has_construct_function = false)]
+ [Version (since = "2.4")]
public Cursor.from_pixbuf (Gdk.Display display, Gdk.Pixbuf pixbuf, int x, int y);
[CCode (has_construct_function = false)]
+ [Version (since = "3.10")]
public Cursor.from_surface (Gdk.Display display, Cairo.Surface surface, double x, double y);
+ [Version (since = "2.22")]
public Gdk.CursorType get_cursor_type ();
+ [Version (since = "2.2")]
public unowned Gdk.Display get_display ();
+ [Version (since = "2.8")]
public Gdk.Pixbuf? get_image ();
+ [Version (since = "3.10")]
public Cairo.Surface? get_surface (out double x_hot, out double y_hot);
- [Deprecated (since = "3.0")]
+ [Version (deprecated = true, deprecated_since = "3.0")]
public Gdk.Cursor @ref ();
- [Deprecated (since = "3.0")]
+ [Version (deprecated = true, deprecated_since = "3.0")]
public void unref ();
public Gdk.CursorType cursor_type { get; construct; }
public Gdk.Display display { get; construct; }
@@ -4606,50 +4622,88 @@ namespace Gdk {
[CCode (has_construct_function = false)]
protected Device ();
public static void free_history ([CCode (array_length_cname = "n_events", array_length_pos = 1.1)] Gdk.TimeCoord[] events);
+ [Version (since = "3.0")]
public unowned Gdk.Device? get_associated_device ();
public bool get_axis ([CCode (array_length = false)] double[] axes, Gdk.AxisUse use, out double value);
+ [Version (since = "2.20")]
public Gdk.AxisUse get_axis_use (uint index_);
+ [Version (since = "3.0")]
public bool get_axis_value ([CCode (array_length = false)] double[] axes, Gdk.Atom axis_label, out double value);
+ [Version (since = "3.0")]
public Gdk.DeviceType get_device_type ();
+ [Version (since = "3.0")]
public unowned Gdk.Display get_display ();
+ [Version (since = "2.20")]
public bool get_has_cursor ();
public bool get_history (Gdk.Window window, uint32 start, uint32 stop, [CCode (array_length_cname = "n_events", array_length_pos = 4.1)] out Gdk.TimeCoord[] events);
+ [Version (since = "2.20")]
public bool get_key (uint index_, out uint keyval, out Gdk.ModifierType modifiers);
+ [Version (since = "3.12")]
public unowned Gdk.Window? get_last_event_window ();
+ [Version (since = "2.20")]
public Gdk.InputMode get_mode ();
+ [Version (since = "3.0")]
public int get_n_axes ();
+ [Version (since = "2.24")]
public int get_n_keys ();
+ [Version (since = "2.20")]
public unowned string get_name ();
+ [Version (since = "3.0")]
public void get_position (out unowned Gdk.Screen screen, out int x, out int y);
+ [Version (since = "3.10")]
public void get_position_double (out unowned Gdk.Screen screen, out double x, out double y);
+ [Version (since = "3.16")]
public unowned string? get_product_id ();
+ [Version (since = "3.20")]
+ public unowned Gdk.Seat get_seat ();
+ [Version (since = "2.20")]
public Gdk.InputSource get_source ();
public void get_state (Gdk.Window window, [CCode (array_length = false)] double[]? axes, out Gdk.ModifierType mask);
+ [Version (since = "3.16")]
public unowned string? get_vendor_id ();
+ [Version (since = "3.0")]
public unowned Gdk.Window? get_window_at_position (out int win_x, out int win_y);
+ [Version (since = "3.0")]
public unowned Gdk.Window? get_window_at_position_double (out double win_x, out double win_y);
+ [Version (deprecated = true, deprecated_since = "3.20.", since = "3.0")]
public Gdk.GrabStatus grab (Gdk.Window window, Gdk.GrabOwnership grab_ownership, bool owner_events, Gdk.EventMask event_mask, Gdk.Cursor? cursor, uint32 time_);
+ [Version (since = "3.0")]
public GLib.List<weak Gdk.Atom> list_axes ();
public GLib.List<weak Gdk.Device>? list_slave_devices ();
public void set_axis_use (uint index_, Gdk.AxisUse use);
public void set_key (uint index_, uint keyval, Gdk.ModifierType modifiers);
public bool set_mode (Gdk.InputMode mode);
+ [Version (deprecated = true, deprecated_since = "3.20.", since = "3.0")]
public void ungrab (uint32 time_);
+ [Version (since = "3.0")]
public void warp (Gdk.Screen screen, int x, int y);
+ [Version (since = "3.0")]
public Gdk.Device? associated_device { get; }
[NoAccessorMethod]
+ [Version (since = "3.0")]
public Gdk.DeviceManager device_manager { owned get; construct; }
+ [Version (since = "3.0")]
public Gdk.Display display { get; construct; }
+ [Version (since = "3.0")]
public bool has_cursor { get; construct; }
[NoAccessorMethod]
public Gdk.InputMode input_mode { get; set; }
[NoAccessorMethod]
+ [Version (since = "3.0")]
public Gdk.InputSource input_source { get; construct; }
+ [Version (since = "3.0")]
public uint n_axes { get; }
+ [Version (since = "3.0")]
public string? name { get; construct; }
+ [Version (since = "3.16")]
public string product_id { get; construct; }
[NoAccessorMethod]
+ [Version (since = "3.20")]
+ public Gdk.Seat seat { owned get; set; }
+ [NoAccessorMethod]
+ [Version (since = "3.0")]
public Gdk.DeviceType type { get; construct; }
+ [Version (since = "3.16")]
public string vendor_id { get; construct; }
public signal void changed ();
}
@@ -4657,8 +4711,11 @@ namespace Gdk {
public abstract class DeviceManager : GLib.Object {
[CCode (has_construct_function = false)]
protected DeviceManager ();
+ [Version (deprecated = true, deprecated_since = "3.20", since = "3.0")]
public unowned Gdk.Device get_client_pointer ();
+ [Version (since = "3.0")]
public unowned Gdk.Display? get_display ();
+ [Version (deprecated = true, deprecated_since = "3.20", since = "3.0")]
public GLib.List<weak Gdk.Device> list_devices (Gdk.DeviceType type);
public Gdk.Display display { get; construct; }
public signal void device_added (Gdk.Device device);
@@ -4669,120 +4726,206 @@ namespace Gdk {
public class Display : GLib.Object {
[CCode (has_construct_function = false)]
protected Display ();
+ [Version (since = "2.2")]
public void beep ();
+ [Version (since = "2.2")]
public void close ();
public bool device_is_grabbed (Gdk.Device device);
+ [Version (since = "2.4")]
public void flush ();
+ [Version (since = "3.0")]
public Gdk.AppLaunchContext get_app_launch_context ();
+ [Version (since = "2.2")]
public static unowned Gdk.Display? get_default ();
+ [Version (since = "2.4")]
public uint get_default_cursor_size ();
+ [Version (since = "2.4")]
public unowned Gdk.Window get_default_group ();
+ [Version (since = "2.2")]
public unowned Gdk.Screen get_default_screen ();
+ [Version (since = "3.20")]
+ public unowned Gdk.Seat get_default_seat ();
+ [Version (deprecated = true, deprecated_since = "3.20.", since = "3.0")]
public unowned Gdk.DeviceManager? get_device_manager ();
+ [Version (since = "2.2")]
public Gdk.Event? get_event ();
+ [Version (since = "2.4")]
public void get_maximal_cursor_size (out uint width, out uint height);
- [Deprecated (since = "3.10")]
+ [Version (deprecated = true, deprecated_since = "3.10", since = "2.2")]
public int get_n_screens ();
+ [Version (since = "2.2")]
public unowned string get_name ();
- [Deprecated (since = "3.0")]
+ [Version (deprecated = true, deprecated_since = "3.0", since = "2.2")]
public void get_pointer (out unowned Gdk.Screen screen, out int x, out int y, out Gdk.ModifierType mask);
- [Deprecated (since = "3.20")]
+ [Version (deprecated = true, deprecated_since = "3.20", since = "2.2")]
public unowned Gdk.Screen get_screen (int screen_num);
- [Deprecated (since = "3.0")]
+ [Version (deprecated = true, deprecated_since = "3.0", since = "2.2")]
public unowned Gdk.Window? get_window_at_pointer (out int win_x, out int win_y);
+ [Version (since = "3.0")]
public bool has_pending ();
+ [Version (since = "2.22")]
public bool is_closed ();
- [Deprecated (since = "3.0")]
+ [Version (deprecated = true, deprecated_since = "3.0", since = "2.2")]
public void keyboard_ungrab (uint32 time_);
- [Deprecated (since = "3.0")]
+ [Version (deprecated = true, deprecated_since = "3.0", since = "2.2")]
public unowned GLib.List<Gdk.Device> list_devices ();
+ [Version (since = "3.20")]
+ public GLib.List<weak Gdk.Seat> list_seats ();
+ [Version (since = "3.0")]
public void notify_startup_complete (string startup_id);
+ [Version (since = "2.2")]
public static unowned Gdk.Display? open (string display_name);
- [Deprecated (since = "3.16")]
+ [Version (deprecated = true, deprecated_since = "3.16")]
public static unowned Gdk.Display? open_default_libgtk_only ();
+ [Version (since = "2.2")]
public Gdk.Event? peek_event ();
- [Deprecated (since = "3.0")]
+ [Version (deprecated = true, deprecated_since = "3.0", since = "2.2")]
public bool pointer_is_grabbed ();
- [Deprecated (since = "3.0")]
+ [Version (deprecated = true, deprecated_since = "3.0", since = "2.2")]
public void pointer_ungrab (uint32 time_);
+ [Version (since = "2.2")]
public void put_event (Gdk.Event event);
+ [Version (since = "2.6")]
public bool request_selection_notification (Gdk.Atom selection);
+ [Version (since = "2.4")]
public void set_double_click_distance (uint distance);
+ [Version (since = "2.2")]
public void set_double_click_time (uint msec);
+ [Version (since = "2.6")]
public void store_clipboard (Gdk.Window clipboard_window, uint32 time_, [CCode (array_length_cname = "n_targets", array_length_pos = 3.1)] Gdk.Atom[] targets);
+ [Version (since = "2.6")]
public bool supports_clipboard_persistence ();
- [Deprecated (since = "3.16")]
+ [Version (deprecated = true, deprecated_since = "3.16", since = "2.12")]
public bool supports_composite ();
+ [Version (since = "2.4")]
public bool supports_cursor_alpha ();
+ [Version (since = "2.4")]
public bool supports_cursor_color ();
+ [Version (since = "2.10")]
public bool supports_input_shapes ();
+ [Version (since = "2.6")]
public bool supports_selection_notification ();
+ [Version (since = "2.10")]
public bool supports_shapes ();
+ [Version (since = "2.2")]
public void sync ();
- [Deprecated (since = "3.0")]
+ [Version (deprecated = true, deprecated_since = "3.0", since = "2.8")]
public void warp_pointer (Gdk.Screen screen, int x, int y);
+ [Version (since = "2.2")]
public signal void closed (bool is_error);
public signal void opened ();
+ [Version (since = "3.20")]
+ public signal void seat_added (Gdk.Seat seat);
+ [Version (since = "3.20")]
+ public signal void seat_removed (Gdk.Seat seat);
}
[CCode (cheader_filename = "gdk/gdk.h", type_id = "gdk_display_manager_get_type ()")]
public class DisplayManager : GLib.Object {
[CCode (has_construct_function = false)]
protected DisplayManager ();
+ [Version (since = "2.2")]
public static unowned Gdk.DisplayManager @get ();
+ [Version (since = "2.2")]
public unowned Gdk.Display? get_default_display ();
+ [Version (since = "2.2")]
public GLib.SList<weak Gdk.Display> list_displays ();
+ [Version (since = "3.0")]
public unowned Gdk.Display? open_display (string name);
+ [Version (since = "2.2")]
public void set_default_display (Gdk.Display display);
public Gdk.Display default_display { get; set; }
+ [Version (since = "2.2")]
public signal void display_opened (Gdk.Display display);
}
[CCode (cheader_filename = "gdk/gdk.h", type_id = "gdk_drag_context_get_type ()")]
public class DragContext : GLib.Object {
[CCode (has_construct_function = false)]
protected DragContext ();
+ [Version (since = "2.22")]
public Gdk.DragAction get_actions ();
+ [Version (since = "3.0")]
public unowned Gdk.Window get_dest_window ();
public unowned Gdk.Device get_device ();
+ [Version (since = "3.20")]
+ public unowned Gdk.Window get_drag_window ();
+ [Version (since = "3.0")]
public Gdk.DragProtocol get_protocol ();
+ [Version (since = "2.22")]
public Gdk.DragAction get_selected_action ();
+ [Version (since = "2.22")]
public unowned Gdk.Window get_source_window ();
+ [Version (since = "2.22")]
public Gdk.DragAction get_suggested_action ();
+ [Version (since = "2.22")]
public unowned GLib.List<Gdk.Atom> list_targets ();
+ public bool manage_dnd (Gdk.Window ipc_window, Gdk.DragAction actions);
public void set_device (Gdk.Device device);
+ [Version (since = "3.20")]
+ public void set_hotspot (int hot_x, int hot_y);
+ [Version (since = "3.20")]
+ public signal void action_changed (Gdk.DragAction action);
+ [Version (since = "3.20")]
+ public signal void cancel ();
+ [Version (since = "3.20")]
+ public signal void dnd_finished ();
+ [Version (since = "3.20")]
+ public signal void drop_performed (int time);
}
[CCode (cheader_filename = "gdk/gdk.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gdk_event_get_type ()")]
[Compact]
public class Event {
public Gdk.EventType type;
[CCode (has_construct_function = false)]
+ [Version (since = "2.2")]
public Event (Gdk.EventType type);
public Gdk.Event copy ();
public void free ();
public static Gdk.Event? @get ();
public bool get_axis (Gdk.AxisUse axis_use, out double value);
+ [Version (since = "3.2")]
public bool get_button (out uint button);
+ [Version (since = "3.2")]
public bool get_click_count (out uint click_count);
public bool get_coords (out double x_win, out double y_win);
+ [Version (since = "3.0")]
public unowned Gdk.Device? get_device ();
+ [Version (since = "3.4")]
public unowned Gdk.EventSequence get_event_sequence ();
+ [Version (since = "3.10")]
public Gdk.EventType get_event_type ();
+ [Version (since = "3.2")]
public bool get_keycode (out uint16 keycode);
+ [Version (since = "3.2")]
public bool get_keyval (out uint keyval);
public bool get_root_coords (out double x_root, out double y_root);
+ [Version (since = "2.2")]
public unowned Gdk.Screen get_screen ();
+ [Version (since = "3.4")]
public bool get_scroll_deltas (out double delta_x, out double delta_y);
+ [Version (since = "3.2")]
public bool get_scroll_direction (out Gdk.ScrollDirection direction);
+ [Version (since = "3.20")]
+ public unowned Gdk.Seat get_seat ();
+ [Version (since = "3.0")]
public unowned Gdk.Device? get_source_device ();
public bool get_state (out Gdk.ModifierType state);
public uint32 get_time ();
+ [Version (since = "3.10")]
public unowned Gdk.Window get_window ();
public static void handler_set (owned Gdk.EventFunc func);
+ [Version (since = "3.20")]
+ public bool is_scroll_stop_event ();
public static Gdk.Event? peek ();
public void put ();
+ [Version (since = "2.12")]
public static void request_motions (Gdk.EventMotion event);
+ [Version (since = "3.0")]
public void set_device (Gdk.Device device);
+ [Version (since = "2.2")]
public void set_screen (Gdk.Screen screen);
+ [Version (since = "3.0")]
public void set_source_device (Gdk.Device device);
+ [Version (since = "3.4")]
public bool triggers_context_menu ();
public Gdk.EventAny any {[CCode (cname = "(GdkEventAny *)")] get; }
public Gdk.EventButton button {[CCode (cname = "(GdkEventButton *)")] get; }
@@ -4888,6 +5031,7 @@ namespace Gdk {
}
[CCode (cheader_filename = "gdk/gdk.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gdk_event_get_type ()")]
[Compact]
+ [Version (since = "2.8")]
public class EventGrabBroken : Gdk.Event {
public weak Gdk.Window grab_window;
public bool implicit;
@@ -4931,6 +5075,7 @@ namespace Gdk {
}
[CCode (cheader_filename = "gdk/gdk.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gdk_event_get_type ()")]
[Compact]
+ [Version (since = "2.6")]
public class EventOwnerChange : Gdk.Event {
public weak Gdk.Window owner;
public Gdk.OwnerChange reason;
@@ -4967,6 +5112,7 @@ namespace Gdk {
public double delta_y;
public weak Gdk.Device device;
public Gdk.ScrollDirection direction;
+ public uint is_stop;
public int8 send_event;
public Gdk.ModifierType state;
public uint32 time;
@@ -5057,7 +5203,7 @@ namespace Gdk {
}
[CCode (cheader_filename = "gdk/gdk.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gdk_event_get_type ()")]
[Compact]
- [Deprecated (since = "3.12")]
+ [Version (deprecated = true, deprecated_since = "3.12")]
public class EventVisibility : Gdk.Event {
public int8 send_event;
public Gdk.VisibilityState state;
@@ -5077,14 +5223,23 @@ namespace Gdk {
public abstract class FrameClock : GLib.Object {
[CCode (has_construct_function = false)]
protected FrameClock ();
+ [Version (since = "3.8")]
public void begin_updating ();
+ [Version (since = "3.8")]
public void end_updating ();
+ [Version (since = "3.8")]
public Gdk.FrameTimings? get_current_timings ();
+ [Version (since = "3.8")]
public int64 get_frame_counter ();
+ [Version (since = "3.8")]
public int64 get_frame_time ();
+ [Version (since = "3.8")]
public int64 get_history_start ();
+ [Version (since = "3.8")]
public void get_refresh_info (int64 base_time, int64 refresh_interval_return, int64 presentation_time_return);
+ [Version (since = "3.8")]
public Gdk.FrameTimings? get_timings (int64 frame_counter);
+ [Version (since = "3.8")]
public void request_phase (Gdk.FrameClockPhase phase);
public signal void after_paint ();
public signal void before_paint ();
@@ -5097,106 +5252,200 @@ namespace Gdk {
[CCode (cheader_filename = "gdk/gdk.h", ref_function = "gdk_frame_timings_ref", type_id = "gdk_frame_timings_get_type ()", unref_function = "gdk_frame_timings_unref")]
[Compact]
public class FrameTimings {
+ [Version (since = "3.8")]
public bool get_complete ();
+ [Version (since = "3.8")]
public int64 get_frame_counter ();
public int64 get_frame_time ();
+ [Version (since = "3.8")]
public int64 get_predicted_presentation_time ();
+ [Version (since = "3.8")]
public int64 get_presentation_time ();
+ [Version (since = "3.8")]
public int64 get_refresh_interval ();
+ [Version (since = "3.8")]
public Gdk.FrameTimings @ref ();
+ [Version (since = "3.8")]
public void unref ();
}
[CCode (cheader_filename = "gdk/gdk.h", type_id = "gdk_gl_context_get_type ()")]
public abstract class GLContext : GLib.Object {
[CCode (has_construct_function = false)]
protected GLContext ();
+ [Version (since = "3.16")]
public static void clear_current ();
+ [Version (since = "3.16")]
public static unowned Gdk.GLContext get_current ();
+ [Version (since = "3.16")]
public bool get_debug_enabled ();
+ [Version (since = "3.16")]
public unowned Gdk.Display get_display ();
+ [Version (since = "3.16")]
public bool get_forward_compatible ();
+ [Version (since = "3.16")]
public void get_required_version (out int? major, out int? minor);
+ [Version (since = "3.16")]
public unowned Gdk.GLContext get_shared_context ();
+ [Version (since = "3.16")]
public void get_version (out int major, out int minor);
+ [Version (since = "3.16")]
public unowned Gdk.Window get_window ();
+ [Version (since = "3.20")]
public bool is_legacy ();
+ [Version (since = "3.16")]
public void make_current ();
+ [Version (since = "3.16")]
public bool realize () throws GLib.Error;
+ [Version (since = "3.16")]
public void set_debug_enabled (bool enabled);
+ [Version (since = "3.16")]
public void set_forward_compatible (bool compatible);
+ [Version (since = "3.16")]
public void set_required_version (int major, int minor);
+ [Version (since = "3.16")]
public Gdk.Display display { get; construct; }
+ [Version (since = "3.16")]
public Gdk.GLContext shared_context { get; construct; }
+ [Version (since = "3.16")]
public Gdk.Window window { get; construct; }
}
[CCode (cheader_filename = "gdk/gdk.h", type_id = "gdk_keymap_get_type ()")]
public class Keymap : GLib.Object {
[CCode (has_construct_function = false)]
protected Keymap ();
+ [Version (since = "2.20")]
public void add_virtual_modifiers (ref Gdk.ModifierType state);
+ [Version (since = "2.16")]
public bool get_caps_lock_state ();
public static unowned Gdk.Keymap get_default ();
public Pango.Direction get_direction ();
public bool get_entries_for_keycode (uint hardware_keycode, [CCode (array_length_cname = "n_entries", array_length_pos = 3.1)] out Gdk.KeymapKey[] keys, [CCode (array_length_cname = "n_entries", array_length_pos = 3.1)] out uint[] keyvals);
public bool get_entries_for_keyval (uint keyval, [CCode (array_length_cname = "n_keys", array_length_pos = 2.1)] out Gdk.KeymapKey[] keys);
+ [Version (since = "2.2")]
public static unowned Gdk.Keymap get_for_display (Gdk.Display display);
+ [Version (since = "3.4")]
public Gdk.ModifierType get_modifier_mask (Gdk.ModifierIntent intent);
+ [Version (since = "3.4")]
public uint get_modifier_state ();
+ [Version (since = "3.0")]
public bool get_num_lock_state ();
+ [Version (since = "3.18")]
public bool get_scroll_lock_state ();
+ [Version (since = "2.12")]
public bool have_bidi_layouts ();
public uint lookup_key (Gdk.KeymapKey key);
+ [Version (since = "2.20")]
public bool map_virtual_modifiers (ref Gdk.ModifierType state);
public bool translate_keyboard_state (uint hardware_keycode, Gdk.ModifierType state, int group, out uint keyval, out int effective_group, out int level, out Gdk.ModifierType consumed_modifiers);
+ [Version (since = "2.0")]
public signal void direction_changed ();
+ [Version (since = "2.2")]
public signal void keys_changed ();
+ [Version (since = "2.16")]
public signal void state_changed ();
}
[CCode (cheader_filename = "gdk/gdk.h")]
public class Screen : GLib.Object {
[CCode (has_construct_function = false)]
protected Screen ();
+ [Version (since = "2.10")]
public Gdk.Window? get_active_window ();
+ [Version (since = "2.2")]
public static unowned Gdk.Screen? get_default ();
+ [Version (since = "2.2")]
public unowned Gdk.Display get_display ();
+ [Version (since = "2.10")]
public unowned Cairo.FontOptions? get_font_options ();
+ [Version (since = "2.2")]
public int get_height ();
+ [Version (since = "2.2")]
public int get_height_mm ();
+ [Version (since = "2.2")]
public int get_monitor_at_point (int x, int y);
+ [Version (since = "2.2")]
public int get_monitor_at_window (Gdk.Window window);
public void get_monitor_geometry (int monitor_num, out Gdk.Rectangle dest);
+ [Version (since = "2.14")]
public int get_monitor_height_mm (int monitor_num);
+ [Version (since = "2.14")]
public string? get_monitor_plug_name (int monitor_num);
+ [Version (since = "3.10")]
public int get_monitor_scale_factor (int monitor_num);
+ [Version (since = "2.14")]
public int get_monitor_width_mm (int monitor_num);
+ [Version (since = "3.4")]
public Gdk.Rectangle get_monitor_workarea (int monitor_num);
+ [Version (since = "2.2")]
public int get_n_monitors ();
+ [Version (since = "2.2")]
public int get_number ();
+ [Version (since = "2.20")]
public int get_primary_monitor ();
+ [Version (since = "2.10")]
public double get_resolution ();
+ [Version (since = "2.8")]
public unowned Gdk.Visual? get_rgba_visual ();
+ [Version (since = "2.2")]
public unowned Gdk.Window get_root_window ();
+ [Version (since = "2.2")]
public bool get_setting (string name, GLib.Value value);
+ [Version (since = "2.2")]
public unowned Gdk.Visual get_system_visual ();
+ [Version (since = "2.2")]
public GLib.List<weak Gdk.Window> get_toplevel_windows ();
+ [Version (since = "2.2")]
public int get_width ();
+ [Version (since = "2.2")]
public int get_width_mm ();
+ [Version (since = "2.10")]
public GLib.List<Gdk.Window>? get_window_stack ();
public static int height ();
public static int height_mm ();
+ [Version (since = "2.10")]
public bool is_composited ();
+ [Version (since = "2.2")]
public GLib.List<weak Gdk.Visual> list_visuals ();
+ [Version (since = "2.2")]
public string make_display_name ();
+ [Version (since = "2.10")]
public void set_font_options (Cairo.FontOptions? options);
+ [Version (since = "2.10")]
public void set_resolution (double dpi);
public static int width ();
public static int width_mm ();
public void* font_options { get; set; }
public double resolution { get; set; }
+ [Version (since = "2.10")]
public signal void composited_changed ();
+ [Version (since = "2.14")]
public signal void monitors_changed ();
+ [Version (since = "2.2")]
public signal void size_changed ();
}
+ [CCode (cheader_filename = "gdk/gdk.h", type_id = "gdk_seat_get_type ()")]
+ public abstract class Seat : GLib.Object {
+ [CCode (has_construct_function = false)]
+ protected Seat ();
+ [Version (since = "3.20")]
+ public Gdk.SeatCapabilities get_capabilities ();
+ public unowned Gdk.Display get_display ();
+ [Version (since = "3.20")]
+ public unowned Gdk.Device? get_keyboard ();
+ [Version (since = "3.20")]
+ public unowned Gdk.Device? get_pointer ();
+ [Version (since = "3.20")]
+ public GLib.List<weak Gdk.Device> get_slaves (Gdk.SeatCapabilities capabilities);
+ [Version (since = "3.20")]
+ public Gdk.GrabStatus grab (Gdk.Window window, Gdk.SeatCapabilities capabilities, bool owner_events, Gdk.Cursor? cursor, Gdk.Event? event, Gdk.SeatGrabPrepareFunc? prepare_func);
+ [Version (since = "3.20")]
+ public void ungrab ();
+ [Version (since = "3.20")]
+ public Gdk.Display display { get; construct; }
+ [Version (since = "3.20")]
+ public signal void device_added (Gdk.Device device);
+ [Version (since = "3.20")]
+ public signal void device_removed (Gdk.Device device);
+ }
[CCode (cheader_filename = "gdk/gdk.h", type_id = "gdk_visual_get_type ()")]
public class Visual : GLib.Object {
[CCode (has_construct_function = false)]
@@ -5207,15 +5456,24 @@ namespace Gdk {
public static unowned Gdk.Visual? get_best_with_both (int depth, Gdk.VisualType visual_type);
public static unowned Gdk.Visual get_best_with_depth (int depth);
public static unowned Gdk.Visual get_best_with_type (Gdk.VisualType visual_type);
+ [Version (since = "2.22")]
public int get_bits_per_rgb ();
+ [Version (since = "2.22")]
public void get_blue_pixel_details (out uint32 mask, out int shift, out int precision);
+ [Version (since = "2.22")]
public Gdk.ByteOrder get_byte_order ();
+ [Version (since = "2.22")]
public int get_colormap_size ();
+ [Version (since = "2.22")]
public int get_depth ();
+ [Version (since = "2.22")]
public void get_green_pixel_details (out uint32 mask, out int shift, out int precision);
+ [Version (since = "2.22")]
public void get_red_pixel_details (out uint32 mask, out int shift, out int precision);
+ [Version (since = "2.2")]
public unowned Gdk.Screen get_screen ();
public static unowned Gdk.Visual get_system ();
+ [Version (since = "2.22")]
public Gdk.VisualType get_visual_type ();
}
[CCode (cheader_filename = "gdk/gdk.h")]
@@ -5223,105 +5481,151 @@ namespace Gdk {
[CCode (has_construct_function = false)]
public Window (Gdk.Window? parent, Gdk.WindowAttr attributes, Gdk.WindowAttributesType attributes_mask);
public void add_filter (Gdk.FilterFunc function);
- [Deprecated (since = "3.0")]
+ [Version (deprecated = true, deprecated_since = "3.0")]
public static unowned Gdk.Window at_pointer (out int win_x, out int win_y);
+ [Version (since = "2.12")]
public void beep ();
public void begin_move_drag (int button, int root_x, int root_y, uint32 timestamp);
+ [Version (since = "3.4")]
public void begin_move_drag_for_device (Gdk.Device device, int button, int root_x, int root_y, uint32 timestamp);
public void begin_paint_rect (Gdk.Rectangle rectangle);
public void begin_paint_region (Cairo.Region region);
public void begin_resize_drag (Gdk.WindowEdge edge, int button, int root_x, int root_y, uint32 timestamp);
+ [Version (since = "3.4")]
public void begin_resize_drag_for_device (Gdk.WindowEdge edge, Gdk.Device device, int button, int root_x, int root_y, uint32 timestamp);
- [Deprecated (since = "3.8")]
+ [Version (deprecated = true, deprecated_since = "3.8", since = "2.6")]
public void configure_finished ();
public static void constrain_size (Gdk.Geometry geometry, Gdk.WindowHints flags, int width, int height, out int new_width, out int new_height);
+ [Version (since = "2.22")]
public void coords_from_parent (double parent_x, double parent_y, out double x, out double y);
+ [Version (since = "2.22")]
public void coords_to_parent (double x, double y, out double parent_x, out double parent_y);
+ [Version (since = "3.16")]
public Gdk.GLContext create_gl_context () throws GLib.Error;
+ [Version (since = "3.10")]
public Cairo.Surface create_similar_image_surface (int format, int width, int height, int scale);
+ [Version (since = "2.22")]
public Cairo.Surface create_similar_surface (Cairo.Content content, int width, int height);
public void deiconify ();
[DestroysInstance]
public void destroy ();
- [Deprecated (since = "3.8")]
+ [Version (deprecated = true, deprecated_since = "3.8", since = "2.6")]
public void enable_synchronized_configure ();
public void end_paint ();
+ [Version (since = "2.18")]
public bool ensure_native ();
- [Deprecated (since = "3.14")]
+ [Version (deprecated = true, deprecated_since = "3.14", since = "2.18")]
public void flush ();
public void focus (uint32 timestamp);
- [Deprecated (since = "3.16")]
+ [Version (deprecated = true, deprecated_since = "3.16")]
public void freeze_toplevel_updates_libgtk_only ();
public void freeze_updates ();
+ [Version (since = "2.2")]
public void fullscreen ();
public void fullscreen_on_monitor (int monitor);
+ [Version (since = "2.18")]
public void geometry_changed ();
+ [Version (since = "2.22")]
public bool get_accept_focus ();
+ [Version (since = "2.22")]
public unowned Cairo.Pattern? get_background_pattern ();
public GLib.List<weak Gdk.Window> get_children ();
+ [Version (since = "3.10")]
public GLib.List<weak Gdk.Window> get_children_with_user_data (void* user_data);
public Cairo.Region get_clip_region ();
- [Deprecated (since = "3.16")]
+ [Version (deprecated = true, deprecated_since = "3.16", since = "2.22")]
public bool get_composited ();
+ [Version (since = "2.18")]
public unowned Gdk.Cursor? get_cursor ();
public bool get_decorations (out Gdk.WMDecoration decorations);
+ [Version (since = "3.0")]
public unowned Gdk.Cursor? get_device_cursor (Gdk.Device device);
+ [Version (since = "3.0")]
public Gdk.EventMask get_device_events (Gdk.Device device);
+ [Version (since = "3.0")]
public unowned Gdk.Window? get_device_position (Gdk.Device device, out int x, out int y, out Gdk.ModifierType mask);
+ [Version (since = "3.10")]
public unowned Gdk.Window? get_device_position_double (Gdk.Device device, out double x, out double y, out Gdk.ModifierType mask);
+ [Version (since = "2.24")]
public unowned Gdk.Display get_display ();
+ [Version (since = "3.0")]
public Gdk.DragProtocol get_drag_protocol (out Gdk.Window target);
+ [Version (since = "2.22")]
public unowned Gdk.Window get_effective_parent ();
+ [Version (since = "2.22")]
public unowned Gdk.Window get_effective_toplevel ();
+ [Version (since = "3.12")]
public bool get_event_compression ();
public Gdk.EventMask get_events ();
+ [Version (since = "2.22")]
public bool get_focus_on_map ();
+ [Version (since = "3.8")]
public unowned Gdk.FrameClock get_frame_clock ();
public void get_frame_extents (out Gdk.Rectangle rect);
+ [Version (since = "3.8")]
public Gdk.FullscreenMode get_fullscreen_mode ();
public void get_geometry (out int x, out int y, out int width, out int height);
+ [Version (since = "2.4")]
public unowned Gdk.Window get_group ();
+ [Version (since = "2.24")]
public int get_height ();
+ [Version (since = "2.22")]
public bool get_modal_hint ();
public int get_origin (out int x, out int y);
public unowned Gdk.Window get_parent ();
+ [Version (since = "3.18")]
public bool get_pass_through ();
- [Deprecated (since = "3.0")]
+ [Version (deprecated = true, deprecated_since = "3.0")]
public unowned Gdk.Window? get_pointer (out int x, out int y, out Gdk.ModifierType mask);
public void get_position (out int x, out int y);
+ [Version (since = "2.18")]
public void get_root_coords (int x, int y, out int root_x, out int root_y);
public void get_root_origin (out int x, out int y);
+ [Version (since = "3.10")]
public int get_scale_factor ();
+ [Version (since = "2.24")]
public unowned Gdk.Screen get_screen ();
public Gdk.EventMask get_source_events (Gdk.InputSource source);
public Gdk.WindowState get_state ();
+ [Version (since = "3.0")]
public bool get_support_multidevice ();
public unowned Gdk.Window get_toplevel ();
+ [Version (since = "2.10")]
public Gdk.WindowTypeHint get_type_hint ();
public Cairo.Region get_update_area ();
public void get_user_data (out void* data);
public Cairo.Region get_visible_region ();
+ [Version (since = "2.24")]
public unowned Gdk.Visual get_visual ();
+ [Version (since = "2.24")]
public int get_width ();
public Gdk.WindowType get_window_type ();
+ [Version (since = "2.22")]
public bool has_native ();
public void hide ();
public void iconify ();
+ [Version (since = "2.10")]
public void input_shape_combine_region (Cairo.Region shape_region, int offset_x, int offset_y);
public void invalidate_maybe_recurse (Cairo.Region region, Gdk.WindowChildFunc? child_func);
public void invalidate_rect (Gdk.Rectangle? rect, bool invalidate_children);
public void invalidate_region (Cairo.Region region, bool invalidate_children);
+ [Version (since = "2.18")]
public bool is_destroyed ();
+ [Version (since = "2.22")]
public bool is_input_only ();
+ [Version (since = "2.22")]
public bool is_shaped ();
public bool is_viewable ();
public bool is_visible ();
public void lower ();
+ [Version (since = "3.16")]
public void mark_paint_from_clip (Cairo.Context cr);
public void maximize ();
+ [Version (since = "2.10")]
public void merge_child_input_shapes ();
public void merge_child_shapes ();
public void move (int x, int y);
+ [Version (since = "2.8")]
public void move_region (Cairo.Region region, int dx, int dy);
public void move_resize (int x, int y, int width, int height);
public unowned GLib.List<Gdk.Window> peek_children ();
@@ -5332,68 +5636,95 @@ namespace Gdk {
public void remove_filter (Gdk.FilterFunc function);
public void reparent (Gdk.Window new_parent, int x, int y);
public void resize (int width, int height);
+ [Version (since = "2.18")]
public void restack (Gdk.Window? sibling, bool above);
public void scroll (int dx, int dy);
+ [Version (since = "2.4")]
public void set_accept_focus (bool accept_focus);
- [Deprecated (since = "3.4")]
+ [Version (deprecated = true, deprecated_since = "3.4")]
public void set_background (Gdk.Color color);
public void set_background_pattern (Cairo.Pattern? pattern);
public void set_background_rgba (Gdk.RGBA rgba);
+ [Version (since = "2.10")]
public void set_child_input_shapes ();
public void set_child_shapes ();
- [Deprecated (since = "3.16")]
+ [Version (deprecated = true, deprecated_since = "3.16", since = "2.12")]
public void set_composited (bool composited);
public void set_cursor (Gdk.Cursor? cursor);
public static void set_debug_updates (bool setting);
public void set_decorations (Gdk.WMDecoration decorations);
+ [Version (since = "3.0")]
public void set_device_cursor (Gdk.Device device, Gdk.Cursor cursor);
+ [Version (since = "3.0")]
public void set_device_events (Gdk.Device device, Gdk.EventMask event_mask);
+ [Version (since = "3.12")]
public void set_event_compression (bool event_compression);
public void set_events (Gdk.EventMask event_mask);
+ [Version (since = "2.6")]
public void set_focus_on_map (bool focus_on_map);
+ [Version (since = "3.8")]
public void set_fullscreen_mode (Gdk.FullscreenMode mode);
public void set_functions (Gdk.WMFunction functions);
public void set_geometry_hints (Gdk.Geometry geometry, Gdk.WindowHints geom_mask);
public void set_group (Gdk.Window? leader);
public void set_icon_list (GLib.List<Gdk.Pixbuf> pixbufs);
public void set_icon_name (string? name);
+ [Version (since = "2.4")]
public void set_keep_above (bool setting);
+ [Version (since = "2.4")]
public void set_keep_below (bool setting);
public void set_modal_hint (bool modal);
+ [Version (since = "2.12")]
public void set_opacity (double opacity);
+ [Version (since = "3.10")]
public void set_opaque_region (Cairo.Region? region);
public void set_override_redirect (bool override_redirect);
+ [Version (since = "3.18")]
public void set_pass_through (bool pass_through);
public void set_role (string role);
+ [Version (since = "3.12")]
public void set_shadow_width (int left, int right, int top, int bottom);
+ [Version (since = "2.2")]
public void set_skip_pager_hint (bool skips_pager);
+ [Version (since = "2.2")]
public void set_skip_taskbar_hint (bool skips_taskbar);
+ [Version (since = "3.0")]
public void set_source_events (Gdk.InputSource source, Gdk.EventMask event_mask);
+ [Version (since = "2.12")]
public void set_startup_id (string startup_id);
- [Deprecated (since = "3.16")]
+ [Version (deprecated = true, deprecated_since = "3.16")]
public bool set_static_gravities (bool use_static);
+ [Version (since = "3.0")]
public void set_support_multidevice (bool support_multidevice);
public void set_title (string title);
public void set_transient_for (Gdk.Window parent);
public void set_type_hint (Gdk.WindowTypeHint hint);
+ [Version (since = "2.8")]
public void set_urgency_hint (bool urgent);
public void set_user_data (GLib.Object? user_data);
public void shape_combine_region (Cairo.Region? shape_region, int offset_x, int offset_y);
public void show ();
public void show_unraised ();
+ [Version (since = "3.14")]
public bool show_window_menu (Gdk.Event event);
public void stick ();
- [Deprecated (since = "3.16")]
+ [Version (deprecated = true, deprecated_since = "3.16")]
public void thaw_toplevel_updates_libgtk_only ();
public void thaw_updates ();
+ [Version (since = "2.2")]
public void unfullscreen ();
public void unmaximize ();
public void unstick ();
public void withdraw ();
+ [Version (since = "2.18")]
public Gdk.Cursor cursor { get; set; }
+ [Version (since = "3.0")]
public virtual signal Cairo.Surface create_surface (int width, int height);
+ [Version (since = "2.18")]
public virtual signal void from_embedder (double embedder_x, double embedder_y, out double offscreen_x, out double offscreen_y);
+ [Version (since = "2.18")]
public signal unowned Gdk.Window? pick_embedded_child (double x, double y);
+ [Version (since = "2.18")]
public virtual signal void to_embedder (double offscreen_x, double offscreen_y, out double embedder_x, out double embedder_y);
}
[CCode (cheader_filename = "gdk/gdk.h", ref_function = "", unref_function = "")]
@@ -5406,11 +5737,12 @@ namespace Gdk {
[CCode (cname = "GDK_NONE")]
public static Gdk.Atom NONE;
public static Gdk.Atom intern (string atom_name, bool only_if_exists);
+ [Version (since = "2.10")]
public static Gdk.Atom intern_static_string (string atom_name);
public string name ();
}
[CCode (cheader_filename = "gdk/gdk.h", type_id = "gdk_color_get_type ()")]
- [Deprecated (since = "3.14")]
+ [Version (deprecated = true, deprecated_since = "3.14")]
public struct Color {
public uint32 pixel;
public uint16 red;
@@ -5421,6 +5753,7 @@ namespace Gdk {
public void free ();
public uint hash ();
public static bool parse (string spec, out Gdk.Color color);
+ [Version (since = "2.12")]
public string to_string ();
}
[CCode (cheader_filename = "gdk/gdk.h", has_type_id = false)]
@@ -5454,11 +5787,17 @@ namespace Gdk {
public double green;
public double blue;
public double alpha;
+ [Version (since = "3.0")]
public Gdk.RGBA? copy ();
+ [Version (since = "3.0")]
public bool equal (Gdk.RGBA p2);
+ [Version (since = "3.0")]
public void free ();
+ [Version (since = "3.0")]
public uint hash ();
+ [Version (since = "3.0")]
public bool parse (string spec);
+ [Version (since = "3.0")]
public string to_string ();
}
[CCode (cheader_filename = "gdk/gdk.h")]
@@ -5713,6 +6052,7 @@ namespace Gdk {
}
[CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_FRAME_CLOCK_PHASE_", type_id = "gdk_frame_clock_phase_get_type ()")]
[Flags]
+ [Version (since = "3.8")]
public enum FrameClockPhase {
NONE,
FLUSH_EVENTS,
@@ -5724,6 +6064,7 @@ namespace Gdk {
AFTER_PAINT
}
[CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_FULLSCREEN_ON_", type_id = "gdk_fullscreen_mode_get_type ()")]
+ [Version (since = "3.8")]
public enum FullscreenMode {
CURRENT_MONITOR,
ALL_MONITORS
@@ -5773,6 +6114,7 @@ namespace Gdk {
TOUCHPAD
}
[CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_MODIFIER_INTENT_", type_id = "gdk_modifier_intent_get_type ()")]
+ [Version (since = "3.4")]
public enum ModifierIntent {
PRIMARY_ACCELERATOR,
CONTEXT_MENU,
@@ -5838,6 +6180,18 @@ namespace Gdk {
RIGHT,
SMOOTH
}
+ [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_SEAT_CAPABILITY_", type_id = "gdk_seat_capabilities_get_type ()")]
+ [Flags]
+ [Version (since = "3.20")]
+ public enum SeatCapabilities {
+ NONE,
+ POINTER,
+ TOUCH,
+ TABLET_STYLUS,
+ KEYBOARD,
+ ALL_POINTING,
+ ALL
+ }
[CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_SETTING_ACTION_", type_id = "gdk_setting_action_get_type ()")]
public enum SettingAction {
NEW,
@@ -5979,6 +6333,7 @@ namespace Gdk {
INPUT_ONLY
}
[CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_GL_ERROR_")]
+ [Version (since = "3.16")]
public errordomain GLError {
NOT_AVAILABLE,
UNSUPPORTED_FORMAT,
@@ -5989,21 +6344,30 @@ namespace Gdk {
public delegate void EventFunc (Gdk.Event event);
[CCode (cheader_filename = "gdk/gdk.h", instance_pos = 2.9)]
public delegate Gdk.FilterReturn FilterFunc (Gdk.XEvent xevent, Gdk.Event event);
+ [CCode (cheader_filename = "gdk/gdk.h", instance_pos = 2.9)]
+ [Version (since = "3.20")]
+ public delegate void SeatGrabPrepareFunc (Gdk.Seat seat, Gdk.Window window);
[CCode (cheader_filename = "gdk/gdk.h", instance_pos = 1.9)]
public delegate bool WindowChildFunc (Gdk.Window window);
[CCode (cheader_filename = "gdk/gdk.h", has_target = false)]
+ [Version (since = "3.10")]
public delegate void WindowInvalidateHandlerFunc (Gdk.Window window, Cairo.Region region);
[CCode (cheader_filename = "gdk/gdk.h", cname = "GDK_BUTTON_MIDDLE")]
+ [Version (since = "3.4")]
public const int BUTTON_MIDDLE;
[CCode (cheader_filename = "gdk/gdk.h", cname = "GDK_BUTTON_PRIMARY")]
+ [Version (since = "3.4")]
public const int BUTTON_PRIMARY;
[CCode (cheader_filename = "gdk/gdk.h", cname = "GDK_BUTTON_SECONDARY")]
+ [Version (since = "3.4")]
public const int BUTTON_SECONDARY;
[CCode (cheader_filename = "gdk/gdk.h", cname = "GDK_CURRENT_TIME")]
public const int CURRENT_TIME;
[CCode (cheader_filename = "gdk/gdk.h", cname = "GDK_EVENT_PROPAGATE")]
+ [Version (since = "3.4")]
public const bool EVENT_PROPAGATE;
[CCode (cheader_filename = "gdk/gdk.h", cname = "GDK_EVENT_STOP")]
+ [Version (since = "3.4")]
public const bool EVENT_STOP;
[CCode (cheader_filename = "gdk/gdk.h", cname = "GDK_MAX_TIMECOORD_AXES")]
public const int MAX_TIMECOORD_AXES;
@@ -6018,34 +6382,43 @@ namespace Gdk {
[CCode (cheader_filename = "gdk/gdk.h")]
public const Gdk.Atom SELECTION_SECONDARY;
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "3.16")]
+ [Version (deprecated = true, deprecated_since = "3.16")]
public static void add_option_entries_libgtk_only (GLib.OptionGroup group);
[CCode (cheader_filename = "gdk/gdk.h")]
public static void beep ();
[CCode (cheader_filename = "gdk/gdk.h")]
+ [Version (since = "2.8")]
public static Cairo.Context cairo_create (Gdk.Window window);
[CCode (cheader_filename = "gdk/gdk.h")]
+ [Version (since = "3.16")]
public static void cairo_draw_from_gl (Cairo.Context cr, Gdk.Window window, int source, int source_type, int buffer_scale, int x, int y, int width, int height);
[CCode (cheader_filename = "gdk/gdk.h")]
public static bool cairo_get_clip_rectangle (Cairo.Context cr, out Gdk.Rectangle rect);
[CCode (cheader_filename = "gdk/gdk.h")]
+ [Version (since = "2.8")]
public static void cairo_rectangle (Cairo.Context cr, Gdk.Rectangle rectangle);
[CCode (cheader_filename = "gdk/gdk.h")]
+ [Version (since = "2.8")]
public static void cairo_region (Cairo.Context cr, Cairo.Region region);
[CCode (cheader_filename = "gdk/gdk.h")]
public static Cairo.Region cairo_region_create_from_surface (Cairo.Surface surface);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "3.4")]
+ [Version (deprecated = true, deprecated_since = "3.4", since = "2.8")]
public static void cairo_set_source_color (Cairo.Context cr, Gdk.Color color);
[CCode (cheader_filename = "gdk/gdk.h")]
+ [Version (since = "2.8")]
public static void cairo_set_source_pixbuf (Cairo.Context cr, Gdk.Pixbuf pixbuf, double pixbuf_x, double pixbuf_y);
[CCode (cheader_filename = "gdk/gdk.h")]
+ [Version (since = "3.0")]
public static void cairo_set_source_rgba (Cairo.Context cr, Gdk.RGBA rgba);
[CCode (cheader_filename = "gdk/gdk.h")]
+ [Version (since = "2.24")]
public static void cairo_set_source_window (Cairo.Context cr, Gdk.Window window, double x, double y);
[CCode (cheader_filename = "gdk/gdk.h")]
+ [Version (since = "3.10")]
public static Cairo.Surface cairo_surface_create_from_pixbuf (Gdk.Pixbuf pixbuf, int scale, Gdk.Window? for_window);
[CCode (cheader_filename = "gdk/gdk.h")]
+ [Version (since = "3.0")]
public static void disable_multidevice ();
[CCode (cheader_filename = "gdk/gdk.h")]
public static void drag_abort (Gdk.DragContext context, uint32 time_);
@@ -6054,10 +6427,18 @@ namespace Gdk {
[CCode (cheader_filename = "gdk/gdk.h")]
public static Gdk.DragContext drag_begin_for_device (Gdk.Window window, Gdk.Device device, GLib.List<Gdk.Atom> targets);
[CCode (cheader_filename = "gdk/gdk.h")]
+ [Version (since = "3.20")]
+ public static Gdk.DragContext drag_begin_from_point (Gdk.Window window, Gdk.Device device, GLib.List<Gdk.Atom> targets, int x_root, int y_root);
+ [CCode (cheader_filename = "gdk/gdk.h")]
public static void drag_drop (Gdk.DragContext context, uint32 time_);
[CCode (cheader_filename = "gdk/gdk.h")]
+ [Version (since = "3.20")]
+ public static void drag_drop_done (Gdk.DragContext context, bool success);
+ [CCode (cheader_filename = "gdk/gdk.h")]
+ [Version (since = "2.6")]
public static bool drag_drop_succeeded (Gdk.DragContext context);
[CCode (cheader_filename = "gdk/gdk.h")]
+ [Version (since = "2.2")]
public static void drag_find_window_for_screen (Gdk.DragContext context, Gdk.Window drag_window, Gdk.Screen screen, int x_root, int y_root, out Gdk.Window dest_window, out Gdk.DragProtocol protocol);
[CCode (cheader_filename = "gdk/gdk.h")]
public static Gdk.Atom drag_get_selection (Gdk.DragContext context);
@@ -6072,14 +6453,18 @@ namespace Gdk {
[CCode (cheader_filename = "gdk/gdk.h")]
public static int error_trap_pop ();
[CCode (cheader_filename = "gdk/gdk.h")]
+ [Version (since = "3.0")]
public static void error_trap_pop_ignored ();
[CCode (cheader_filename = "gdk/gdk.h")]
public static void error_trap_push ();
[CCode (cheader_filename = "gdk/gdk.h")]
+ [Version (since = "3.0")]
public static bool events_get_angle (Gdk.Event event1, Gdk.Event event2, out double angle);
[CCode (cheader_filename = "gdk/gdk.h")]
+ [Version (since = "3.0")]
public static bool events_get_center (Gdk.Event event1, Gdk.Event event2, out double x, out double y);
[CCode (cheader_filename = "gdk/gdk.h")]
+ [Version (since = "3.0")]
public static bool events_get_distance (Gdk.Event event1, Gdk.Event event2, out double distance);
[CCode (cheader_filename = "gdk/gdk.h")]
public static bool events_pending ();
@@ -6088,9 +6473,10 @@ namespace Gdk {
[CCode (cheader_filename = "gdk/gdk.h")]
public static unowned Gdk.Window get_default_root_window ();
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "3.8")]
+ [Version (deprecated = true, deprecated_since = "3.8")]
public static string get_display ();
[CCode (cheader_filename = "gdk/gdk.h")]
+ [Version (since = "2.2")]
public static unowned string? get_display_arg_name ();
[CCode (cheader_filename = "gdk/gdk.h")]
public static unowned string get_program_class ();
@@ -6101,10 +6487,10 @@ namespace Gdk {
[CCode (cheader_filename = "gdk/gdk.h")]
public static bool init_check ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[] argv);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "3.0")]
+ [Version (deprecated = true, deprecated_since = "3.0")]
public static Gdk.GrabStatus keyboard_grab (Gdk.Window window, bool owner_events, uint32 time_);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "3.0")]
+ [Version (deprecated = true, deprecated_since = "3.0")]
public static void keyboard_ungrab (uint32 time_);
[CCode (cheader_filename = "gdk/gdk.h")]
public static void keyval_convert_case (uint symbol, out uint lower, out uint upper);
@@ -6125,38 +6511,44 @@ namespace Gdk {
[CCode (cheader_filename = "gdk/gdk.h")]
public static GLib.List<weak Gdk.Visual> list_visuals ();
[CCode (cheader_filename = "gdk/gdk.h")]
+ [Version (since = "2.2")]
public static void notify_startup_complete ();
[CCode (cheader_filename = "gdk/gdk.h")]
+ [Version (since = "2.12")]
public static void notify_startup_complete_with_id (string startup_id);
[CCode (cheader_filename = "gdk/gdk.h")]
+ [Version (since = "2.18")]
public static unowned Gdk.Window? offscreen_window_get_embedder (Gdk.Window window);
[CCode (cheader_filename = "gdk/gdk.h")]
public static unowned Cairo.Surface? offscreen_window_get_surface (Gdk.Window window);
[CCode (cheader_filename = "gdk/gdk.h")]
+ [Version (since = "2.18")]
public static void offscreen_window_set_embedder (Gdk.Window window, Gdk.Window embedder);
[CCode (cheader_filename = "gdk/gdk.h")]
public static Pango.Context pango_context_get ();
[CCode (cheader_filename = "gdk/gdk.h")]
+ [Version (since = "2.2")]
public static Pango.Context pango_context_get_for_screen (Gdk.Screen screen);
[CCode (cheader_filename = "gdk/gdk.h")]
public static Cairo.Region pango_layout_get_clip_region (Pango.Layout layout, int x_origin, int y_origin, int index_ranges, int n_ranges);
[CCode (cheader_filename = "gdk/gdk.h")]
+ [Version (since = "2.2")]
public static void parse_args ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[] argv);
[CCode (cheader_filename = "gdk/gdk.h")]
public static Gdk.Pixbuf? pixbuf_get_from_surface (Cairo.Surface surface, int src_x, int src_y, int width, int height);
[CCode (cheader_filename = "gdk/gdk.h")]
public static Gdk.Pixbuf? pixbuf_get_from_window (Gdk.Window window, int src_x, int src_y, int width, int height);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "3.0")]
+ [Version (deprecated = true, deprecated_since = "3.0")]
public static Gdk.GrabStatus pointer_grab (Gdk.Window window, bool owner_events, Gdk.EventMask event_mask, Gdk.Window? confine_to, Gdk.Cursor? cursor, uint32 time_);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "3.0")]
+ [Version (deprecated = true, deprecated_since = "3.0")]
public static bool pointer_is_grabbed ();
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "3.0")]
+ [Version (deprecated = true, deprecated_since = "3.0")]
public static void pointer_ungrab (uint32 time_);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "3.16")]
+ [Version (deprecated = true, deprecated_since = "3.16")]
public static void pre_parse_libgtk_only ();
[CCode (cheader_filename = "gdk/gdk.h")]
public static void property_change (Gdk.Window window, Gdk.Atom property, Gdk.Atom type, int format, Gdk.PropMode mode, [CCode (array_length = false, type = "const guchar*")] uint8[] data, int nelements);
@@ -6169,30 +6561,31 @@ namespace Gdk {
[CCode (cheader_filename = "gdk/gdk.h")]
public static void query_visual_types ([CCode (array_length_cname = "count", array_length_pos = 1.1)] out unowned Gdk.VisualType[] visual_types);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (replacement = "Selection.convert", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Selection.convert")]
public static void selection_convert (Gdk.Window requestor, Gdk.Atom selection, Gdk.Atom target, uint32 time_);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (replacement = "Selection.owner_get", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Selection.owner_get")]
public static unowned Gdk.Window selection_owner_get (Gdk.Atom selection);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (replacement = "Selection.owner_get_for_display", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Selection.owner_get_for_display")]
public static unowned Gdk.Window selection_owner_get_for_display (Gdk.Display display, Gdk.Atom selection);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (replacement = "Selection.owner_set", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Selection.owner_set")]
public static bool selection_owner_set (Gdk.Window owner, Gdk.Atom selection, uint32 time_, bool send_event);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (replacement = "Selection.owner_set_for_display", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Selection.owner_set_for_display")]
public static bool selection_owner_set_for_display (Gdk.Display display, Gdk.Window owner, Gdk.Atom selection, uint32 time_, bool send_event);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (replacement = "Selection.property_get", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Selection.property_get")]
public static int selection_property_get (Gdk.Window requestor, uchar[] data, out Gdk.Atom prop_type, int prop_format);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (replacement = "Selection.send_notify", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Selection.send_notify")]
public static void selection_send_notify (Gdk.Window requestor, Gdk.Atom selection, Gdk.Atom target, Gdk.Atom property, uint32 time_);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (replacement = "Selection.send_notify_for_display", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Selection.send_notify_for_display")]
public static void selection_send_notify_for_display (Gdk.Display display, Gdk.Window requestor, Gdk.Atom selection, Gdk.Atom target, Gdk.Atom property, uint32 time_);
[CCode (cheader_filename = "gdk/gdk.h")]
+ [Version (since = "3.10")]
public static void set_allowed_backends (string backends);
[CCode (cheader_filename = "gdk/gdk.h")]
public static void set_double_click_time (uint msec);
@@ -6203,36 +6596,46 @@ namespace Gdk {
[CCode (cheader_filename = "gdk/gdk.h")]
public static bool setting_get (string name, GLib.Value value);
[CCode (cheader_filename = "gdk/gdk.h")]
+ [Version (since = "2.14")]
public static void test_render_sync (Gdk.Window window);
[CCode (cheader_filename = "gdk/gdk.h")]
+ [Version (since = "2.14")]
public static bool test_simulate_button (Gdk.Window window, int x, int y, uint button, Gdk.ModifierType modifiers, Gdk.EventType button_pressrelease);
[CCode (cheader_filename = "gdk/gdk.h")]
+ [Version (since = "2.14")]
public static bool test_simulate_key (Gdk.Window window, int x, int y, uint keyval, Gdk.ModifierType modifiers, Gdk.EventType key_pressrelease);
[CCode (cheader_filename = "gdk/gdk.h")]
+ [Version (since = "2.2")]
public static int text_property_to_utf8_list_for_display (Gdk.Display display, Gdk.Atom encoding, int format, [CCode (array_length_cname = "length", array_length_pos = 4.5)] uint8[] text, [CCode (array_length = false, array_null_terminated = true)] out string[] list);
[CCode (cheader_filename = "gdk/gdk.h")]
+ [Version (since = "2.12")]
public static uint threads_add_idle (GLib.SourceFunc function);
[CCode (cheader_filename = "gdk/gdk.h")]
+ [Version (since = "2.12")]
public static uint threads_add_idle_full (int priority, owned GLib.SourceFunc function);
[CCode (cheader_filename = "gdk/gdk.h")]
+ [Version (since = "2.12")]
public static uint threads_add_timeout (uint interval, GLib.SourceFunc function);
[CCode (cheader_filename = "gdk/gdk.h")]
+ [Version (since = "2.12")]
public static uint threads_add_timeout_full (int priority, uint interval, owned GLib.SourceFunc function);
[CCode (cheader_filename = "gdk/gdk.h")]
+ [Version (since = "2.14")]
public static uint threads_add_timeout_seconds (uint interval, GLib.SourceFunc function);
[CCode (cheader_filename = "gdk/gdk.h")]
+ [Version (since = "2.14")]
public static uint threads_add_timeout_seconds_full (int priority, uint interval, owned GLib.SourceFunc function);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "3.6")]
+ [Version (deprecated = true, deprecated_since = "3.6")]
public static void threads_enter ();
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "3.6")]
+ [Version (deprecated = true, deprecated_since = "3.6")]
public static void threads_init ();
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "3.6")]
+ [Version (deprecated = true, deprecated_since = "3.6")]
public static void threads_leave ();
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (since = "3.6")]
+ [Version (deprecated = true, deprecated_since = "3.6", since = "2.4")]
public static void threads_set_lock_functions (GLib.Callback enter_fn, GLib.Callback leave_fn);
[CCode (cheader_filename = "gdk/gdk.h")]
public static uint unicode_to_keyval (uint32 wc);
diff --git a/vapi/gdk-pixbuf-2.0.vapi b/vapi/gdk-pixbuf-2.0.vapi
index e533a9756..af405faf2 100644
--- a/vapi/gdk-pixbuf-2.0.vapi
+++ b/vapi/gdk-pixbuf-2.0.vapi
@@ -7,6 +7,7 @@ namespace Gdk {
[CCode (has_construct_function = false)]
public Pixbuf (Gdk.Colorspace colorspace, bool has_alpha, int bits_per_sample, int width, int height);
public Gdk.Pixbuf add_alpha (bool substitute_color, uint8 r, uint8 g, uint8 b);
+ [Version (since = "2.12")]
public Gdk.Pixbuf apply_embedded_orientation ();
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);
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, uint32 color1, uint32 color2);
@@ -14,68 +15,88 @@ namespace Gdk {
public Gdk.Pixbuf copy ();
public void copy_area (int src_x, int src_y, int width, int height, Gdk.Pixbuf dest_pixbuf, int dest_x, int dest_y);
public void fill (uint32 pixel);
+ [Version (since = "2.6")]
public Gdk.Pixbuf? flip (bool horizontal);
[CCode (has_construct_function = false)]
+ [Version (since = "2.32")]
public Pixbuf.from_bytes (GLib.Bytes data, Gdk.Colorspace colorspace, bool has_alpha, int bits_per_sample, int width, int height, int rowstride);
[CCode (has_construct_function = false)]
public Pixbuf.from_data ([CCode (array_length = false)] owned uint8[] data, Gdk.Colorspace colorspace, bool has_alpha, int bits_per_sample, int width, int height, int rowstride, [CCode (type = "GdkPixbufDestroyNotify")] Gdk.PixbufDestroyNotify? destroy_fn = GLib.free);
[CCode (has_construct_function = false)]
public Pixbuf.from_file (string filename) throws GLib.Error;
[CCode (has_construct_function = false)]
+ [Version (since = "2.6")]
public Pixbuf.from_file_at_scale (string filename, int width, int height, bool preserve_aspect_ratio) throws GLib.Error;
[CCode (has_construct_function = false)]
+ [Version (since = "2.4")]
public Pixbuf.from_file_at_size (string filename, int width, int height) throws GLib.Error;
[CCode (has_construct_function = false)]
- [Deprecated (since = "2.32")]
+ [Version (deprecated = true, deprecated_since = "2.32")]
public Pixbuf.from_inline ([CCode (array_length_cname = "data_length", array_length_pos = 0.5)] uint8[] data, bool copy_pixels = true) throws GLib.Error;
[CCode (cheader_filename = "gdk-pixbuf/gdk-pixdata.h")]
- [Deprecated (since = "2.32")]
+ [Version (deprecated = true, deprecated_since = "2.32")]
public static Gdk.Pixbuf from_pixdata (Gdk.Pixdata pixdata, bool copy_pixels = true) throws GLib.Error;
[CCode (has_construct_function = false)]
+ [Version (since = "2.26")]
public Pixbuf.from_resource (string resource_path) throws GLib.Error;
[CCode (has_construct_function = false)]
+ [Version (since = "2.26")]
public Pixbuf.from_resource_at_scale (string resource_path, int width, int height, bool preserve_aspect_ratio) throws GLib.Error;
[CCode (has_construct_function = false)]
+ [Version (since = "2.14")]
public Pixbuf.from_stream (GLib.InputStream stream, GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (cname = "gdk_pixbuf_new_from_stream_async", has_construct_function = false)]
+ [Version (since = "2.24")]
public async Pixbuf.from_stream_async (GLib.InputStream stream, GLib.Cancellable? cancellable) throws GLib.Error;
[CCode (has_construct_function = false)]
+ [Version (since = "2.14")]
public Pixbuf.from_stream_at_scale (GLib.InputStream stream, int width, int height, bool preserve_aspect_ratio, GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (cname = "gdk_pixbuf_new_from_stream_at_scale_async", finish_name = "gdk_pixbuf_new_from_stream_finish")]
public async Pixbuf.from_stream_at_scale_async (GLib.InputStream stream, int width, int height, bool preserve_aspect_ratio, GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (has_construct_function = false)]
public Pixbuf.from_xpm_data ([CCode (array_length = false, array_null_terminated = true)] string[] data);
public int get_bits_per_sample ();
+ [Version (since = "2.26")]
public size_t get_byte_length ();
public Gdk.Colorspace get_colorspace ();
+ [Version (since = "2.4")]
public static unowned Gdk.PixbufFormat? get_file_info (string filename, out int width, out int height);
+ [Version (since = "2.32")]
public static async unowned Gdk.PixbufFormat get_file_info_async (string filename, GLib.Cancellable? cancellable, out int width, out int height) throws GLib.Error;
+ [Version (since = "2.2")]
public static GLib.SList<weak Gdk.PixbufFormat> get_formats ();
public bool get_has_alpha ();
public int get_height ();
public int get_n_channels ();
public unowned string get_option (string key);
+ [Version (since = "2.32")]
public GLib.HashTable<weak string,weak string> get_options ();
[CCode (array_length = false)]
public unowned uint8[] get_pixels ();
[CCode (array_length_pos = 0.1, array_length_type = "guint")]
+ [Version (since = "2.26")]
public unowned uint8[] get_pixels_with_length ();
public int get_rowstride ();
public int get_width ();
[CCode (cname = "gdk_pixbuf_new_from_stream_async", finish_name = "gdk_pixbuf_new_from_stream_finish")]
- [Deprecated (replacement = "Pixbuf.from_stream_async", since = "vala-0.18")]
+ [Version (deprecated_since = "vala-0.18", replacement = "Pixbuf.from_stream_async")]
public static async Gdk.Pixbuf new_from_stream_async (GLib.InputStream stream, GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (cname = "gdk_pixbuf_new_from_stream_at_scale_async", finish_name = "gdk_pixbuf_new_from_stream_finish")]
- [Deprecated (replacement = "Pixbuf.from_stream_at_scale_async", since = "vala-0.18")]
+ [Version (deprecated_since = "vala-0.18", replacement = "Pixbuf.from_stream_at_scale_async")]
public static async Gdk.Pixbuf new_from_stream_at_scale_async (GLib.InputStream stream, int width, int height, bool preserve_aspect_ratio, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.32")]
public GLib.Bytes read_pixel_bytes ();
+ [Version (since = "2.32")]
public uint8 read_pixels ();
+ [Version (since = "2.6")]
public Gdk.Pixbuf? rotate_simple (Gdk.PixbufRotation angle);
public void saturate_and_pixelate (Gdk.Pixbuf dest, float saturation, bool pixelate);
public bool save (string filename, string type, ...) throws GLib.Error;
public bool save_to_buffer ([CCode (array_length_type = "gsize", type = "gchar**")] out uint8[] buffer, string type, ...) throws GLib.Error;
+ [Version (since = "2.4")]
public bool save_to_bufferv ([CCode (array_length_cname = "buffer_size", array_length_pos = 1.5, array_length_type = "gsize")] out uint8[] buffer, string type, [CCode (array_length = false, array_null_terminated = true)] string[] option_keys, [CCode (array_length = false, array_null_terminated = true)] string[] option_values) throws GLib.Error;
public bool save_to_callback (Gdk.PixbufSaveFunc save_func, string type, ...) throws GLib.Error;
+ [Version (since = "2.4")]
public bool save_to_callbackv ([CCode (delegate_target_pos = 1.5)] Gdk.PixbufSaveFunc save_func, string type, [CCode (array_length = false, array_null_terminated = true)] string[] option_keys, [CCode (array_length = false, array_null_terminated = true)] string[] option_values) throws GLib.Error;
public bool save_to_stream (GLib.OutputStream stream, string type, GLib.Cancellable? cancellable = null, ...) throws GLib.Error;
[CCode (finish_name = "gdk_pixbuf_save_to_stream_finish")]
@@ -105,10 +126,13 @@ namespace Gdk {
[CCode (has_construct_function = false)]
public PixbufAnimation.from_file (string filename) throws GLib.Error;
[CCode (has_construct_function = false)]
+ [Version (since = "2.28")]
public PixbufAnimation.from_resource (string resource_path) throws GLib.Error;
[CCode (has_construct_function = false)]
+ [Version (since = "2.28")]
public PixbufAnimation.from_stream (GLib.InputStream stream, GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (cname = "gdk_pixbuf_animation_new_from_stream_async", has_construct_function = false)]
+ [Version (since = "2.28")]
public async PixbufAnimation.from_stream_async (GLib.InputStream stream, GLib.Cancellable? cancellable) throws GLib.Error;
public int get_height ();
public Gdk.PixbufAnimationIter get_iter (GLib.TimeVal? start_time);
@@ -128,18 +152,29 @@ namespace Gdk {
[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gdk_pixbuf_format_get_type ()")]
[Compact]
public class PixbufFormat {
+ [Version (since = "2.22")]
public Gdk.PixbufFormat copy ();
+ [Version (since = "2.22")]
public void free ();
+ [Version (since = "2.2")]
public string get_description ();
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "2.2")]
public string[] get_extensions ();
+ [Version (since = "2.6")]
public string get_license ();
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "2.2")]
public string[] get_mime_types ();
+ [Version (since = "2.2")]
public string get_name ();
+ [Version (since = "2.6")]
public bool is_disabled ();
+ [Version (since = "2.6")]
public bool is_scalable ();
+ [Version (since = "2.2")]
public bool is_writable ();
+ [Version (since = "2.6")]
public void set_disabled (bool disabled);
}
[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", type_id = "gdk_pixbuf_loader_get_type ()")]
@@ -148,14 +183,18 @@ namespace Gdk {
public PixbufLoader ();
public bool close () throws GLib.Error;
public unowned Gdk.PixbufAnimation get_animation ();
+ [Version (since = "2.2")]
public unowned Gdk.PixbufFormat? get_format ();
public unowned Gdk.Pixbuf get_pixbuf ();
+ [Version (since = "2.2")]
public void set_size (int width, int height);
[CCode (has_construct_function = false)]
+ [Version (since = "2.4")]
public PixbufLoader.with_mime_type (string mime_type) throws GLib.Error;
[CCode (has_construct_function = false)]
public PixbufLoader.with_type (string image_type) throws GLib.Error;
public bool write ([CCode (array_length_cname = "count", array_length_pos = 1.1, array_length_type = "gsize")] uint8[] buf) throws GLib.Error;
+ [Version (since = "2.30")]
public bool write_bytes (GLib.Bytes buffer) throws GLib.Error;
public virtual signal void area_prepared ();
public virtual signal void area_updated (int x, int y, int width, int height);
@@ -165,10 +204,15 @@ namespace Gdk {
[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", type_id = "gdk_pixbuf_simple_anim_get_type ()")]
public class PixbufSimpleAnim : Gdk.PixbufAnimation {
[CCode (has_construct_function = false)]
+ [Version (since = "2.8")]
public PixbufSimpleAnim (int width, int height, float rate);
+ [Version (since = "2.8")]
public void add_frame (Gdk.Pixbuf pixbuf);
+ [Version (since = "2.18")]
public bool get_loop ();
+ [Version (since = "2.18")]
public void set_loop (bool loop);
+ [Version (since = "2.18")]
public bool loop { get; set; }
}
[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", type_id = "gdk_pixbuf_simple_anim_iter_get_type ()")]
@@ -186,12 +230,12 @@ namespace Gdk {
public uint32 height;
[CCode (array_length = false, array_null_terminated = true)]
public weak uint8[] pixel_data;
- [Deprecated (since = "2.32")]
+ [Version (deprecated = true, deprecated_since = "2.32")]
public bool deserialize ([CCode (array_length_cname = "stream_length", array_length_pos = 0.5, array_length_type = "guint")] uint8[] stream) throws GLib.Error;
[CCode (array_length_pos = 0.1, array_length_type = "guint")]
- [Deprecated (since = "2.32")]
+ [Version (deprecated = true, deprecated_since = "2.32")]
public uint8[] serialize ();
- [Deprecated (since = "2.32")]
+ [Version (deprecated = true, deprecated_since = "2.32")]
public GLib.StringBuilder to_csource (string name, Gdk.PixdataDumpType dump_type);
}
[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", cprefix = "GDK_COLORSPACE_", type_id = "gdk_colorspace_get_type ()")]
diff --git a/vapi/gdk-x11-2.0.vapi b/vapi/gdk-x11-2.0.vapi
index 83678e86e..571f623ec 100644
--- a/vapi/gdk-x11-2.0.vapi
+++ b/vapi/gdk-x11-2.0.vapi
@@ -1,6 +1,6 @@
/* gdk-x11-2.0.vapi generated by vapigen, do not modify. */
-[Deprecated (replacement = "gdk-x11-3.0")]
+[Version (replacement = "gdk-x11-3.0")]
namespace Gdk {
[CCode (cheader_filename = "gdk/gdkx.h")]
public static X.Atom x11_atom_to_xatom (Gdk.Atom atom);
diff --git a/vapi/gdk-x11-3.0.vapi b/vapi/gdk-x11-3.0.vapi
index f9ee39221..6bcf1c868 100644
--- a/vapi/gdk-x11-3.0.vapi
+++ b/vapi/gdk-x11-3.0.vapi
@@ -23,6 +23,7 @@ namespace Gdk {
[CCode (has_construct_function = false)]
protected DeviceCore ();
[CCode (cname = "gdk_x11_device_manager_lookup")]
+ [Version (since = "3.2")]
public static unowned Gdk.X11.DeviceCore? lookup_for_device_manager (Gdk.X11.DeviceManagerCore device_manager, int device_id);
}
[CCode (cheader_filename = "gdk/gdkx.h", type_id = "gdk_x11_device_manager_core_get_type ()")]
@@ -56,22 +57,38 @@ namespace Gdk {
public class Display : Gdk.Display {
[CCode (has_construct_function = false)]
protected Display ();
+ [Version (since = "2.12")]
public void broadcast_startup_message (string message_type, ...);
+ [Version (since = "3.0")]
public int error_trap_pop ();
+ [Version (since = "3.0")]
public void error_trap_pop_ignored ();
+ [Version (since = "3.0")]
public void error_trap_push ();
+ [Version (since = "2.12")]
public unowned string get_startup_notification_id ();
+ [Version (since = "2.8")]
public uint32 get_user_time ();
+ [Version (since = "2.2")]
public unowned X.Display get_xdisplay ();
+ [Version (since = "2.2")]
public void grab ();
[CCode (cname = "gdk_x11_lookup_xdisplay")]
+ [Version (since = "2.2")]
public static unowned Gdk.X11.Display lookup_for_xdisplay (X.Display xdisplay);
+ [Version (since = "2.8")]
public void set_cursor_theme (string theme, int size);
+ [Version (since = "3.0")]
public void set_startup_notification_id (string startup_id);
+ [Version (since = "3.10")]
public void set_window_scale (int scale);
+ [Version (since = "2.24")]
public int string_to_compound_text (string str, out Gdk.Atom encoding, out int format, [CCode (array_length_cname = "length", array_length_pos = 4.1)] out uint8[] ctext);
+ [Version (since = "2.24")]
public int text_property_to_text_list (Gdk.Atom encoding, int format, uint8 text, int length, string list);
+ [Version (since = "2.2")]
public void ungrab ();
+ [Version (since = "2.24")]
public bool utf8_to_compound_text (string str, out Gdk.Atom encoding, out int format, [CCode (array_length_cname = "length", array_length_pos = 4.1)] out uint8[] ctext);
}
[CCode (cheader_filename = "gdk/gdkx.h", type_id = "gdk_x11_display_manager_get_type ()")]
@@ -91,7 +108,9 @@ namespace Gdk {
public class Keymap : Gdk.Keymap {
[CCode (has_construct_function = false)]
protected Keymap ();
+ [Version (since = "3.6")]
public int get_group_for_state (uint state);
+ [Version (since = "3.6")]
public bool key_is_modifier (uint keycode);
}
[CCode (cheader_filename = "gdk/gdkx.h", type_id = "gdk_x11_screen_get_type ()")]
@@ -99,13 +118,21 @@ namespace Gdk {
public class Screen : Gdk.Screen {
[CCode (has_construct_function = false)]
protected Screen ();
+ [Version (since = "3.10")]
public uint32 get_current_desktop ();
+ [Version (since = "2.14")]
public X.ID get_monitor_output (int monitor_num);
+ [Version (since = "3.10")]
public uint32 get_number_of_desktops ();
+ [Version (since = "2.2")]
public int get_screen_number ();
+ [Version (since = "2.2")]
public unowned string get_window_manager_name ();
+ [Version (since = "2.2")]
public unowned X.Screen get_xscreen ();
+ [Version (since = "2.2")]
public unowned Gdk.X11.Visual lookup_visual (X.VisualID xvisualid);
+ [Version (since = "2.2")]
public bool supports_net_wm_hint (Gdk.Atom property);
public signal void window_manager_changed ();
}
@@ -122,29 +149,43 @@ namespace Gdk {
[CCode (has_construct_function = false)]
protected Window ();
[CCode (cname = "gdk_x11_window_foreign_new_for_display", has_construct_function = false, type = "GdkWindow*")]
+ [Version (since = "2.24")]
public Window.foreign_for_display (Gdk.X11.Display display, X.Window window);
+ [Version (since = "3.10")]
public uint32 get_desktop ();
public X.Window get_xid ();
+ [Version (since = "2.24")]
public static unowned Gdk.X11.Window lookup_for_display (Gdk.X11.Display display, X.Window window);
+ [Version (since = "2.8")]
public void move_to_current_desktop ();
+ [Version (since = "3.10")]
public void move_to_desktop (uint32 desktop);
- [Deprecated (since = "3.12")]
+ [Version (deprecated = true, deprecated_since = "3.12", since = "3.10")]
public void set_frame_extents (int left, int right, int top, int bottom);
+ [Version (since = "3.8")]
public void set_frame_sync_enabled (bool frame_sync_enabled);
+ [Version (since = "3.4")]
public void set_hide_titlebar_when_maximized (bool hide_titlebar_when_maximized);
+ [Version (since = "3.2")]
public void set_theme_variant (string variant);
+ [Version (since = "2.6")]
public void set_user_time (uint32 timestamp);
+ [Version (since = "3.4")]
public void set_utf8_property (string name, string? value);
}
[CCode (cheader_filename = "gdk/gdkx.h")]
public static X.Atom atom_to_xatom (Gdk.Atom atom);
[CCode (cheader_filename = "gdk/gdkx.h")]
+ [Version (since = "2.2")]
public static X.Atom atom_to_xatom_for_display (Gdk.X11.Display display, Gdk.Atom atom);
[CCode (cheader_filename = "gdk/gdkx.h")]
+ [Version (since = "3.2")]
public static int device_get_id (Gdk.X11.DeviceCore device);
[CCode (cheader_filename = "gdk/gdkx.h")]
+ [Version (since = "2.24")]
public static void free_compound_text ([CCode (array_length = false, type = "guchar*")] uint8[] ctext);
[CCode (cheader_filename = "gdk/gdkx.h")]
+ [Version (since = "2.24")]
public static void free_text_list (string list);
[CCode (cheader_filename = "gdk/gdkx.h")]
public static X.Window get_default_root_xwindow ();
@@ -157,32 +198,37 @@ namespace Gdk {
[CCode (cheader_filename = "gdk/gdkx.h")]
public static X.Atom get_xatom_by_name (string atom_name);
[CCode (cheader_filename = "gdk/gdkx.h")]
+ [Version (since = "2.2")]
public static X.Atom get_xatom_by_name_for_display (Gdk.X11.Display display, string atom_name);
[CCode (cheader_filename = "gdk/gdkx.h")]
public static unowned string get_xatom_name (X.Atom xatom);
[CCode (cheader_filename = "gdk/gdkx.h")]
+ [Version (since = "2.2")]
public static unowned string get_xatom_name_for_display (Gdk.X11.Display display, X.Atom xatom);
[CCode (cheader_filename = "gdk/gdkx.h")]
public static void grab_server ();
[CCode (cheader_filename = "gdk/gdkx.h")]
+ [Version (since = "2.4")]
public static void register_standard_event_type (Gdk.X11.Display display, int event_base, int n_events);
[CCode (cheader_filename = "gdk/gdkx.h")]
+ [Version (since = "2.24")]
public static void set_sm_client_id (string sm_client_id);
[CCode (cheader_filename = "gdk/gdkx.h")]
public static void ungrab_server ();
[CCode (cheader_filename = "gdk/gdkx.h")]
public static Gdk.Atom xatom_to_atom (X.Atom xatom);
[CCode (cheader_filename = "gdk/gdkx.h")]
+ [Version (since = "2.2")]
public static Gdk.Atom xatom_to_atom_for_display (Gdk.X11.Display display, X.Atom xatom);
}
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.AppLaunchContext", since = "vala-0.24")]
+ [Version (deprecated_since = "vala-0.24", replacement = "Gdk.X11.AppLaunchContext")]
public class X11AppLaunchContext : Gdk.AppLaunchContext {
[CCode (has_construct_function = false)]
protected X11AppLaunchContext ();
}
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.Cursor", since = "vala-0.24")]
+ [Version (deprecated_since = "vala-0.24", replacement = "Gdk.X11.Cursor")]
public class X11Cursor : Gdk.Cursor {
[CCode (has_construct_function = false)]
protected X11Cursor ();
@@ -190,7 +236,7 @@ namespace Gdk {
public static unowned X.Display get_xdisplay (Gdk.Cursor cursor);
}
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.Display", since = "vala-0.24")]
+ [Version (deprecated_since = "vala-0.24", replacement = "Gdk.X11.Display")]
public class X11Display : Gdk.Display {
[CCode (has_construct_function = false)]
protected X11Display ();
@@ -211,19 +257,19 @@ namespace Gdk {
public static bool utf8_to_compound_text (Gdk.Display display, string str, out Gdk.Atom encoding, int format, uchar[] ctext, int length);
}
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.DisplayManager", since = "vala-0.24")]
+ [Version (deprecated_since = "vala-0.24", replacement = "Gdk.X11.DisplayManager")]
public class X11DisplayManager : Gdk.DisplayManager {
[CCode (has_construct_function = false)]
protected X11DisplayManager ();
}
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.DragContext", since = "vala-0.24")]
+ [Version (deprecated_since = "vala-0.24", replacement = "Gdk.X11.DragContext")]
public class X11DragContext : Gdk.DragContext {
[CCode (has_construct_function = false)]
protected X11DragContext ();
}
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.Keymap", since = "vala-0.24")]
+ [Version (deprecated_since = "vala-0.24", replacement = "Gdk.X11.Keymap")]
public class X11Keymap : Gdk.Keymap {
[CCode (has_construct_function = false)]
protected X11Keymap ();
@@ -231,7 +277,7 @@ namespace Gdk {
public static bool key_is_modifier (Gdk.Keymap keymap, uint keycode);
}
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.Screen", since = "vala-0.24")]
+ [Version (deprecated_since = "vala-0.24", replacement = "Gdk.X11.Screen")]
public class X11Screen : Gdk.Screen {
[CCode (has_construct_function = false)]
protected X11Screen ();
@@ -246,14 +292,14 @@ namespace Gdk {
public virtual signal void window_manager_changed ();
}
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.Visual", since = "vala-0.24")]
+ [Version (deprecated_since = "vala-0.24", replacement = "Gdk.X11.Visual")]
public class X11Visual : Gdk.Visual {
[CCode (has_construct_function = false)]
protected X11Visual ();
public static unowned X.Visual get_xvisual (Gdk.Visual visual);
}
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.Window", since = "vala-0.24")]
+ [Version (deprecated_since = "vala-0.24", replacement = "Gdk.X11.Window")]
public class X11Window : Gdk.Window {
[CCode (has_construct_function = false)]
protected X11Window ();
@@ -271,60 +317,60 @@ namespace Gdk {
public static void set_utf8_property (Gdk.Window window, string name, string value);
}
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.atom_to_xatom", since = "vala-0.24")]
+ [Version (deprecated_since = "vala-0.24", replacement = "Gdk.X11.atom_to_xatom")]
public static X.Atom x11_atom_to_xatom (Gdk.Atom atom);
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.atom_to_xatom_for_display", since = "vala-0.24")]
+ [Version (deprecated_since = "vala-0.24", replacement = "Gdk.X11.atom_to_xatom_for_display")]
public static X.Atom x11_atom_to_xatom_for_display (Gdk.Display display, Gdk.Atom atom);
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.free_compound_text", since = "vala-0.24")]
+ [Version (deprecated_since = "vala-0.24", replacement = "Gdk.X11.free_compound_text")]
public static void x11_free_compound_text (uchar[] ctext);
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.free_text_list", since = "vala-0.24")]
+ [Version (deprecated_since = "vala-0.24", replacement = "Gdk.X11.free_text_list")]
public static void x11_free_text_list (string list);
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.get_default_root_xwindow", since = "vala-0.24")]
+ [Version (deprecated_since = "vala-0.24", replacement = "Gdk.X11.get_default_root_xwindow")]
public static X.Window x11_get_default_root_xwindow ();
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.get_default_scree", since = "vala-0.24")]
+ [Version (deprecated_since = "vala-0.24", replacement = "Gdk.X11.get_default_scree")]
public static int x11_get_default_screen ();
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.get_default_xdisplay", since = "vala-0.24")]
+ [Version (deprecated_since = "vala-0.24", replacement = "Gdk.X11.get_default_xdisplay")]
public static unowned X.Display x11_get_default_xdisplay ();
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.get_server_time", since = "vala-0.24")]
+ [Version (deprecated_since = "vala-0.24", replacement = "Gdk.X11.get_server_time")]
public static uint32 x11_get_server_time (Gdk.Window window);
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.get_xatom_by_name", since = "vala-0.24")]
+ [Version (deprecated_since = "vala-0.24", replacement = "Gdk.X11.get_xatom_by_name")]
public static X.Atom x11_get_xatom_by_name (string atom_name);
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.get_xatom_by_name_for_display", since = "vala-0.24")]
+ [Version (deprecated_since = "vala-0.24", replacement = "Gdk.X11.get_xatom_by_name_for_display")]
public static X.Atom x11_get_xatom_by_name_for_display (Gdk.Display display, string atom_name);
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.get_xatom_nam", since = "vala-0.24")]
+ [Version (deprecated_since = "vala-0.24", replacement = "Gdk.X11.get_xatom_nam")]
public static unowned string x11_get_xatom_name (X.Atom xatom);
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.get_xatom_name_for_display", since = "vala-0.24")]
+ [Version (deprecated_since = "vala-0.24", replacement = "Gdk.X11.get_xatom_name_for_display")]
public static unowned string x11_get_xatom_name_for_display (Gdk.Display display, X.Atom xatom);
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.grab_server", since = "vala-0.24")]
+ [Version (deprecated_since = "vala-0.24", replacement = "Gdk.X11.grab_server")]
public static void x11_grab_server ();
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.Display.lookup_for_xdisplay", since = "vala-0.24")]
+ [Version (deprecated_since = "vala-0.24", replacement = "Gdk.X11.Display.lookup_for_xdisplay")]
public static unowned Gdk.Display x11_lookup_xdisplay (X.Display xdisplay);
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.register_standard_event_type", since = "vala-0.24")]
+ [Version (deprecated_since = "vala-0.24", replacement = "Gdk.X11.register_standard_event_type")]
public static void x11_register_standard_event_type (Gdk.Display display, int event_base, int n_events);
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.set_sm_client_id", since = "vala-0.24")]
+ [Version (deprecated_since = "vala-0.24", replacement = "Gdk.X11.set_sm_client_id")]
public static void x11_set_sm_client_id (string sm_client_id);
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.ungrab_server", since = "vala-0.24")]
+ [Version (deprecated_since = "vala-0.24", replacement = "Gdk.X11.ungrab_server")]
public static void x11_ungrab_server ();
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.xatom_to_atom", since = "vala-0.24")]
+ [Version (deprecated_since = "vala-0.24", replacement = "Gdk.X11.xatom_to_atom")]
public static Gdk.Atom x11_xatom_to_atom (X.Atom xatom);
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.xatom_to_atom_for_display", since = "vala-0.24")]
+ [Version (deprecated_since = "vala-0.24", replacement = "Gdk.X11.xatom_to_atom_for_display")]
public static Gdk.Atom x11_xatom_to_atom_for_display (Gdk.Display display, X.Atom xatom);
}
diff --git a/vapi/gdl-3.0.vapi b/vapi/gdl-3.0.vapi
index 4984d1796..ee58054e4 100644
--- a/vapi/gdl-3.0.vapi
+++ b/vapi/gdl-3.0.vapi
@@ -10,16 +10,17 @@ namespace Gdl {
public void add_item (Gdl.DockItem item, Gdl.DockPlacement placement);
public unowned Gdl.DockItem get_item_by_name (string name);
public GLib.List<weak Gdl.DockObject> get_named_items ();
- [Deprecated (since = "3.6")]
+ [Version (deprecated = true, deprecated_since = "3.6")]
public unowned Gdl.DockPlaceholder get_placeholder_by_name (string name);
public unowned Gdl.DockObject? get_root ();
public void hide_preview ();
public Gtk.Widget new_from (bool floating);
+ [Version (since = "3.6")]
public void set_skip_taskbar (bool skip);
public void show_preview (Gdk.Rectangle rect);
- [Deprecated (since = "3.6")]
+ [Version (deprecated = true, deprecated_since = "3.6")]
public void xor_rect (Gdk.Rectangle rect);
- [Deprecated (since = "3.6")]
+ [Version (deprecated = true, deprecated_since = "3.6")]
public void xor_rect_hide ();
[NoAccessorMethod]
public string default_title { owned get; set; }
@@ -32,6 +33,7 @@ namespace Gdl {
[NoAccessorMethod]
public int height { get; set construct; }
[NoAccessorMethod]
+ [Version (since = "3.6")]
public bool skip_taskbar { get; set construct; }
[NoAccessorMethod]
public int width { get; set construct; }
@@ -41,10 +43,10 @@ namespace Gdl {
public class DockBar : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public DockBar (GLib.Object? master);
- [Deprecated (since = "3.6")]
+ [Version (deprecated = true, deprecated_since = "3.6")]
public Gtk.Orientation get_orientation ();
public Gdl.DockBarStyle get_style ();
- [Deprecated (since = "3.6")]
+ [Version (deprecated = true, deprecated_since = "3.6")]
public void set_orientation (Gtk.Orientation orientation);
public void set_style (Gdl.DockBarStyle style);
[NoAccessorMethod]
@@ -58,27 +60,38 @@ namespace Gdl {
public DockItem (string name, string long_name, Gdl.DockItemBehavior behavior);
public void bind (Gtk.Widget dock);
public void dock_to (Gdl.DockItem? target, Gdl.DockPlacement position, int docking_param);
+ [Version (since = "3.6")]
public Gdl.DockItemBehavior get_behavior_flags ();
+ [Version (since = "3.6")]
public unowned Gtk.Widget get_child ();
+ [Version (since = "3.6")]
public void get_drag_area (Gdk.Rectangle rect);
public unowned Gtk.Widget? get_grip ();
+ [Version (since = "3.6")]
public Gtk.Orientation get_orientation ();
public unowned Gtk.Widget get_tablabel ();
public void hide_grip ();
public void hide_item ();
public void iconify_item ();
+ [Version (since = "3.6")]
public bool is_closed ();
+ [Version (since = "3.6")]
public bool is_iconified ();
+ [Version (since = "3.6")]
public bool is_placeholder ();
public void @lock ();
public void notify_deselected ();
public void notify_selected ();
+ [Version (since = "3.3.2")]
public bool or_child_has_focus ();
public void preferred_size (Gtk.Requisition req);
+ [Version (since = "3.6")]
public void set_behavior_flags (Gdl.DockItemBehavior behavior, bool clear);
+ [Version (since = "3.6")]
public void set_child (Gtk.Widget? child);
public void set_default_position (Gdl.DockObject reference);
[CCode (cname = "gdl_dock_item_class_set_has_grip")]
+ [Version (since = "3.6")]
public class void set_has_grip (bool has_grip);
public virtual void set_orientation (Gtk.Orientation orientation);
public void set_tablabel (Gtk.Widget tablabel);
@@ -86,16 +99,20 @@ namespace Gdl {
public void show_item ();
public void unbind ();
public void unlock ();
+ [Version (since = "3.6")]
public void unset_behavior_flags (Gdl.DockItemBehavior behavior);
[CCode (has_construct_function = false, type = "GtkWidget*")]
+ [Version (since = "3.3.2")]
public DockItem.with_pixbuf_icon (string name, string long_name, Gdk.Pixbuf pixbuf_icon, Gdl.DockItemBehavior behavior);
[CCode (has_construct_function = false, type = "GtkWidget*")]
public DockItem.with_stock (string name, string long_name, string stock_id, Gdl.DockItemBehavior behavior);
[NoAccessorMethod]
public Gdl.DockItemBehavior behavior { get; set; }
[NoAccessorMethod]
+ [Version (since = "3.6")]
public bool closed { get; set; }
[NoAccessorMethod]
+ [Version (since = "3.6")]
public bool iconified { get; set; }
[NoAccessorMethod]
public bool locked { get; set; }
@@ -110,6 +127,7 @@ namespace Gdl {
public virtual signal void dock_drag_begin ();
public virtual signal void dock_drag_end (bool cancelled);
public virtual signal void dock_drag_motion (Gdk.Device device, int x, int y);
+ [Version (since = "3.3.2")]
public virtual signal void move_focus_child (Gtk.DirectionType direction);
public signal void selected ();
}
@@ -125,6 +143,7 @@ namespace Gdl {
public DockItemGrip (Gdl.DockItem item);
public bool has_event (Gdk.Event event);
public void hide_handle ();
+ [Version (since = "3.6")]
public void set_cursor (bool in_drag);
public void set_label (Gtk.Widget label);
public void show_handle ();
@@ -137,6 +156,7 @@ namespace Gdl {
public void attach (Gdl.DockMaster master);
public void delete_layout (string name);
public GLib.List<string> get_layouts (bool include_default);
+ [Version (since = "3.6")]
public unowned GLib.Object get_master ();
public bool is_dirty ();
public bool load_from_file (string filename);
@@ -156,6 +176,7 @@ namespace Gdl {
public void @foreach (GLib.Func function);
public void foreach_toplevel (bool include_controller, GLib.Func function);
public unowned Gdl.DockObject get_controller ();
+ [Version (since = "3.6")]
public string get_dock_name ();
public unowned Gdl.DockObject? get_object (string nick_name);
public void remove (Gdl.DockObject object);
@@ -189,26 +210,39 @@ namespace Gdl {
public virtual bool child_placement (Gdl.DockObject child, Gdl.DockPlacement? placement);
public virtual bool dock_request (int x, int y, Gdl.DockRequest request);
public void freeze ();
+ [Version (since = "3.6")]
public unowned Gdl.DockObject get_controller ();
+ [Version (since = "3.6")]
public unowned string get_long_name ();
+ [Version (since = "3.6")]
public unowned GLib.Object get_master ();
public unowned Gdl.DockObject? get_parent_object ();
+ [Version (since = "3.6")]
public unowned Gdk.Pixbuf get_pixbuf ();
+ [Version (since = "3.6")]
public unowned string get_stock_id ();
public unowned Gdl.Dock? get_toplevel ();
+ [Version (since = "3.6")]
public bool is_automatic ();
public bool is_bound ();
+ [Version (since = "3.6")]
public bool is_closed ();
public bool is_compound ();
+ [Version (since = "3.6")]
public bool is_frozen ();
+ [Version (since = "3.6")]
public void layout_changed_notify ();
public static unowned string nick_from_type (GLib.Type type);
public virtual void present (Gdl.DockObject? child);
public virtual void reduce ();
public virtual bool reorder (Gdl.DockObject child, Gdl.DockPlacement new_position, GLib.Value? other_data);
+ [Version (since = "3.6")]
public void set_long_name (string name);
+ [Version (since = "3.6")]
public void set_manual ();
+ [Version (since = "3.6")]
public void set_pixbuf (Gdk.Pixbuf? icon);
+ [Version (since = "3.6")]
public void set_stock_id (string stock_id);
public static GLib.Type set_type_for_nick (string nick, GLib.Type type);
public void thaw ();
@@ -219,6 +253,7 @@ namespace Gdl {
public Gdl.DockMaster master { owned get; set construct; }
public string name { get; construct; }
[NoAccessorMethod]
+ [Version (since = "3.3.2")]
public void* pixbuf_icon { get; set; }
public string stock_id { get; set construct; }
[HasEmitter]
@@ -241,9 +276,9 @@ namespace Gdl {
[CCode (cheader_filename = "gdl/gdl.h", type_id = "gdl_dock_placeholder_get_type ()")]
public class DockPlaceholder : Gdl.DockObject, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Deprecated (since = "3.6")]
+ [Version (deprecated = true, deprecated_since = "3.6")]
public DockPlaceholder (string name, Gdl.DockObject object, Gdl.DockPlacement position, bool sticky);
- [Deprecated (since = "3.6")]
+ [Version (deprecated = true, deprecated_since = "3.6")]
public void attach (Gdl.DockObject object);
[NoAccessorMethod]
public bool floating { get; construct; }
@@ -270,11 +305,11 @@ namespace Gdl {
public weak Gdk.Window event_window;
public bool pre_drag;
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Deprecated (since = "3.6")]
+ [Version (deprecated = true, deprecated_since = "3.6")]
public DockTablabel (Gdl.DockItem item);
- [Deprecated (since = "3.6")]
+ [Version (deprecated = true, deprecated_since = "3.6")]
public void activate ();
- [Deprecated (since = "3.6")]
+ [Version (deprecated = true, deprecated_since = "3.6")]
public void deactivate ();
[NoAccessorMethod]
public Gdl.DockItem item { owned get; set; }
@@ -336,8 +371,8 @@ namespace Gdl {
ICONIFY
}
[CCode (cheader_filename = "gdl/gdl.h", cprefix = "GDL_DOCK_", type_id = "gdl_dock_item_flags_get_type ()")]
- [Deprecated (since = "3.6")]
[Flags]
+ [Version (deprecated = true, deprecated_since = "3.6")]
public enum DockItemFlags {
IN_DRAG,
IN_PREDRAG,
@@ -382,7 +417,7 @@ namespace Gdl {
[CCode (cheader_filename = "gdl/gdl.h", cname = "GDL_DOCK_NAME_PROPERTY")]
public const string DOCK_NAME_PROPERTY;
[CCode (cheader_filename = "gdl/gdl.h", cname = "GDL_DOCK_OBJECT_FLAGS_SHIFT")]
- [Deprecated (since = "3.6")]
+ [Version (deprecated = true, deprecated_since = "3.6")]
public const int DOCK_OBJECT_FLAGS_SHIFT;
[CCode (cheader_filename = "gdl/gdl.h")]
public static void marshal_VOID__OBJECT_ENUM_BOXED (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
diff --git a/vapi/gedit-2.20.vapi b/vapi/gedit-2.20.vapi
index 2c8d4b76c..f14f31608 100644
--- a/vapi/gedit-2.20.vapi
+++ b/vapi/gedit-2.20.vapi
@@ -1,6 +1,6 @@
/* gedit-2.20.vapi generated by vapigen, do not modify. */
-[Deprecated (replacement = "gedit")]
+[Version (replacement = "gedit")]
namespace Gedit {
[CCode (cheader_filename = "gedit/gedit-app.h")]
public class App : GLib.Object {
diff --git a/vapi/gedit.vapi b/vapi/gedit.vapi
index 1559d29e2..13815254a 100644
--- a/vapi/gedit.vapi
+++ b/vapi/gedit.vapi
@@ -1,7 +1,7 @@
/* gedit.vapi generated by vapigen, do not modify. */
[CCode (cprefix = "Gedit", gir_namespace = "Gedit", gir_version = "3.0", lower_case_cprefix = "gedit_")]
-[Deprecated (replacement = "bindings distributed with gedit", since = "3.12")]
+[Version (replacement = "bindings distributed with gedit", deprecated_since = "3.12")]
namespace Gedit {
[CCode (cheader_filename = "gedit/gedit-app.h", type_id = "gedit_app_get_type ()")]
public abstract class App : Gtk.Application, GLib.ActionGroup, GLib.ActionMap {
@@ -25,12 +25,12 @@ namespace Gedit {
[CCode (cname = "gedit_document_save")]
public void do_save (Gedit.DocumentSaveFlags flags);
public static GLib.Quark error_quark ();
- [Deprecated (since = "3.10")]
+ [Version (deprecated_since = "3.10")]
public bool get_can_search_again ();
public Gedit.DocumentCompressionType get_compression_type ();
public string get_content_type ();
public bool get_deleted ();
- [Deprecated (since = "3.10")]
+ [Version (deprecated_since = "3.10")]
public bool get_enable_search_highlighting ();
public unowned Gedit.Encoding get_encoding ();
public unowned Gtk.SourceLanguage get_language ();
@@ -39,7 +39,7 @@ namespace Gedit {
public string get_mime_type ();
public Gedit.DocumentNewlineType get_newline_type ();
public bool get_readonly ();
- [Deprecated (since = "3.10")]
+ [Version (deprecated_since = "3.10")]
public string get_search_text (uint? flags);
public string get_short_name_for_display ();
public string get_uri_for_display ();
@@ -51,29 +51,29 @@ namespace Gedit {
public virtual void load (GLib.File location, Gedit.Encoding? encoding, int line_pos, int column_pos, bool create);
public bool load_cancel ();
public void load_stream (GLib.InputStream stream, Gedit.Encoding? encoding, int line_pos, int column_pos);
- [Deprecated (since = "3.10")]
+ [Version (deprecated_since = "3.10")]
public int replace_all (string find, string replace, uint flags);
public void save_as (GLib.File location, Gedit.Encoding encoding, Gedit.DocumentNewlineType newline_type, Gedit.DocumentCompressionType compression_type, Gedit.DocumentSaveFlags flags);
- [Deprecated (since = "3.10")]
+ [Version (deprecated_since = "3.10")]
public bool search_backward (Gtk.TextIter? start, Gtk.TextIter? end, Gtk.TextIter? match_start, Gtk.TextIter? match_end);
- [Deprecated (since = "3.10")]
+ [Version (deprecated_since = "3.10")]
public bool search_forward (Gtk.TextIter? start, Gtk.TextIter? end, Gtk.TextIter? match_start, Gtk.TextIter? match_end);
public void set_content_type (string? content_type);
- [Deprecated (since = "3.10")]
+ [Version (deprecated_since = "3.10")]
public void set_enable_search_highlighting (bool enable);
public void set_language (Gtk.SourceLanguage? lang);
public void set_location (GLib.File location);
- [Deprecated (since = "3.10")]
+ [Version (deprecated_since = "3.10")]
public void set_search_text (string? text, uint flags);
public void set_short_name_for_display (string? short_name);
- [Deprecated (since = "3.10")]
+ [Version (deprecated_since = "3.10")]
public bool can_search_again { get; }
[NoAccessorMethod]
public Gedit.DocumentCompressionType compression_type { get; set construct; }
public string content_type { owned get; set; }
[NoAccessorMethod]
public bool empty_search { get; }
- [Deprecated (since = "3.10")]
+ [Version (deprecated_since = "3.10")]
public bool enable_search_highlighting { get; set; }
public Gedit.Encoding encoding { get; }
public GLib.File location { owned get; set; }
@@ -90,7 +90,7 @@ namespace Gedit {
public virtual signal void save (GLib.File location, Gedit.Encoding encoding, Gedit.DocumentNewlineType newline_type, Gedit.DocumentCompressionType compression_type, Gedit.DocumentSaveFlags flags);
public virtual signal void saved (GLib.Error error);
public virtual signal void saving (uint64 size, uint64 total_size);
- [Deprecated (since = "3.10")]
+ [Version (deprecated_since = "3.10")]
public virtual signal void search_highlight_updated (Gtk.TextIter start, Gtk.TextIter end);
}
[CCode (cheader_filename = "gedit/gedit-encodings.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gedit_encoding_get_type ()")]
@@ -334,7 +334,7 @@ namespace Gedit {
SAVE_TO_DISK
}
[CCode (cheader_filename = "gedit/gedit-document.h", cprefix = "GEDIT_SEARCH_", type_id = "gedit_search_flags_get_type ()")]
- [Deprecated (since = "3.10")]
+ [Version (deprecated_since = "3.10")]
[Flags]
public enum SearchFlags {
DONT_SET_FLAGS,
@@ -405,7 +405,7 @@ namespace Gedit {
[CCode (array_length = false, array_null_terminated = true, cheader_filename = "gedit/gedit-utils.h")]
public static string[] utils_drop_get_uris (Gtk.SelectionData selection_data);
[CCode (cheader_filename = "gedit/gedit-utils.h")]
- [Deprecated (since = "3.10")]
+ [Version (deprecated_since = "3.10")]
public static string utils_escape_search_text (string text);
[CCode (cheader_filename = "gedit/gedit-utils.h")]
public static string utils_escape_underscores (string text, ssize_t length);
@@ -440,7 +440,7 @@ namespace Gedit {
[CCode (cheader_filename = "gedit/gedit-utils.h")]
public static string utils_str_middle_truncate (string string, uint truncate_length);
[CCode (cheader_filename = "gedit/gedit-utils.h")]
- [Deprecated (since = "3.10")]
+ [Version (deprecated_since = "3.10")]
public static string utils_unescape_search_text (string text);
[CCode (cheader_filename = "gedit/gedit-utils.h")]
public static string utils_uri_get_dirname (string uri);
diff --git a/vapi/geocode-glib-1.0.vapi b/vapi/geocode-glib-1.0.vapi
index f6da2a7d8..a12e6bb3d 100644
--- a/vapi/geocode-glib-1.0.vapi
+++ b/vapi/geocode-glib-1.0.vapi
@@ -199,7 +199,8 @@ namespace Geocode {
SCHOOL,
PLACE_OF_WORSHIP,
RESTAURANT,
- BAR
+ BAR,
+ LIGHT_RAIL_STATION
}
[CCode (cheader_filename = "geocode-glib/geocode-glib.h", cprefix = "GEOCODE_ERROR_")]
public errordomain Error {
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index b87042d92..dad4d0f01 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -12,16 +12,22 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h")]
public static GLib.DBusConnection get_sync (GLib.BusType bus_type, GLib.Cancellable? cancellable = null) throws GLib.IOError;
[CCode (cheader_filename = "gio/gio.h", cname = "g_bus_own_name_with_closures")]
+ [Version (since = "2.26")]
public static uint own_name (GLib.BusType bus_type, string name, GLib.BusNameOwnerFlags flags, [CCode (type = "GClosure*")] owned GLib.BusAcquiredCallback? bus_acquired_closure = null, [CCode (type = "GClosure*")] owned GLib.BusNameAcquiredCallback? name_acquired_closure = null, [CCode (type = "GClosure*")] owned GLib.BusNameLostCallback? name_lost_closure = null);
[CCode (cheader_filename = "gio/gio.h", cname = "g_bus_own_name_on_connection_with_closures")]
+ [Version (since = "2.26")]
public static uint own_name_on_connection (GLib.DBusConnection connection, string name, GLib.BusNameOwnerFlags flags, [CCode (type = "GClosure*")] owned GLib.BusNameAcquiredCallback? name_acquired_closure = null, [CCode (type = "GClosure*")] owned GLib.BusNameLostCallback? name_lost_closure = null);
[CCode (cheader_filename = "gio/gio.h")]
+ [Version (since = "2.26")]
public static void unown_name (uint owner_id);
[CCode (cheader_filename = "gio/gio.h")]
+ [Version (since = "2.26")]
public static void unwatch_name (uint watcher_id);
[CCode (cheader_filename = "gio/gio.h", cname = "g_bus_watch_name_with_closures")]
+ [Version (since = "2.26")]
public static uint watch_name (GLib.BusType bus_type, string name, GLib.BusNameWatcherFlags flags, [CCode (type = "GClosure*")] owned GLib.BusNameAppearedCallback? name_appeared_closure = null, [CCode (type = "GClosure*")] owned GLib.BusNameVanishedCallback? name_vanished_closure = null);
[CCode (cheader_filename = "gio/gio.h", cname = "g_bus_watch_name_on_connection_with_closures")]
+ [Version (since = "2.26")]
public static uint watch_name_on_connection (GLib.DBusConnection connection, string name, GLib.BusNameWatcherFlags flags, [CCode (type = "GClosure*")] owned GLib.BusNameAppearedCallback? name_appeared_closure = null, [CCode (type = "GClosure*")] owned GLib.BusNameVanishedCallback? name_vanished_closure = null);
}
namespace ContentType {
@@ -30,20 +36,24 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h")]
public static bool equals (string type1, string type2);
[CCode (cheader_filename = "gio/gio.h")]
+ [Version (since = "2.18")]
public static string? from_mime_type (string mime_type);
[CCode (cheader_filename = "gio/gio.h")]
public static string get_description (string type);
[CCode (cheader_filename = "gio/gio.h")]
+ [Version (since = "2.34")]
public static string? get_generic_icon_name (string type);
[CCode (cheader_filename = "gio/gio.h")]
public static GLib.Icon get_icon (string type);
[CCode (cheader_filename = "gio/gio.h")]
public static string? get_mime_type (string type);
[CCode (cheader_filename = "gio/gio.h")]
+ [Version (since = "2.34")]
public static GLib.Icon get_symbolic_icon (string type);
[CCode (cheader_filename = "gio/gio.h")]
public static string guess (string? filename, [CCode (array_length_cname = "data_size", array_length_pos = 2.5, array_length_type = "gsize")] uint8[]? data, out bool result_uncertain);
[CCode (array_length = false, array_null_terminated = true, cheader_filename = "gio/gio.h")]
+ [Version (since = "2.18")]
public static string[] guess_for_tree (GLib.File root);
[CCode (cheader_filename = "gio/gio.h")]
public static bool is_a (string type, string supertype);
@@ -54,32 +64,46 @@ namespace GLib {
}
namespace DBus {
[CCode (cheader_filename = "gio/gio.h")]
+ [Version (since = "2.36")]
public static string address_escape_value (string string);
[CCode (cheader_filename = "gio/gio.h")]
- public static async GLib.IOStream address_get_stream (string address, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.26")]
+ public static async GLib.IOStream address_get_stream (string address, GLib.Cancellable? cancellable = null, out string out_guid) throws GLib.Error;
[CCode (cheader_filename = "gio/gio.h")]
- public static GLib.IOStream address_get_stream_sync (string address, string out_guid, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.26")]
+ public static GLib.IOStream address_get_stream_sync (string address, out string out_guid, GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (cheader_filename = "gio/gio.h")]
+ [Version (since = "2.26")]
public static unowned string annotation_info_lookup ([CCode (array_length = false, array_null_terminated = true)] GLib.DBusAnnotationInfo[]? annotations, string name);
[CCode (cheader_filename = "gio/gio.h")]
+ [Version (since = "2.26")]
public static string generate_guid ();
[CCode (cheader_filename = "gio/gio.h")]
+ [Version (since = "2.30")]
public static GLib.Variant gvalue_to_gvariant (GLib.Value gvalue, GLib.VariantType type);
[CCode (cheader_filename = "gio/gio.h")]
+ [Version (since = "2.30")]
public static GLib.Value gvariant_to_gvalue (GLib.Variant value);
[CCode (cheader_filename = "gio/gio.h")]
+ [Version (since = "2.26")]
public static bool is_address (string string);
[CCode (cheader_filename = "gio/gio.h")]
+ [Version (since = "2.26")]
public static bool is_guid (string string);
[CCode (cheader_filename = "gio/gio.h")]
+ [Version (since = "2.26")]
public static bool is_interface_name (string string);
[CCode (cheader_filename = "gio/gio.h")]
+ [Version (since = "2.26")]
public static bool is_member_name (string string);
[CCode (cheader_filename = "gio/gio.h")]
+ [Version (since = "2.26")]
public static bool is_name (string string);
[CCode (cheader_filename = "gio/gio.h")]
+ [Version (since = "2.26")]
public static bool is_supported_address (string string) throws GLib.Error;
[CCode (cheader_filename = "gio/gio.h")]
+ [Version (since = "2.26")]
public static bool is_unique_name (string string);
}
namespace FileAttribute {
@@ -110,6 +134,7 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_FILESYSTEM_TYPE")]
public const string FILESYSTEM_TYPE;
[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_FILESYSTEM_USED")]
+ [Version (since = "2.32")]
public const string FILESYSTEM_USED;
[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW")]
public const string FILESYSTEM_USE_PREVIEW;
@@ -124,24 +149,31 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT")]
public const string MOUNTABLE_CAN_MOUNT;
[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL")]
+ [Version (since = "2.22")]
public const string MOUNTABLE_CAN_POLL;
[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START")]
+ [Version (since = "2.22")]
public const string MOUNTABLE_CAN_START;
[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED")]
+ [Version (since = "2.22")]
public const string MOUNTABLE_CAN_START_DEGRADED;
[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_MOUNTABLE_CAN_STOP")]
+ [Version (since = "2.22")]
public const string MOUNTABLE_CAN_STOP;
[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT")]
public const string MOUNTABLE_CAN_UNMOUNT;
[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI")]
public const string MOUNTABLE_HAL_UDI;
[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC")]
+ [Version (since = "2.22")]
public const string MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC;
[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_MOUNTABLE_START_STOP_TYPE")]
+ [Version (since = "2.22")]
public const string MOUNTABLE_START_STOP_TYPE;
[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE")]
public const string MOUNTABLE_UNIX_DEVICE;
[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE")]
+ [Version (since = "2.22")]
public const string MOUNTABLE_UNIX_DEVICE_FILE;
[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_OWNER_GROUP")]
public const string OWNER_GROUP;
@@ -150,10 +182,12 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_OWNER_USER_REAL")]
public const string OWNER_USER_REAL;
[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_PREVIEW_ICON")]
+ [Version (since = "2.20")]
public const string PREVIEW_ICON;
[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_SELINUX_CONTEXT")]
public const string SELINUX_CONTEXT;
[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE")]
+ [Version (since = "2.20")]
public const string STANDARD_ALLOCATED_SIZE;
[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE")]
public const string STANDARD_CONTENT_TYPE;
@@ -178,6 +212,7 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL")]
public const string STANDARD_IS_VIRTUAL;
[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_IS_VOLATILE")]
+ [Version (since = "2.46")]
public const string STANDARD_IS_VOLATILE;
[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_NAME")]
public const string STANDARD_NAME;
@@ -186,6 +221,7 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER")]
public const string STANDARD_SORT_ORDER;
[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON")]
+ [Version (since = "2.34")]
public const string STANDARD_SYMBOLIC_ICON;
[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET")]
public const string STANDARD_SYMLINK_TARGET;
@@ -196,6 +232,7 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_THUMBNAILING_FAILED")]
public const string THUMBNAILING_FAILED;
[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID")]
+ [Version (since = "2.40")]
public const string THUMBNAIL_IS_VALID;
[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_THUMBNAIL_PATH")]
public const string THUMBNAIL_PATH;
@@ -216,10 +253,12 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC")]
public const string TIME_MODIFIED_USEC;
[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_TRASH_DELETION_DATE")]
+ [Version (since = "2.24")]
public const string TRASH_DELETION_DATE;
[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT")]
public const string TRASH_ITEM_COUNT;
[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_TRASH_ORIG_PATH")]
+ [Version (since = "2.24")]
public const string TRASH_ORIG_PATH;
[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_UNIX_BLOCKS")]
public const string UNIX_BLOCKS;
@@ -257,6 +296,7 @@ namespace GLib {
public const string UUID;
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_app_info_monitor_get_type ()")]
+ [Version (since = "2.40")]
public class AppInfoMonitor : GLib.Object {
[CCode (has_construct_function = false)]
protected AppInfoMonitor ();
@@ -269,47 +309,64 @@ namespace GLib {
public AppLaunchContext ();
public virtual string get_display (GLib.AppInfo info, GLib.List<GLib.File> files);
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "2.32")]
public string[] get_environment ();
public virtual string get_startup_notify_id (GLib.AppInfo info, GLib.List<GLib.File> files);
+ [Version (since = "2.32")]
public void setenv (string variable, string value);
+ [Version (since = "2.32")]
public void unsetenv (string variable);
[HasEmitter]
+ [Version (since = "2.36")]
public virtual signal void launch_failed (string startup_notify_id);
+ [Version (since = "2.36")]
public virtual signal void launched (GLib.AppInfo info, GLib.Variant platform_data);
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_application_get_type ()")]
+ [Version (since = "2.28")]
public class Application : GLib.Object, GLib.ActionGroup, GLib.ActionMap {
[CCode (has_construct_function = false)]
public Application (string? application_id, GLib.ApplicationFlags flags);
+ [Version (since = "2.42")]
public void add_main_option (string long_name, char short_name, GLib.OptionFlags flags, GLib.OptionArg arg, string description, string? arg_description);
+ [Version (since = "2.40")]
public void add_main_option_entries ([CCode (array_length = false, array_null_terminated = true)] GLib.OptionEntry[] entries);
- public void add_option_group (GLib.OptionGroup group);
+ [Version (since = "2.40")]
+ public void add_option_group (owned GLib.OptionGroup group);
[NoWrapper]
public virtual void add_platform_data (GLib.VariantBuilder builder);
[NoWrapper]
public virtual void after_emit (GLib.Variant platform_data);
[NoWrapper]
public virtual void before_emit (GLib.Variant platform_data);
+ [Version (since = "2.44")]
public void bind_busy_property (GLib.Object object, string property);
[NoWrapper]
public virtual bool dbus_register (GLib.DBusConnection connection, string object_path) throws GLib.Error;
[NoWrapper]
public virtual void dbus_unregister (GLib.DBusConnection connection, string object_path);
public unowned string get_application_id ();
+ [Version (since = "2.34")]
public unowned GLib.DBusConnection get_dbus_connection ();
+ [Version (since = "2.34")]
public unowned string get_dbus_object_path ();
+ [Version (since = "2.32")]
public static unowned GLib.Application get_default ();
public GLib.ApplicationFlags get_flags ();
public uint get_inactivity_timeout ();
+ [Version (since = "2.44")]
public bool get_is_busy ();
public bool get_is_registered ();
public bool get_is_remote ();
+ [Version (since = "2.42")]
public unowned string? get_resource_base_path ();
public void hold ();
public static bool id_is_valid (string application_id);
[NoWrapper]
public virtual bool local_command_line ([CCode (array_length = false, array_null_terminated = true)] ref unowned string[] arguments, out int exit_status);
+ [Version (since = "2.38")]
public void mark_busy ();
+ [Version (since = "2.32")]
public void quit ();
[NoWrapper]
public virtual void quit_mainloop ();
@@ -318,21 +375,28 @@ namespace GLib {
public int run ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] string[]? argv = null);
[NoWrapper]
public virtual void run_mainloop ();
+ [Version (since = "2.40")]
public void send_notification (string? id, GLib.Notification notification);
- [Deprecated (since = "2.32")]
+ [Version (deprecated = true, deprecated_since = "2.32", since = "2.28")]
public void set_action_group (GLib.ActionGroup? action_group);
public void set_application_id (string? application_id);
+ [Version (since = "2.32")]
public void set_default ();
public void set_flags (GLib.ApplicationFlags flags);
public void set_inactivity_timeout (uint inactivity_timeout);
+ [Version (since = "2.42")]
public void set_resource_base_path (string? resource_path);
+ [Version (since = "2.44")]
public void unbind_busy_property (GLib.Object object, string property);
+ [Version (since = "2.38")]
public void unmark_busy ();
+ [Version (since = "2.40")]
public void withdraw_notification (string id);
public GLib.ActionGroup action_group { set; }
public string application_id { get; set construct; }
public GLib.ApplicationFlags flags { get; set; }
public uint inactivity_timeout { get; set; }
+ [Version (since = "2.44")]
public bool is_busy { get; }
public bool is_registered { get; }
public bool is_remote { get; }
@@ -340,6 +404,7 @@ namespace GLib {
[HasEmitter]
public virtual signal void activate ();
public virtual signal int command_line (GLib.ApplicationCommandLine command_line);
+ [Version (since = "2.40")]
public virtual signal int handle_local_options (GLib.VariantDict options);
[HasEmitter]
public virtual signal void open ([CCode (array_length_cname = "n_files", array_length_pos = 1.5)] GLib.File[] files, string hint);
@@ -350,26 +415,39 @@ namespace GLib {
public class ApplicationCommandLine : GLib.Object {
[CCode (has_construct_function = false)]
protected ApplicationCommandLine ();
+ [Version (since = "2.36")]
public GLib.File create_file_for_arg (string arg);
[CCode (array_length_pos = 0.1)]
+ [Version (since = "2.28")]
public string[] get_arguments ();
+ [Version (since = "2.28")]
public unowned string get_cwd ();
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "2.28")]
public unowned string[] get_environ ();
+ [Version (since = "2.28")]
public int get_exit_status ();
+ [Version (since = "2.28")]
public bool get_is_remote ();
+ [Version (since = "2.40")]
public unowned GLib.VariantDict get_options_dict ();
+ [Version (since = "2.28")]
public GLib.Variant? get_platform_data ();
+ [Version (since = "2.34")]
public virtual GLib.InputStream get_stdin ();
+ [Version (since = "2.28")]
public unowned string getenv (string name);
[PrintfFormat]
+ [Version (since = "2.28")]
public void print (string format, ...);
[NoWrapper]
public virtual void print_literal (string message);
[PrintfFormat]
+ [Version (since = "2.28")]
public void printerr (string format, ...);
[NoWrapper]
public virtual void printerr_literal (string message);
+ [Version (since = "2.28")]
public void set_exit_status (int exit_status);
public GLib.Variant arguments { construct; }
public bool is_remote { get; }
@@ -409,7 +487,9 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h", type_id = "g_bytes_icon_get_type ()")]
public class BytesIcon : GLib.Object, GLib.Icon, GLib.LoadableIcon {
[CCode (has_construct_function = false, type = "GIcon*")]
+ [Version (since = "2.38")]
public BytesIcon (GLib.Bytes bytes);
+ [Version (since = "2.38")]
public unowned GLib.Bytes get_bytes ();
public GLib.Bytes bytes { get; construct; }
}
@@ -418,17 +498,22 @@ namespace GLib {
[CCode (has_construct_function = false)]
public Cancellable ();
public void cancel ();
+ [Version (since = "2.22")]
public ulong connect ([CCode (type = "GCallback")] owned GLib.Func<GLib.Cancellable> callback);
+ [Version (since = "2.22")]
public void disconnect (ulong handler_id);
public static unowned GLib.Cancellable? get_current ();
public int get_fd ();
public bool is_cancelled ();
+ [Version (since = "2.22")]
public bool make_pollfd (GLib.PollFD pollfd);
public void pop_current ();
public void push_current ();
+ [Version (since = "2.22")]
public void release_fd ();
public void reset ();
public bool set_error_if_cancelled () throws GLib.IOError;
+ [Version (since = "2.28")]
public GLib.CancellableSource source_new ();
public virtual signal void cancelled ();
}
@@ -441,9 +526,13 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h", type_id = "g_charset_converter_get_type ()")]
public class CharsetConverter : GLib.Object, GLib.Converter, GLib.Initable {
[CCode (has_construct_function = false)]
+ [Version (since = "2.24")]
public CharsetConverter (string to_charset, string from_charset) throws GLib.Error;
+ [Version (since = "2.24")]
public uint get_num_fallbacks ();
+ [Version (since = "2.24")]
public bool get_use_fallback ();
+ [Version (since = "2.24")]
public void set_use_fallback (bool use_fallback);
[NoAccessorMethod]
public string from_charset { owned get; construct; }
@@ -455,6 +544,7 @@ namespace GLib {
public class ConverterInputStream : GLib.FilterInputStream, GLib.PollableInputStream {
[CCode (has_construct_function = false, type = "GInputStream*")]
public ConverterInputStream (GLib.InputStream base_stream, GLib.Converter converter);
+ [Version (since = "2.24")]
public unowned GLib.Converter get_converter ();
public GLib.Converter converter { get; construct; }
}
@@ -462,14 +552,17 @@ namespace GLib {
public class ConverterOutputStream : GLib.FilterOutputStream, GLib.PollableOutputStream {
[CCode (has_construct_function = false, type = "GOutputStream*")]
public ConverterOutputStream (GLib.OutputStream base_stream, GLib.Converter converter);
+ [Version (since = "2.24")]
public unowned GLib.Converter get_converter ();
public GLib.Converter converter { get; construct; }
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_credentials_get_type ()")]
+ [Version (since = "2.26")]
public class Credentials : GLib.Object {
[CCode (has_construct_function = false)]
public Credentials ();
public void* get_native (GLib.CredentialsType native_type);
+ [Version (since = "2.36")]
public int get_unix_pid () throws GLib.Error;
public uint get_unix_user () throws GLib.Error;
public bool is_same_user (GLib.Credentials other_credentials) throws GLib.Error;
@@ -481,10 +574,12 @@ namespace GLib {
public class DBusActionGroup : GLib.Object, GLib.ActionGroup, GLib.RemoteActionGroup {
[CCode (has_construct_function = false)]
protected DBusActionGroup ();
+ [Version (since = "2.32")]
public static GLib.DBusActionGroup @get (GLib.DBusConnection connection, string bus_name, string object_path);
}
[CCode (cheader_filename = "gio/gio.h", ref_function = "g_dbus_annotation_info_ref", type_id = "g_dbus_annotation_info_get_type ()", unref_function = "g_dbus_annotation_info_unref")]
[Compact]
+ [Version (since = "2.26")]
public class DBusAnnotationInfo {
[CCode (array_length = false, array_null_terminated = true)]
public GLib.DBusAnnotationInfo[] annotations;
@@ -496,6 +591,7 @@ namespace GLib {
}
[CCode (cheader_filename = "gio/gio.h", ref_function = "g_dbus_arg_info_ref", type_id = "g_dbus_arg_info_get_type ()", unref_function = "g_dbus_arg_info_unref")]
[Compact]
+ [Version (since = "2.26")]
public class DBusArgInfo {
[CCode (array_length = false, array_null_terminated = true)]
public GLib.DBusAnnotationInfo[] annotations;
@@ -506,26 +602,33 @@ namespace GLib {
public void unref ();
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_auth_observer_get_type ()")]
+ [Version (since = "2.26")]
public class DBusAuthObserver : GLib.Object {
[CCode (has_construct_function = false)]
public DBusAuthObserver ();
[HasEmitter]
+ [Version (since = "2.34")]
public signal bool allow_mechanism (string mechanism);
public virtual signal bool authorize_authenticated_peer (GLib.IOStream stream, GLib.Credentials? credentials);
}
[CCode (cheader_filename = "gio/gio.h")]
+ [Version (since = "2.26")]
public class DBusConnection : GLib.Object, GLib.AsyncInitable, GLib.Initable, GLib.AsyncInitable, GLib.Initable {
[CCode (has_construct_function = false)]
protected DBusConnection ();
public uint add_filter (owned GLib.DBusMessageFilterFunction filter_function);
public async GLib.Variant call (string? bus_name, string object_path, string interface_name, string method_name, GLib.Variant? parameters, GLib.VariantType? reply_type, GLib.DBusCallFlags flags, int timeout_msec, GLib.Cancellable? cancellable = null) throws GLib.Error;
public GLib.Variant call_sync (string? bus_name, string object_path, string interface_name, string method_name, GLib.Variant? parameters, GLib.VariantType? reply_type, GLib.DBusCallFlags flags, int timeout_msec, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.30")]
public async GLib.Variant call_with_unix_fd_list (string? bus_name, string object_path, string interface_name, string method_name, GLib.Variant? parameters, GLib.VariantType? reply_type, GLib.DBusCallFlags flags, int timeout_msec, GLib.UnixFDList? fd_list = null, GLib.Cancellable? cancellable = null, out GLib.UnixFDList? out_fd_list = null) throws GLib.Error;
+ [Version (since = "2.30")]
public GLib.Variant call_with_unix_fd_list_sync (string? bus_name, string object_path, string interface_name, string method_name, GLib.Variant? parameters, GLib.VariantType? reply_type, GLib.DBusCallFlags flags, int timeout_msec, GLib.UnixFDList? fd_list = null, out GLib.UnixFDList? out_fd_list = null, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool close (GLib.Cancellable? cancellable = null) throws GLib.Error;
public bool close_sync (GLib.Cancellable? cancellable = null) throws GLib.Error;
public bool emit_signal (string? destination_bus_name, string object_path, string interface_name, string signal_name, GLib.Variant? parameters) throws GLib.Error;
+ [Version (since = "2.32")]
public uint export_action_group (string object_path, GLib.ActionGroup action_group) throws GLib.Error;
+ [Version (since = "2.32")]
public uint export_menu_model (string object_path, GLib.MenuModel menu) throws GLib.Error;
public async bool flush (GLib.Cancellable? cancellable = null) throws GLib.Error;
public bool flush_sync (GLib.Cancellable? cancellable = null) throws GLib.Error;
@@ -534,6 +637,7 @@ namespace GLib {
public GLib.DBusCapabilityFlags get_capabilities ();
public bool get_exit_on_close ();
public unowned string get_guid ();
+ [Version (since = "2.34")]
public uint32 get_last_serial ();
public unowned GLib.Credentials? get_peer_credentials ();
public async T get_proxy<T> (string? name, string object_path, GLib.DBusProxyFlags flags = 0, GLib.Cancellable? cancellable = null) throws GLib.IOError;
@@ -546,6 +650,7 @@ namespace GLib {
[CCode (cname = "g_dbus_connection_new_for_address", finish_function = "g_dbus_connection_new_for_address_finish")]
public static async GLib.DBusConnection new_for_address (string address, GLib.DBusConnectionFlags flags, GLib.DBusAuthObserver? observer = null, GLib.Cancellable? cancellable = null) throws GLib.Error;
public uint register_object<T> (string object_path, T object) throws GLib.IOError;
+ [Version (since = "2.46")]
public uint register_object_with_closures (string object_path, GLib.DBusInterfaceInfo interface_info, GLib.Closure? method_call_closure, GLib.Closure? get_property_closure, GLib.Closure? set_property_closure) throws GLib.Error;
public uint register_subtree (string object_path, GLib.DBusSubtreeVTable vtable, GLib.DBusSubtreeFlags flags, void* user_data, GLib.DestroyNotify user_data_free_func) throws GLib.Error;
public void remove_filter (uint filter_id);
@@ -558,7 +663,9 @@ namespace GLib {
public void start_message_processing ();
[CCode (has_construct_function = false)]
public DBusConnection.sync (GLib.IOStream stream, string? guid, GLib.DBusConnectionFlags flags, GLib.DBusAuthObserver? observer = null, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.32")]
public void unexport_action_group (uint export_id);
+ [Version (since = "2.32")]
public void unexport_menu_model (uint export_id);
public bool unregister_object (uint registration_id);
public bool unregister_subtree (uint registration_id);
@@ -575,6 +682,7 @@ namespace GLib {
}
[CCode (cheader_filename = "gio/gio.h", ref_function = "g_dbus_interface_info_ref", type_id = "g_dbus_interface_info_get_type ()", unref_function = "g_dbus_interface_info_unref")]
[Compact]
+ [Version (since = "2.26")]
public class DBusInterfaceInfo {
[CCode (array_length = false, array_null_terminated = true)]
public GLib.DBusAnnotationInfo[] annotations;
@@ -586,7 +694,9 @@ namespace GLib {
public int ref_count;
[CCode (array_length = false, array_null_terminated = true)]
public GLib.DBusSignalInfo[] signals;
+ [Version (since = "2.30")]
public void cache_build ();
+ [Version (since = "2.30")]
public void cache_release ();
public void generate_xml (uint indent, GLib.StringBuilder string_builder);
public unowned GLib.DBusMethodInfo lookup_method (string name);
@@ -596,21 +706,25 @@ namespace GLib {
public void unref ();
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_interface_skeleton_get_type ()")]
+ [Version (since = "2.30")]
public abstract class DBusInterfaceSkeleton : GLib.Object, GLib.DBusInterface {
[CCode (has_construct_function = false)]
protected DBusInterfaceSkeleton ();
public bool export (GLib.DBusConnection connection, string object_path) throws GLib.Error;
public virtual void flush ();
public unowned GLib.DBusConnection get_connection ();
+ [Version (since = "2.32")]
public GLib.List<GLib.DBusConnection> get_connections ();
public GLib.DBusInterfaceSkeletonFlags get_flags ();
public virtual unowned GLib.DBusInterfaceInfo get_info ();
public unowned string get_object_path ();
public virtual GLib.Variant get_properties ();
public virtual GLib.DBusInterfaceVTable? get_vtable ();
+ [Version (since = "2.32")]
public bool has_connection (GLib.DBusConnection connection);
public void set_flags (GLib.DBusInterfaceSkeletonFlags flags);
public void unexport ();
+ [Version (since = "2.32")]
public void unexport_from_connection (GLib.DBusConnection connection);
[NoAccessorMethod]
public GLib.DBusInterfaceSkeletonFlags g_flags { get; set; }
@@ -620,9 +734,11 @@ namespace GLib {
public class DBusMenuModel : GLib.MenuModel {
[CCode (has_construct_function = false)]
protected DBusMenuModel ();
+ [Version (since = "2.32")]
public static GLib.DBusMenuModel @get (GLib.DBusConnection connection, string bus_name, string object_path);
}
[CCode (cheader_filename = "gio/gio.h")]
+ [Version (since = "2.26")]
public class DBusMessage : GLib.Object {
[CCode (has_construct_function = false)]
public DBusMessage ();
@@ -688,6 +804,7 @@ namespace GLib {
}
[CCode (cheader_filename = "gio/gio.h", ref_function = "g_dbus_method_info_ref", type_id = "g_dbus_method_info_get_type ()", unref_function = "g_dbus_method_info_unref")]
[Compact]
+ [Version (since = "2.26")]
public class DBusMethodInfo {
[CCode (array_length = false, array_null_terminated = true)]
public GLib.DBusAnnotationInfo[] annotations;
@@ -701,6 +818,7 @@ namespace GLib {
public void unref ();
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_method_invocation_get_type ()")]
+ [Version (since = "2.26")]
public class DBusMethodInvocation : GLib.Object {
[CCode (has_construct_function = false)]
protected DBusMethodInvocation ();
@@ -711,6 +829,7 @@ namespace GLib {
public unowned string get_method_name ();
public unowned string get_object_path ();
public unowned GLib.Variant get_parameters ();
+ [Version (since = "2.38")]
public unowned GLib.DBusPropertyInfo get_property_info ();
public unowned string get_sender ();
public void* get_user_data ();
@@ -720,11 +839,14 @@ namespace GLib {
public void return_error_valist (GLib.Quark domain, int code, string format, [CCode (type = "va_list")] va_list var_args);
public void return_gerror (GLib.Error error);
public void return_value (GLib.Variant? parameters);
+ [Version (since = "2.30")]
public void return_value_with_unix_fd_list (GLib.Variant? parameters, GLib.UnixFDList? fd_list);
+ [Version (since = "2.30")]
public void take_error (owned GLib.Error error);
}
[CCode (cheader_filename = "gio/gio.h", ref_function = "g_dbus_node_info_ref", type_id = "g_dbus_node_info_get_type ()", unref_function = "g_dbus_node_info_unref")]
[Compact]
+ [Version (since = "2.26")]
public class DBusNodeInfo {
[CCode (array_length = false, array_null_terminated = true)]
public GLib.DBusAnnotationInfo[] annotations;
@@ -742,6 +864,7 @@ namespace GLib {
public void unref ();
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_object_manager_client_get_type ()")]
+ [Version (since = "2.30")]
public class DBusObjectManagerClient : GLib.Object, GLib.AsyncInitable, GLib.DBusObjectManager, GLib.Initable, GLib.AsyncInitable, GLib.DBusObjectManager, GLib.Initable {
[CCode (has_construct_function = false)]
protected DBusObjectManagerClient ();
@@ -774,12 +897,14 @@ namespace GLib {
public virtual signal void interface_proxy_signal (GLib.DBusObjectProxy object_proxy, GLib.DBusProxy interface_proxy, string sender_name, string signal_name, GLib.Variant parameters);
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_object_manager_server_get_type ()")]
+ [Version (since = "2.30")]
public class DBusObjectManagerServer : GLib.Object, GLib.DBusObjectManager {
[CCode (has_construct_function = false)]
public DBusObjectManagerServer (string object_path);
public void export (GLib.DBusObjectSkeleton object);
public void export_uniquely (GLib.DBusObjectSkeleton object);
public GLib.DBusConnection get_connection ();
+ [Version (since = "2.34")]
public bool is_exported (GLib.DBusObjectSkeleton object);
public void set_connection (GLib.DBusConnection? connection);
public bool unexport (string object_path);
@@ -788,6 +913,7 @@ namespace GLib {
public string object_path { owned get; construct; }
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_object_proxy_get_type ()")]
+ [Version (since = "2.30")]
public class DBusObjectProxy : GLib.Object, GLib.DBusObject {
[CCode (has_construct_function = false)]
public DBusObjectProxy (GLib.DBusConnection connection, string object_path);
@@ -798,6 +924,7 @@ namespace GLib {
public string g_object_path { owned get; construct; }
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_object_skeleton_get_type ()")]
+ [Version (since = "2.30")]
public class DBusObjectSkeleton : GLib.Object, GLib.DBusObject {
[CCode (has_construct_function = false)]
public DBusObjectSkeleton (string object_path);
@@ -812,6 +939,7 @@ namespace GLib {
}
[CCode (cheader_filename = "gio/gio.h", ref_function = "g_dbus_property_info_ref", type_id = "g_dbus_property_info_get_type ()", unref_function = "g_dbus_property_info_unref")]
[Compact]
+ [Version (since = "2.26")]
public class DBusPropertyInfo {
[CCode (array_length = false, array_null_terminated = true)]
public GLib.DBusAnnotationInfo[] annotations;
@@ -823,12 +951,15 @@ namespace GLib {
public void unref ();
}
[CCode (cheader_filename = "gio/gio.h")]
+ [Version (since = "2.26")]
public class DBusProxy : GLib.Object, GLib.AsyncInitable, GLib.DBusInterface, GLib.Initable, GLib.AsyncInitable, GLib.DBusInterface, GLib.Initable {
[CCode (has_construct_function = false)]
protected DBusProxy ();
public async GLib.Variant call (string method_name, GLib.Variant? parameters, GLib.DBusCallFlags flags, int timeout_msec, GLib.Cancellable? cancellable = null) throws GLib.Error;
public GLib.Variant call_sync (string method_name, GLib.Variant? parameters, GLib.DBusCallFlags flags, int timeout_msec, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.30")]
public async GLib.Variant call_with_unix_fd_list (string method_name, GLib.Variant? parameters, GLib.DBusCallFlags flags, int timeout_msec, GLib.UnixFDList? fd_list = null, GLib.Cancellable? cancellable = null, out GLib.UnixFDList? out_fd_list = null) throws GLib.Error;
+ [Version (since = "2.30")]
public GLib.Variant call_with_unix_fd_list_sync (string method_name, GLib.Variant? parameters, GLib.DBusCallFlags flags, int timeout_msec, GLib.UnixFDList? fd_list = null, out GLib.UnixFDList? out_fd_list = null, GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (cname = "g_dbus_proxy_new_for_bus", finish_function = "g_dbus_proxy_new_for_bus_finish")]
public static async GLib.DBusProxy create_for_bus (GLib.BusType bus_type, GLib.DBusProxyFlags flags, GLib.DBusInterfaceInfo? info, string name, string object_path, string interface_name, GLib.Cancellable? cancellable = null) throws GLib.IOError;
@@ -873,6 +1004,7 @@ namespace GLib {
public virtual signal void g_signal (string? sender_name, string signal_name, GLib.Variant parameters);
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_server_get_type ()")]
+ [Version (since = "2.26")]
public class DBusServer : GLib.Object, GLib.Initable {
[CCode (has_construct_function = false)]
protected DBusServer ();
@@ -897,6 +1029,7 @@ namespace GLib {
}
[CCode (cheader_filename = "gio/gio.h", ref_function = "g_dbus_signal_info_ref", type_id = "g_dbus_signal_info_get_type ()", unref_function = "g_dbus_signal_info_unref")]
[Compact]
+ [Version (since = "2.26")]
public class DBusSignalInfo {
[CCode (array_length = false, array_null_terminated = true)]
public GLib.DBusAnnotationInfo[] annotations;
@@ -920,7 +1053,9 @@ namespace GLib {
[CCode (array_length = false, array_null_terminated = true)]
public string? read_line (out size_t length = null, GLib.Cancellable? cancellable = null) throws GLib.IOError;
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "2.20")]
public async string? read_line_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null, out size_t length = null) throws GLib.IOError, GLib.IOError;
+ [Version (since = "2.30")]
public string? read_line_utf8 (out size_t length, GLib.Cancellable? cancellable = null) throws GLib.IOError;
[CCode (cname = "g_data_input_stream_read_line_async", finish_function = "g_data_input_stream_read_line_finish_utf8")]
public async string? read_line_utf8_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null, out size_t length) throws GLib.IOError, GLib.IOError;
@@ -928,8 +1063,11 @@ namespace GLib {
public uint32 read_uint32 (GLib.Cancellable? cancellable = null) throws GLib.IOError;
public uint64 read_uint64 (GLib.Cancellable? cancellable = null) throws GLib.IOError;
public string read_until (string stop_chars, out size_t length, GLib.Cancellable? cancellable = null) throws GLib.IOError;
+ [Version (since = "2.20")]
public async string read_until_async (string stop_chars, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null, out size_t length) throws GLib.IOError, GLib.IOError;
+ [Version (since = "2.26")]
public string read_upto (string stop_chars, ssize_t stop_chars_len, out size_t length, GLib.Cancellable? cancellable = null) throws GLib.IOError;
+ [Version (since = "2.26")]
public async string read_upto_async (string stop_chars, ssize_t stop_chars_len, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null, out size_t length) throws GLib.IOError, GLib.IOError;
public void set_byte_order (GLib.DataStreamByteOrder order);
public void set_newline_type (GLib.DataStreamNewlineType type);
@@ -955,10 +1093,14 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h", type_id = "g_emblem_get_type ()")]
public class Emblem : GLib.Object, GLib.Icon {
[CCode (has_construct_function = false)]
+ [Version (since = "2.18")]
public Emblem (GLib.Icon icon);
+ [Version (since = "2.18")]
public unowned GLib.Icon get_icon ();
+ [Version (since = "2.18")]
public GLib.EmblemOrigin get_origin ();
[CCode (has_construct_function = false)]
+ [Version (since = "2.18")]
public Emblem.with_origin (GLib.Icon icon, GLib.EmblemOrigin origin);
public GLib.Object icon { get; construct; }
public GLib.EmblemOrigin origin { get; construct; }
@@ -966,10 +1108,15 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h", type_id = "g_emblemed_icon_get_type ()")]
public class EmblemedIcon : GLib.Object, GLib.Icon {
[CCode (has_construct_function = false, type = "GIcon*")]
+ [Version (since = "2.18")]
public EmblemedIcon (GLib.Icon icon, GLib.Emblem? emblem);
+ [Version (since = "2.18")]
public void add_emblem (GLib.Emblem emblem);
+ [Version (since = "2.28")]
public void clear_emblems ();
+ [Version (since = "2.18")]
public unowned GLib.List<GLib.Emblem> get_emblems ();
+ [Version (since = "2.18")]
public unowned GLib.Icon get_icon ();
[NoAccessorMethod]
public GLib.Icon gicon { owned get; construct; }
@@ -999,6 +1146,7 @@ namespace GLib {
public bool matches_only (string attribute);
public GLib.FileAttributeMatcher @ref ();
public GLib.FileAttributeMatcher subtract (GLib.FileAttributeMatcher subtract);
+ [Version (since = "2.32")]
public string to_string ();
public void unref ();
}
@@ -1010,10 +1158,13 @@ namespace GLib {
public virtual async bool close_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
[NoWrapper]
public virtual bool close_fn (GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.36")]
public GLib.File get_child (GLib.FileInfo info);
+ [Version (since = "2.18")]
public unowned GLib.File get_container ();
public bool has_pending ();
public bool is_closed ();
+ [Version (since = "2.44")]
public bool iterate (out unowned GLib.FileInfo out_info, out unowned GLib.File out_child, GLib.Cancellable? cancellable = null) throws GLib.Error;
public virtual GLib.FileInfo? next_file (GLib.Cancellable? cancellable = null) throws GLib.Error;
public virtual async GLib.List<GLib.FileInfo> next_files_async (int num_files, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
@@ -1028,8 +1179,11 @@ namespace GLib {
public virtual bool can_seek ();
[NoWrapper]
public virtual bool can_truncate ();
+ [Version (since = "2.22")]
public virtual string get_etag ();
+ [Version (since = "2.22")]
public virtual GLib.FileInfo query_info (string attributes, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.22")]
public virtual async GLib.FileInfo query_info_async (string attributes, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
[NoWrapper]
public virtual bool seek (int64 offset, GLib.SeekType type, GLib.Cancellable? cancellable = null) throws GLib.Error;
@@ -1062,11 +1216,13 @@ namespace GLib {
public GLib.FileAttributeStatus get_attribute_status (string attribute);
public unowned string get_attribute_string (string attribute);
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "2.22")]
public unowned string[] get_attribute_stringv (string attribute);
public GLib.FileAttributeType get_attribute_type (string attribute);
public uint32 get_attribute_uint32 (string attribute);
public uint64 get_attribute_uint64 (string attribute);
public unowned string get_content_type ();
+ [Version (since = "2.36")]
public GLib.DateTime get_deletion_date ();
public unowned string get_display_name ();
public unowned string get_edit_name ();
@@ -1080,12 +1236,14 @@ namespace GLib {
public unowned string get_name ();
public int64 get_size ();
public int32 get_sort_order ();
+ [Version (since = "2.34")]
public unowned GLib.Icon get_symbolic_icon ();
public unowned string get_symlink_target ();
public bool has_attribute (string attribute);
+ [Version (since = "2.22")]
public bool has_namespace (string name_space);
[CCode (array_length = false, array_null_terminated = true)]
- public string[]? list_attributes (string name_space);
+ public string[]? list_attributes (string? name_space);
public void remove_attribute (string attribute);
public void set_attribute (string attribute, GLib.FileAttributeType type, void* value_p);
public void set_attribute_boolean (string attribute, bool attr_value);
@@ -1094,6 +1252,7 @@ namespace GLib {
public void set_attribute_int64 (string attribute, int64 attr_value);
public void set_attribute_mask (GLib.FileAttributeMatcher mask);
public void set_attribute_object (string attribute, GLib.Object attr_value);
+ [Version (since = "2.22")]
public bool set_attribute_status (string attribute, GLib.FileAttributeStatus status);
public void set_attribute_string (string attribute, string attr_value);
public void set_attribute_stringv (string attribute, [CCode (array_length = false)] string[] attr_value);
@@ -1110,6 +1269,7 @@ namespace GLib {
public void set_name (string name);
public void set_size (int64 size);
public void set_sort_order (int32 sort_order);
+ [Version (since = "2.34")]
public void set_symbolic_icon (GLib.Icon icon);
public void set_symlink_target (string symlink_target);
public void unset_attribute_mask ();
@@ -1137,7 +1297,7 @@ namespace GLib {
public void set_rate_limit (int limit_msecs);
[NoAccessorMethod]
public bool cancelled { get; }
- [Deprecated (since = "2.46")]
+ [Version (deprecated_since = "2.46")]
public GLib.MainContext context { construct; }
[NoAccessorMethod]
public int rate_limit { get; set; }
@@ -1206,8 +1366,10 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h", cname = "G_NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME")]
public const string NATIVE_VOLUME_MONITOR;
[CCode (cheader_filename = "gio/gio.h", cname = "G_NETWORK_MONITOR_EXTENSION_POINT_NAME")]
+ [Version (since = "2.30")]
public const string NETWORK_MONITOR;
[CCode (cheader_filename = "gio/gio.h", cname = "G_PROXY_EXTENSION_POINT_NAME")]
+ [Version (since = "2.26")]
public const string PROXY;
[CCode (cheader_filename = "gio/gio.h", cname = "G_PROXY_RESOLVER_EXTENSION_POINT_NAME")]
public const string PROXY_RESOLVER;
@@ -1236,17 +1398,22 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h", cname = "g_io_modules_load_all_in_directory")]
public static GLib.List<GLib.IOModule> load_all_in_directory (string dirname);
[CCode (cheader_filename = "gio/gio.h", cname = "g_io_modules_load_all_in_directory_with_scope")]
+ [Version (since = "2.30")]
public static GLib.List<GLib.IOModule> load_all_in_directory_with_scope (string dirname, GLib.IOModuleScope scope);
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "2.24")]
public static string[] query ();
[CCode (cheader_filename = "gio/gio.h", cname = "g_io_modules_scan_all_in_directory")]
+ [Version (since = "2.24")]
public static void scan_all_in_directory (string dirname);
[CCode (cheader_filename = "gio/gio.h", cname = "g_io_modules_scan_all_in_directory_with_scope")]
+ [Version (since = "2.30")]
public static void scan_all_in_directory_with_scope (string dirname, GLib.IOModuleScope scope);
public void unload ();
}
[CCode (cheader_filename = "gio/gio.h")]
[Compact]
+ [Version (since = "2.30")]
public class IOModuleScope {
[CCode (has_construct_function = false)]
public IOModuleScope (GLib.IOModuleScopeFlags flags);
@@ -1257,29 +1424,36 @@ namespace GLib {
[Compact]
public class IOSchedulerJob {
[CCode (cheader_filename = "gio/gio.h", cname = "g_io_scheduler_cancel_all_jobs")]
- [Deprecated]
+ [Version (deprecated = true)]
public static void cancel_all ();
[CCode (cheader_filename = "gio/gio.h", cname = "g_io_scheduler_push_job")]
- [Deprecated]
+ [Version (deprecated = true)]
public static void push ([CCode (delegate_target_pos = 1.33333, destroy_notify_pos = 1.66667)] owned GLib.IOSchedulerJobFunc job_func, int io_priority, GLib.Cancellable? cancellable = null);
- [Deprecated]
+ [Version (deprecated = true)]
public bool send_to_mainloop (owned GLib.SourceFunc func);
- [Deprecated]
+ [Version (deprecated = true)]
public void send_to_mainloop_async (owned GLib.SourceFunc func);
}
[CCode (cheader_filename = "gio/gio.h")]
public abstract class IOStream : GLib.Object {
[CCode (has_construct_function = false)]
protected IOStream ();
+ [Version (since = "2.22")]
public void clear_pending ();
[CCode (vfunc_name = "close_fn")]
public virtual bool close (GLib.Cancellable? cancellable = null) throws GLib.IOError;
public virtual async bool close_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.IOError;
+ [Version (since = "2.22")]
public virtual unowned GLib.InputStream get_input_stream ();
+ [Version (since = "2.22")]
public virtual unowned GLib.OutputStream get_output_stream ();
+ [Version (since = "2.22")]
public bool has_pending ();
+ [Version (since = "2.22")]
public bool is_closed ();
+ [Version (since = "2.22")]
public bool set_pending () throws GLib.Error;
+ [Version (since = "2.28")]
public async bool splice_async (GLib.IOStream stream2, GLib.IOStreamSpliceFlags flags, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
[NoAccessorMethod]
public bool closed { get; }
@@ -1295,44 +1469,74 @@ namespace GLib {
[CCode (has_construct_function = false)]
protected InetAddress ();
[CCode (has_construct_function = false)]
+ [Version (since = "2.22")]
public InetAddress.any (GLib.SocketFamily family);
+ [Version (since = "2.30")]
public bool equal (GLib.InetAddress other_address);
[CCode (has_construct_function = false)]
+ [Version (since = "2.22")]
public InetAddress.from_bytes ([CCode (array_length = false)] uint8[] bytes, GLib.SocketFamily family);
[CCode (has_construct_function = false)]
+ [Version (since = "2.22")]
public InetAddress.from_string (string string);
+ [Version (since = "2.22")]
public GLib.SocketFamily get_family ();
+ [Version (since = "2.22")]
public bool get_is_any ();
+ [Version (since = "2.22")]
public bool get_is_link_local ();
+ [Version (since = "2.22")]
public bool get_is_loopback ();
+ [Version (since = "2.22")]
public bool get_is_mc_global ();
+ [Version (since = "2.22")]
public bool get_is_mc_link_local ();
+ [Version (since = "2.22")]
public bool get_is_mc_node_local ();
+ [Version (since = "2.22")]
public bool get_is_mc_org_local ();
+ [Version (since = "2.22")]
public bool get_is_mc_site_local ();
+ [Version (since = "2.22")]
public bool get_is_multicast ();
+ [Version (since = "2.22")]
public bool get_is_site_local ();
+ [Version (since = "2.22")]
public size_t get_native_size ();
[CCode (has_construct_function = false)]
+ [Version (since = "2.22")]
public InetAddress.loopback (GLib.SocketFamily family);
[CCode (array_length = false)]
+ [Version (since = "2.22")]
public virtual unowned uint8[] to_bytes ();
+ [Version (since = "2.22")]
public virtual string to_string ();
[NoAccessorMethod]
public void* bytes { get; construct; }
public GLib.SocketFamily family { get; construct; }
+ [Version (since = "2.22")]
public bool is_any { get; }
+ [Version (since = "2.22")]
public bool is_link_local { get; }
+ [Version (since = "2.22")]
public bool is_loopback { get; }
+ [Version (since = "2.22")]
public bool is_mc_global { get; }
+ [Version (since = "2.22")]
public bool is_mc_link_local { get; }
+ [Version (since = "2.22")]
public bool is_mc_node_local { get; }
+ [Version (since = "2.22")]
public bool is_mc_org_local { get; }
+ [Version (since = "2.22")]
public bool is_mc_site_local { get; }
+ [Version (since = "2.22")]
public bool is_multicast { get; }
+ [Version (since = "2.22")]
public bool is_site_local { get; }
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_inet_address_mask_get_type ()")]
+ [Version (since = "2.32")]
public class InetAddressMask : GLib.Object, GLib.Initable {
[CCode (has_construct_function = false)]
public InetAddressMask (GLib.InetAddress addr, uint length) throws GLib.Error;
@@ -1353,14 +1557,21 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h", type_id = "g_inet_socket_address_get_type ()")]
public class InetSocketAddress : GLib.SocketAddress, GLib.SocketConnectable {
[CCode (has_construct_function = false, type = "GSocketAddress*")]
+ [Version (since = "2.22")]
public InetSocketAddress (GLib.InetAddress address, uint16 port);
[CCode (has_construct_function = false, type = "GSocketAddress*")]
+ [Version (since = "2.40")]
public InetSocketAddress.from_string (string address, uint port);
+ [Version (since = "2.22")]
public unowned GLib.InetAddress get_address ();
+ [Version (since = "2.32")]
public uint32 get_flowinfo ();
+ [Version (since = "2.22")]
public uint16 get_port ();
+ [Version (since = "2.32")]
public uint32 get_scope_id ();
public GLib.InetAddress address { get; construct; }
+ [Version (since = "2.32")]
public uint flowinfo { get; construct; }
public uint port { get; construct; }
public uint scope_id { get; construct; }
@@ -1378,9 +1589,12 @@ namespace GLib {
[CCode (vfunc_name = "read_fn")]
public abstract ssize_t read ([CCode (array_length_type = "gsize")] uint8[] buffer, GLib.Cancellable? cancellable = null) throws GLib.IOError;
public bool read_all ([CCode (array_length_cname = "count", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] buffer, out size_t bytes_read, GLib.Cancellable? cancellable = null) throws GLib.IOError;
+ [Version (since = "2.44")]
public async bool read_all_async ([CCode (array_length_cname = "count", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] buffer, int io_priority, GLib.Cancellable? cancellable, out size_t bytes_read) throws GLib.Error;
public virtual async ssize_t read_async ([CCode (array_length_cname = "count", array_length_pos = 1.5, array_length_type = "gsize")] uint8[]? buffer, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.IOError;
+ [Version (since = "2.34")]
public GLib.Bytes read_bytes (size_t count, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.34")]
public async GLib.Bytes read_bytes_async (size_t count, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
public bool set_pending () throws GLib.Error;
public virtual ssize_t skip (size_t count, GLib.Cancellable? cancellable = null) throws GLib.IOError;
@@ -1389,24 +1603,35 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h", type_id = "g_list_store_get_type ()")]
public class ListStore : GLib.Object, GLib.ListModel {
[CCode (has_construct_function = false)]
+ [Version (since = "2.44")]
public ListStore (GLib.Type item_type);
+ [Version (since = "2.44")]
public void append (GLib.Object item);
+ [Version (since = "2.44")]
public void insert (uint position, GLib.Object item);
+ [Version (since = "2.44")]
public uint insert_sorted (GLib.Object item, GLib.CompareDataFunc compare_func);
+ [Version (since = "2.44")]
public void remove (uint position);
+ [Version (since = "2.44")]
public void remove_all ();
+ [Version (since = "2.46")]
public void sort (GLib.CompareDataFunc compare_func);
+ [Version (since = "2.44")]
public void splice (uint position, uint n_removals, [CCode (array_length_cname = "n_additions", array_length_pos = 3.1, array_length_type = "guint")] GLib.Object[] additions);
[NoAccessorMethod]
+ [Version (since = "2.44")]
public GLib.Type item_type { get; construct; }
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_memory_input_stream_get_type ()")]
public class MemoryInputStream : GLib.InputStream, GLib.PollableInputStream, GLib.Seekable {
[CCode (has_construct_function = false, type = "GInputStream*")]
public MemoryInputStream ();
+ [Version (since = "2.34")]
public void add_bytes (GLib.Bytes bytes);
public void add_data ([CCode (array_length_cname = "len", array_length_pos = 1.5, array_length_type = "gssize")] owned uint8[] data, GLib.DestroyNotify? destroy = GLib.g_free);
[CCode (has_construct_function = false, type = "GInputStream*")]
+ [Version (since = "2.34")]
public MemoryInputStream.from_bytes (GLib.Bytes bytes);
[CCode (has_construct_function = false, type = "GInputStream*")]
public MemoryInputStream.from_data ([CCode (array_length_cname = "len", array_length_pos = 1.5, array_length_type = "gssize")] owned uint8[] data, GLib.DestroyNotify? destroy = GLib.g_free);
@@ -1417,28 +1642,40 @@ namespace GLib {
public MemoryOutputStream ([CCode (array_length_type = "gsize")] owned uint8[]? data, GLib.ReallocFunc? realloc_function = GLib.g_realloc, GLib.DestroyNotify? destroy_function = GLib.g_free);
[CCode (array_length = false)]
public unowned uint8[] get_data ();
+ [Version (since = "2.18")]
public size_t get_data_size ();
public size_t get_size ();
[CCode (has_construct_function = false, type = "GOutputStream*")]
+ [Version (since = "2.36")]
public MemoryOutputStream.resizable ();
+ [Version (since = "2.34")]
public GLib.Bytes steal_as_bytes ();
[CCode (array_length = false)]
+ [Version (since = "2.26")]
public uint8[] steal_data ();
+ [Version (since = "2.24")]
public void* data { get; construct; }
+ [Version (since = "2.24")]
public ulong data_size { get; }
[NoAccessorMethod]
+ [Version (since = "2.24")]
public GLib.DestroyNotify? destroy_function { get; construct; }
[NoAccessorMethod]
+ [Version (since = "2.24")]
public GLib.ReallocFunc? realloc_function { get; construct; }
+ [Version (since = "2.24")]
public ulong size { get; construct; }
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_menu_get_type ()")]
+ [Version (since = "2.32")]
public class Menu : GLib.MenuModel {
[CCode (cheader_filename = "gio/gio.h", cname = "G_MENU_ATTRIBUTE_ACTION")]
public const string ATTRIBUTE_ACTION;
[CCode (cheader_filename = "gio/gio.h", cname = "G_MENU_ATTRIBUTE_ACTION_NAMESPACE")]
+ [Version (since = "2.36")]
public const string ATTRIBUTE_ACTION_NAMESPACE;
[CCode (cheader_filename = "gio/gio.h", cname = "G_MENU_ATTRIBUTE_ICON")]
+ [Version (since = "2.38")]
public const string ATTRIBUTE_ICON;
[CCode (cheader_filename = "gio/gio.h", cname = "G_MENU_ATTRIBUTE_LABEL")]
public const string ATTRIBUTE_LABEL;
@@ -1464,9 +1701,11 @@ namespace GLib {
public void prepend_section (string? label, GLib.MenuModel section);
public void prepend_submenu (string? label, GLib.MenuModel submenu);
public void remove (int position);
+ [Version (since = "2.38")]
public void remove_all ();
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_menu_attribute_iter_get_type ()")]
+ [Version (since = "2.32")]
public abstract class MenuAttributeIter : GLib.Object {
[CCode (has_construct_function = false)]
protected MenuAttributeIter ();
@@ -1476,12 +1715,16 @@ namespace GLib {
public bool next ();
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_menu_item_get_type ()")]
+ [Version (since = "2.32")]
public class MenuItem : GLib.Object {
[CCode (has_construct_function = false)]
public MenuItem (string? label, string? detailed_action);
[CCode (has_construct_function = false)]
+ [Version (since = "2.34")]
public MenuItem.from_model (GLib.MenuModel model, int item_index);
+ [Version (since = "2.34")]
public GLib.Variant get_attribute_value (string attribute, GLib.VariantType? expected_type);
+ [Version (since = "2.34")]
public GLib.MenuModel get_link (string link);
[CCode (has_construct_function = false)]
public MenuItem.section (string? label, GLib.MenuModel section);
@@ -1490,6 +1733,7 @@ namespace GLib {
public void set_attribute (string attribute, string? format_string, ...);
public void set_attribute_value (string attribute, GLib.Variant? value);
public void set_detailed_action (string detailed_action);
+ [Version (since = "2.38")]
public void set_icon (GLib.Icon icon);
public void set_label (string? label);
public void set_link (string link, GLib.MenuModel? model);
@@ -1499,6 +1743,7 @@ namespace GLib {
public MenuItem.submenu (string? label, GLib.MenuModel submenu);
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_menu_link_iter_get_type ()")]
+ [Version (since = "2.32")]
public abstract class MenuLinkIter : GLib.Object {
[CCode (has_construct_function = false)]
protected MenuLinkIter ();
@@ -1508,6 +1753,7 @@ namespace GLib {
public bool next ();
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_menu_model_get_type ()")]
+ [Version (since = "2.32")]
public abstract class MenuModel : GLib.Object {
[CCode (has_construct_function = false)]
protected MenuModel ();
@@ -1547,12 +1793,15 @@ namespace GLib {
public string password { get; set; }
public GLib.PasswordSave password_save { get; set; }
public string username { get; set; }
+ [Version (since = "2.20")]
public virtual signal void aborted ();
public virtual signal void ask_password (string message, string default_user, string default_domain, GLib.AskPasswordFlags flags);
public virtual signal void ask_question (string message, [CCode (array_length = false, array_null_terminated = true)] string[] choices);
[HasEmitter]
public virtual signal void reply (GLib.MountOperationResult result);
+ [Version (since = "2.22")]
public signal void show_processes (string message, GLib.Array<GLib.Pid> processes, [CCode (array_length = false, array_null_terminated = true)] string[] choices);
+ [Version (since = "2.34")]
public virtual signal void show_unmount_progress (string message, int64 time_left, int64 bytes_left);
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_native_socket_address_get_type ()")]
@@ -1569,13 +1818,20 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h", type_id = "g_network_address_get_type ()")]
public class NetworkAddress : GLib.Object, GLib.SocketConnectable {
[CCode (has_construct_function = false, type = "GSocketConnectable*")]
+ [Version (since = "2.22")]
public NetworkAddress (string hostname, uint16 port);
+ [Version (since = "2.22")]
public unowned string get_hostname ();
+ [Version (since = "2.22")]
public uint16 get_port ();
+ [Version (since = "2.26")]
public unowned string get_scheme ();
[CCode (has_construct_function = false, type = "GSocketConnectable*")]
+ [Version (since = "2.44")]
public NetworkAddress.loopback (uint16 port);
+ [Version (since = "2.22")]
public static GLib.NetworkAddress parse (string host_and_port, uint16 default_port) throws GLib.Error;
+ [Version (since = "2.26")]
public static GLib.NetworkAddress parse_uri (string uri, uint16 default_port) throws GLib.Error;
public string hostname { get; construct; }
public uint port { get; construct; }
@@ -1584,11 +1840,17 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h", type_id = "g_network_service_get_type ()")]
public class NetworkService : GLib.Object, GLib.SocketConnectable {
[CCode (has_construct_function = false, type = "GSocketConnectable*")]
+ [Version (since = "2.22")]
public NetworkService (string service, string protocol, string domain);
+ [Version (since = "2.22")]
public unowned string get_domain ();
+ [Version (since = "2.22")]
public unowned string get_protocol ();
+ [Version (since = "2.26")]
public unowned string get_scheme ();
+ [Version (since = "2.22")]
public unowned string get_service ();
+ [Version (since = "2.26")]
public void set_scheme (string scheme);
public string domain { get; construct; }
public string protocol { get; construct; }
@@ -1596,6 +1858,7 @@ namespace GLib {
public string service { get; construct; }
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_notification_get_type ()")]
+ [Version (since = "2.40")]
public class Notification : GLib.Object {
[CCode (has_construct_function = false)]
public Notification (string title);
@@ -1621,6 +1884,7 @@ namespace GLib {
public virtual async bool flush_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
public bool has_pending ();
public bool is_closed ();
+ [Version (since = "2.24")]
public bool is_closing ();
public bool set_pending () throws GLib.Error;
public virtual ssize_t splice (GLib.InputStream source, GLib.OutputStreamSpliceFlags flags, GLib.Cancellable? cancellable = null) throws GLib.IOError;
@@ -1628,6 +1892,7 @@ namespace GLib {
[CCode (vfunc_name = "write_fn")]
public abstract ssize_t write ([CCode (array_length_type = "gsize")] uint8[] buffer, GLib.Cancellable? cancellable = null) throws GLib.IOError;
public bool write_all ([CCode (array_length_cname = "count", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] buffer, out size_t bytes_written, GLib.Cancellable? cancellable = null) throws GLib.IOError;
+ [Version (since = "2.44")]
public async bool write_all_async ([CCode (array_length_cname = "count", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] buffer, int io_priority, GLib.Cancellable? cancellable, out size_t bytes_written) throws GLib.Error;
public virtual async ssize_t write_async ([CCode (array_length_cname = "count", array_length_pos = 1.5, array_length_type = "gsize")] uint8[]? buffer, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.IOError;
public ssize_t write_bytes (GLib.Bytes bytes, GLib.Cancellable? cancellable = null) throws GLib.Error;
@@ -1637,13 +1902,21 @@ namespace GLib {
public abstract class Permission : GLib.Object {
[CCode (has_construct_function = false)]
protected Permission ();
+ [Version (since = "2.26")]
public virtual bool acquire (GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.26")]
public virtual async bool acquire_async (GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.26")]
public bool get_allowed ();
+ [Version (since = "2.26")]
public bool get_can_acquire ();
+ [Version (since = "2.26")]
public bool get_can_release ();
+ [Version (since = "2.26")]
public void impl_update (bool allowed, bool can_acquire, bool can_release);
+ [Version (since = "2.26")]
public virtual bool release (GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.26")]
public virtual async bool release_async (GLib.Cancellable? cancellable = null) throws GLib.Error;
public bool allowed { get; }
public bool can_acquire { get; }
@@ -1660,30 +1933,37 @@ namespace GLib {
public void set_callback ([CCode (type = "GSourceFunc")] owned GLib.PollableSourceFunc func);
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_property_action_get_type ()")]
+ [Version (since = "2.38")]
public class PropertyAction : GLib.Object, GLib.Action {
[CCode (has_construct_function = false)]
public PropertyAction (string name, GLib.Object object, string property_name);
[NoAccessorMethod]
+ [Version (since = "2.46")]
public bool invert_boolean { get; construct; }
public GLib.Object object { construct; }
public string property_name { construct; }
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_proxy_address_get_type ()")]
+ [Version (since = "2.26")]
public class ProxyAddress : GLib.InetSocketAddress, GLib.SocketConnectable {
[CCode (has_construct_function = false, type = "GSocketAddress*")]
public ProxyAddress (GLib.InetAddress inetaddr, uint16 port, string protocol, string dest_hostname, uint16 dest_port, string? username, string? password);
public unowned string get_destination_hostname ();
public uint16 get_destination_port ();
+ [Version (since = "2.34")]
public unowned string get_destination_protocol ();
public unowned string get_password ();
public unowned string get_protocol ();
+ [Version (since = "2.34")]
public unowned string get_uri ();
public unowned string get_username ();
public string destination_hostname { get; construct; }
public uint destination_port { get; construct; }
+ [Version (since = "2.34")]
public string destination_protocol { get; construct; }
public string password { get; construct; }
public string protocol { get; construct; }
+ [Version (since = "2.34")]
public string uri { get; construct; }
public string username { get; construct; }
}
@@ -1694,8 +1974,10 @@ namespace GLib {
[NoAccessorMethod]
public GLib.SocketConnectable connectable { owned get; construct; }
[NoAccessorMethod]
+ [Version (since = "2.38")]
public uint default_port { get; construct; }
[NoAccessorMethod]
+ [Version (since = "2.36")]
public GLib.ProxyResolver proxy_resolver { owned get; set construct; }
[NoAccessorMethod]
public string uri { owned get; construct; }
@@ -1704,13 +1986,21 @@ namespace GLib {
public class Resolver : GLib.Object {
[CCode (has_construct_function = false)]
protected Resolver ();
+ [Version (since = "2.22")]
public static GLib.Resolver get_default ();
+ [Version (since = "2.22")]
public virtual string lookup_by_address (GLib.InetAddress address, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.22")]
public virtual async string lookup_by_address_async (GLib.InetAddress address, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.22")]
public virtual GLib.List<GLib.InetAddress> lookup_by_name (string hostname, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.22")]
public virtual async GLib.List<GLib.InetAddress> lookup_by_name_async (string hostname, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.34")]
public virtual GLib.List<GLib.Variant> lookup_records (string rrname, GLib.ResolverRecordType record_type, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.34")]
public virtual async GLib.List<GLib.Variant> lookup_records_async (string rrname, GLib.ResolverRecordType record_type, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.22")]
public GLib.List<GLib.SrvTarget> lookup_service (string service, string protocol, string domain, GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (finish_function = "g_resolver_lookup_service_finish")]
public async GLib.List<GLib.SrvTarget> lookup_service_async (string service, string protocol, string domain, GLib.Cancellable? cancellable = null) throws GLib.Error;
@@ -1720,11 +2010,13 @@ namespace GLib {
[CCode (finish_function = "g_resolver_lookup_service_finish", vfunc_name = "lookup_service_async")]
[NoWrapper]
public virtual async GLib.List<GLib.SrvTarget> lookup_service_fn_async (string rrname, GLib.Cancellable? cancellable = null);
+ [Version (since = "2.22")]
public void set_default ();
public virtual signal void reload ();
}
[CCode (cheader_filename = "gio/gio.h", ref_function = "g_resource_ref", type_id = "g_resource_get_type ()", unref_function = "g_resource_unref")]
[Compact]
+ [Version (since = "2.32")]
public class Resource {
[CCode (cname = "g_resources_register")]
public void _register ();
@@ -1745,77 +2037,111 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h")]
public class Settings : GLib.Object {
[CCode (has_construct_function = false)]
+ [Version (since = "2.26")]
public Settings (string schema_id);
public void apply ();
+ [Version (since = "2.26")]
public void bind (string key, GLib.Object object, string property, GLib.SettingsBindFlags flags);
public void bind_with_mapping (string key, GLib.Object object, string property, GLib.SettingsBindFlags flags, GLib.SettingsBindGetMappingShared get_mapping, GLib.SettingsBindSetMappingShared set_mapping, void* user_data, GLib.DestroyNotify? notify);
+ [Version (since = "2.26")]
public void bind_writable (string key, GLib.Object object, string property, bool inverted);
+ [Version (since = "2.32")]
public GLib.Action create_action (string key);
+ [Version (since = "2.26")]
public void delay ();
[CCode (has_construct_function = false)]
+ [Version (since = "2.32")]
public Settings.full (GLib.SettingsSchema schema, GLib.SettingsBackend? backend, string? path);
[CCode (sentinel = "")]
+ [Version (since = "2.26")]
public void @get (string key, string format, ...);
+ [Version (since = "2.26")]
public bool get_boolean (string key);
+ [Version (since = "2.26")]
public GLib.Settings get_child (string name);
+ [Version (since = "2.40")]
public GLib.Variant? get_default_value (string key);
+ [Version (since = "2.26")]
public double get_double (string key);
+ [Version (since = "2.26")]
public int get_enum (string key);
+ [Version (since = "2.26")]
public uint get_flags (string key);
+ [Version (since = "2.26")]
public bool get_has_unapplied ();
+ [Version (since = "2.26")]
public int get_int (string key);
public void* get_mapped (string key, GLib.SettingsGetMapping mapping);
- [Deprecated (since = "2.40")]
+ [Version (deprecated = true, deprecated_since = "2.40", since = "2.28")]
public GLib.Variant get_range (string key);
+ [Version (since = "2.26")]
public string get_string (string key);
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "2.26")]
public string[] get_strv (string key);
+ [Version (since = "2.30")]
public uint get_uint (string key);
+ [Version (since = "2.40")]
public GLib.Variant? get_user_value (string key);
+ [Version (since = "2.26")]
public GLib.Variant get_value (string key);
+ [Version (since = "2.26")]
public bool is_writable (string name);
[CCode (array_length = false, array_null_terminated = true)]
public string[] list_children ();
[CCode (array_length = false, array_null_terminated = true)]
public string[] list_keys ();
[CCode (array_length = false, array_null_terminated = true)]
- [Deprecated (since = "2.40")]
+ [Version (deprecated = true, deprecated_since = "2.40", since = "2.28")]
public static unowned string[] list_relocatable_schemas ();
[CCode (array_length = false, array_null_terminated = true)]
- [Deprecated (since = "2.40")]
+ [Version (deprecated = true, deprecated_since = "2.40", since = "2.26")]
public static unowned string[] list_schemas ();
- [Deprecated (since = "2.40")]
+ [Version (deprecated = true, deprecated_since = "2.40", since = "2.28")]
public bool range_check (string key, GLib.Variant value);
public void reset (string key);
public void revert ();
[CCode (sentinel = "")]
+ [Version (since = "2.26")]
public bool @set (string key, string format, ...);
+ [Version (since = "2.26")]
public bool set_boolean (string key, bool value);
+ [Version (since = "2.26")]
public bool set_double (string key, double value);
public bool set_enum (string key, int value);
public bool set_flags (string key, uint value);
+ [Version (since = "2.26")]
public bool set_int (string key, int value);
+ [Version (since = "2.26")]
public bool set_string (string key, string value);
+ [Version (since = "2.26")]
public bool set_strv (string key, [CCode (array_length = false, array_null_terminated = true)] string[]? value);
+ [Version (since = "2.30")]
public bool set_uint (string key, uint value);
+ [Version (since = "2.26")]
public bool set_value (string key, GLib.Variant value);
public static void sync ();
+ [Version (since = "2.26")]
public static void unbind (GLib.Object object, string property);
[CCode (has_construct_function = false)]
+ [Version (since = "2.26")]
public Settings.with_backend (string schema_id, GLib.SettingsBackend backend);
[CCode (has_construct_function = false)]
+ [Version (since = "2.26")]
public Settings.with_backend_and_path (string schema_id, GLib.SettingsBackend backend, string path);
[CCode (has_construct_function = false)]
+ [Version (since = "2.26")]
public Settings.with_path (string schema_id, string path);
[NoAccessorMethod]
public GLib.SettingsBackend backend { owned get; construct; }
[NoAccessorMethod]
+ [Version (since = "2.28")]
public bool delay_apply { get; }
public bool has_unapplied { get; }
[NoAccessorMethod]
public string path { owned get; construct; }
- [Deprecated (since = "2.32")]
[NoAccessorMethod]
+ [Version (deprecated = true, deprecated_since = "2.32")]
public string schema { owned get; construct; }
[NoAccessorMethod]
public string schema_id { owned get; construct; }
@@ -1833,14 +2159,19 @@ namespace GLib {
}
[CCode (cheader_filename = "gio/gio.h", ref_function = "g_settings_schema_ref", type_id = "g_settings_schema_get_type ()", unref_function = "g_settings_schema_unref")]
[Compact]
+ [Version (since = "2.32")]
public class SettingsSchema {
public unowned string get_id ();
+ [Version (since = "2.40")]
public GLib.SettingsSchemaKey get_key (string name);
public unowned string get_path ();
+ [Version (since = "2.40")]
public bool has_key (string name);
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "2.44")]
public string[] list_children ();
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "2.46")]
public string[] list_keys ();
public GLib.SettingsSchema @ref ();
public void unref ();
@@ -1848,23 +2179,34 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h", ref_function = "g_settings_schema_key_ref", type_id = "g_settings_schema_key_get_type ()", unref_function = "g_settings_schema_key_unref")]
[Compact]
public class SettingsSchemaKey {
+ [Version (since = "2.40")]
public GLib.Variant get_default_value ();
+ [Version (since = "2.34")]
public unowned string get_description ();
+ [Version (since = "2.44")]
public unowned string get_name ();
+ [Version (since = "2.40")]
public GLib.Variant get_range ();
+ [Version (since = "2.34")]
public unowned string get_summary ();
+ [Version (since = "2.40")]
public unowned GLib.VariantType get_value_type ();
+ [Version (since = "2.40")]
public bool range_check (GLib.Variant value);
+ [Version (since = "2.40")]
public GLib.SettingsSchemaKey @ref ();
+ [Version (since = "2.40")]
public void unref ();
}
[CCode (cheader_filename = "gio/gio.h", ref_function = "g_settings_schema_source_ref", type_id = "g_settings_schema_source_get_type ()", unref_function = "g_settings_schema_source_unref")]
[Compact]
+ [Version (since = "2.32")]
public class SettingsSchemaSource {
[CCode (has_construct_function = false)]
public SettingsSchemaSource.from_directory (string directory, GLib.SettingsSchemaSource? parent, bool trusted) throws GLib.Error;
[CCode (cheader_filename = "gio/gio.h")]
public static unowned GLib.SettingsSchemaSource get_default ();
+ [Version (since = "2.40")]
public void list_schemas (bool recursive, [CCode (array_length = false, array_null_terminated = true)] out string[] non_relocatable, [CCode (array_length = false, array_null_terminated = true)] out string[] relocatable);
public GLib.SettingsSchema? lookup (string schema_id, bool recursive);
public GLib.SettingsSchemaSource @ref ();
@@ -1873,79 +2215,88 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h", type_id = "g_simple_action_get_type ()")]
public class SimpleAction : GLib.Object, GLib.Action {
[CCode (has_construct_function = false)]
+ [Version (since = "2.28")]
public SimpleAction (string name, GLib.VariantType? parameter_type);
+ [Version (since = "2.28")]
public void set_enabled (bool enabled);
+ [Version (since = "2.30")]
public void set_state (GLib.Variant value);
+ [Version (since = "2.44")]
public void set_state_hint (GLib.Variant? state_hint);
[CCode (has_construct_function = false)]
+ [Version (since = "2.28")]
public SimpleAction.stateful (string name, GLib.VariantType? parameter_type, GLib.Variant state);
+ [Version (since = "2.28")]
public signal void activate (GLib.Variant? parameter);
+ [Version (since = "2.30")]
public signal void change_state (GLib.Variant? value);
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_simple_action_group_get_type ()")]
+ [Version (since = "2.28")]
public class SimpleActionGroup : GLib.Object, GLib.ActionGroup, GLib.ActionMap {
[CCode (has_construct_function = false)]
public SimpleActionGroup ();
- [Deprecated (since = "2.38")]
+ [Version (deprecated = true, deprecated_since = "2.38", since = "2.30")]
public void add_entries ([CCode (array_length_cname = "n_entries", array_length_pos = 1.5)] GLib.ActionEntry[] entries, void* user_data);
- [Deprecated (since = "2.38")]
+ [Version (deprecated = true, deprecated_since = "2.38", since = "2.28")]
public void insert (GLib.Action action);
- [Deprecated (since = "2.38")]
+ [Version (deprecated = true, deprecated_since = "2.38", since = "2.28")]
public unowned GLib.Action lookup (string action_name);
- [Deprecated (since = "2.38")]
+ [Version (deprecated = true, deprecated_since = "2.38", since = "2.28")]
public void remove (string action_name);
}
[CCode (cheader_filename = "gio/gio.h")]
public class SimpleAsyncResult : GLib.Object, GLib.AsyncResult, GLib.AsyncResult {
[CCode (has_construct_function = false)]
public SimpleAsyncResult (GLib.Object? source_object, void* source_tag);
- [Deprecated (since = "2.46")]
+ [Version (deprecated = true, deprecated_since = "2.46")]
public void complete ();
- [Deprecated (since = "2.46")]
+ [Version (deprecated = true, deprecated_since = "2.46")]
public void complete_in_idle ();
[CCode (has_construct_function = false)]
[PrintfFormat]
public SimpleAsyncResult.error (GLib.Object? source_object, GLib.Quark domain, int code, string format, ...);
[CCode (has_construct_function = false)]
public SimpleAsyncResult.from_error (GLib.Object? source_object, GLib.Error error);
- [Deprecated (since = "2.46")]
+ [Version (deprecated = true, deprecated_since = "2.46")]
public bool get_op_res_gboolean ();
[CCode (simple_generics = true)]
public unowned T get_op_res_gpointer<T> ();
- [Deprecated (since = "2.46")]
+ [Version (deprecated = true, deprecated_since = "2.46")]
public ssize_t get_op_res_gssize ();
- [Deprecated (since = "2.46.")]
+ [Version (deprecated = true, deprecated_since = "2.46.")]
public void* get_source_tag ();
- [Deprecated (since = "2.46")]
+ [Version (deprecated = true, deprecated_since = "2.46", since = "2.20")]
public static bool is_valid (GLib.AsyncResult result, GLib.Object? source, void* source_tag);
- [Deprecated (since = "2.46")]
+ [Version (deprecated = true, deprecated_since = "2.46")]
public bool propagate_error () throws GLib.Error;
[CCode (cheader_filename = "gio/gio.h", cname = "g_simple_async_report_gerror_in_idle")]
- [Deprecated (since = "2.46")]
+ [Version (deprecated = true, deprecated_since = "2.46")]
public static async void report_gerror_in_idle (GLib.Object? object, GLib.Error error);
- [Deprecated (since = "2.46")]
+ [Version (deprecated = true, deprecated_since = "2.46")]
public void run_in_thread (GLib.SimpleAsyncThreadFunc func, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null);
- [Deprecated (since = "2.46")]
+ [Version (deprecated = true, deprecated_since = "2.46", since = "2.32")]
public void set_check_cancellable (GLib.Cancellable? check_cancellable);
- [Deprecated (since = "2.46")]
[PrintfFormat]
+ [Version (deprecated = true, deprecated_since = "2.46")]
public void set_error (GLib.Quark domain, int code, string format, ...);
- [Deprecated (since = "2.46")]
+ [Version (deprecated = true, deprecated_since = "2.46")]
public void set_error_va (GLib.Quark domain, int code, string format, va_list args);
- [Deprecated (since = "2.46")]
+ [Version (deprecated = true, deprecated_since = "2.46")]
public void set_from_error (GLib.Error error);
- [Deprecated (since = "2.46")]
+ [Version (deprecated = true, deprecated_since = "2.46")]
public void set_handle_cancellation (bool handle_cancellation);
- [Deprecated (since = "2.46")]
+ [Version (deprecated = true, deprecated_since = "2.46")]
public void set_op_res_gboolean (bool op_res);
[CCode (simple_generics = true)]
public void set_op_res_gpointer<T> (owned T op_res);
- [Deprecated (since = "2.46")]
+ [Version (deprecated = true, deprecated_since = "2.46")]
public void set_op_res_gssize (ssize_t op_res);
- [Deprecated (since = "2.46")]
+ [Version (deprecated = true, deprecated_since = "2.46", since = "2.28")]
public void take_error (GLib.Error error);
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_simple_io_stream_get_type ()")]
+ [Version (since = "2.44")]
public class SimpleIOStream : GLib.IOStream {
[CCode (has_construct_function = false, type = "GIOStream*")]
public SimpleIOStream (GLib.InputStream input_stream, GLib.OutputStream output_stream);
@@ -1957,15 +2308,20 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h", type_id = "g_simple_permission_get_type ()")]
public class SimplePermission : GLib.Permission {
[CCode (has_construct_function = false, type = "GPermission*")]
+ [Version (since = "2.26")]
public SimplePermission (bool allowed);
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_simple_proxy_resolver_get_type ()")]
public class SimpleProxyResolver : GLib.Object, GLib.ProxyResolver {
[CCode (has_construct_function = false)]
protected SimpleProxyResolver ();
+ [Version (since = "2.36")]
public static GLib.ProxyResolver @new (string? default_proxy, string? ignore_hosts);
+ [Version (since = "2.36")]
public void set_default_proxy (string default_proxy);
+ [Version (since = "2.36")]
public void set_ignore_hosts (string ignore_hosts);
+ [Version (since = "2.36")]
public void set_uri_proxy (string uri_scheme, string proxy);
[NoAccessorMethod]
public string default_proxy { owned get; set; }
@@ -1974,6 +2330,7 @@ namespace GLib {
public string[] ignore_hosts { owned get; set; }
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_socket_get_type ()")]
+ [Version (since = "2.22")]
public class Socket : GLib.Object, GLib.DatagramBased, GLib.Initable {
[CCode (has_construct_function = false)]
public Socket (GLib.SocketFamily family, GLib.SocketType type, GLib.SocketProtocol protocol) throws GLib.Error;
@@ -1981,63 +2338,87 @@ namespace GLib {
public bool bind (GLib.SocketAddress address, bool allow_reuse) throws GLib.Error;
public bool check_connect_result () throws GLib.Error;
public bool close () throws GLib.Error;
+ [Version (since = "2.32")]
public bool condition_timed_wait (GLib.IOCondition condition, int64 timeout, GLib.Cancellable? cancellable = null) throws GLib.Error;
public bool connect (GLib.SocketAddress address, GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (has_construct_function = false)]
public Socket.from_fd (int fd) throws GLib.Error;
+ [Version (since = "2.32")]
public ssize_t get_available_bytes ();
public bool get_blocking ();
+ [Version (since = "2.32")]
public bool get_broadcast ();
+ [Version (since = "2.26")]
public GLib.Credentials get_credentials () throws GLib.Error;
public GLib.SocketFamily get_family ();
public int get_fd ();
public bool get_keepalive ();
public int get_listen_backlog ();
public GLib.SocketAddress get_local_address () throws GLib.Error;
+ [Version (since = "2.32")]
public bool get_multicast_loopback ();
+ [Version (since = "2.32")]
public uint get_multicast_ttl ();
+ [Version (since = "2.36")]
public bool get_option (int level, int optname, out int value) throws GLib.Error;
public GLib.SocketProtocol get_protocol ();
public GLib.SocketAddress get_remote_address () throws GLib.Error;
public GLib.SocketType get_socket_type ();
+ [Version (since = "2.26")]
public uint get_timeout ();
+ [Version (since = "2.32")]
public uint get_ttl ();
public bool is_closed ();
public bool is_connected ();
+ [Version (since = "2.32")]
public bool join_multicast_group (GLib.InetAddress group, bool source_specific, string? iface) throws GLib.Error;
+ [Version (since = "2.32")]
public bool leave_multicast_group (GLib.InetAddress group, bool source_specific, string? iface) throws GLib.Error;
public bool listen () throws GLib.Error;
public ssize_t receive ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] buffer, GLib.Cancellable? cancellable = null) throws GLib.Error;
public ssize_t receive_from (out GLib.SocketAddress address, [CCode (array_length_cname = "size", array_length_pos = 2.5, array_length_type = "gsize")] uint8[] buffer, GLib.Cancellable? cancellable = null) throws GLib.Error;
- public ssize_t receive_message (out GLib.SocketAddress address, [CCode (array_length_cname = "num_vectors", array_length_pos = 2.5)] GLib.InputVector[] vectors, [CCode (array_length_cname = "num_messages", array_length_pos = 3.5)] out GLib.SocketControlMessage[]? messages, ref int flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public ssize_t receive_message (out GLib.SocketAddress? address, [CCode (array_length_cname = "num_vectors", array_length_pos = 2.5)] GLib.InputVector[] vectors, [CCode (array_length_cname = "num_messages", array_length_pos = 3.5)] out GLib.SocketControlMessage[]? messages, ref int flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.26")]
public ssize_t receive_with_blocking ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] buffer, bool blocking, GLib.Cancellable? cancellable = null) throws GLib.Error;
public ssize_t send ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] buffer, GLib.Cancellable? cancellable = null) throws GLib.Error;
public ssize_t send_message (GLib.SocketAddress? address, [CCode (array_length_cname = "num_vectors", array_length_pos = 2.5)] GLib.OutputVector[] vectors, [CCode (array_length_cname = "num_messages", array_length_pos = 3.5)] GLib.SocketControlMessage[]? messages, int flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
public ssize_t send_to (GLib.SocketAddress? address, [CCode (array_length_cname = "size", array_length_pos = 2.5, array_length_type = "gsize")] uint8[] buffer, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.26")]
public ssize_t send_with_blocking ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] buffer, bool blocking, GLib.Cancellable? cancellable = null) throws GLib.Error;
public void set_blocking (bool blocking);
+ [Version (since = "2.32")]
public void set_broadcast (bool broadcast);
public void set_keepalive (bool keepalive);
public void set_listen_backlog (int backlog);
+ [Version (since = "2.32")]
public void set_multicast_loopback (bool loopback);
+ [Version (since = "2.32")]
public void set_multicast_ttl (uint ttl);
+ [Version (since = "2.36")]
public bool set_option (int level, int optname, int value) throws GLib.Error;
+ [Version (since = "2.26")]
public void set_timeout (uint timeout);
+ [Version (since = "2.32")]
public void set_ttl (uint ttl);
public bool shutdown (bool shutdown_read, bool shutdown_write) throws GLib.Error;
public bool speaks_ipv4 ();
public bool blocking { get; set; }
+ [Version (since = "2.32")]
public bool broadcast { get; set; }
public GLib.SocketFamily family { get; construct; }
public int fd { get; construct; }
public bool keepalive { get; set; }
public int listen_backlog { get; set; }
public GLib.SocketAddress local_address { owned get; }
+ [Version (since = "2.32")]
public bool multicast_loopback { get; set; }
+ [Version (since = "2.32")]
public uint multicast_ttl { get; set; }
public GLib.SocketProtocol protocol { get; construct; }
public GLib.SocketAddress remote_address { owned get; }
+ [Version (since = "2.26")]
public uint timeout { get; set; }
+ [Version (since = "2.32")]
public uint ttl { get; set; }
[NoAccessorMethod]
public GLib.SocketType type { get; construct; }
@@ -2047,9 +2428,13 @@ namespace GLib {
[CCode (has_construct_function = false)]
protected SocketAddress ();
[CCode (has_construct_function = false)]
+ [Version (since = "2.22")]
public SocketAddress.from_native (void* native, size_t len);
+ [Version (since = "2.22")]
public virtual GLib.SocketFamily get_family ();
+ [Version (since = "2.22")]
public virtual ssize_t get_native_size ();
+ [Version (since = "2.22")]
public virtual bool to_native (void* dest, size_t destlen) throws GLib.Error;
public GLib.SocketFamily family { get; }
}
@@ -2061,6 +2446,7 @@ namespace GLib {
public virtual async GLib.SocketAddress next_async (GLib.Cancellable? cancellable = null) throws GLib.Error;
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_socket_client_get_type ()")]
+ [Version (since = "2.22")]
public class SocketClient : GLib.Object {
[CCode (has_construct_function = false)]
public SocketClient ();
@@ -2071,43 +2457,60 @@ namespace GLib {
public async GLib.SocketConnection connect_to_host_async (string host_and_port, uint16 default_port, GLib.Cancellable? cancellable = null) throws GLib.Error;
public GLib.SocketConnection connect_to_service (string domain, string service, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async GLib.SocketConnection connect_to_service_async (string domain, string service, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.26")]
public GLib.SocketConnection connect_to_uri (string uri, uint16 default_port, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.26")]
public async GLib.SocketConnection connect_to_uri_async (string uri, uint16 default_port, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.26")]
public bool get_enable_proxy ();
public GLib.SocketFamily get_family ();
public unowned GLib.SocketAddress get_local_address ();
public GLib.SocketProtocol get_protocol ();
+ [Version (since = "2.36")]
public unowned GLib.ProxyResolver get_proxy_resolver ();
public GLib.SocketType get_socket_type ();
+ [Version (since = "2.26")]
public uint get_timeout ();
+ [Version (since = "2.28")]
public bool get_tls ();
+ [Version (since = "2.28")]
public GLib.TlsCertificateFlags get_tls_validation_flags ();
+ [Version (since = "2.26")]
public void set_enable_proxy (bool enable);
public void set_family (GLib.SocketFamily family);
public void set_local_address (GLib.SocketAddress? address);
public void set_protocol (GLib.SocketProtocol protocol);
+ [Version (since = "2.36")]
public void set_proxy_resolver (GLib.ProxyResolver? proxy_resolver);
public void set_socket_type (GLib.SocketType type);
+ [Version (since = "2.26")]
public void set_timeout (uint timeout);
+ [Version (since = "2.28")]
public void set_tls (bool tls);
+ [Version (since = "2.28")]
public void set_tls_validation_flags (GLib.TlsCertificateFlags flags);
public bool enable_proxy { get; set construct; }
public GLib.SocketFamily family { get; set construct; }
public GLib.SocketAddress local_address { get; set construct; }
public GLib.SocketProtocol protocol { get; set construct; }
+ [Version (since = "2.36")]
public GLib.ProxyResolver proxy_resolver { get; set construct; }
public uint timeout { get; set construct; }
public bool tls { get; set construct; }
public GLib.TlsCertificateFlags tls_validation_flags { get; set construct; }
[NoAccessorMethod]
public GLib.SocketType type { get; set construct; }
+ [Version (since = "2.32")]
public virtual signal void event (GLib.SocketClientEvent event, GLib.SocketConnectable connectable, GLib.IOStream? connection);
}
[CCode (cheader_filename = "gio/gio.h")]
+ [Version (since = "2.22")]
public class SocketConnection : GLib.IOStream {
[CCode (has_construct_function = false)]
protected SocketConnection ();
+ [Version (since = "2.32")]
public bool connect (GLib.SocketAddress address, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.32")]
public async bool connect_async (GLib.SocketAddress address, GLib.Cancellable? cancellable = null) throws GLib.Error;
public static GLib.SocketConnection factory_create_connection (GLib.Socket socket);
public static GLib.Type factory_lookup_type (GLib.SocketFamily family, GLib.SocketType type, int protocol_id);
@@ -2115,6 +2518,7 @@ namespace GLib {
public GLib.SocketAddress get_local_address () throws GLib.Error;
public GLib.SocketAddress get_remote_address () throws GLib.Error;
public unowned GLib.Socket get_socket ();
+ [Version (since = "2.32")]
public bool is_connected ();
public GLib.Socket socket { get; construct; }
}
@@ -2122,15 +2526,21 @@ namespace GLib {
public abstract class SocketControlMessage : GLib.Object {
[CCode (has_construct_function = false)]
protected SocketControlMessage ();
+ [Version (since = "2.22")]
public static GLib.SocketControlMessage deserialize (int level, int type, [CCode (array_length_cname = "size", array_length_pos = 2.5, array_length_type = "gsize")] uint8[] data);
+ [Version (since = "2.22")]
public virtual int get_level ();
+ [Version (since = "2.22")]
public int get_msg_type ();
+ [Version (since = "2.22")]
public virtual size_t get_size ();
[NoWrapper]
public virtual int get_type ();
+ [Version (since = "2.22")]
public virtual void serialize ([CCode (array_length = false, type = "gpointer")] uint8[] data);
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_socket_listener_get_type ()")]
+ [Version (since = "2.22")]
public class SocketListener : GLib.Object {
[CCode (has_construct_function = false)]
public SocketListener ();
@@ -2139,6 +2549,7 @@ namespace GLib {
public GLib.Socket accept_socket (out unowned GLib.Object source_object = null, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async GLib.Socket accept_socket_async (GLib.Cancellable? cancellable = null, out unowned GLib.Object source_object = null) throws GLib.Error;
public bool add_address (GLib.SocketAddress address, GLib.SocketType type, GLib.SocketProtocol protocol, GLib.Object? source_object, out GLib.SocketAddress effective_address) throws GLib.Error;
+ [Version (since = "2.24")]
public uint16 add_any_inet_port (GLib.Object? source_object) throws GLib.Error;
public bool add_inet_port (uint16 port, GLib.Object? source_object) throws GLib.Error;
public bool add_socket (GLib.Socket socket, GLib.Object? source_object) throws GLib.Error;
@@ -2148,9 +2559,11 @@ namespace GLib {
public void set_backlog (int listen_backlog);
[NoAccessorMethod]
public int listen_backlog { get; set construct; }
+ [Version (since = "2.46")]
public virtual signal void event (GLib.SocketListenerEvent event, GLib.Socket socket);
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_socket_service_get_type ()")]
+ [Version (since = "2.22")]
public class SocketService : GLib.SocketListener {
[CCode (has_construct_function = false)]
public SocketService ();
@@ -2158,6 +2571,7 @@ namespace GLib {
public void start ();
public void stop ();
[NoAccessorMethod]
+ [Version (since = "2.46")]
public bool active { get; set construct; }
public virtual signal bool incoming (GLib.SocketConnection connection, GLib.Object? source_object);
}
@@ -2171,17 +2585,26 @@ namespace GLib {
[Compact]
public class SrvTarget {
[CCode (has_construct_function = false)]
+ [Version (since = "2.22")]
public SrvTarget (string hostname, uint16 port, uint16 priority, uint16 weight);
+ [Version (since = "2.22")]
public GLib.SrvTarget copy ();
+ [Version (since = "2.22")]
public void free ();
+ [Version (since = "2.22")]
public unowned string get_hostname ();
+ [Version (since = "2.22")]
public uint16 get_port ();
+ [Version (since = "2.22")]
public uint16 get_priority ();
+ [Version (since = "2.22")]
public uint16 get_weight ();
[CCode (cheader_filename = "gio/gio.h")]
+ [Version (since = "2.22")]
public static GLib.List<GLib.SrvTarget> list_sort (owned GLib.List<GLib.SrvTarget> targets);
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_subprocess_get_type ()")]
+ [Version (since = "2.40")]
public class Subprocess : GLib.Object, GLib.Initable {
[CCode (has_construct_function = false)]
public Subprocess (GLib.SubprocessFlags flags, ...) throws GLib.Error;
@@ -2212,6 +2635,7 @@ namespace GLib {
public GLib.SubprocessFlags flags { construct; }
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_subprocess_launcher_get_type ()")]
+ [Version (since = "2.40")]
public class SubprocessLauncher : GLib.Object {
[CCode (has_construct_function = false)]
public SubprocessLauncher (GLib.SubprocessFlags flags);
@@ -2235,34 +2659,61 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h", type_id = "g_task_get_type ()")]
public class Task : GLib.Object, GLib.AsyncResult {
[CCode (has_construct_function = false)]
+ [Version (since = "2.36")]
public async Task (GLib.Object? source_object, GLib.Cancellable? cancellable = null);
+ [Version (since = "2.36")]
public unowned GLib.Cancellable get_cancellable ();
+ [Version (since = "2.36")]
public bool get_check_cancellable ();
+ [Version (since = "2.44")]
public bool get_completed ();
+ [Version (since = "2.36")]
public unowned GLib.MainContext get_context ();
+ [Version (since = "2.36")]
public int get_priority ();
+ [Version (since = "2.36")]
public bool get_return_on_cancel ();
+ [Version (since = "2.36")]
public void* get_source_tag ();
+ [Version (since = "2.36")]
public void* get_task_data ();
+ [Version (since = "2.36")]
public bool had_error ();
+ [Version (since = "2.36")]
public static bool is_valid (GLib.AsyncResult result, GLib.Object? source_object);
+ [Version (since = "2.36")]
public bool propagate_boolean () throws GLib.Error;
+ [Version (since = "2.36")]
public ssize_t propagate_int () throws GLib.Error;
+ [Version (since = "2.36")]
public void* propagate_pointer () throws GLib.Error;
+ [Version (since = "2.36")]
public static async void report_error (GLib.Object? source_object, void* source_tag, owned GLib.Error error);
+ [Version (since = "2.36")]
public void return_boolean (bool result);
+ [Version (since = "2.36")]
public void return_error (owned GLib.Error error);
+ [Version (since = "2.36")]
public bool return_error_if_cancelled ();
+ [Version (since = "2.36")]
public void return_int (ssize_t result);
+ [Version (since = "2.36")]
public void return_pointer (owned void* result, GLib.DestroyNotify? result_destroy);
+ [Version (since = "2.36")]
public void set_check_cancellable (bool check_cancellable);
+ [Version (since = "2.36")]
public void set_priority (int priority);
+ [Version (since = "2.36")]
public bool set_return_on_cancel (bool return_on_cancel);
+ [Version (since = "2.36")]
public void set_source_tag (void* source_tag);
+ [Version (since = "2.36")]
public void set_task_data (void* task_data, GLib.DestroyNotify? task_data_destroy);
+ [Version (since = "2.44")]
public bool completed { get; }
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_tcp_connection_get_type ()")]
+ [Version (since = "2.22")]
public class TcpConnection : GLib.SocketConnection {
[CCode (has_construct_function = false)]
protected TcpConnection ();
@@ -2273,11 +2724,13 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h", type_id = "g_tcp_wrapper_connection_get_type ()")]
public class TcpWrapperConnection : GLib.TcpConnection {
[CCode (has_construct_function = false, type = "GSocketConnection*")]
+ [Version (since = "2.28")]
public TcpWrapperConnection (GLib.IOStream base_io_stream, GLib.Socket socket);
public unowned GLib.IOStream get_base_io_stream ();
public GLib.IOStream base_io_stream { get; construct; }
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_test_dbus_get_type ()")]
+ [Version (since = "2.34")]
public class TestDBus : GLib.Object {
[CCode (has_construct_function = false)]
public TestDBus (GLib.TestDBusFlags flags);
@@ -2299,6 +2752,7 @@ namespace GLib {
public ThemedIcon.from_names ([CCode (array_length_cname = "len", array_length_pos = 1.1)] string[] iconnames);
[CCode (array_length = false, array_null_terminated = true)]
public unowned string[] get_names ();
+ [Version (since = "2.18")]
public void prepend_name (string iconname);
[CCode (has_construct_function = false, type = "GIcon*")]
public ThemedIcon.with_default_fallbacks (string iconname);
@@ -2309,6 +2763,7 @@ namespace GLib {
public bool use_default_fallbacks { get; construct; }
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_threaded_socket_service_get_type ()")]
+ [Version (since = "2.22")]
public class ThreadedSocketService : GLib.SocketService {
[CCode (has_construct_function = false, type = "GSocketService*")]
public ThreadedSocketService (int max_threads);
@@ -2317,6 +2772,7 @@ namespace GLib {
public virtual signal bool run (GLib.SocketConnection connection, GLib.Object source_object);
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_tls_certificate_get_type ()")]
+ [Version (since = "2.28")]
public class TlsCertificate : GLib.Object {
[CCode (has_construct_function = false)]
protected TlsCertificate ();
@@ -2327,6 +2783,7 @@ namespace GLib {
[CCode (has_construct_function = false)]
public TlsCertificate.from_pem (string data, ssize_t length) throws GLib.Error;
public unowned GLib.TlsCertificate get_issuer ();
+ [Version (since = "2.34")]
public bool is_same (GLib.TlsCertificate cert_two);
public static GLib.List<GLib.TlsCertificate> list_new_from_file (string file) throws GLib.Error;
public virtual GLib.TlsCertificateFlags verify (GLib.SocketConnectable? identity, GLib.TlsCertificate? trusted_ca);
@@ -2339,42 +2796,50 @@ namespace GLib {
public string private_key_pem { construct; }
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_tls_connection_get_type ()")]
+ [Version (since = "2.28")]
public abstract class TlsConnection : GLib.IOStream {
[CCode (has_construct_function = false)]
protected TlsConnection ();
public bool emit_accept_certificate (GLib.TlsCertificate peer_cert, GLib.TlsCertificateFlags errors);
public unowned GLib.TlsCertificate get_certificate ();
+ [Version (since = "2.30")]
public unowned GLib.TlsDatabase get_database ();
+ [Version (since = "2.30")]
public unowned GLib.TlsInteraction get_interaction ();
public unowned GLib.TlsCertificate get_peer_certificate ();
public GLib.TlsCertificateFlags get_peer_certificate_errors ();
public GLib.TlsRehandshakeMode get_rehandshake_mode ();
public bool get_require_close_notify ();
- [Deprecated (since = "2.30")]
+ [Version (deprecated = true, deprecated_since = "2.30")]
public bool get_use_system_certdb ();
public virtual bool handshake (GLib.Cancellable? cancellable = null) throws GLib.Error;
public virtual async bool handshake_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
public void set_certificate (GLib.TlsCertificate certificate);
+ [Version (since = "2.30")]
public void set_database (GLib.TlsDatabase database);
+ [Version (since = "2.30")]
public void set_interaction (GLib.TlsInteraction? interaction);
public void set_rehandshake_mode (GLib.TlsRehandshakeMode mode);
public void set_require_close_notify (bool require_close_notify);
- [Deprecated (since = "2.30")]
+ [Version (deprecated = true, deprecated_since = "2.30")]
public void set_use_system_certdb (bool use_system_certdb);
[NoAccessorMethod]
public GLib.IOStream base_io_stream { owned get; construct; }
public GLib.TlsCertificate certificate { get; set; }
+ [Version (since = "2.30")]
public GLib.TlsDatabase database { get; set; }
+ [Version (since = "2.30")]
public GLib.TlsInteraction interaction { get; set; }
public GLib.TlsCertificate peer_certificate { get; }
public GLib.TlsCertificateFlags peer_certificate_errors { get; }
public GLib.TlsRehandshakeMode rehandshake_mode { get; set construct; }
public bool require_close_notify { get; set construct; }
- [Deprecated (since = "2.30")]
+ [Version (deprecated = true, deprecated_since = "2.30")]
public bool use_system_certdb { get; set construct; }
public virtual signal bool accept_certificate (GLib.TlsCertificate peer_cert, GLib.TlsCertificateFlags errors);
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_tls_database_get_type ()")]
+ [Version (since = "2.30")]
public abstract class TlsDatabase : GLib.Object {
[CCode (cheader_filename = "gio/gio.h", cname = "G_TLS_DATABASE_PURPOSE_AUTHENTICATE_CLIENT")]
public const string PURPOSE_AUTHENTICATE_CLIENT;
@@ -2393,17 +2858,22 @@ namespace GLib {
public virtual async GLib.TlsCertificateFlags verify_chain_async (GLib.TlsCertificate chain, string purpose, GLib.SocketConnectable? identity, GLib.TlsInteraction? interaction, GLib.TlsDatabaseVerifyFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_tls_interaction_get_type ()")]
+ [Version (since = "2.30")]
public class TlsInteraction : GLib.Object {
[CCode (has_construct_function = false)]
protected TlsInteraction ();
public virtual GLib.TlsInteractionResult ask_password (GLib.TlsPassword password, GLib.Cancellable? cancellable = null) throws GLib.Error;
public virtual async GLib.TlsInteractionResult ask_password_async (GLib.TlsPassword password, GLib.Cancellable? cancellable = null) throws GLib.Error;
public GLib.TlsInteractionResult invoke_ask_password (GLib.TlsPassword password, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.40")]
public GLib.TlsInteractionResult invoke_request_certificate (GLib.TlsConnection connection, GLib.TlsCertificateRequestFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.40")]
public virtual GLib.TlsInteractionResult request_certificate (GLib.TlsConnection connection, GLib.TlsCertificateRequestFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.40")]
public virtual async GLib.TlsInteractionResult request_certificate_async (GLib.TlsConnection connection, GLib.TlsCertificateRequestFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
}
[CCode (cheader_filename = "gio/gio.h")]
+ [Version (since = "2.30")]
public class TlsPassword : GLib.Object {
[CCode (has_construct_function = false)]
public TlsPassword (GLib.TlsPasswordFlags flags, string description);
@@ -2427,15 +2897,22 @@ namespace GLib {
[CCode (cheader_filename = "gio/gunixfdlist.h", type_id = "g_unix_fd_list_get_type ()")]
public class UnixFDList : GLib.Object {
[CCode (has_construct_function = false)]
+ [Version (since = "2.24")]
public UnixFDList ();
+ [Version (since = "2.24")]
public int append (int fd) throws GLib.Error;
[CCode (has_construct_function = false)]
+ [Version (since = "2.24")]
public UnixFDList.from_array ([CCode (array_length_cname = "n_fds", array_length_pos = 1.1)] int[] fds);
+ [Version (since = "2.24")]
public int @get (int index_) throws GLib.Error;
+ [Version (since = "2.24")]
public int get_length ();
[CCode (array_length_pos = 0.1)]
+ [Version (since = "2.24")]
public unowned int[] peek_fds ();
[CCode (array_length_pos = 0.1)]
+ [Version (since = "2.24")]
public int[] steal_fds ();
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_vfs_get_type ()")]
@@ -2465,7 +2942,7 @@ namespace GLib {
public class VolumeMonitor : GLib.Object {
[CCode (has_construct_function = false)]
protected VolumeMonitor ();
- [Deprecated (since = "2.20")]
+ [Version (deprecated = true, deprecated_since = "2.20")]
public static GLib.Volume adopt_orphan_mount (GLib.Mount mount);
public static GLib.VolumeMonitor @get ();
public virtual GLib.List<GLib.Drive> get_connected_drives ();
@@ -2478,7 +2955,9 @@ namespace GLib {
public virtual signal void drive_changed (GLib.Drive drive);
public virtual signal void drive_connected (GLib.Drive drive);
public virtual signal void drive_disconnected (GLib.Drive drive);
+ [Version (since = "2.18")]
public virtual signal void drive_eject_button (GLib.Drive drive);
+ [Version (since = "2.22")]
public virtual signal void drive_stop_button (GLib.Drive drive);
public virtual signal void mount_added (GLib.Mount mount);
public virtual signal void mount_changed (GLib.Mount mount);
@@ -2491,9 +2970,13 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h", type_id = "g_zlib_compressor_get_type ()")]
public class ZlibCompressor : GLib.Object, GLib.Converter {
[CCode (has_construct_function = false)]
+ [Version (since = "2.24")]
public ZlibCompressor (GLib.ZlibCompressorFormat format, int level = -1);
+ [Version (since = "2.26")]
public unowned GLib.FileInfo get_file_info ();
+ [Version (since = "2.26")]
public void set_file_info (GLib.FileInfo? file_info);
+ [Version (since = "2.26")]
public GLib.FileInfo file_info { get; set; }
[NoAccessorMethod]
public GLib.ZlibCompressorFormat format { get; construct; }
@@ -2503,89 +2986,134 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h", type_id = "g_zlib_decompressor_get_type ()")]
public class ZlibDecompressor : GLib.Object, GLib.Converter {
[CCode (has_construct_function = false)]
+ [Version (since = "2.24")]
public ZlibDecompressor (GLib.ZlibCompressorFormat format);
+ [Version (since = "2.26")]
public unowned GLib.FileInfo get_file_info ();
+ [Version (since = "2.26")]
public GLib.FileInfo file_info { get; }
[NoAccessorMethod]
public GLib.ZlibCompressorFormat format { get; construct; }
}
[CCode (cheader_filename = "gio/gio.h", type_cname = "GActionInterface", type_id = "g_action_get_type ()")]
public interface Action : GLib.Object {
+ [Version (since = "2.28")]
public abstract void activate (GLib.Variant? parameter);
+ [Version (since = "2.30")]
public abstract void change_state (GLib.Variant value);
+ [Version (since = "2.28")]
public abstract bool get_enabled ();
+ [Version (since = "2.28")]
public abstract unowned string get_name ();
+ [Version (since = "2.28")]
public abstract unowned GLib.VariantType? get_parameter_type ();
+ [Version (since = "2.28")]
public abstract GLib.Variant get_state ();
+ [Version (since = "2.28")]
public abstract GLib.Variant? get_state_hint ();
+ [Version (since = "2.28")]
public abstract unowned GLib.VariantType? get_state_type ();
+ [Version (since = "2.38")]
public static bool name_is_valid (string action_name);
+ [Version (since = "2.38")]
public static bool parse_detailed_name (string detailed_name, out string action_name, out GLib.Variant target_value) throws GLib.Error;
+ [Version (since = "2.38")]
public static string print_detailed_name (string action_name, GLib.Variant? target_value);
+ [Version (since = "2.28")]
public abstract bool enabled { get; }
+ [Version (since = "2.28")]
public abstract string name { get; }
+ [Version (since = "2.28")]
public abstract GLib.VariantType? parameter_type { get; }
+ [Version (since = "2.28")]
public abstract GLib.Variant? state { owned get; }
+ [Version (since = "2.28")]
public abstract GLib.VariantType? state_type { get; }
}
[CCode (cheader_filename = "gio/gio.h", type_cname = "GActionGroupInterface", type_id = "g_action_group_get_type ()")]
public interface ActionGroup : GLib.Object {
+ [Version (since = "2.28")]
public abstract void activate_action (string action_name, GLib.Variant? parameter);
+ [Version (since = "2.28")]
public abstract void change_action_state (string action_name, GLib.Variant value);
+ [Version (since = "2.28")]
public abstract bool get_action_enabled (string action_name);
+ [Version (since = "2.28")]
public abstract unowned GLib.VariantType? get_action_parameter_type (string action_name);
+ [Version (since = "2.28")]
public abstract GLib.Variant? get_action_state (string action_name);
+ [Version (since = "2.28")]
public abstract GLib.Variant? get_action_state_hint (string action_name);
+ [Version (since = "2.28")]
public abstract unowned GLib.VariantType? get_action_state_type (string action_name);
+ [Version (since = "2.28")]
public abstract bool has_action (string action_name);
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "2.28")]
public abstract string[] list_actions ();
+ [Version (since = "2.32")]
public virtual bool query_action (string action_name, out bool enabled, out GLib.VariantType parameter_type, out GLib.VariantType state_type, out GLib.Variant state_hint, out GLib.Variant state);
[HasEmitter]
+ [Version (since = "2.28")]
public virtual signal void action_added (string action_name);
[HasEmitter]
+ [Version (since = "2.28")]
public virtual signal void action_enabled_changed (string action_name, bool enabled);
[HasEmitter]
+ [Version (since = "2.28")]
public virtual signal void action_removed (string action_name);
[HasEmitter]
+ [Version (since = "2.28")]
public virtual signal void action_state_changed (string action_name, GLib.Variant state);
}
[CCode (cheader_filename = "gio/gio.h", type_cname = "GActionMapInterface", type_id = "g_action_map_get_type ()")]
public interface ActionMap : GLib.Object {
+ [Version (since = "2.32")]
public abstract void add_action (GLib.Action action);
+ [Version (since = "2.32")]
public void add_action_entries ([CCode (array_length_cname = "n_entries", array_length_pos = 1.5)] GLib.ActionEntry[] entries, void* user_data);
+ [Version (since = "2.32")]
public abstract unowned GLib.Action lookup_action (string action_name);
+ [Version (since = "2.32")]
public abstract void remove_action (string action_name);
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_app_info_get_type ()")]
public interface AppInfo : GLib.Object {
public abstract bool add_supports_type (string content_type) throws GLib.Error;
+ [Version (since = "2.20")]
public abstract bool can_delete ();
public abstract bool can_remove_supports_type ();
public static GLib.AppInfo create_from_commandline (string commandline, string? application_name, GLib.AppInfoCreateFlags flags) throws GLib.Error;
[CCode (vfunc_name = "do_delete")]
+ [Version (since = "2.20")]
public abstract bool @delete ();
public abstract GLib.AppInfo dup ();
public abstract bool equal (GLib.AppInfo appinfo2);
public static GLib.List<GLib.AppInfo> get_all ();
public static GLib.List<GLib.AppInfo> get_all_for_type (string content_type);
+ [Version (since = "2.20")]
public abstract unowned string get_commandline ();
public static GLib.AppInfo get_default_for_type (string content_type, bool must_support_uris);
public static GLib.AppInfo get_default_for_uri_scheme (string uri_scheme);
public abstract unowned string get_description ();
+ [Version (since = "2.24")]
public abstract unowned string get_display_name ();
public abstract unowned string get_executable ();
+ [Version (since = "2.28")]
public static GLib.List<GLib.AppInfo> get_fallback_for_type (string content_type);
public abstract unowned GLib.Icon get_icon ();
public abstract unowned string get_id ();
public abstract unowned string get_name ();
+ [Version (since = "2.28")]
public static GLib.List<GLib.AppInfo> get_recommended_for_type (string content_type);
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "2.34")]
public abstract unowned string[] get_supported_types ();
public abstract bool launch (GLib.List<GLib.File>? files, GLib.AppLaunchContext? launch_context) throws GLib.Error;
public static bool launch_default_for_uri (string uri, GLib.AppLaunchContext? launch_context) throws GLib.Error;
public abstract bool launch_uris (GLib.List<string>? uris, GLib.AppLaunchContext? launch_context) throws GLib.Error;
public abstract bool remove_supports_type (string content_type) throws GLib.Error;
+ [Version (since = "2.20")]
public static void reset_type_associations (string content_type);
public abstract bool set_as_default_for_extension (string extension) throws GLib.Error;
public abstract bool set_as_default_for_type (string content_type) throws GLib.Error;
@@ -2595,6 +3123,7 @@ namespace GLib {
public abstract bool supports_uris ();
}
[CCode (cheader_filename = "gio/gio.h")]
+ [Version (since = "2.22")]
public interface AsyncInitable : GLib.Object {
public virtual async bool init_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (finish_function = "g_async_initable_new_finish")]
@@ -2608,16 +3137,21 @@ namespace GLib {
public interface AsyncResult : GLib.Object {
public abstract GLib.Object get_source_object ();
public abstract void* get_user_data ();
+ [Version (since = "2.34")]
public abstract bool is_tagged (void* source_tag);
+ [Version (since = "2.34")]
public bool legacy_propagate_error () throws GLib.Error;
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_converter_get_type ()")]
+ [Version (since = "2.24")]
public interface Converter : GLib.Object {
- public abstract GLib.ConverterResult convert ([CCode (array_length_cname = "inbuf_size", array_length_pos = 1.5, array_length_type = "gsize")] uint8[]? inbuf, [CCode (array_length_cname = "outbuf_size", array_length_pos = 2.5, array_length_type = "gsize")] uint8[] outbuf, GLib.ConverterFlags flags, out size_t bytes_read, out size_t bytes_written) throws GLib.Error;
+ public abstract GLib.ConverterResult convert ([CCode (array_length_cname = "inbuf_size", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] inbuf, [CCode (array_length_cname = "outbuf_size", array_length_pos = 2.5, array_length_type = "gsize")] uint8[] outbuf, GLib.ConverterFlags flags, out size_t bytes_read, out size_t bytes_written) throws GLib.Error;
public abstract void reset ();
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_interface_get_type ()")]
+ [Version (since = "2.30")]
public interface DBusInterface : GLib.Object {
+ [Version (since = "2.32")]
public abstract GLib.DBusObject dup_object ();
public abstract unowned GLib.DBusInterfaceInfo get_info ();
public abstract unowned GLib.DBusObject get_object ();
@@ -2625,24 +3159,38 @@ namespace GLib {
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_object_get_type ()")]
public interface DBusObject : GLib.Object {
+ [Version (since = "2.30")]
public abstract GLib.DBusInterface get_interface (string interface_name);
+ [Version (since = "2.30")]
public abstract GLib.List<GLib.DBusInterface> get_interfaces ();
+ [Version (since = "2.30")]
public abstract unowned string get_object_path ();
+ [Version (since = "2.30")]
public virtual signal void interface_added (GLib.DBusInterface interface_);
+ [Version (since = "2.30")]
public virtual signal void interface_removed (GLib.DBusInterface interface_);
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_object_manager_get_type ()")]
public interface DBusObjectManager : GLib.Object {
+ [Version (since = "2.30")]
public abstract GLib.DBusInterface get_interface (string object_path, string interface_name);
+ [Version (since = "2.30")]
public abstract GLib.DBusObject get_object (string object_path);
+ [Version (since = "2.30")]
public abstract unowned string get_object_path ();
+ [Version (since = "2.30")]
public abstract GLib.List<GLib.DBusObject> get_objects ();
+ [Version (since = "2.30")]
public virtual signal void interface_added (GLib.DBusObject object, GLib.DBusInterface interface_);
+ [Version (since = "2.30")]
public virtual signal void interface_removed (GLib.DBusObject object, GLib.DBusInterface interface_);
+ [Version (since = "2.30")]
public virtual signal void object_added (GLib.DBusObject object);
+ [Version (since = "2.30")]
public virtual signal void object_removed (GLib.DBusObject object);
}
[CCode (cheader_filename = "gio/gio.h", type_cname = "GDatagramBasedInterface", type_id = "g_datagram_based_get_type ()")]
+ [Version (since = "2.48")]
public interface DatagramBased : GLib.Object {
public abstract GLib.IOCondition condition_check (GLib.IOCondition condition);
public abstract bool condition_wait (GLib.IOCondition condition, int64 timeout, GLib.Cancellable? cancellable = null) throws GLib.Error;
@@ -2654,19 +3202,26 @@ namespace GLib {
public interface Drive : GLib.Object {
public abstract bool can_eject ();
public abstract bool can_poll_for_media ();
+ [Version (since = "2.22")]
public abstract bool can_start ();
+ [Version (since = "2.22")]
public abstract bool can_start_degraded ();
+ [Version (since = "2.22")]
public abstract bool can_stop ();
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public abstract async bool eject (GLib.MountUnmountFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.22")]
public abstract async bool eject_with_operation (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (array_length = false, array_null_terminated = true)]
public abstract string[] enumerate_identifiers ();
public abstract GLib.Icon get_icon ();
public abstract string get_identifier (string kind);
public abstract string get_name ();
+ [Version (since = "2.32")]
public virtual unowned string get_sort_key ();
+ [Version (since = "2.22")]
public abstract GLib.DriveStartStopType get_start_stop_type ();
+ [Version (since = "2.34")]
public abstract GLib.Icon get_symbolic_icon ();
public abstract GLib.List<GLib.Volume> get_volumes ();
public abstract bool has_media ();
@@ -2674,13 +3229,79 @@ namespace GLib {
public abstract bool is_media_check_automatic ();
public abstract bool is_media_removable ();
public abstract async bool poll_for_media (GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.22")]
public abstract async bool start (GLib.DriveStartFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.22")]
public abstract async bool stop (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
public virtual signal void changed ();
public virtual signal void disconnected ();
public virtual signal void eject_button ();
+ [Version (since = "2.22")]
public virtual signal void stop_button ();
}
+ [CCode (cheader_filename = "gio/gio.h", type_cname = "GDtlsClientConnectionInterface", type_id = "g_dtls_client_connection_get_type ()")]
+ [Version (since = "2.48")]
+ public interface DtlsClientConnection : GLib.DatagramBased, GLib.DtlsConnection, GLib.Object {
+ public GLib.List<GLib.ByteArray> get_accepted_cas ();
+ public unowned GLib.SocketConnectable get_server_identity ();
+ public GLib.TlsCertificateFlags get_validation_flags ();
+ public static GLib.DtlsClientConnection @new (GLib.DatagramBased base_socket, GLib.SocketConnectable? server_identity) throws GLib.Error;
+ public void set_server_identity (GLib.SocketConnectable identity);
+ public void set_validation_flags (GLib.TlsCertificateFlags flags);
+ [ConcreteAccessor]
+ public abstract GLib.List<weak void*> accepted_cas { owned get; }
+ [ConcreteAccessor]
+ public abstract GLib.SocketConnectable server_identity { get; set construct; }
+ [ConcreteAccessor]
+ public abstract GLib.TlsCertificateFlags validation_flags { get; set construct; }
+ }
+ [CCode (cheader_filename = "gio/gio.h", type_cname = "GDtlsConnectionInterface", type_id = "g_dtls_connection_get_type ()")]
+ [Version (since = "2.48")]
+ public interface DtlsConnection : GLib.DatagramBased, GLib.Object {
+ public bool close (GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public async bool close_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public bool emit_accept_certificate (GLib.TlsCertificate peer_cert, GLib.TlsCertificateFlags errors);
+ public unowned GLib.TlsCertificate get_certificate ();
+ public unowned GLib.TlsDatabase get_database ();
+ public unowned GLib.TlsInteraction get_interaction ();
+ public unowned GLib.TlsCertificate get_peer_certificate ();
+ public GLib.TlsCertificateFlags get_peer_certificate_errors ();
+ public GLib.TlsRehandshakeMode get_rehandshake_mode ();
+ public bool get_require_close_notify ();
+ public abstract bool handshake (GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public abstract async bool handshake_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public void set_certificate (GLib.TlsCertificate certificate);
+ public void set_database (GLib.TlsDatabase database);
+ public void set_interaction (GLib.TlsInteraction? interaction);
+ public void set_rehandshake_mode (GLib.TlsRehandshakeMode mode);
+ public void set_require_close_notify (bool require_close_notify);
+ public abstract bool shutdown (bool shutdown_read, bool shutdown_write, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public abstract async bool shutdown_async (bool shutdown_read, bool shutdown_write, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [NoAccessorMethod]
+ public abstract GLib.DatagramBased base_socket { owned get; construct; }
+ [ConcreteAccessor]
+ public abstract GLib.TlsCertificate certificate { get; set; }
+ [ConcreteAccessor]
+ public abstract GLib.TlsDatabase database { get; set; }
+ [ConcreteAccessor]
+ public abstract GLib.TlsInteraction interaction { get; set; }
+ [ConcreteAccessor]
+ public abstract GLib.TlsCertificate peer_certificate { get; }
+ [ConcreteAccessor]
+ public abstract GLib.TlsCertificateFlags peer_certificate_errors { get; }
+ [ConcreteAccessor]
+ public abstract GLib.TlsRehandshakeMode rehandshake_mode { get; set construct; }
+ [ConcreteAccessor]
+ public abstract bool require_close_notify { get; set construct; }
+ public virtual signal bool accept_certificate (GLib.TlsCertificate peer_cert, GLib.TlsCertificateFlags errors);
+ }
+ [CCode (cheader_filename = "gio/gio.h", type_cname = "GDtlsServerConnectionInterface", type_id = "g_dtls_server_connection_get_type ()")]
+ [Version (since = "2.48")]
+ public interface DtlsServerConnection : GLib.DatagramBased, GLib.DtlsConnection, GLib.Object {
+ public static GLib.DtlsServerConnection @new (GLib.DatagramBased base_socket, GLib.TlsCertificate? certificate) throws GLib.Error;
+ [NoAccessorMethod]
+ public abstract GLib.TlsAuthenticationMode authentication_mode { get; set; }
+ }
[CCode (cheader_filename = "gio/gio.h")]
public interface File : GLib.Object {
public abstract GLib.FileOutputStream append_to (GLib.FileCreateFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
@@ -2690,15 +3311,19 @@ namespace GLib {
public bool copy_attributes (GLib.File destination, GLib.FileCopyFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
public abstract GLib.FileOutputStream create (GLib.FileCreateFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
public virtual async GLib.FileOutputStream create_async (GLib.FileCreateFlags flags, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.22")]
public abstract GLib.FileIOStream create_readwrite (GLib.FileCreateFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.22")]
public virtual async GLib.FileIOStream create_readwrite_async (GLib.FileCreateFlags flags, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (vfunc_name = "delete_file")]
public abstract bool @delete (GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (vfunc_name = "delete_file_async")]
+ [Version (since = "2.34")]
public virtual async bool delete_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
public abstract GLib.File dup ();
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public abstract async bool eject_mountable (GLib.MountUnmountFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.22")]
public abstract async bool eject_mountable_with_operation (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
public abstract GLib.FileEnumerator enumerate_children (string attributes, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
public virtual async GLib.FileEnumerator enumerate_children_async (string attributes, GLib.FileQueryInfoFlags flags, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
@@ -2714,6 +3339,7 @@ namespace GLib {
public abstract string? get_relative_path (GLib.File descendant);
public abstract string get_uri ();
public abstract string get_uri_scheme ();
+ [Version (since = "2.24")]
public bool has_parent (GLib.File? parent);
[CCode (vfunc_name = "prefix_matches")]
public abstract bool has_prefix (GLib.File file);
@@ -2724,11 +3350,16 @@ namespace GLib {
public async bool load_contents_async (GLib.Cancellable? cancellable = null, [CCode (array_length_cname = "length", array_length_pos = 2.5, array_length_type = "gsize")] out uint8[] contents, out string etag_out) throws GLib.Error;
public async bool load_partial_contents_async (GLib.Cancellable? cancellable = null, GLib.FileReadMoreCallback read_more_callback, [CCode (array_length_cname = "length", array_length_pos = 2.5, array_length_type = "gsize")] out uint8[] contents, out string etag_out) throws GLib.Error;
public abstract bool make_directory (GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.38")]
public virtual async bool make_directory_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.18")]
public bool make_directory_with_parents (GLib.Cancellable? cancellable = null) throws GLib.Error;
public abstract bool make_symbolic_link (string symlink_value, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.38")]
public virtual bool measure_disk_usage (GLib.FileMeasureFlags flags, GLib.Cancellable? cancellable, [CCode (delegate_target_pos = 3.5)] GLib.FileMeasureProgressCallback? progress_callback, out uint64 disk_usage, out uint64 num_dirs, out uint64 num_files) throws GLib.Error;
+ [Version (since = "2.38")]
public virtual async bool measure_disk_usage_async (GLib.FileMeasureFlags flags, int io_priority, GLib.Cancellable? cancellable, GLib.FileMeasureProgressCallback? progress_callback, out uint64 disk_usage, out uint64 num_dirs, out uint64 num_files) throws GLib.Error;
+ [Version (since = "2.18")]
public GLib.FileMonitor monitor (GLib.FileMonitorFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (vfunc_name = "monitor_dir")]
public abstract GLib.FileMonitor monitor_directory (GLib.FileMonitorFlags flags, GLib.Cancellable? cancellable = null) throws GLib.IOError;
@@ -2737,19 +3368,25 @@ namespace GLib {
public abstract async GLib.File mount_mountable (GLib.MountMountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
public abstract bool move (GLib.File destination, GLib.FileCopyFlags flags, GLib.Cancellable? cancellable = null, GLib.FileProgressCallback? progress_callback = null) throws GLib.Error;
public static GLib.File new_for_commandline_arg (string arg);
+ [Version (since = "2.36")]
public static GLib.File new_for_commandline_arg_and_cwd (string arg, string cwd);
public static GLib.File new_for_path (string path);
public static GLib.File new_for_uri (string uri);
+ [Version (since = "2.32")]
public static GLib.File new_tmp (string? tmpl, out GLib.FileIOStream iostream) throws GLib.Error;
+ [Version (since = "2.22")]
public abstract GLib.FileIOStream open_readwrite (GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.22")]
public virtual async GLib.FileIOStream open_readwrite_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
public static GLib.File parse_name (string parse_name);
+ [Version (since = "2.22")]
public abstract async bool poll_mountable (GLib.Cancellable? cancellable = null) throws GLib.Error;
- [Deprecated (replacement = "has_prefix", since = "vala-0.16")]
[NoWrapper]
+ [Version (deprecated_since = "vala-0.16", replacement = "has_prefix")]
public abstract bool prefix_matches (GLib.File file);
public GLib.AppInfo query_default_handler (GLib.Cancellable? cancellable = null) throws GLib.Error;
public bool query_exists (GLib.Cancellable? cancellable = null);
+ [Version (since = "2.18")]
public GLib.FileType query_file_type (GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable = null);
public abstract GLib.FileInfo query_filesystem_info (string attributes, GLib.Cancellable? cancellable = null) throws GLib.Error;
public virtual async GLib.FileInfo query_filesystem_info_async (string attributes, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
@@ -2760,15 +3397,18 @@ namespace GLib {
[CCode (vfunc_name = "read_fn")]
public abstract GLib.FileInputStream read (GLib.Cancellable? cancellable = null) throws GLib.Error;
public virtual async GLib.FileInputStream read_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
- [Deprecated (replacement = "read", since = "vala-0.16")]
[NoWrapper]
+ [Version (deprecated_since = "vala-0.16", replacement = "read")]
public abstract unowned GLib.FileInputStream read_fn (GLib.Cancellable? cancellable = null) throws GLib.Error;
public abstract GLib.FileOutputStream replace (string? etag, bool make_backup, GLib.FileCreateFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
public virtual async GLib.FileOutputStream replace_async (string? etag, bool make_backup, GLib.FileCreateFlags flags, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
public bool replace_contents ([CCode (array_length_cname = "length", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] contents, string? etag, bool make_backup, GLib.FileCreateFlags flags, out string new_etag, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool replace_contents_async ([CCode (array_length_cname = "length", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] contents, string? etag, bool make_backup, GLib.FileCreateFlags flags, GLib.Cancellable? cancellable = null, out string new_etag) throws GLib.Error;
+ [Version (since = "2.40")]
public async void replace_contents_bytes_async (GLib.Bytes contents, string? etag, bool make_backup, GLib.FileCreateFlags flags, GLib.Cancellable? cancellable = null);
+ [Version (since = "2.22")]
public abstract GLib.FileIOStream replace_readwrite (string? etag, bool make_backup, GLib.FileCreateFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.22")]
public virtual async GLib.FileIOStream replace_readwrite_async (string? etag, bool make_backup, GLib.FileCreateFlags flags, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
public abstract GLib.File resolve_relative_path (string relative_path);
public abstract bool set_attribute (string attribute, GLib.FileAttributeType type, void* value_p, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
@@ -2782,29 +3422,39 @@ namespace GLib {
public abstract bool set_attributes_from_info (GLib.FileInfo info, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
public abstract GLib.File set_display_name (string display_name, GLib.Cancellable? cancellable = null) throws GLib.Error;
public virtual async GLib.File set_display_name_async (string display_name, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.22")]
public abstract async bool start_mountable (GLib.DriveStartFlags flags, GLib.MountOperation? start_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.22")]
public abstract async bool stop_mountable (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.22")]
public bool supports_thread_contexts ();
public abstract bool trash (GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.38")]
public virtual async bool trash_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public abstract async bool unmount_mountable (GLib.MountUnmountFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.22")]
public abstract async bool unmount_mountable_with_operation (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
}
[CCode (cheader_filename = "gio/gio.h")]
public interface Icon : GLib.Object {
+ [Version (since = "2.38")]
public static GLib.Icon deserialize (GLib.Variant value);
public abstract bool equal (GLib.Icon? icon2);
[NoWrapper]
public virtual GLib.Icon? from_tokens (string[] tokens, int version) throws GLib.Error;
public abstract uint hash ();
+ [Version (since = "2.20")]
public static GLib.Icon? new_for_string (string str) throws GLib.Error;
+ [Version (since = "2.38")]
public virtual GLib.Variant serialize ();
+ [Version (since = "2.20")]
public string? to_string ();
[NoWrapper]
public virtual bool to_tokens (GLib.GenericArray<string> tokens, out int out_version);
}
[CCode (cheader_filename = "gio/gio.h")]
+ [Version (since = "2.22")]
public interface Initable : GLib.Object {
public abstract bool init (GLib.Cancellable? cancellable = null) throws GLib.Error;
public static GLib.Object @new (GLib.Type object_type, GLib.Cancellable? cancellable = null, ...) throws GLib.Error;
@@ -2813,11 +3463,16 @@ namespace GLib {
}
[CCode (cheader_filename = "gio/gio.h", type_cname = "GListModelInterface", type_id = "g_list_model_get_type ()")]
public interface ListModel : GLib.Object {
+ [Version (since = "2.44")]
public abstract GLib.Object? get_item (uint position);
+ [Version (since = "2.44")]
public abstract GLib.Type get_item_type ();
+ [Version (since = "2.44")]
public abstract uint get_n_items ();
+ [Version (since = "2.44")]
public GLib.Object? get_object (uint position);
[HasEmitter]
+ [Version (since = "2.44")]
public signal void items_changed (uint position, uint removed, uint added);
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_loadable_icon_get_type ()")]
@@ -2829,50 +3484,66 @@ namespace GLib {
public interface Mount : GLib.Object {
public abstract bool can_eject ();
public abstract bool can_unmount ();
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public abstract async bool eject (GLib.MountUnmountFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.22")]
public abstract async bool eject_with_operation (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
public abstract GLib.File get_default_location ();
public abstract GLib.Drive get_drive ();
public abstract GLib.Icon get_icon ();
public abstract string get_name ();
public abstract GLib.File get_root ();
+ [Version (since = "2.32")]
public virtual unowned string get_sort_key ();
+ [Version (since = "2.34")]
public abstract GLib.Icon get_symbolic_icon ();
public abstract string get_uuid ();
public abstract GLib.Volume get_volume ();
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "2.18")]
public abstract async string[] guess_content_type (bool force_rescan, GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "2.18")]
public abstract string[] guess_content_type_sync (bool force_rescan, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.20")]
public bool is_shadowed ();
public abstract async bool remount (GLib.MountMountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.20")]
public void shadow ();
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public abstract async bool unmount (GLib.MountUnmountFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.22")]
public abstract async bool unmount_with_operation (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.20")]
public void unshadow ();
public virtual signal void changed ();
+ [Version (since = "2.22")]
public virtual signal void pre_unmount ();
public virtual signal void unmounted ();
}
[CCode (cheader_filename = "gio/gio.h", type_cname = "GNetworkMonitorInterface", type_id = "g_network_monitor_get_type ()")]
+ [Version (since = "2.32")]
public interface NetworkMonitor : GLib.Initable, GLib.Object {
public abstract bool can_reach (GLib.SocketConnectable connectable, GLib.Cancellable? cancellable = null) throws GLib.Error;
public abstract async bool can_reach_async (GLib.SocketConnectable connectable, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.44")]
public GLib.NetworkConnectivity get_connectivity ();
public static unowned GLib.NetworkMonitor get_default ();
public bool get_network_available ();
+ [Version (since = "2.46")]
public bool get_network_metered ();
[ConcreteAccessor]
+ [Version (since = "2.44")]
public abstract GLib.NetworkConnectivity connectivity { get; }
[ConcreteAccessor]
public abstract bool network_available { get; }
[ConcreteAccessor]
+ [Version (since = "2.46")]
public abstract bool network_metered { get; }
public virtual signal void network_changed (bool available);
}
[CCode (cheader_filename = "gio/gio.h", type_cname = "GPollableInputStreamInterface", type_id = "g_pollable_input_stream_get_type ()")]
+ [Version (since = "2.28")]
public interface PollableInputStream : GLib.InputStream {
public abstract bool can_poll ();
public abstract GLib.PollableSource create_source (GLib.Cancellable? cancellable = null);
@@ -2882,6 +3553,7 @@ namespace GLib {
public abstract ssize_t read_nonblocking_fn ([CCode (array_length_cname = "count", array_length_pos = 1.1, array_length_type = "gsize")] uint8[] buffer) throws GLib.Error;
}
[CCode (cheader_filename = "gio/gio.h", type_cname = "GPollableOutputStreamInterface", type_id = "g_pollable_output_stream_get_type ()")]
+ [Version (since = "2.28")]
public interface PollableOutputStream : GLib.OutputStream {
public abstract bool can_poll ();
public abstract GLib.PollableSource create_source (GLib.Cancellable? cancellable = null);
@@ -2889,6 +3561,7 @@ namespace GLib {
public abstract ssize_t write_nonblocking ([CCode (array_length_cname = "count", array_length_pos = 1.1, array_length_type = "gsize")] uint8[]? buffer) throws GLib.Error;
}
[CCode (cheader_filename = "gio/gio.h", type_cname = "GProxyInterface", type_id = "g_proxy_get_type ()")]
+ [Version (since = "2.26")]
public interface Proxy : GLib.Object {
public abstract GLib.IOStream connect (GLib.IOStream connection, GLib.ProxyAddress proxy_address, GLib.Cancellable? cancellable = null) throws GLib.Error;
public abstract async GLib.IOStream connect_async (GLib.IOStream connection, GLib.ProxyAddress proxy_address, GLib.Cancellable? cancellable = null) throws GLib.Error;
@@ -2896,6 +3569,7 @@ namespace GLib {
public abstract bool supports_hostname ();
}
[CCode (cheader_filename = "gio/gio.h", type_cname = "GProxyResolverInterface", type_id = "g_proxy_resolver_get_type ()")]
+ [Version (since = "2.26")]
public interface ProxyResolver : GLib.Object {
public static unowned GLib.ProxyResolver get_default ();
public abstract bool is_supported ();
@@ -2906,7 +3580,9 @@ namespace GLib {
}
[CCode (cheader_filename = "gio/gio.h", type_cname = "GRemoteActionGroupInterface", type_id = "g_remote_action_group_get_type ()")]
public interface RemoteActionGroup : GLib.ActionGroup, GLib.Object {
+ [Version (since = "2.32")]
public abstract void activate_action_full (string action_name, GLib.Variant? parameter, GLib.Variant platform_data);
+ [Version (since = "2.32")]
public abstract void change_action_state_full (string action_name, GLib.Variant value, GLib.Variant platform_data);
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_seekable_get_type ()")]
@@ -2920,22 +3596,36 @@ namespace GLib {
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_socket_connectable_get_type ()")]
public interface SocketConnectable : GLib.Object {
+ [Version (since = "2.22")]
public abstract GLib.SocketAddressEnumerator enumerate ();
+ [Version (since = "2.26")]
public abstract GLib.SocketAddressEnumerator proxy_enumerate ();
+ [Version (since = "2.48")]
public abstract string to_string ();
}
[CCode (cheader_filename = "gio/gio.h", type_cname = "GTlsBackendInterface", type_id = "g_tls_backend_get_type ()")]
+ [Version (since = "2.28")]
public interface TlsBackend : GLib.Object {
public abstract GLib.Type get_certificate_type ();
public abstract GLib.Type get_client_connection_type ();
public static unowned GLib.TlsBackend get_default ();
+ [Version (since = "2.30")]
public abstract GLib.TlsDatabase get_default_database ();
+ [Version (since = "2.48")]
+ public GLib.Type get_dtls_client_connection_type ();
+ [Version (since = "2.48")]
+ public GLib.Type get_dtls_server_connection_type ();
+ [Version (since = "2.30")]
public abstract GLib.Type get_file_database_type ();
public abstract GLib.Type get_server_connection_type ();
+ [Version (since = "2.48")]
+ public abstract bool supports_dtls ();
public abstract bool supports_tls ();
}
[CCode (cheader_filename = "gio/gio.h", type_cname = "GTlsClientConnectionInterface", type_id = "g_tls_client_connection_get_type ()")]
+ [Version (since = "2.28")]
public interface TlsClientConnection : GLib.TlsConnection {
+ [Version (since = "2.46")]
public abstract void copy_session_state (GLib.TlsClientConnection source);
public GLib.List<GLib.ByteArray> get_accepted_cas ();
public unowned GLib.SocketConnectable get_server_identity ();
@@ -2955,12 +3645,14 @@ namespace GLib {
public abstract GLib.TlsCertificateFlags validation_flags { get; set construct; }
}
[CCode (cheader_filename = "gio/gio.h", type_cname = "GTlsFileDatabaseInterface", type_id = "g_tls_file_database_get_type ()")]
+ [Version (since = "2.30")]
public interface TlsFileDatabase : GLib.TlsDatabase {
public static GLib.TlsFileDatabase? @new (string anchors) throws GLib.Error;
[NoAccessorMethod]
public abstract string anchors { owned get; set construct; }
}
[CCode (cheader_filename = "gio/gio.h", type_cname = "GTlsServerConnectionInterface", type_id = "g_tls_server_connection_get_type ()")]
+ [Version (since = "2.28")]
public interface TlsServerConnection : GLib.TlsConnection {
public static GLib.TlsServerConnection? @new (GLib.IOStream base_io_stream, GLib.TlsCertificate? certificate) throws GLib.Error;
[NoAccessorMethod]
@@ -2970,18 +3662,22 @@ namespace GLib {
public interface Volume : GLib.Object {
public abstract bool can_eject ();
public abstract bool can_mount ();
- [Deprecated (since = "2.22")]
+ [Version (deprecated = true, deprecated_since = "2.22")]
public abstract async bool eject (GLib.MountUnmountFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.22")]
public abstract async bool eject_with_operation (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (array_length = false, array_null_terminated = true)]
public abstract string[] enumerate_identifiers ();
+ [Version (since = "2.18")]
public abstract GLib.File? get_activation_root ();
public abstract GLib.Drive get_drive ();
public abstract GLib.Icon get_icon ();
public abstract string get_identifier (string kind);
public abstract GLib.Mount get_mount ();
public abstract string get_name ();
+ [Version (since = "2.32")]
public virtual unowned string get_sort_key ();
+ [Version (since = "2.34")]
public abstract GLib.Icon get_symbolic_icon ();
public abstract string get_uuid ();
[CCode (vfunc_name = "mount_fn")]
@@ -2993,11 +3689,11 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h")]
public struct ActionEntry {
public weak string name;
- [Deprecated (replacement = "activate_callback", since = "vala-0.26")]
+ [Version (deprecated = true, deprecated_since = "vala-0.26", replacement = "activate_callback")]
public GLib.SimpleActionActivateCallback? activate;
public weak string parameter_type;
public weak string state;
- [Deprecated (replacement = "change_state_callback", since = "vala-0.26")]
+ [Version (deprecated_since = "vala-0.26", replacement = "change_state_callback")]
public GLib.SimpleActionChangeStateCallback? change_state;
[CCode (cname = "activate")]
public GLib.SimpleActionActivateFunc activate_callback;
@@ -3005,17 +3701,20 @@ namespace GLib {
public GLib.SimpleActionChangeStateFunc? change_state_callback;
}
[CCode (cheader_filename = "gio/gio.h", has_type_id = false)]
+ [Version (since = "2.26")]
public struct DBusErrorEntry {
public int error_code;
public weak string dbus_error_name;
}
[CCode (cheader_filename = "gio/gio.h", has_type_id = false)]
+ [Version (since = "2.26")]
public struct DBusInterfaceVTable {
public weak GLib.DBusInterfaceMethodCallFunc method_call;
public weak GLib.DBusInterfaceGetPropertyFunc get_property;
public weak GLib.DBusInterfaceSetPropertyFunc set_property;
}
[CCode (cheader_filename = "gio/gio.h", has_type_id = false)]
+ [Version (since = "2.26")]
public struct DBusSubtreeVTable {
public weak GLib.DBusSubtreeEnumerateFunc enumerate;
public weak GLib.DBusSubtreeIntrospectFunc introspect;
@@ -3028,6 +3727,7 @@ namespace GLib {
public GLib.FileAttributeInfoFlags flags;
}
[CCode (cheader_filename = "gio/gio.h", has_type_id = false)]
+ [Version (since = "2.48")]
public struct InputMessage {
public weak GLib.SocketAddress address;
[CCode (array_length = false, array_null_terminated = true)]
@@ -3040,11 +3740,13 @@ namespace GLib {
public uint num_control_messages;
}
[CCode (cheader_filename = "gio/gio.h", has_type_id = false)]
+ [Version (since = "2.22")]
public struct InputVector {
public void* buffer;
public size_t size;
}
[CCode (cheader_filename = "gio/gio.h", has_type_id = false)]
+ [Version (since = "2.44")]
public struct OutputMessage {
public weak GLib.SocketAddress address;
public GLib.OutputVector vectors;
@@ -3055,14 +3757,18 @@ namespace GLib {
public uint num_control_messages;
}
[CCode (cheader_filename = "gio/gio.h", has_type_id = false)]
+ [Version (since = "2.22")]
public struct OutputVector {
public void* buffer;
public size_t size;
}
[CCode (cheader_filename = "gio/gio.h", has_type_id = false)]
public struct StaticResource {
+ [Version (since = "2.32")]
public void fini ();
+ [Version (since = "2.32")]
public unowned GLib.Resource get_resource ();
+ [Version (since = "2.32")]
public void init ();
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_APP_INFO_CREATE_", type_id = "g_app_info_create_flags_get_type ()")]
@@ -3075,6 +3781,7 @@ namespace GLib {
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_APPLICATION_", type_id = "g_application_flags_get_type ()")]
[Flags]
+ [Version (since = "2.28")]
public enum ApplicationFlags {
FLAGS_NONE,
IS_SERVICE,
@@ -3095,6 +3802,7 @@ namespace GLib {
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_BUS_NAME_OWNER_FLAGS_", type_id = "g_bus_name_owner_flags_get_type ()")]
[Flags]
+ [Version (since = "2.26")]
public enum BusNameOwnerFlags {
NONE,
ALLOW_REPLACEMENT,
@@ -3102,11 +3810,13 @@ namespace GLib {
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_BUS_NAME_WATCHER_FLAGS_", type_id = "g_bus_name_watcher_flags_get_type ()")]
[Flags]
+ [Version (since = "2.26")]
public enum BusNameWatcherFlags {
NONE,
AUTO_START
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_BUS_TYPE_", type_id = "g_bus_type_get_type ()")]
+ [Version (since = "2.26")]
public enum BusType {
STARTER,
NONE,
@@ -3117,8 +3827,9 @@ namespace GLib {
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_CONVERTER_")]
[Flags]
+ [Version (since = "2.24")]
public enum ConverterFlags {
- [Deprecated (replacement = "ConverterFlags.NONE", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "ConverterFlags.NONE")]
NO_FLAGS,
[CCode (cname = "G_CONVERTER_NO_FLAGS")]
NONE,
@@ -3126,6 +3837,7 @@ namespace GLib {
FLUSH
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_CONVERTER_", type_id = "g_converter_result_get_type ()")]
+ [Version (since = "2.24")]
public enum ConverterResult {
ERROR,
CONVERTED,
@@ -3133,6 +3845,7 @@ namespace GLib {
FLUSHED
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_CREDENTIALS_TYPE_", type_id = "g_credentials_type_get_type ()")]
+ [Version (since = "2.26")]
public enum CredentialsType {
INVALID,
LINUX_UCRED,
@@ -3143,6 +3856,7 @@ namespace GLib {
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_CALL_FLAGS_", type_id = "g_dbus_call_flags_get_type ()")]
[Flags]
+ [Version (since = "2.26")]
public enum DBusCallFlags {
NONE,
NO_AUTO_START,
@@ -3150,12 +3864,14 @@ namespace GLib {
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_CAPABILITY_FLAGS_", type_id = "g_dbus_capability_flags_get_type ()")]
[Flags]
+ [Version (since = "2.26")]
public enum DBusCapabilityFlags {
NONE,
UNIX_FD_PASSING
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_CONNECTION_FLAGS_", type_id = "g_dbus_connection_flags_get_type ()")]
[Flags]
+ [Version (since = "2.26")]
public enum DBusConnectionFlags {
NONE,
AUTHENTICATION_CLIENT,
@@ -3166,17 +3882,20 @@ namespace GLib {
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_INTERFACE_SKELETON_FLAGS_", type_id = "g_dbus_interface_skeleton_flags_get_type ()")]
[Flags]
+ [Version (since = "2.30")]
public enum DBusInterfaceSkeletonFlags {
NONE,
HANDLE_METHOD_INVOCATIONS_IN_THREAD
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_MESSAGE_BYTE_ORDER_", type_id = "g_dbus_message_byte_order_get_type ()")]
+ [Version (since = "2.26")]
public enum DBusMessageByteOrder {
BIG_ENDIAN,
LITTLE_ENDIAN
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_MESSAGE_FLAGS_", type_id = "g_dbus_message_flags_get_type ()")]
[Flags]
+ [Version (since = "2.26")]
public enum DBusMessageFlags {
NONE,
NO_REPLY_EXPECTED,
@@ -3184,6 +3903,7 @@ namespace GLib {
ALLOW_INTERACTIVE_AUTHORIZATION
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_MESSAGE_HEADER_FIELD_", type_id = "g_dbus_message_header_field_get_type ()")]
+ [Version (since = "2.26")]
public enum DBusMessageHeaderField {
INVALID,
PATH,
@@ -3197,6 +3917,7 @@ namespace GLib {
NUM_UNIX_FDS
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_MESSAGE_TYPE_", type_id = "g_dbus_message_type_get_type ()")]
+ [Version (since = "2.26")]
public enum DBusMessageType {
INVALID,
METHOD_CALL,
@@ -3206,12 +3927,14 @@ namespace GLib {
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_", type_id = "g_dbus_object_manager_client_flags_get_type ()")]
[Flags]
+ [Version (since = "2.30")]
public enum DBusObjectManagerClientFlags {
NONE,
DO_NOT_AUTO_START
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_PROPERTY_INFO_FLAGS_", type_id = "g_dbus_property_info_flags_get_type ()")]
[Flags]
+ [Version (since = "2.26")]
public enum DBusPropertyInfoFlags {
NONE,
READABLE,
@@ -3219,6 +3942,7 @@ namespace GLib {
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_PROXY_FLAGS_", type_id = "g_dbus_proxy_flags_get_type ()")]
[Flags]
+ [Version (since = "2.26")]
public enum DBusProxyFlags {
NONE,
DO_NOT_LOAD_PROPERTIES,
@@ -3229,12 +3953,14 @@ namespace GLib {
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_SEND_MESSAGE_FLAGS_", type_id = "g_dbus_send_message_flags_get_type ()")]
[Flags]
+ [Version (since = "2.26")]
public enum DBusSendMessageFlags {
NONE,
PRESERVE_SERIAL
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_SERVER_FLAGS_", type_id = "g_dbus_server_flags_get_type ()")]
[Flags]
+ [Version (since = "2.26")]
public enum DBusServerFlags {
NONE,
RUN_IN_THREAD,
@@ -3242,6 +3968,7 @@ namespace GLib {
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_SIGNAL_FLAGS_", type_id = "g_dbus_signal_flags_get_type ()")]
[Flags]
+ [Version (since = "2.26")]
public enum DBusSignalFlags {
NONE,
NO_MATCH_RULE,
@@ -3250,6 +3977,7 @@ namespace GLib {
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_SUBTREE_FLAGS_", type_id = "g_dbus_subtree_flags_get_type ()")]
[Flags]
+ [Version (since = "2.26")]
public enum DBusSubtreeFlags {
NONE,
DISPATCH_TO_UNENUMERATED_NODES
@@ -3269,10 +3997,12 @@ namespace GLib {
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_DRIVE_START_", type_id = "g_drive_start_flags_get_type ()")]
[Flags]
+ [Version (since = "2.22")]
public enum DriveStartFlags {
NONE
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_DRIVE_START_STOP_TYPE_", type_id = "g_drive_start_stop_type_get_type ()")]
+ [Version (since = "2.22")]
public enum DriveStartStopType {
UNKNOWN,
SHUTDOWN,
@@ -3281,6 +4011,7 @@ namespace GLib {
PASSWORD
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_EMBLEM_ORIGIN_", type_id = "g_emblem_origin_get_type ()")]
+ [Version (since = "2.18")]
public enum EmblemOrigin {
UNKNOWN,
DEVICE,
@@ -3333,6 +4064,7 @@ namespace GLib {
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_FILE_MEASURE_", type_id = "g_file_measure_flags_get_type ()")]
[Flags]
+ [Version (since = "2.38")]
public enum FileMeasureFlags {
NONE,
REPORT_ANY_ERROR,
@@ -3385,12 +4117,14 @@ namespace GLib {
NEVER
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_IO_MODULE_SCOPE_", type_id = "g_io_module_scope_flags_get_type ()")]
+ [Version (since = "2.30")]
public enum IOModuleScopeFlags {
NONE,
BLOCK_DUPLICATES
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_IO_STREAM_SPLICE_", type_id = "g_io_stream_splice_flags_get_type ()")]
[Flags]
+ [Version (since = "2.28")]
public enum IOStreamSpliceFlags {
NONE,
CLOSE_STREAM1,
@@ -3415,6 +4149,7 @@ namespace GLib {
FORCE
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_NETWORK_CONNECTIVITY_", type_id = "g_network_connectivity_get_type ()")]
+ [Version (since = "2.44")]
public enum NetworkConnectivity {
LOCAL,
LIMITED,
@@ -3422,6 +4157,7 @@ namespace GLib {
FULL
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_NOTIFICATION_PRIORITY_", type_id = "g_notification_priority_get_type ()")]
+ [Version (since = "2.42")]
public enum NotificationPriority {
NORMAL,
LOW,
@@ -3442,6 +4178,7 @@ namespace GLib {
PERMANENTLY
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_RESOLVER_RECORD_", type_id = "g_resolver_record_type_get_type ()")]
+ [Version (since = "2.34")]
public enum ResolverRecordType {
SRV,
MX,
@@ -3451,12 +4188,14 @@ namespace GLib {
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_RESOURCE_FLAGS_", type_id = "g_resource_flags_get_type ()")]
[Flags]
+ [Version (since = "2.32")]
public enum ResourceFlags {
NONE,
COMPRESSED
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_RESOURCE_LOOKUP_FLAGS_", type_id = "g_resource_lookup_flags_get_type ()")]
[Flags]
+ [Version (since = "2.32")]
public enum ResourceLookupFlags {
NONE
}
@@ -3471,6 +4210,7 @@ namespace GLib {
INVERT_BOOLEAN
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_SOCKET_CLIENT_", type_id = "g_socket_client_event_get_type ()")]
+ [Version (since = "2.32")]
public enum SocketClientEvent {
RESOLVING,
RESOLVED,
@@ -3483,6 +4223,7 @@ namespace GLib {
COMPLETE
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_SOCKET_FAMILY_", type_id = "g_socket_family_get_type ()")]
+ [Version (since = "2.22")]
public enum SocketFamily {
INVALID,
UNIX,
@@ -3490,6 +4231,7 @@ namespace GLib {
IPV6
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_SOCKET_LISTENER_", type_id = "g_socket_listener_event_get_type ()")]
+ [Version (since = "2.46")]
public enum SocketListenerEvent {
BINDING,
BOUND,
@@ -3498,6 +4240,7 @@ namespace GLib {
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_SOCKET_MSG_", type_id = "g_socket_msg_flags_get_type ()")]
[Flags]
+ [Version (since = "2.22")]
public enum SocketMsgFlags {
NONE,
OOB,
@@ -3505,6 +4248,7 @@ namespace GLib {
DONTROUTE
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_SOCKET_PROTOCOL_", type_id = "g_socket_protocol_get_type ()")]
+ [Version (since = "2.22")]
public enum SocketProtocol {
UNKNOWN,
DEFAULT,
@@ -3513,6 +4257,7 @@ namespace GLib {
SCTP
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_SOCKET_TYPE_", type_id = "g_socket_type_get_type ()")]
+ [Version (since = "2.22")]
public enum SocketType {
INVALID,
STREAM,
@@ -3521,6 +4266,7 @@ namespace GLib {
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_SUBPROCESS_FLAGS_", type_id = "g_subprocess_flags_get_type ()")]
[Flags]
+ [Version (since = "2.40")]
public enum SubprocessFlags {
NONE,
STDIN_PIPE,
@@ -3534,10 +4280,12 @@ namespace GLib {
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_TEST_DBUS_", type_id = "g_test_dbus_flags_get_type ()")]
[Flags]
+ [Version (since = "2.34")]
public enum TestDBusFlags {
NONE
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_TLS_AUTHENTICATION_", type_id = "g_tls_authentication_mode_get_type ()")]
+ [Version (since = "2.28")]
public enum TlsAuthenticationMode {
NONE,
REQUESTED,
@@ -3545,6 +4293,7 @@ namespace GLib {
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_TLS_CERTIFICATE_", type_id = "g_tls_certificate_flags_get_type ()")]
[Flags]
+ [Version (since = "2.28")]
public enum TlsCertificateFlags {
UNKNOWN_CA,
BAD_IDENTITY,
@@ -3556,20 +4305,24 @@ namespace GLib {
VALIDATE_ALL
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_TLS_CERTIFICATE_REQUEST_", type_id = "g_tls_certificate_request_flags_get_type ()")]
+ [Version (since = "2.40")]
public enum TlsCertificateRequestFlags {
NONE
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_TLS_DATABASE_LOOKUP_", type_id = "g_tls_database_lookup_flags_get_type ()")]
+ [Version (since = "2.30")]
public enum TlsDatabaseLookupFlags {
NONE,
KEYPAIR
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_TLS_DATABASE_VERIFY_", type_id = "g_tls_database_verify_flags_get_type ()")]
[Flags]
+ [Version (since = "2.30")]
public enum TlsDatabaseVerifyFlags {
NONE
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_TLS_INTERACTION_", type_id = "g_tls_interaction_result_get_type ()")]
+ [Version (since = "2.30")]
public enum TlsInteractionResult {
UNHANDLED,
HANDLED,
@@ -3577,6 +4330,7 @@ namespace GLib {
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_TLS_PASSWORD_", type_id = "g_tls_password_flags_get_type ()")]
[Flags]
+ [Version (since = "2.30")]
public enum TlsPasswordFlags {
NONE,
RETRY,
@@ -3584,12 +4338,14 @@ namespace GLib {
FINAL_TRY
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_TLS_REHANDSHAKE_", type_id = "g_tls_rehandshake_mode_get_type ()")]
+ [Version (since = "2.28")]
public enum TlsRehandshakeMode {
NEVER,
SAFELY,
UNSAFELY
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_UNIX_SOCKET_ADDRESS_", type_id = "g_unix_socket_address_type_get_type ()")]
+ [Version (since = "2.26")]
public enum UnixSocketAddressType {
INVALID,
ANONYMOUS,
@@ -3598,12 +4354,14 @@ namespace GLib {
ABSTRACT_PADDED
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_ZLIB_COMPRESSOR_FORMAT_", type_id = "g_zlib_compressor_format_get_type ()")]
+ [Version (since = "2.24")]
public enum ZlibCompressorFormat {
ZLIB,
GZIP,
RAW
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_ERROR_")]
+ [Version (since = "2.26")]
public errordomain DBusError {
FAILED,
NO_MEMORY,
@@ -3726,6 +4484,7 @@ namespace GLib {
public static GLib.Quark quark ();
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_RESOLVER_ERROR_")]
+ [Version (since = "2.22")]
public errordomain ResolverError {
NOT_FOUND,
TEMPORARY_FAILURE,
@@ -3734,6 +4493,7 @@ namespace GLib {
public static GLib.Quark quark ();
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_RESOURCE_ERROR_")]
+ [Version (since = "2.32")]
public errordomain ResourceError {
NOT_FOUND,
INTERNAL;
@@ -3741,6 +4501,7 @@ namespace GLib {
public static GLib.Quark quark ();
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_TLS_ERROR_")]
+ [Version (since = "2.28")]
public errordomain TlsError {
UNAVAILABLE,
MISC,
@@ -3753,38 +4514,53 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h", instance_pos = 2.9)]
public delegate void AsyncReadyCallback (GLib.Object? source_object, GLib.AsyncResult res);
[CCode (cheader_filename = "gio/gio.h", instance_pos = 2.9)]
+ [Version (since = "2.26")]
public delegate void BusAcquiredCallback (GLib.DBusConnection connection, string name);
[CCode (cheader_filename = "gio/gio.h", instance_pos = 2.9)]
+ [Version (since = "2.26")]
public delegate void BusNameAcquiredCallback (GLib.DBusConnection connection, string name);
[CCode (cheader_filename = "gio/gio.h", instance_pos = 3.9)]
+ [Version (since = "2.26")]
public delegate void BusNameAppearedCallback (GLib.DBusConnection connection, string name, string name_owner);
[CCode (cheader_filename = "gio/gio.h", instance_pos = 2.9)]
+ [Version (since = "2.26")]
public delegate void BusNameLostCallback (GLib.DBusConnection connection, string name);
[CCode (cheader_filename = "gio/gio.h", instance_pos = 2.9)]
+ [Version (since = "2.26")]
public delegate void BusNameVanishedCallback (GLib.DBusConnection connection, string name);
[CCode (cheader_filename = "gio/gio.h", instance_pos = 1.9)]
+ [Version (since = "2.28")]
public delegate bool CancellableSourceFunc (GLib.Cancellable? cancellable = null);
[CCode (cheader_filename = "gio/gio.h", instance_pos = 6.9)]
public delegate GLib.Variant DBusInterfaceGetPropertyFunc (GLib.DBusConnection connection, string sender, string object_path, string interface_name, string property_name) throws GLib.Error;
[CCode (cheader_filename = "gio/gio.h", instance_pos = 7.9)]
+ [Version (since = "2.26")]
public delegate void DBusInterfaceMethodCallFunc (GLib.DBusConnection connection, string sender, string object_path, string interface_name, string method_name, GLib.Variant parameters, owned GLib.DBusMethodInvocation invocation);
[CCode (cheader_filename = "gio/gio.h", instance_pos = 7.9)]
public delegate bool DBusInterfaceSetPropertyFunc (GLib.DBusConnection connection, string sender, string object_path, string interface_name, string property_name, GLib.Variant value) throws GLib.Error;
[CCode (cheader_filename = "gio/gio.h", instance_pos = 3.9)]
+ [Version (since = "2.26")]
public delegate GLib.DBusMessage? DBusMessageFilterFunction (GLib.DBusConnection connection, owned GLib.DBusMessage message, bool incoming);
[CCode (cheader_filename = "gio/gio.h", instance_pos = 3.9)]
+ [Version (since = "2.30")]
public delegate GLib.Type DBusProxyTypeFunc (GLib.DBusObjectManagerClient manager, string object_path, string? interface_name);
[CCode (cheader_filename = "gio/gio.h", instance_pos = 6.9)]
+ [Version (since = "2.26")]
public delegate void DBusSignalCallback (GLib.DBusConnection connection, string sender_name, string object_path, string interface_name, string signal_name, GLib.Variant parameters);
[CCode (cheader_filename = "gio/gio.h", instance_pos = 6.9)]
+ [Version (since = "2.26")]
public delegate unowned GLib.DBusInterfaceVTable? DBusSubtreeDispatchFunc (GLib.DBusConnection connection, string sender, string object_path, string interface_name, string node, void* out_user_data);
[CCode (array_length = false, array_null_terminated = true, cheader_filename = "gio/gio.h", instance_pos = 3.9)]
+ [Version (since = "2.26")]
public delegate string[] DBusSubtreeEnumerateFunc (GLib.DBusConnection connection, string sender, string object_path);
[CCode (cheader_filename = "gio/gio.h", instance_pos = 4.9)]
+ [Version (since = "2.26")]
public delegate GLib.DBusInterfaceInfo DBusSubtreeIntrospectFunc (GLib.DBusConnection connection, string sender, string object_path, string node);
[CCode (cheader_filename = "gio/gio.h", instance_pos = 2.9)]
+ [Version (since = "2.48")]
public delegate bool DatagramBasedSourceFunc (GLib.DatagramBased datagram_based, GLib.IOCondition condition);
[CCode (cheader_filename = "gio/gio.h", instance_pos = 4.9)]
+ [Version (since = "2.38")]
public delegate void FileMeasureProgressCallback (bool reporting, uint64 current_size, uint64 num_dirs, uint64 num_files);
[CCode (cheader_filename = "gio/gio.h", instance_pos = 2.9)]
public delegate void FileProgressCallback (int64 current_num_bytes, int64 total_num_bytes);
@@ -3793,6 +4569,7 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h", instance_pos = 2.9)]
public delegate bool IOSchedulerJobFunc (GLib.IOSchedulerJob job, GLib.Cancellable? cancellable = null);
[CCode (cheader_filename = "gio/gio.h", instance_pos = 1.9)]
+ [Version (since = "2.28")]
public delegate bool PollableSourceFunc (GLib.Object pollable_stream);
[CCode (cheader_filename = "gio/gio.h", has_target = false)]
public delegate void* ReallocFunc (void* data, size_t size);
@@ -3807,482 +4584,503 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h", instance_pos = 2.9)]
public delegate bool SettingsGetMapping (GLib.Variant value, out void* result);
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "SimplActionActivateFunc", since = "vala-0.26")]
+ [Version (deprecated_since = "vala-0.26", replacement = "SimplActionActivateFunc")]
public delegate void SimpleActionActivateCallback (GLib.SimpleAction action, GLib.Variant? parameter);
[CCode (cheader_filename = "gio/gio.h", has_target = false)]
public delegate void SimpleActionActivateFunc (GLib.SimpleAction action, GLib.Variant? parameter, void* user_data);
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "SimplActionChangeStateFunc", since = "vala-0.26")]
+ [Version (deprecated_since = "vala-0.26", replacement = "SimplActionChangeStateFunc")]
public delegate void SimpleActionChangeStateCallback (GLib.SimpleAction action, GLib.Variant value);
[CCode (cheader_filename = "gio/gio.h", has_target = false)]
public delegate void SimpleActionChangeStateFunc (GLib.SimpleAction action, GLib.Variant value, void* user_data);
[CCode (cheader_filename = "gio/gio.h", has_target = false)]
public delegate void SimpleAsyncThreadFunc (GLib.SimpleAsyncResult res, GLib.Object object, GLib.Cancellable? cancellable = null);
[CCode (cheader_filename = "gio/gio.h", instance_pos = 2.9)]
+ [Version (since = "2.22")]
public delegate bool SocketSourceFunc (GLib.Socket socket, GLib.IOCondition condition);
[CCode (cheader_filename = "gio/gio.h", has_target = false)]
+ [Version (since = "2.36")]
public delegate void TaskThreadFunc (GLib.Task task, GLib.Object source_object, void* task_data, GLib.Cancellable? cancellable = null);
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "File.equal", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "File.equal")]
public static GLib.EqualFunc file_equal;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "File.hash", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "File.hash")]
public static GLib.HashFunc file_hash;
[CCode (cheader_filename = "glib.h", cname = "g_realloc")]
public static GLib.ReallocFunc g_realloc;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.ACCESS_CAN_DELETE", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.ACCESS_CAN_DELETE")]
public const string FILE_ATTRIBUTE_ACCESS_CAN_DELETE;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.ACCESS_CAN_EXECUTE", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.ACCESS_CAN_EXECUTE")]
public const string FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.ACCESS_CAN_READ", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.ACCESS_CAN_READ")]
public const string FILE_ATTRIBUTE_ACCESS_CAN_READ;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.ACCESS_CAN_RENAME", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.ACCESS_CAN_RENAME")]
public const string FILE_ATTRIBUTE_ACCESS_CAN_RENAME;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.ACCESS_CAN_TRASH", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.ACCESS_CAN_TRASH")]
public const string FILE_ATTRIBUTE_ACCESS_CAN_TRASH;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.ACCESS_CAN_WRITE", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.ACCESS_CAN_WRITE")]
public const string FILE_ATTRIBUTE_ACCESS_CAN_WRITE;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.DOS_IS_ARCHIVE", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.DOS_IS_ARCHIVE")]
public const string FILE_ATTRIBUTE_DOS_IS_ARCHIVE;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.DOS_IS_SYSTEM", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.DOS_IS_SYSTEM")]
public const string FILE_ATTRIBUTE_DOS_IS_SYSTEM;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.ETAG_VALUE", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.ETAG_VALUE")]
public const string FILE_ATTRIBUTE_ETAG_VALUE;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.FILESYSTEM_FREE", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.FILESYSTEM_FREE")]
public const string FILE_ATTRIBUTE_FILESYSTEM_FREE;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.FILESYSTEM_READONLY", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.FILESYSTEM_READONLY")]
public const string FILE_ATTRIBUTE_FILESYSTEM_READONLY;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.FILESYSTEM_SIZE", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.FILESYSTEM_SIZE")]
public const string FILE_ATTRIBUTE_FILESYSTEM_SIZE;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.FILESYSTEM_TYPE", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.FILESYSTEM_TYPE")]
public const string FILE_ATTRIBUTE_FILESYSTEM_TYPE;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.FILESYSTEM_USE_PREVIEW", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.FILESYSTEM_USE_PREVIEW")]
public const string FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.GVFS_BACKEND", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.GVFS_BACKEND")]
public const string FILE_ATTRIBUTE_GVFS_BACKEND;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.ID_FILE", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.ID_FILE")]
public const string FILE_ATTRIBUTE_ID_FILE;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.ID_FILESYSTEM", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.ID_FILESYSTEM")]
public const string FILE_ATTRIBUTE_ID_FILESYSTEM;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.MOUNTABLE_CAN_EJECT", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_CAN_EJECT")]
public const string FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.MOUNTABLE_CAN_MOUNT", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_CAN_MOUNT")]
public const string FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.MOUNTABLE_CAN_POLL", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_CAN_POLL")]
public const string FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.MOUNTABLE_CAN_START", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_CAN_START")]
public const string FILE_ATTRIBUTE_MOUNTABLE_CAN_START;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.MOUNTABLE_CAN_START_DEGRADED", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_CAN_START_DEGRADED")]
public const string FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.MOUNTABLE_CAN_STOP", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_CAN_STOP")]
public const string FILE_ATTRIBUTE_MOUNTABLE_CAN_STOP;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.MOUNTABLE_CAN_UNMOUNT", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_CAN_UNMOUNT")]
public const string FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.MOUNTABLE_HAL_UDI", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_HAL_UDI")]
public const string FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC")]
public const string FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.MOUNTABLE_START_STOP_TYPE", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_START_STOP_TYPE")]
public const string FILE_ATTRIBUTE_MOUNTABLE_START_STOP_TYPE;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.MOUNTABLE_UNIX_DEVICE", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_UNIX_DEVICE")]
public const string FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.MOUNTABLE_UNIX_DEVICE_FILE", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_UNIX_DEVICE_FILE")]
public const string FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.OWNER_GROUP", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.OWNER_GROUP")]
public const string FILE_ATTRIBUTE_OWNER_GROUP;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.OWNER_USER", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.OWNER_USER")]
public const string FILE_ATTRIBUTE_OWNER_USER;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.OWNER_USER_REAL", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.OWNER_USER_REAL")]
public const string FILE_ATTRIBUTE_OWNER_USER_REAL;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.PREVIEW_ICON", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.PREVIEW_ICON")]
public const string FILE_ATTRIBUTE_PREVIEW_ICON;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.SELINUX_CONTEXT", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.SELINUX_CONTEXT")]
public const string FILE_ATTRIBUTE_SELINUX_CONTEXT;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.STANDARD_ALLOCATED_SIZE", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_ALLOCATED_SIZE")]
public const string FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.STANDARD_CONTENT_TYPE", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_CONTENT_TYPE")]
public const string FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.STANDARD_COPY_NAME", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_COPY_NAME")]
public const string FILE_ATTRIBUTE_STANDARD_COPY_NAME;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.STANDARD_DESCRIPTION", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_DESCRIPTION")]
public const string FILE_ATTRIBUTE_STANDARD_DESCRIPTION;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.STANDARD_DISPLAY_NAME", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_DISPLAY_NAME")]
public const string FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.STANDARD_EDIT_NAME", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_EDIT_NAME")]
public const string FILE_ATTRIBUTE_STANDARD_EDIT_NAME;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.STANDARD_FAST_CONTENT_TYPE", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_FAST_CONTENT_TYPE")]
public const string FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.STANDARD_ICON", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_ICON")]
public const string FILE_ATTRIBUTE_STANDARD_ICON;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.STANDARD_IS_BACKUP", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_IS_BACKUP")]
public const string FILE_ATTRIBUTE_STANDARD_IS_BACKUP;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.STANDARD_IS_HIDDEN", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_IS_HIDDEN")]
public const string FILE_ATTRIBUTE_STANDARD_IS_HIDDEN;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.STANDARD_IS_SYMLINK", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_IS_SYMLINK")]
public const string FILE_ATTRIBUTE_STANDARD_IS_SYMLINK;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.STANDARD_IS_VIRTUAL", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_IS_VIRTUAL")]
public const string FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.STANDARD_NAME", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_NAME")]
public const string FILE_ATTRIBUTE_STANDARD_NAME;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.STANDARD_SIZE", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_SIZE")]
public const string FILE_ATTRIBUTE_STANDARD_SIZE;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.STANDARD_SORT_ORDER", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_SORT_ORDER")]
public const string FILE_ATTRIBUTE_STANDARD_SORT_ORDER;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.STANDARD_SYMLINK_TARGET", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_SYMLINK_TARGET")]
public const string FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.STANDARD_TARGET_URI", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_TARGET_URI")]
public const string FILE_ATTRIBUTE_STANDARD_TARGET_URI;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.STANDARD_TYPE", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_TYPE")]
public const string FILE_ATTRIBUTE_STANDARD_TYPE;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.THUMBNAILING_FAILED", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.THUMBNAILING_FAILED")]
public const string FILE_ATTRIBUTE_THUMBNAILING_FAILED;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.THUMBNAIL_PATH", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.THUMBNAIL_PATH")]
public const string FILE_ATTRIBUTE_THUMBNAIL_PATH;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.TIME_ACCESS", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.TIME_ACCESS")]
public const string FILE_ATTRIBUTE_TIME_ACCESS;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.TIME_ACCESS_USEC", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.TIME_ACCESS_USEC")]
public const string FILE_ATTRIBUTE_TIME_ACCESS_USEC;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.TIME_CHANGED", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.TIME_CHANGED")]
public const string FILE_ATTRIBUTE_TIME_CHANGED;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.TIME_CHANGED_USEC", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.TIME_CHANGED_USEC")]
public const string FILE_ATTRIBUTE_TIME_CHANGED_USEC;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.TIME_CREATED", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.TIME_CREATED")]
public const string FILE_ATTRIBUTE_TIME_CREATED;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.TIME_CREATED_USEC", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.TIME_CREATED_USEC")]
public const string FILE_ATTRIBUTE_TIME_CREATED_USEC;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.TIME_MODIFIED", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.TIME_MODIFIED")]
public const string FILE_ATTRIBUTE_TIME_MODIFIED;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.TIME_MODIFIED_USEC", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.TIME_MODIFIED_USEC")]
public const string FILE_ATTRIBUTE_TIME_MODIFIED_USEC;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.TRASH_DELETION_DATE", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.TRASH_DELETION_DATE")]
public const string FILE_ATTRIBUTE_TRASH_DELETION_DATE;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.TRASH_ITEM_COUNT", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.TRASH_ITEM_COUNT")]
public const string FILE_ATTRIBUTE_TRASH_ITEM_COUNT;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.TRASH_ORIG_PATH", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.TRASH_ORIG_PATH")]
public const string FILE_ATTRIBUTE_TRASH_ORIG_PATH;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.UNIX_BLOCKS", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.UNIX_BLOCKS")]
public const string FILE_ATTRIBUTE_UNIX_BLOCKS;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.UNIX_BLOCK_SIZE", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.UNIX_BLOCK_SIZE")]
public const string FILE_ATTRIBUTE_UNIX_BLOCK_SIZE;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.UNIX_DEVICE", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.UNIX_DEVICE")]
public const string FILE_ATTRIBUTE_UNIX_DEVICE;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.UNIX_GID", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.UNIX_GID")]
public const string FILE_ATTRIBUTE_UNIX_GID;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.UNIX_INODE", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.UNIX_INODE")]
public const string FILE_ATTRIBUTE_UNIX_INODE;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.UNIX_IS_MOUNTPOINT", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.UNIX_IS_MOUNTPOINT")]
public const string FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.UNIX_MODE", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.UNIX_MODE")]
public const string FILE_ATTRIBUTE_UNIX_MODE;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.UNIX_NLINK", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.UNIX_NLINK")]
public const string FILE_ATTRIBUTE_UNIX_NLINK;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.UNIX_RDEV", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.UNIX_RDEV")]
public const string FILE_ATTRIBUTE_UNIX_RDEV;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "FileAttribute.UNIX_UID", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.UNIX_UID")]
public const string FILE_ATTRIBUTE_UNIX_UID;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "Menu.ATTRIBUTE_ACTION", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "Menu.ATTRIBUTE_ACTION")]
public const string MENU_ATTRIBUTE_ACTION;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "Menu.ATTRIBUTE_LABEL", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "Menu.ATTRIBUTE_LABEL")]
public const string MENU_ATTRIBUTE_LABEL;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "Menu.ATTRIBUTE_TARGET", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "Menu.ATTRIBUTE_TARGET")]
public const string MENU_ATTRIBUTE_TARGET;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "Menu.LINK_SECTION_SECTION", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "Menu.LINK_SECTION_SECTION")]
public const string MENU_LINK_SECTION;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "Menu.LINK_SUBMENU", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "Menu.LINK_SUBMENU")]
public const string MENU_LINK_SUBMENU;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "IOExtensionPoint.NATIVE_VOLUME_MONITOR", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "IOExtensionPoint.NATIVE_VOLUME_MONITOR")]
public const string NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "IOExtensionPoint.NETWORK_MONITOR", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "IOExtensionPoint.NETWORK_MONITOR")]
public const string NETWORK_MONITOR_EXTENSION_POINT_NAME;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "IOExtensionPoint.PROXY", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "IOExtensionPoint.PROXY")]
public const string PROXY_EXTENSION_POINT_NAME;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "IOExtensionPoint.PROXY_RESOLVER", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "IOExtensionPoint.PROXY_RESOLVER")]
public const string PROXY_RESOLVER_EXTENSION_POINT_NAME;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "IOExtensionPoint.TLS_BACKEND", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "IOExtensionPoint.TLS_BACKEND")]
public const string TLS_BACKEND_EXTENSION_POINT_NAME;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "TlsDatabase.PURPOSE_AUTHENTICATE_CLIENT", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "TlsDatabase.PURPOSE_AUTHENTICATE_CLIENT")]
public const string TLS_DATABASE_PURPOSE_AUTHENTICATE_CLIENT;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "TlsDatabase.PURPOSE_AUTHENTICATE_SERVER", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "TlsDatabase.PURPOSE_AUTHENTICATE_SERVER")]
public const string TLS_DATABASE_PURPOSE_AUTHENTICATE_SERVER;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "IOExtensionPoint.VFS", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "IOExtensionPoint.VFS")]
public const string VFS_EXTENSION_POINT_NAME;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "GLib.VolumeIdentifier.HAL_UDI", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "GLib.VolumeIdentifier.HAL_UDI")]
public const string VOLUME_IDENTIFIER_KIND_HAL_UDI;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "GLib.VolumeIdentifier.LABEL", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "GLib.VolumeIdentifier.LABEL")]
public const string VOLUME_IDENTIFIER_KIND_LABEL;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "GLib.VolumeIdentifier.NFS_MOUNT", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "GLib.VolumeIdentifier.NFS_MOUNT")]
public const string VOLUME_IDENTIFIER_KIND_NFS_MOUNT;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "GLib.VolumeIdentifier.UNIX_DEVICE", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "GLib.VolumeIdentifier.UNIX_DEVICE")]
public const string VOLUME_IDENTIFIER_KIND_UNIX_DEVICE;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "GLib.VolumeIdentifier.UUID", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "GLib.VolumeIdentifier.UUID")]
public const string VOLUME_IDENTIFIER_KIND_UUID;
[CCode (cheader_filename = "gio/gio.h")]
- [Deprecated (replacement = "IOExtensionPoint.VOLUME_MONITOR", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "IOExtensionPoint.VOLUME_MONITOR")]
public const string VOLUME_MONITOR_EXTENSION_POINT_NAME;
[CCode (cheader_filename = "gio/gio.h")]
+ [Version (since = "2.38")]
public static bool action_name_is_valid (string action_name);
[CCode (cheader_filename = "gio/gio.h")]
+ [Version (since = "2.38")]
public static bool action_parse_detailed_name (string detailed_name, out string action_name, out GLib.Variant target_value) throws GLib.Error;
[CCode (cheader_filename = "gio/gio.h")]
+ [Version (since = "2.38")]
public static string action_print_detailed_name (string action_name, GLib.Variant? target_value);
+ [CCode (cheader_filename = "gio/gio.h")]
+ [Version (since = "2.48")]
+ public static GLib.DtlsClientConnection dtls_client_connection_new (GLib.DatagramBased base_socket, GLib.SocketConnectable? server_identity) throws GLib.Error;
+ [CCode (cheader_filename = "gio/gio.h")]
+ [Version (since = "2.48")]
+ public static GLib.DtlsServerConnection dtls_server_connection_new (GLib.DatagramBased base_socket, GLib.TlsCertificate? certificate) throws GLib.Error;
[CCode (cheader_filename = "gio/gio.h", cname = "g_content_type_can_be_executable")]
- [Deprecated (replacement = "GLib.ContentType.can_be_executable", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "GLib.ContentType.can_be_executable")]
public static bool g_content_type_can_be_executable (string type);
[CCode (cheader_filename = "gio/gio.h", cname = "g_content_type_equals")]
- [Deprecated (replacement = "GLib.ContentType.equals", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "GLib.ContentType.equals")]
public static bool g_content_type_equals (string type1, string type2);
[CCode (cheader_filename = "gio/gio.h", cname = "g_content_type_from_mime_type")]
- [Deprecated (replacement = "GLib.ContentType.from_mime_type", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "GLib.ContentType.from_mime_type")]
public static string? g_content_type_from_mime_type (string mime_type);
[CCode (cheader_filename = "gio/gio.h", cname = "g_content_type_get_description")]
- [Deprecated (replacement = "GLib.ContentType.get_description", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "GLib.ContentType.get_description")]
public static string g_content_type_get_description (string type);
[CCode (cheader_filename = "gio/gio.h", cname = "g_content_type_get_icon")]
- [Deprecated (replacement = "GLib.ContentType.get_icon", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "GLib.ContentType.get_icon")]
public static GLib.Icon g_content_type_get_icon (string type);
[CCode (cheader_filename = "gio/gio.h", cname = "g_content_type_get_mime_type")]
- [Deprecated (replacement = "GLib.ContentType.get_mime_type", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "GLib.ContentType.get_mime_type")]
public static string? g_content_type_get_mime_type (string type);
[CCode (cheader_filename = "gio/gio.h", cname = "g_content_type_guess")]
- [Deprecated (replacement = "GLib.ContentType.guess", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "GLib.ContentType.guess")]
public static string g_content_type_guess (string filename, uchar[] data, out bool result_uncertain);
[CCode (cheader_filename = "gio/gio.h", cname = "g_content_type_guess_for_tree")]
- [Deprecated (replacement = "GLib.ContentType.guess_for_tree", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "GLib.ContentType.guess_for_tree")]
public static string g_content_type_guess_for_tree (GLib.File root);
[CCode (cheader_filename = "gio/gio.h", cname = "g_content_type_is_a")]
- [Deprecated (replacement = "GLib.ContentType.is_a", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "GLib.ContentType.is_a")]
public static bool g_content_type_is_a (string type, string supertype);
[CCode (cheader_filename = "gio/gio.h", cname = "g_content_type_is_unknown")]
- [Deprecated (replacement = "GLib.ContentType.is_unknown", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "GLib.ContentType.is_unknown")]
public static bool g_content_type_is_unknown (string type);
[CCode (cheader_filename = "gio/gio.h", cname = "g_content_types_get_registered")]
- [Deprecated (replacement = "ContentType.list_registered", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "ContentType.list_registered")]
public static GLib.List<string> g_content_types_get_registered ();
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_address_get_for_bus_sync")]
- [Deprecated (replacement = "BusType.get_address_sync", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "BusType.get_address_sync")]
public static unowned string g_dbus_address_get_for_bus_sync (GLib.BusType bus_type, GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_address_get_stream")]
- [Deprecated (replacement = "DBus.address_get_stream", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBus.address_get_stream")]
public static async void g_dbus_address_get_stream (string address, GLib.Cancellable? cancellable = null);
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_address_get_stream_finish")]
- [Deprecated (replacement = "DBus.address_get_stream_finish", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBus.address_get_stream_finish")]
public static unowned GLib.IOStream g_dbus_address_get_stream_finish (GLib.AsyncResult res, string out_guid) throws GLib.Error;
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_address_get_stream_sync")]
- [Deprecated (replacement = "DBus.address_get_stream_sync", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBus.address_get_stream_sync")]
public static unowned GLib.IOStream g_dbus_address_get_stream_sync (string address, string out_guid, GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_error_encode_gerror")]
- [Deprecated (replacement = "DBusError.encode_gerror", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBusError.encode_gerror")]
public static unowned string g_dbus_error_encode_gerror (GLib.Error error);
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_error_get_remote_error")]
- [Deprecated (replacement = "DBusError.get_remote_error", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBusError.get_remote_error")]
public static unowned string g_dbus_error_get_remote_error (GLib.Error error);
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_error_is_remote_error")]
- [Deprecated (replacement = "DBusError.error_is_remote_error", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBusError.error_is_remote_error")]
public static bool g_dbus_error_is_remote_error (GLib.Error error);
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_error_new_for_dbus_error")]
- [Deprecated (replacement = "DBusError.new_for_dbus_error", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBusError.new_for_dbus_error")]
public static unowned GLib.Error g_dbus_error_new_for_dbus_error (string dbus_error_name, string dbus_error_message);
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_error_quark")]
- [Deprecated (replacement = "DBusError.quark", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBusError.quark")]
public static GLib.Quark g_dbus_error_quark ();
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_error_register_error")]
- [Deprecated (replacement = "DBusError.register_error", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBusError.register_error")]
public static bool g_dbus_error_register_error (GLib.Quark error_domain, int error_code, string dbus_error_name);
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_error_register_error_domain")]
- [Deprecated (replacement = "DBusError.register_error_domain", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBusError.register_error_domain")]
public static void g_dbus_error_register_error_domain (string error_domain_quark_name, size_t quark_volatile, GLib.DBusErrorEntry entries, uint num_entries);
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_error_set_dbus_error")]
- [Deprecated (replacement = "DBusError.set_dbus_error", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBusError.set_dbus_error")]
public static void g_dbus_error_set_dbus_error (string dbus_error_name, string dbus_error_message, string format) throws GLib.Error;
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_error_set_dbus_error_valist")]
- [Deprecated (replacement = "DBusError.set_dbus_error_valist", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBusError.set_dbus_error_valist")]
public static void g_dbus_error_set_dbus_error_valist (string dbus_error_name, string dbus_error_message, string format, void* var_args) throws GLib.Error;
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_error_strip_remote_error")]
- [Deprecated (replacement = "DBusError.strip_remote_error", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBusError.strip_remote_error")]
public static bool g_dbus_error_strip_remote_error (GLib.Error error);
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_error_unregister_error")]
- [Deprecated (replacement = "DBusError.unregister_error", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBusError.unregister_error")]
public static bool g_dbus_error_unregister_error (GLib.Quark error_domain, int error_code, string dbus_error_name);
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_generate_guid")]
- [Deprecated (replacement = "DBus.generate_guid", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBus.generate_guid")]
public static unowned string g_dbus_generate_guid ();
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_gvalue_to_gvariant")]
- [Deprecated (replacement = "DBus.gvalue_to_gvariant", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBus.gvalue_to_gvariant")]
public static unowned GLib.Variant g_dbus_gvalue_to_gvariant (GLib.Value gvalue, GLib.VariantType type);
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_gvariant_to_gvalue")]
- [Deprecated (replacement = "DBus.gvariant_to_gvalue", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBus.gvariant_to_gvalue")]
public static void g_dbus_gvariant_to_gvalue (GLib.Variant value, GLib.Value out_gvalue);
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_is_address")]
- [Deprecated (replacement = "DBus.is_address", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBus.is_address")]
public static bool g_dbus_is_address (string str);
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_is_guid")]
- [Deprecated (replacement = "DBus.is_guid", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBus.is_guid")]
public static bool g_dbus_is_guid (string str);
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_is_interface_name")]
- [Deprecated (replacement = "DBus.is_interface_name", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBus.is_interface_name")]
public static bool g_dbus_is_interface_name (string str);
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_is_member_name")]
- [Deprecated (replacement = "DBus.is_member_name", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBus.is_member_name")]
public static bool g_dbus_is_member_name (string str);
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_is_name")]
- [Deprecated (replacement = "DBus.is_name", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBus.is_name")]
public static bool g_dbus_is_name (string str);
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_is_supported_address")]
- [Deprecated (replacement = "DBus.is_supported_address", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBus.is_supported_address")]
public static bool g_dbus_is_supported_address (string str) throws GLib.Error;
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_is_unique_name")]
- [Deprecated (replacement = "DBus.is_unique_name", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBus.is_unique_name")]
public static bool g_dbus_is_unique_name (string str);
[CCode (cheader_filename = "gio/gio.h", cname = "g_io_error_from_errno")]
- [Deprecated (replacement = "IOError.from_errno", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "IOError.from_errno")]
public static unowned GLib.IOError g_io_error_from_errno (int err_no);
[CCode (cheader_filename = "gio/gio.h", cname = "g_io_error_quark")]
- [Deprecated (replacement = "IOError.quark", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "IOError.quark")]
public static GLib.Quark g_io_error_quark ();
[CCode (cheader_filename = "gio/gio.h", cname = "g_io_modules_load_all_in_directory")]
- [Deprecated (replacement = "IOModule.load_all_in_directory", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "IOModule.load_all_in_directory")]
public static GLib.List<weak GLib.TypeModule> g_io_modules_load_all_in_directory (string dirname);
[CCode (cheader_filename = "gio/gio.h", cname = "g_io_modules_load_all_in_directory_with_scope")]
- [Deprecated (replacement = "IOModule.load_all_in_directory_with_scope", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "IOModule.load_all_in_directory_with_scope")]
public static unowned GLib.List g_io_modules_load_all_in_directory_with_scope (string dirname, GLib.IOModuleScope scope);
[CCode (cheader_filename = "gio/gio.h", cname = "g_io_modules_scan_all_in_directory")]
- [Deprecated (replacement = "IOModule.scan_all_in_directory", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "IOModule.scan_all_in_directory")]
public static void g_io_modules_scan_all_in_directory (string dirname);
[CCode (cheader_filename = "gio/gio.h", cname = "g_io_modules_scan_all_in_directory_with_scope")]
- [Deprecated (replacement = "IOModule.xscan_all_in_directory_with_scope", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "IOModule.xscan_all_in_directory_with_scope")]
public static void g_io_modules_scan_all_in_directory_with_scope (string dirname, GLib.IOModuleScope scope);
[CCode (cheader_filename = "gio/gio.h", cname = "g_io_scheduler_cancel_all_jobs")]
- [Deprecated (replacement = "IOSchedulerJob.cancel_all", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "IOSchedulerJob.cancel_all")]
public static void g_io_scheduler_cancel_all_jobs ();
[CCode (cheader_filename = "gio/gio.h", cname = "g_io_scheduler_push_job")]
- [Deprecated (replacement = "IOSchedulerJob.push", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "IOSchedulerJob.push")]
public static void g_io_scheduler_push_job (owned GLib.IOSchedulerJobFunc job_func, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null);
[CCode (cheader_filename = "gio/gio.h", cname = "g_pollable_source_new")]
- [Deprecated (replacement = "PollableSource", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "PollableSource")]
public static unowned GLib.TimeoutSource g_pollable_source_new (GLib.Object pollable_stream);
[CCode (cheader_filename = "gio/gio.h", cname = "g_simple_async_report_error_in_idle")]
- [Deprecated (replacement = "report_error_in_idle", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "report_error_in_idle")]
public static void g_simple_async_report_error_in_idle (GLib.Object object, GLib.AsyncReadyCallback callback, GLib.Quark domain, int code, string format);
[CCode (cheader_filename = "gio/gio.h", cname = "g_simple_async_report_gerror_in_idle")]
- [Deprecated (replacement = "report_gerror_in_idle", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "report_gerror_in_idle")]
public static void g_simple_async_report_gerror_in_idle (GLib.Object object, GLib.AsyncReadyCallback callback, GLib.Error error);
[CCode (cheader_filename = "gio/gio.h", cname = "g_simple_async_report_take_gerror_in_idle")]
- [Deprecated (replacement = "report_take_gerror_in_idle", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "report_take_gerror_in_idle")]
public static void g_simple_async_report_take_gerror_in_idle (GLib.Object object, GLib.AsyncReadyCallback callback, GLib.Error error);
[CCode (cheader_filename = "gio/gio.h", cname = "g_tls_error_quark")]
- [Deprecated (replacement = "TlsError.quark", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "TlsError.quark")]
public static GLib.Quark g_tls_error_quark ();
[CCode (cheader_filename = "gio/gio.h")]
+ [Version (since = "2.36")]
public static void networking_init ();
[CCode (cheader_filename = "gio/gio.h")]
+ [Version (since = "2.34")]
public static ssize_t pollable_stream_read (GLib.InputStream stream, [CCode (array_length_cname = "count", array_length_pos = 2.5, array_length_type = "gsize")] uint8[] buffer, bool blocking, GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (cheader_filename = "gio/gio.h")]
+ [Version (since = "2.34")]
public static ssize_t pollable_stream_write (GLib.OutputStream stream, [CCode (array_length_cname = "count", array_length_pos = 2.5, array_length_type = "gsize")] uint8[] buffer, bool blocking, GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (cheader_filename = "gio/gio.h")]
+ [Version (since = "2.34")]
public static bool pollable_stream_write_all (GLib.OutputStream stream, [CCode (array_length_cname = "count", array_length_pos = 2.5, array_length_type = "gsize")] uint8[] buffer, bool blocking, out size_t bytes_written, GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (array_length = false, array_null_terminated = true, cheader_filename = "gio/gio.h")]
+ [Version (since = "2.32")]
public static string[] resources_enumerate_children (string path, GLib.ResourceLookupFlags lookup_flags) throws GLib.Error;
[CCode (cheader_filename = "gio/gio.h")]
+ [Version (since = "2.32")]
public static bool resources_get_info (string path, GLib.ResourceLookupFlags lookup_flags, out size_t size, out uint32 flags) throws GLib.Error;
[CCode (cheader_filename = "gio/gio.h")]
+ [Version (since = "2.32")]
public static GLib.Bytes resources_lookup_data (string path, GLib.ResourceLookupFlags lookup_flags) throws GLib.Error;
[CCode (cheader_filename = "gio/gio.h")]
+ [Version (since = "2.32")]
public static GLib.InputStream resources_open_stream (string path, GLib.ResourceLookupFlags lookup_flags) throws GLib.Error;
[CCode (cheader_filename = "gio/gio.h")]
+ [Version (since = "2.32")]
public static void resources_register (GLib.Resource resource);
[CCode (cheader_filename = "gio/gio.h")]
+ [Version (since = "2.32")]
public static void resources_unregister (GLib.Resource resource);
}
diff --git a/vapi/gio-unix-2.0.vapi b/vapi/gio-unix-2.0.vapi
index 98471cf17..70a913575 100644
--- a/vapi/gio-unix-2.0.vapi
+++ b/vapi/gio-unix-2.0.vapi
@@ -95,7 +95,7 @@ namespace GLib {
[CCode (cheader_filename = "gio/gunixmounts.h")]
public class UnixMountMonitor : GLib.Object {
[CCode (has_construct_function = false)]
- [Deprecated (replacement = "UnixMountMonitor.get", since = "2.44")]
+ [Version (deprecated_since = "2.44", replacement = "UnixMountMonitor.get")]
public UnixMountMonitor ();
public static GLib.UnixMountMonitor @get ();
public void set_rate_limit (int limit_msec);
diff --git a/vapi/gio-windows-2.0.deps b/vapi/gio-windows-2.0.deps
new file mode 100644
index 000000000..cd10dfde4
--- /dev/null
+++ b/vapi/gio-windows-2.0.deps
@@ -0,0 +1 @@
+gio-2.0
diff --git a/vapi/gio-windows-2.0.vapi b/vapi/gio-windows-2.0.vapi
new file mode 100644
index 000000000..4f6b7b368
--- /dev/null
+++ b/vapi/gio-windows-2.0.vapi
@@ -0,0 +1,23 @@
+/* gio-windows-2.0.vapi generated by vapigen, do not modify. */
+
+[CCode (cprefix = "G", lower_case_cprefix = "g_")]
+namespace GLib {
+ [CCode (cheader_filename = "gio/gwin32inputstream.h", type_id = "g_win32_input_stream_get_type ()")]
+ public class Win32InputStream : GLib.InputStream {
+ [CCode (has_construct_function = false, type = "GInputStream*")]
+ public Win32InputStream (void* handle, bool close_handle);
+ public bool get_close_handle ();
+ public void set_close_handle (bool close_handle);
+ public bool close_handle { get; set; }
+ public void* handle { get; construct; }
+ }
+ [CCode (cheader_filename = "gio/gwin32outputstream.h", type_id = "g_win32_output_stream_get_type ()")]
+ public class Win32OutputStream : GLib.OutputStream {
+ [CCode (has_construct_function = false, type = "GOutputStream*")]
+ public Win32OutputStream (void* handle, bool close_handle);
+ public bool get_close_handle ();
+ public void set_close_handle (bool close_handle);
+ public bool close_handle { get; set; }
+ public void* handle { get; construct; }
+ }
+}
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index af183d685..b240b6b4d 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -301,11 +301,14 @@ public struct ulong {
public struct size_t {
[CCode (cname = "0UL")]
public const ulong MIN;
+ [Version (since = "2.4")]
[CCode (cname = "G_MAXSIZE")]
public const ulong MAX;
+ [Version (since = "2.6")]
[CCode (cname = "G_GSIZE_FORMAT")]
public const string FORMAT;
+ [Version (since = "2.6")]
[CCode (cname = "G_GSIZE_MODIFIER")]
public const string FORMAT_MODIFIER;
@@ -328,11 +331,14 @@ public struct size_t {
[CCode (cname = "gssize", cheader_filename = "glib.h", type_id = "G_TYPE_LONG", marshaller_type_name = "LONG", get_value_function = "g_value_get_long", set_value_function = "g_value_set_long", default_value = "0L")]
[IntegerType (rank = 8)]
public struct ssize_t {
+ [Version (since = "2.14")]
[CCode (cname = "G_MINSSIZE")]
public const long MIN;
+ [Version (since = "2.14")]
[CCode (cname = "G_MAXSSIZE")]
public const long MAX;
+ [Version (since = "2.6")]
[CCode (cname = "G_GSSIZE_FORMAT")]
public const string FORMAT;
[CCode (cname = "G_GSIZE_MODIFIER")]
@@ -350,12 +356,69 @@ public struct ssize_t {
}
[SimpleType]
+[GIR (name = "gulong")]
+[CCode (cname = "guintptr", cheader_filename = "glib.h", type_id = "G_TYPE_ULONG", marshaller_type_name = "ULONG", get_value_function = "g_value_get_ulong", set_value_function = "g_value_set_ulong", default_value = "0UL")]
+[IntegerType (rank = 9)]
+public struct uintptr {
+ [CCode (cname = "0UL")]
+ public const ulong MIN;
+ [CCode (cname = "G_MAXSIZE")]
+ public const ulong MAX;
+
+ [CCode (cname = "G_GUINTPTR_FORMAT")]
+ public const string FORMAT;
+ [CCode (cname = "G_GINTPTR_MODIFIER")]
+ public const string FORMAT_MODIFIER;
+
+ [CCode (cname = "g_strdup_printf", instance_pos = -1)]
+ public string to_string (string format = "%" + FORMAT);
+
+ [CCode (cname = "GSIZE_TO_POINTER")]
+ public void* to_pointer ();
+
+ [CCode (cname = "MIN")]
+ public static uintptr min (uintptr a, uintptr b);
+ [CCode (cname = "MAX")]
+ public static uintptr max (uintptr a, uintptr b);
+ [CCode (cname = "CLAMP")]
+ public uintptr clamp (uintptr low, uintptr high);
+}
+
+[SimpleType]
+[GIR (name = "glong")]
+[CCode (cname = "gintptr", cheader_filename = "glib.h", type_id = "G_TYPE_LONG", marshaller_type_name = "LONG", get_value_function = "g_value_get_long", set_value_function = "g_value_set_long", default_value = "0L")]
+[IntegerType (rank = 8)]
+public struct intptr {
+ [CCode (cname = "G_MINSSIZE")]
+ public const long MIN;
+ [CCode (cname = "G_MAXSSIZE")]
+ public const long MAX;
+
+ [CCode (cname = "G_GINTPTR_FORMAT")]
+ public const string FORMAT;
+ [CCode (cname = "G_GINTPTR_MODIFIER")]
+ public const string FORMAT_MODIFIER;
+
+ [CCode (cname = "g_strdup_printf", instance_pos = -1)]
+ public string to_string (string format = "%" + FORMAT);
+
+ [CCode (cname = "MIN")]
+ public static intptr min (intptr a, intptr b);
+ [CCode (cname = "MAX")]
+ public static intptr max (intptr a, intptr b);
+ [CCode (cname = "CLAMP")]
+ public intptr clamp (intptr low, intptr high);
+}
+
+[SimpleType]
[GIR (name = "gint8")]
[CCode (cname = "gint8", cheader_filename = "glib.h", type_id = "G_TYPE_CHAR", marshaller_type_name = "CHAR", get_value_function = "g_value_get_char", set_value_function = "g_value_set_char", default_value = "0", type_signature = "y")]
[IntegerType (rank = 1, min = -128, max = 127)]
public struct int8 {
+ [Version (since = "2.4")]
[CCode (cname = "G_MININT8")]
public const int8 MIN;
+ [Version (since = "2.4")]
[CCode (cname = "G_MAXINT8")]
public const int8 MAX;
@@ -377,6 +440,7 @@ public struct int8 {
public struct uint8 {
[CCode (cname = "0U")]
public const uint8 MIN;
+ [Version (since = "2.4")]
[CCode (cname = "G_MAXUINT8")]
public const uint8 MAX;
@@ -396,13 +460,16 @@ public struct uint8 {
[CCode (cname = "gint16", cheader_filename = "glib.h", default_value = "0", type_signature = "n", has_type_id = false)]
[IntegerType (rank = 4, min = -32768, max = 32767)]
public struct int16 {
+ [Version (since = "2.4")]
[CCode (cname = "G_MININT16")]
public const int16 MIN;
+ [Version (since = "2.4")]
[CCode (cname = "G_MAXINT16")]
public const int16 MAX;
[CCode (cname = "G_GINT16_FORMAT")]
public const string FORMAT;
+ [Version (since = "2.4")]
[CCode (cname = "G_GINT16_MODIFIER")]
public const string FORMAT_MODIFIER;
@@ -434,6 +501,7 @@ public struct int16 {
public struct uint16 {
[CCode (cname = "0U")]
public const uint16 MIN;
+ [Version (since = "2.4")]
[CCode (cname = "G_MAXUINT16")]
public const uint16 MAX;
@@ -480,13 +548,16 @@ public struct uint16 {
[CCode (cname = "gint32", cheader_filename = "glib.h", type_id = "G_TYPE_INT", marshaller_type_name = "INT", get_value_function = "g_value_get_int", set_value_function = "g_value_set_int", default_value = "0", type_signature = "i")]
[IntegerType (rank = 6)]
public struct int32 {
+ [Version (since = "2.4")]
[CCode (cname = "G_MININT32")]
public const int32 MIN;
+ [Version (since = "2.4")]
[CCode (cname = "G_MAXINT32")]
public const int32 MAX;
[CCode (cname = "G_GINT32_FORMAT")]
public const string FORMAT;
+ [Version (since = "2.4")]
[CCode (cname = "G_GINT32_MODIFIER")]
public const string FORMAT_MODIFIER;
@@ -518,6 +589,7 @@ public struct int32 {
public struct uint32 {
[CCode (cname = "0U")]
public const uint32 MIN;
+ [Version (since = "2.4")]
[CCode (cname = "G_MAXUINT32")]
public const uint32 MAX;
@@ -571,6 +643,7 @@ public struct int64 {
[CCode (cname = "G_GINT64_FORMAT")]
public const string FORMAT;
+ [Version (since = "2.4")]
[CCode (cname = "G_GINT64_MODIFIER")]
public const string FORMAT_MODIFIER;
@@ -602,9 +675,12 @@ public struct int64 {
[CCode (cname = "g_ascii_strtoll")]
static int64 ascii_strtoll (string nptr, out char* endptr, uint _base);
+ [Version (since = "2.12")]
public static int64 parse (string str) {
return ascii_strtoll (str, null, 0);
}
+
+ [Version (since = "2.12")]
public static bool try_parse (string str, out int64 result = null) {
char* endptr;
result = ascii_strtoll (str, out endptr, 0);
@@ -831,6 +907,7 @@ public struct unichar {
public bool isdigit ();
public bool isgraph ();
public bool islower ();
+ [Version (since = "2.14")]
public bool ismark ();
public bool isprint ();
public bool ispunct ();
@@ -840,7 +917,9 @@ public struct unichar {
public bool istitle ();
public bool isdefined ();
public bool iswide ();
+ [Version (since = "2.12")]
public bool iswide_cjk ();
+ [Version (since = "2.14")]
public bool iszerowidth ();
public unichar toupper ();
public unichar tolower ();
@@ -849,6 +928,7 @@ public struct unichar {
public int xdigit_value ();
public GLib.UnicodeType type ();
public GLib.UnicodeBreakType break_type ();
+ [Version (since = "2.14")]
public GLib.UnicodeScript get_script();
public int to_utf8 (string? outbuf);
@@ -859,8 +939,11 @@ public struct unichar {
return str;
}
+ [Version (since = "2.30")]
public bool compose (unichar b, out unichar ch);
+ [Version (since = "2.30")]
public bool decompose (out unichar a, out unichar b);
+ [Version (since = "2.30")]
public size_t fully_decompose (bool compat, unichar[] result);
[CCode (cname = "MIN")]
@@ -879,10 +962,10 @@ public struct unichar {
[GIR (name = "utf8")]
[CCode (cname = "gchar", const_cname = "const gchar", copy_function = "g_strdup", free_function = "g_free", cheader_filename = "stdlib.h,string.h,glib.h", type_id = "G_TYPE_STRING", marshaller_type_name = "STRING", param_spec_function = "g_param_spec_string", get_value_function = "g_value_get_string", set_value_function = "g_value_set_string", take_value_function = "g_value_take_string", type_signature = "s")]
public class string {
- [Deprecated (replacement = "string.index_of")]
+ [Version (replacement = "string.index_of")]
[CCode (cname = "strstr")]
public unowned string? str (string needle);
- [Deprecated (replacement = "string.last_index_of")]
+ [Version (replacement = "string.last_index_of")]
[CCode (cname = "g_strrstr")]
public unowned string? rstr (string needle);
[CCode (cname = "g_strrstr_len")]
@@ -937,8 +1020,10 @@ public class string {
}
}
+ [Version (since = "2.2")]
[CCode (cname = "g_str_has_prefix")]
public bool has_prefix (string prefix);
+ [Version (since = "2.2")]
[CCode (cname = "g_str_has_suffix")]
public bool has_suffix (string suffix);
[CCode (cname = "g_strdup_printf"), PrintfFormat]
@@ -955,6 +1040,7 @@ public class string {
public string compress ();
[CCode (cname = "g_strsplit", array_length = false, array_null_terminated = true)]
public string[] split (string delimiter, int max_tokens = 0);
+ [Version (since = "2.4")]
[CCode (cname = "g_strsplit_set", array_length = false, array_null_terminated = true)]
public string[] split_set (string delimiters, int max_tokens = 0);
[CCode (cname = "g_stpcpy")]
@@ -1029,13 +1115,13 @@ public class string {
[CCode (cname = "g_utf8_get_char_validated")]
public unichar get_char_validated (ssize_t max_len = -1);
- [Deprecated (replacement = "string.index_of_nth_char")]
+ [Version (replacement = "string.index_of_nth_char")]
[CCode (cname = "g_utf8_offset_to_pointer")]
public unowned string utf8_offset (long offset);
public unowned string offset (long offset) {
return (string) ((char*) this + offset);
}
- [Deprecated (replacement = "string.char_count")]
+ [Version (replacement = "string.char_count")]
public long pointer_to_offset (string pos) {
return (long) ((char*) pos - (char*) this);
}
@@ -1062,15 +1148,16 @@ public class string {
}
}
- [Deprecated (replacement = "string.length")]
+ [Version (replacement = "string.length")]
[CCode (cname = "strlen")]
public long len ();
- [Deprecated (replacement = "string.index_of_char")]
+ [Version (replacement = "string.index_of_char")]
[CCode (cname = "g_utf8_strchr")]
public unowned string chr (ssize_t len, unichar c);
- [Deprecated (replacement = "string.last_index_of_char")]
+ [Version (replacement = "string.last_index_of_char")]
[CCode (cname = "g_utf8_strrchr")]
public unowned string rchr (ssize_t len, unichar c);
+ [Version (since = "2.2")]
[CCode (cname = "g_utf8_strreverse")]
public string reverse (ssize_t len = -1);
[CCode (cname = "g_utf8_validate")]
@@ -1088,6 +1175,7 @@ public class string {
public int collate (string str2);
[CCode (cname = "g_utf8_collate_key")]
public string collate_key (ssize_t len = -1);
+ [Version (since = "2.8")]
[CCode (cname = "g_utf8_collate_key_for_filename")]
public string collate_key_for_filename (ssize_t len = -1);
@@ -1129,32 +1217,38 @@ public class string {
[CCode (cname = "g_str_hash")]
public uint hash ();
+ [Version (since = "2.40")]
[CCode (cname = "g_str_is_ascii")]
public bool is_ascii ();
+ [Version (since = "2.40")]
[CCode (instance_pos = "1.5", cname = "g_str_match_string")]
public bool match_string (string search_term, bool accept_alternates);
- [Deprecated (replacement = "int.parse")]
+ [Version (since = "2.40")]
+ [CCode (cname = "g_str_to_ascii")]
+ public string to_ascii (string? from_locale = null);
+ [Version (replacement = "int.parse")]
[CCode (cname = "atoi")]
public int to_int ();
- [Deprecated (replacement = "long.parse")]
+ [Version (replacement = "long.parse")]
[CCode (cname = "strtol")]
public long to_long (out unowned string endptr = null, int _base = 0);
- [Deprecated (replacement = "double.parse")]
+ [Version (replacement = "double.parse")]
[CCode (cname = "g_ascii_strtod")]
public double to_double (out unowned string endptr = null);
- [Deprecated (replacement = "uint64.parse")]
+ [Version (replacement = "uint64.parse")]
[CCode (cname = "strtoul")]
public ulong to_ulong (out unowned string endptr = null, int _base = 0);
- [Deprecated (replacement = "int64.parse")]
+ [Version (replacement = "int64.parse")]
[CCode (cname = "g_ascii_strtoll")]
public int64 to_int64 (out unowned string endptr = null, int _base = 0);
- [Deprecated (replacement = "uint64.parse")]
+ [Version (replacement = "uint64.parse", since = "2.2")]
[CCode (cname = "g_ascii_strtoull")]
public uint64 to_uint64 (out unowned string endptr = null, int _base = 0);
[CCode (cname = "g_str_tokenize_and_fold", array_length = false, array_null_terminated = true)]
+ [Version (since = "2.40")]
public string[] tokenize_and_fold (string transit_locale, [CCode (array_length = false, array_null_terminated = true)] out string[] ascii_alternates);
- [Deprecated (replacement = "bool.parse")]
+ [Version (replacement = "bool.parse")]
public bool to_bool () {
if (this == "true") {
return true;
@@ -1163,7 +1257,7 @@ public class string {
}
}
- [Deprecated (replacement = "string.length")]
+ [Version (replacement = "string.length")]
[CCode (cname = "strlen")]
public size_t size ();
@@ -1185,7 +1279,7 @@ public class string {
[CCode (cname = "g_strdup")]
public string dup ();
- [Deprecated (replacement = "string.substring")]
+ [Version (replacement = "string.substring")]
[CCode (cname = "g_strndup")]
public string ndup (size_t n);
@@ -1509,21 +1603,20 @@ namespace GLib {
/* Atomic Operations */
+ [Version (since = "2.4")]
namespace AtomicInt {
public static int get ([CCode (type = "volatile gint *")] ref int atomic);
public static void set ([CCode (type = "volatile gint *")] ref int atomic, int newval);
-#if GLIB_2_30
+ [Version (since = "2.30")]
public static int add ([CCode (type = "volatile gint *")] ref int atomic, int val);
-#else
- public static void add ([CCode (type = "volatile gint *")] ref int atomic, int val);
-#endif
- [Deprecated (since = "2.30", replacement = "add")]
+ [Version (deprecated_since = "2.30", replacement = "add")]
public static int exchange_and_add ([CCode (type = "volatile gint *")] ref int atomic, int val);
public static bool compare_and_exchange ([CCode (type = "volatile gint *")] ref int atomic, int oldval, int newval);
public static void inc ([CCode (type = "volatile gint *")] ref int atomic);
public static bool dec_and_test ([CCode (type = "volatile gint *")] ref int atomic);
}
+ [Version (since = "2.4")]
namespace AtomicPointer {
public static void* get ([CCode (type = "volatile gpointer *")] void** atomic);
public static void set ([CCode (type = "volatile gpointer *")] void** atomic, void* newval);
@@ -1563,6 +1656,7 @@ namespace GLib {
public void wakeup ();
public bool acquire ();
public void release ();
+ [Version (since = "2.10")]
public bool is_owner ();
public bool wait (Cond cond, Mutex mutex);
public bool prepare (out int priority);
@@ -1575,14 +1669,21 @@ namespace GLib {
public void add_poll (ref PollFD fd, int priority);
public void remove_poll (ref PollFD fd);
public int depth ();
+ [Version (since = "2.12")]
[CCode (cname = "g_main_current_source")]
public static unowned Source current_source ();
+ [Version (since = "2.22")]
public static unowned MainContext? get_thread_default ();
+ [Version (since = "2.32")]
public static MainContext ref_thread_default ();
+ [Version (since = "2.22")]
public void push_thread_default ();
+ [Version (since = "2.22")]
public void pop_thread_default ();
+ [Version (since = "2.28")]
[CCode (cname = "g_main_context_invoke_full")]
public void invoke (owned SourceFunc function, [CCode (pos = 0.1)] int priority = Priority.DEFAULT);
+ [Version (since = "2.28")]
public void invoke_full (int priority, owned SourceFunc function);
}
@@ -1592,6 +1693,7 @@ namespace GLib {
[CCode (cname = "GSource")]
public class TimeoutSource : Source {
public TimeoutSource (uint interval);
+ [Version (since = "2.14")]
public TimeoutSource.seconds (uint interval);
}
@@ -1599,8 +1701,10 @@ namespace GLib {
[CCode (cname = "g_timeout_add_full")]
public static uint add (uint interval, owned SourceFunc function, [CCode (pos = 0.1)] int priority = Priority.DEFAULT);
public static uint add_full (int priority, uint interval, owned SourceFunc function);
+ [Version (since = "2.14")]
[CCode (cname = "g_timeout_add_seconds_full")]
public static uint add_seconds (uint interval, owned SourceFunc function, [CCode (pos = 0.1)] int priority = Priority.DEFAULT);
+ [Version (since = "2.14")]
public static uint add_seconds_full (int priority, uint interval, owned SourceFunc function);
}
@@ -1629,8 +1733,10 @@ namespace GLib {
}
namespace ChildWatch {
+ [Version (since = "2.4")]
[CCode (cname = "g_child_watch_add_full")]
public static uint add (Pid pid, owned ChildWatchFunc function, [CCode (pos = 0.1)] int priority = Priority.DEFAULT_IDLE);
+ [Version (since = "2.4")]
public static uint add_full (int priority, Pid pid, owned ChildWatchFunc function);
}
@@ -1644,43 +1750,56 @@ namespace GLib {
[CCode (ref_function = "g_source_ref", unref_function = "g_source_unref")]
public abstract class Source {
protected Source ();
+ [Version (since = "2.12")]
public void set_funcs (SourceFuncs funcs);
public uint attach (MainContext? context);
public void destroy ();
+ [Version (since = "2.12")]
public bool is_destroyed ();
public void set_priority (int priority);
public int get_priority ();
public void set_can_recurse (bool can_recurse);
public bool get_can_recurse ();
public uint get_id ();
+ [Version (since = "2.26")]
public unowned string? get_name ();
+ [Version (since = "2.26")]
public void set_name (string? name);
+ [Version (since = "2.26")]
public static void set_name_by_id (uint tag, string? name);
public unowned MainContext get_context ();
public void set_callback (owned SourceFunc func);
public void set_callback_indirect (void* callback_data, SourceCallbackFuncs callback_funcs);
+ [Version (since = "2.36")]
public void* add_unix_fd (int fd, IOCondition events);
+ [Version (since = "2.36")]
public void remove_unix_fd (void* tag);
+ [Version (since = "2.36")]
public void modify_unix_fd (void* tag, IOCondition new_events);
+ [Version (since = "2.36")]
public IOCondition query_unix_fd (void* tag);
public void add_poll (ref PollFD fd);
public void remove_poll (ref PollFD fd);
+ [Version (since = "2.28")]
public void add_child_source (Source child_source);
+ [Version (since = "2.28")]
public void remove_child_source (Source child_source);
+ [Version (since = "2.28")]
public int64 get_time ();
- [Deprecated (since = "2.28", replacement = "get_time")]
+ [Version (deprecated_since = "2.28", replacement = "get_time")]
public void get_current_time (out TimeVal timeval);
+ [Version (since = "2.36")]
public void set_ready_time (int64 ready_time);
public int64 get_ready_time ();
public static bool remove (uint id);
public static bool remove_by_funcs_user_data (void* user_data);
public static bool remove_by_user_data (void* user_data);
-#if GLIB_2_32
+ [Version (since = "2.32")]
[CCode (cname = "G_SOURCE_CONTINUE")]
public static const bool CONTINUE;
+ [Version (since = "2.32")]
[CCode (cname = "G_SOURCE_REMOVE")]
public static const bool REMOVE;
-#endif
protected abstract bool prepare (out int timeout_);
protected abstract bool check ();
@@ -1732,6 +1851,7 @@ namespace GLib {
public delegate G ThreadFunc<G> ();
public delegate void Func<G> (G data);
+ [Version (since = "2.36")]
public uint get_num_processors ();
[CCode (has_type_id = false)]
@@ -1743,52 +1863,53 @@ namespace GLib {
}
[Compact]
-#if GLIB_2_32
+ [Version (since = "2.32")]
[CCode (ref_function = "g_thread_ref", unref_function = "g_thread_unref")]
-#endif
public class Thread<T> {
-#if GLIB_2_32
+ [Version (since = "2.32")]
public Thread (string? name, owned ThreadFunc<T> func);
+ [Version (since = "2.32")]
[CCode (cname = "g_thread_try_new")]
public Thread.try (string? name, owned ThreadFunc<T> func) throws GLib.Error;
-#endif
public static bool supported ();
- [Deprecated (since = "2.32", replacement = "new Thread<T> ()")]
+ [Version (deprecated_since = "2.32", replacement = "new Thread<T> ()")]
[CCode (simple_generics = true)]
public static unowned Thread<T> create<T> (owned ThreadFunc<T> func, bool joinable) throws ThreadError;
- [Deprecated (since = "2.32", replacement = "new Thread<T> ()")]
+ [Version (deprecated_since = "2.32", replacement = "new Thread<T> ()")]
[CCode (simple_generics = true)]
public static unowned Thread<T> create_full<T> (owned ThreadFunc<T> func, ulong stack_size, bool joinable, bool bound, ThreadPriority priority) throws ThreadError;
[CCode (simple_generics = true)]
public static unowned Thread<T> self<T> ();
[DestroysInstance]
public T join ();
- [Deprecated (since = "2.32")]
+ [Version (deprecated_since = "2.32")]
public void set_priority (ThreadPriority priority);
public static void yield ();
public static void exit (T retval);
- [Deprecated (since = "2.32")]
+ [Version (deprecated_since = "2.32", since = "2.10")]
public static void @foreach (Func<Thread> thread_func);
[CCode (cname = "g_usleep")]
public static void usleep (ulong microseconds);
}
-#if GLIB_2_32
+ [Version (since = "2.32")]
[CCode (destroy_function = "g_mutex_clear", lvalue_access = false)]
public struct Mutex {
-#else
- [Compact]
- [CCode (free_function = "g_mutex_free")]
- [Deprecated (since = "glib-2.32", replacement = "Mutex (with --target-glib=2.32)")]
- public class Mutex {
-#endif
public Mutex ();
public void @lock ();
public bool trylock ();
public void unlock ();
}
+ [Version (since = "2.44")]
+ [CCode (destroy_function = "g_mutex_locker_free")]
+ public struct MutexLocker {
+ public MutexLocker (Mutex mutex);
+ public void free ();
+ }
+
+ [Version (since = "2.32")]
[CCode (destroy_function = "g_rec_mutex_clear")]
public struct RecMutex {
public RecMutex ();
@@ -1797,6 +1918,7 @@ namespace GLib {
public void unlock ();
}
+ [Version (since = "2.32")]
[CCode (destroy_function = "g_rw_lock_clear")]
public struct RWLock {
public RWLock ();
@@ -1808,8 +1930,8 @@ namespace GLib {
public void reader_unlock ();
}
+ [Version (deprecated_since = "glib-2.32", replacement = "Mutex")]
[CCode (destroy_function = "g_static_mutex_free", default_value = "G_STATIC_MUTEX_INIT")]
- [Deprecated (since = "glib-2.32", replacement = "Mutex")]
public struct StaticMutex {
public StaticMutex ();
public void lock ();
@@ -1818,8 +1940,8 @@ namespace GLib {
public void lock_full ();
}
+ [Version (deprecated_since = "glib-2.32", replacement = "RecMutex")]
[CCode (destroy_function = "g_static_rec_mutex_free", default_value = "G_STATIC_REC_MUTEX_INIT")]
- [Deprecated (since = "glib-2.32", replacement = "RecMutex")]
public struct StaticRecMutex {
public StaticRecMutex ();
public void lock ();
@@ -1828,8 +1950,8 @@ namespace GLib {
public void lock_full ();
}
+ [Version (deprecated_since = "glib-2.32", replacement = "RWLock")]
[CCode (destroy_function = "g_static_rw_lock_free", default_value = "G_STATIC_RW_LOCK_INIT")]
- [Deprecated (since = "glib-2.32", replacement = "RWLock")]
public struct StaticRWLock {
public StaticRWLock ();
public void reader_lock ();
@@ -1850,39 +1972,37 @@ namespace GLib {
}
[CCode (destroy_function = "g_static_private_free", default_value = "G_STATIC_PRIVATE_INIT")]
- [Deprecated (since = "glib-2.32")]
+ [Version (deprecated_since = "glib-2.32")]
public struct StaticPrivate {
public StaticPrivate ();
public void* get ();
public void set (void* data, DestroyNotify? destroy_func);
}
-#if GLIB_2_32
+ [Version (since = "2.32")]
[CCode (destroy_function = "g_cond_clear", lvalue_access = false)]
public struct Cond {
-#else
- [Compact]
- [CCode (free_function = "g_cond_free")]
- [Deprecated (since = "glib-2.32", replacement = "Cond (with --target-glib=2.32)")]
- public class Cond {
-#endif
public Cond ();
public void @signal ();
public void broadcast ();
public void wait (Mutex mutex);
- [Deprecated (since = "2.32", replacement = "wait_until")]
+ [Version (deprecated_since = "2.32", replacement = "wait_until")]
public bool timed_wait (Mutex mutex, TimeVal abs_time);
+ [Version (since = "2.32")]
public bool wait_until (Mutex mutex, int64 end_time);
}
[CCode (cname = "GThreadFunc")]
public delegate G OnceFunc<G> ();
+ [Version (since = "2.4")]
[CCode (default_value = "G_ONCE_INIT")]
public struct Once<G> {
[CCode (cname = "g_once")]
public unowned G once (OnceFunc<G> function);
+ [Version (since = "2.14")]
public static bool init_enter ([CCode (ctype="volatile gsize *")] size_t *value);
+ [Version (since = "2.14")]
public static void init_leave ([CCode (ctype="volatile gsize *")] size_t *value, size_t set_value);
public OnceStatus status;
}
@@ -1902,17 +2022,18 @@ namespace GLib {
[Compact]
[CCode (free_function = "g_thread_pool_free")]
public class ThreadPool<T> {
- [Deprecated (since = "vala-0.18", replacement = "ThreadPool.with_owned_data")]
+ [Version (deprecated_since = "vala-0.18", replacement = "ThreadPool.with_owned_data")]
public ThreadPool (Func<T> func, int max_threads, bool exclusive) throws ThreadError;
[CCode (cname = "g_thread_pool_new")]
public ThreadPool.with_owned_data (ThreadPoolFunc<T> func, int max_threads, bool exclusive) throws ThreadError;
- [Deprecated (since = "vala-0.18", replacement = "add")]
+ [Version (deprecated_since = "vala-0.18", replacement = "add")]
public void push (T data) throws ThreadError;
[CCode (cname = "g_thread_pool_push")]
public void add (owned T data) throws ThreadError;
public void set_max_threads (int max_threads) throws ThreadError;
public int get_max_threads ();
public uint get_num_threads ();
+ [Version (since = "2.46")]
public bool move_to_front (T data);
public uint unprocessed ();
[CCode (cname = "g_thread_pool_free")]
@@ -1928,8 +2049,11 @@ namespace GLib {
public static int get_max_unused_threads ();
public static uint get_num_unused_threads ();
public static void stop_unused_threads ();
+ [Version (since = "2.10")]
public void set_sort_function (CompareDataFunc<T> func);
+ [Version (since = "2.10")]
public static void set_max_idle_time (uint interval);
+ [Version (since = "2.10")]
public static uint get_max_idle_time ();
}
@@ -1938,25 +2062,33 @@ namespace GLib {
[Compact]
[CCode (ref_function = "g_async_queue_ref", unref_function = "g_async_queue_unref")]
public class AsyncQueue<G> {
+ [Version (since = "2.16")]
[CCode (cname = "g_async_queue_new_full", simple_generics = true)]
public AsyncQueue ();
public void push (owned G data);
+ [Version (since = "2.10")]
public void push_sorted (owned G data, CompareDataFunc<G> func);
public G pop ();
public G? try_pop ();
public G? timed_pop (ref TimeVal end_time);
public int length ();
+ [Version (since = "2.10")]
public void sort (CompareDataFunc<G> func);
public void @lock ();
public void unlock ();
public void ref_unlocked ();
public void unref_and_unlock ();
+ [Version (since = "2.46")]
public void push_front (owned G data);
+ [Version (since = "2.46")]
public void push_front_unlocked (owned G data);
public void push_unlocked (owned G data);
+ [Version (since = "2.10")]
public void push_sorted_unlocked (owned G data, CompareDataFunc<G> func);
public G pop_unlocked ();
+ [Version (since = "2.46")]
public bool remove (G data);
+ [Version (since = "2.46")]
public bool remove_unlocked (G data);
public G? try_pop_unlocked ();
public G? timed_pop_unlocked (ref TimeVal end_time);
@@ -1973,6 +2105,7 @@ namespace GLib {
public static void* realloc (void* mem, size_t n_bytes);
public static void* try_malloc (size_t n_bytes);
+ [Version (since = "2.8")]
public static void* try_malloc0 (size_t n_bytes);
public static void* try_realloc (void* mem, size_t n_bytes);
@@ -2001,9 +2134,11 @@ namespace GLib {
public static void* dup (void* mem, uint n);
}
+ [Version (since = "2.10")]
namespace Slice {
public static void* alloc (size_t block_size);
public static void* alloc0 (size_t block_size);
+ [Version (since = "2.14")]
public static void* copy (size_t block_size, void* mem_block);
[CCode (cname = "g_slice_free1")]
public static void free (size_t block_size, void* mem_block);
@@ -2169,24 +2304,31 @@ namespace GLib {
[NoReturn]
[CCode (sentinel = "")]
public static void return_val_if_reached (...);
+ [Version (since = "2.16")]
public static void warn_if_fail (bool expr);
+ [Version (since = "2.16")]
public static void warn_if_reached ();
[Assert]
public static void assert (bool expr);
[Assert]
+ [Version (since = "2.46")]
public static void assert_cmpmem (uint8[] m1, uint8[] m2);
[Assert]
public static void assert_error (Error? error, Quark error_domain, int error_code);
[Assert]
+ [Version (since = "2.38")]
public static void assert_false (bool expr);
[Assert]
+ [Version (since = "2.38")]
public static void assert_true (bool expr);
[Assert]
+ [Version (since = "2.38")]
public static void assert_null (void* expr);
[Assert]
public static void assert_no_error (Error? error);
[Assert]
+ [Version (since = "2.40")]
public static void assert_nonnull (void* expr);
[NoReturn]
public static void assert_not_reached ();
@@ -2236,16 +2378,20 @@ namespace GLib {
public void error (string format, ...);
[Diagnostics]
[PrintfFormat]
+ [Version (since = "2.6")]
public void debug (string format, ...);
[Diagnostics]
[PrintfFormat]
+ [Version (since = "2.40")]
public void info (string format, ...);
public delegate void LogFunc (string? log_domain, LogLevelFlags log_levels, string message);
namespace Log {
public static uint set_handler (string? log_domain, LogLevelFlags log_levels, LogFunc log_func);
+ [Version (since = "2.46")]
public static void set_handler_full (string? log_domain, LogLevelFlags log_levels, owned LogFunc log_func);
+ [Version (since = "2.6")]
public static void set_default_handler (LogFunc log_func);
[CCode (delegate_target = false)]
public static GLib.LogFunc default_handler;
@@ -2268,8 +2414,14 @@ namespace GLib {
/* String Utility Functions */
+ public string strdup (string str);
+ [CCode (array_length = false, array_null_terminated = true)]
+ public string[] strdupv ([CCode (array_length = false, array_null_terminated = true)] string[] str_array);
+
public void strfreev (string** str_array);
+ [Version (since = "2.6")]
public uint strv_length ([CCode (array_length = false, array_null_terminated = true)] string[] str_array);
+ [Version (since = "2.44")]
public bool strv_contains ([CCode (array_length = false, array_null_terminated = true)] string[] str_array, string str);
[CCode (cname = "errno", cheader_filename = "errno.h")]
@@ -2295,7 +2447,9 @@ namespace GLib {
public static string from_utf8 (string utf8string, ssize_t len, out size_t bytes_read, out size_t bytes_written) throws ConvertError;
public static string from_uri (string uri, out string hostname = null) throws ConvertError;
public static string to_uri (string filename, string? hostname = null) throws ConvertError;
+ [Version (since = "2.6")]
public static string display_name (string filename);
+ [Version (since = "2.6")]
public static string display_basename (string filename);
}
@@ -2310,6 +2464,7 @@ namespace GLib {
/* Base64 Encoding */
+ [Version (since = "2.12")]
namespace Base64 {
public static size_t encode_step (uchar[] _in, bool break_lines, char* _out, ref int state, ref int save);
public static size_t encode_close (bool break_lines, char* _out, ref int state, ref int save);
@@ -2321,6 +2476,7 @@ namespace GLib {
/* Data Checksums */
+ [Version (since = "2.16")]
[CCode (cprefix = "G_CHECKSUM_", has_type_id = false)]
public enum ChecksumType {
MD5,
@@ -2332,6 +2488,7 @@ namespace GLib {
}
[Compact]
+ [Version (since = "2.16")]
[CCode (free_function = "g_checksum_free")]
public class Checksum {
public Checksum (ChecksumType checksum_type);
@@ -2343,6 +2500,7 @@ namespace GLib {
public static string compute_for_data (ChecksumType checksum_type, uchar[] data);
[CCode (cname = "g_compute_checksum_for_string")]
public static string compute_for_string (ChecksumType checksum_type, string str, size_t length = -1);
+ [Version (since = "2.34")]
[CCode (cname = "g_compute_checksum_for_bytes")]
public static string compute_for_bytes (ChecksumType checksum_type, Bytes data);
}
@@ -2350,6 +2508,7 @@ namespace GLib {
/* Secure HMAC Digests */
[Compact]
+ [Version (since = "2.30")]
[CCode (ref_function = "g_hmac_ref", unref_function = "g_hmac_unref")]
public class Hmac {
public Hmac (ChecksumType digest_type, [CCode (array_length_type = "gsize")] uint8[] key);
@@ -2357,8 +2516,10 @@ namespace GLib {
public void update ([CCode (array_length_type = "gssize")] uint8[] data);
public unowned string get_string ();
public void get_digest ([CCode (array_length = false)] uint8[] buffer, ref size_t digest_len);
+ [Version (since = "2.30")]
[CCode (cname = "g_compute_hmac_for_data")]
public static string compute_for_data (ChecksumType checksum_type, uint8[] key, uint8[] data);
+ [Version (since = "2.30")]
[CCode (cname = "g_compute_hmac_for_string")]
public static string compute_for_string (ChecksumType checksum_type, uint8[] key, string str, size_t length = -1);
}
@@ -2375,12 +2536,16 @@ namespace GLib {
[CCode (cname = "g_get_current_time")]
public void get_current_time ();
public void add (long microseconds);
+ [Version (since = "2.12")]
[CCode (instance_pos = -1)]
public bool from_iso8601 (string iso_date);
+ [Version (since = "2.12")]
public string to_iso8601 ();
}
+ [Version (since = "2.28")]
public static int64 get_monotonic_time ();
+ [Version (since = "2.28")]
public static int64 get_real_time ();
public struct DateDay : uchar {
@@ -2457,7 +2622,9 @@ namespace GLib {
public void set_year (DateYear year);
public void set_dmy (DateDay day, int month, DateYear y);
public void set_julian (uint julian_day);
+ [Version (since = "2.10")]
public void set_time_t (time_t timet);
+ [Version (since = "2.10")]
public void set_time_val (TimeVal timeval);
public void set_parse (string str);
public void add_days (uint n_days);
@@ -2480,6 +2647,7 @@ namespace GLib {
public bool is_last_of_month ();
public uint get_monday_week_of_year ();
public uint get_sunday_week_of_year ();
+ [Version (since = "2.6")]
public uint get_iso8601_week_of_year ();
[CCode (instance_pos = -1)]
public size_t strftime (char[] s, string format);
@@ -2550,6 +2718,7 @@ namespace GLib {
}
[SimpleType]
+ [Version (since = "2.26")]
[CCode (cheader_filename = "glib.h", type_id = "G_TYPE_INT64", marshaller_type_name = "INT64", get_value_function = "g_value_get_int64", set_value_function = "g_value_set_int64", default_value = "0LL", type_signature = "x")]
[IntegerType (rank = 10)]
public struct TimeSpan : int64 {
@@ -2561,6 +2730,7 @@ namespace GLib {
}
[Compact]
+ [Version (since = "2.26")]
[CCode (ref_function = "g_date_time_ref", unref_function = "g_date_time_unref", type_id = "G_TYPE_DATE_TIME")]
public class DateTime {
public DateTime.now (TimeZone tz);
@@ -2620,6 +2790,7 @@ namespace GLib {
}
[Compact]
+ [Version (since = "2.26")]
[CCode (ref_function = "g_time_zone_ref", unref_function = "g_time_zone_unref")]
public class TimeZone {
public TimeZone (string identifier);
@@ -2638,9 +2809,11 @@ namespace GLib {
[CCode (copy_function = "g_rand_copy", free_function = "g_rand_free")]
public class Rand {
public Rand.with_seed (uint32 seed);
+ [Version (since = "2.4")]
public Rand.with_seed_array ([CCode (array_length = false)] uint32[] seed, uint seed_length);
public Rand ();
public void set_seed (uint32 seed);
+ [Version (since = "2.4")]
public void set_seed_array ([CCode (array_length = false)] uint32[] seed, uint seed_length);
public bool boolean ();
[CCode (cname = "g_rand_int")]
@@ -2665,8 +2838,10 @@ namespace GLib {
/* Miscellaneous Utility Functions */
namespace Environment {
+ [Version (since = "2.2")]
[CCode (cname = "g_get_application_name")]
public static unowned string? get_application_name ();
+ [Version (since = "2.2")]
[CCode (cname = "g_set_application_name")]
public static void set_application_name (string application_name);
[CCode (cname = "g_get_prgname")]
@@ -2675,30 +2850,40 @@ namespace GLib {
public static void set_prgname (string application_name);
[CCode (cname = "g_getenv")]
public static unowned string? get_variable (string variable);
+ [Version (since = "2.4")]
[CCode (cname = "g_setenv")]
public static bool set_variable (string variable, string value, bool overwrite);
+ [Version (since = "2.4")]
[CCode (cname = "g_unsetenv")]
public static void unset_variable (string variable);
+ [Version (since = "2.8")]
[CCode (cname = "g_listenv", array_length = false, array_null_terminated = true)]
public static string[] list_variables ();
[CCode (cname = "g_get_user_name")]
public static unowned string get_user_name ();
[CCode (cname = "g_get_real_name")]
public static unowned string get_real_name ();
+ [Version (since = "2.6")]
[CCode (cname = "g_get_user_cache_dir")]
public static unowned string get_user_cache_dir ();
+ [Version (since = "2.6")]
[CCode (cname = "g_get_user_data_dir")]
public static unowned string get_user_data_dir ();
+ [Version (since = "2.6")]
[CCode (cname = "g_get_user_config_dir")]
public static unowned string get_user_config_dir ();
[CCode (cname = "g_get_user_runtime_dir")]
public static unowned string get_user_runtime_dir ();
+ [Version (since = "2.14")]
[CCode (cname = "g_get_user_special_dir")]
public static unowned string get_user_special_dir (UserDirectory directory);
+ [Version (since = "2.6")]
[CCode (cname = "g_get_system_data_dirs", array_length = false, array_null_terminated = true)]
public static unowned string[] get_system_data_dirs ();
+ [Version (since = "2.6")]
[CCode (cname = "g_get_system_config_dirs", array_length = false, array_null_terminated = true)]
public static unowned string[] get_system_config_dirs ();
+ [Version (since = "2.8")]
[CCode (cname = "g_get_host_name")]
public static unowned string get_host_name ();
[CCode (cname = "g_get_home_dir")]
@@ -2709,24 +2894,30 @@ namespace GLib {
public static string get_current_dir ();
[CCode (cname = "g_find_program_in_path")]
public static string? find_program_in_path (string program);
- [Deprecated (since = "2.32")]
+ [Version (deprecated_since = "2.32")]
[CCode (cname = "g_atexit")]
public static void atexit (VoidFunc func);
+ [Version (since = "2.8")]
[CCode (cname = "g_chdir")]
public static int set_current_dir (string path);
}
namespace Environ {
+ [Version (since = "2.28")]
[CCode (cname = "g_get_environ", array_length = false, array_null_terminated = true)]
public static string[] get ();
+ [Version (since = "2.32")]
[CCode (cname = "g_environ_getenv")]
public static unowned string? get_variable ([CCode (array_length = false, array_null_terminated = true)] string[]? envp, string variable);
+ [Version (since = "2.32")]
[CCode (cname = "g_environ_setenv", array_length = false, array_null_terminated = true)]
public static string[] set_variable ([CCode (array_length = false, array_null_terminated = true)] owned string[]? envp, string variable, string value, bool overwrite = true);
+ [Version (since = "2.32")]
[CCode (cname = "g_environ_unsetenv", array_length = false, array_null_terminated = true)]
public static string[] unset_variable ([CCode (array_length = false, array_null_terminated = true)] owned string[]? envp, string variable);
}
+ [Version (since = "2.14")]
[CCode (has_type_id = false)]
public enum UserDirectory {
DESKTOP,
@@ -2763,6 +2954,7 @@ namespace GLib {
public const char DIR_SEPARATOR;
[CCode (cname = "G_DIR_SEPARATOR_S")]
public const string DIR_SEPARATOR_S;
+ [Version (since = "2.6")]
[CCode (cname = "G_IS_DIR_SEPARATOR")]
public static bool is_dir_separator (unichar c);
[CCode (cname = "G_SEARCHPATH_SEPARATOR")]
@@ -2786,12 +2978,14 @@ namespace GLib {
[CCode (has_target = false)]
public delegate void VoidFunc ();
- [Deprecated (since = "2.16", replacement = "format_size")]
+ [Version (deprecated_since = "2.30", replacement = "format_size", since = "2.16")]
public string format_size_for_display (int64 size);
+ [Version (since = "2.30")]
[CCode (cname = "g_format_size_full")]
public string format_size (uint64 size, FormatSizeFlags flags = FormatSizeFlags.DEFAULT);
+ [Version (since = "2.30")]
[CCode (cprefix = "G_FORMAT_SIZE_", has_type_id = false)]
[Flags]
public enum FormatSizeFlags {
@@ -2950,7 +3144,7 @@ namespace GLib {
/* Automatic String Completion */
- [Deprecated (since = "2.26")]
+ [Version (deprecated_since = "2.26")]
[Compact]
[CCode (free_function = "g_completion_free")]
public class Completion {
@@ -2964,6 +3158,7 @@ namespace GLib {
public void remove_items (List<void*> items);
public void clear_items ();
public unowned List<void*> complete (string prefix, out string? new_prefix = null);
+ [Version (since = "2.4")]
public unowned List<void*> complete_utf8 (string prefix, out string? new_prefix = null);
}
@@ -2980,6 +3175,7 @@ namespace GLib {
public Timer ();
public void start ();
public void stop ();
+ [Version (since = "2.4")]
public void @continue ();
public double elapsed (out ulong microseconds = null);
public void reset ();
@@ -3038,6 +3234,7 @@ namespace GLib {
public static bool spawn_command_line_sync (string command_line, out string standard_output = null, out string standard_error = null, out int exit_status = null) throws SpawnError;
[CCode (cname = "g_spawn_close_pid")]
public static void close_pid (Pid pid);
+ [Version (since = "2.34")]
[CCode (cname = "g_spawn_check_exit_status")]
public static bool check_exit_status (int exit_status) throws GLib.Error;
@@ -3150,6 +3347,7 @@ namespace GLib {
[CCode (cname = "EOF", cheader_filename = "stdio.h")]
public const int EOF;
+ [Version (since = "2.6")]
[CCode (cname = "g_fopen", cheader_filename = "glib/gstdio.h")]
public static FileStream? open (string path, string mode);
[CCode (cname = "fdopen")]
@@ -3221,6 +3419,7 @@ namespace GLib {
[CCode (lower_case_cprefix = "g_file_", cheader_filename = "glib/gstdio.h")]
namespace FileUtils {
public static bool get_contents (string filename, out string contents, out size_t length = null) throws FileError;
+ [Version (since = "2.8")]
public static bool set_contents (string filename, string contents, ssize_t length = -1) throws FileError;
[CCode (cname = "g_file_get_contents")]
public static bool get_data (string filename, [CCode (type = "gchar**", array_length_type = "size_t")] out uint8[] contents) throws FileError;
@@ -3228,19 +3427,24 @@ namespace GLib {
public static bool set_data (string filename, [CCode (type = "const char*", array_length_type = "size_t")] uint8[] contents) throws FileError;
public static bool test (string filename, FileTest test);
public static int open_tmp (string tmpl, out string name_used) throws FileError;
+ [Version (since = "2.4")]
public static string read_link (string filename) throws FileError;
public static int error_from_errno (int err_no);
[CCode (cname = "g_mkstemp")]
public static int mkstemp (string tmpl);
+ [Version (since = "2.6")]
[CCode (cname = "g_rename")]
public static int rename (string oldfilename, string newfilename);
+ [Version (since = "2.6")]
[CCode (cname = "g_remove")]
public static int remove (string filename);
[CCode (cname = "g_unlink")]
public static int unlink (string filename);
+ [Version (since = "2.8")]
[CCode (cname = "g_chmod")]
public static int chmod (string filename, int mode);
+ [Version (since = "2.18")]
[CCode (cname = "g_utime")]
public static int utime (string filename, UTimBuf? times = null);
@@ -3249,12 +3453,17 @@ namespace GLib {
[CCode (cname = "close", cheader_filename = "unistd.h")]
public static int close (int fd);
+
+ [Version (since = "2.36")]
+ [CCode (cname = "g_close")]
+ public static bool close_checked (int fd) throws FileError;
}
[CCode (cname = "struct stat", cheader_filename = "sys/stat.h,glib/gstdio.h")]
public struct Stat {
[CCode (cname = "g_stat", instance_pos = -1)]
public Stat (string filename);
+ [Version (since = "2.6")]
[CCode (cname = "g_lstat", instance_pos = -1)]
public Stat.l (string filename);
}
@@ -3269,24 +3478,31 @@ namespace GLib {
[CCode (cheader_filename = "glib/gstdio.h")]
namespace DirUtils {
+ [Version (since = "2.6")]
[CCode (cname = "g_mkdir")]
public static int create (string pathname, int mode);
+ [Version (since = "2.8")]
[CCode (cname = "g_mkdir_with_parents")]
public static int create_with_parents (string pathname, int mode);
+ [Version (since = "2.30")]
[CCode (cname = "mkdtemp")]
public static string mkdtemp (owned string template);
+ [Version (since = "2.30")]
[CCode (cname = "g_dir_make_tmp")]
public static string make_tmp (string tmpl) throws FileError;
+ [Version (since = "2.6")]
[CCode (cname = "g_rmdir")]
public static int remove (string filename);
}
[Compact]
+ [Version (since = "2.22")]
[CCode (ref_function = "g_mapped_file_ref", unref_function = "g_mapped_file_unref")]
public class MappedFile {
public MappedFile (string filename, bool writable) throws FileError;
public size_t get_length ();
public unowned char* get_contents ();
+ [Version (since = "2.34")]
public Bytes get_bytes ();
}
@@ -3308,10 +3524,15 @@ namespace GLib {
public const string RESERVED_CHARS_GENERIC_DELIMITERS;
public const string RESERVED_CHARS_SUBCOMPONENT_DELIMITERS;
+ [Version (since = "2.16")]
public static string? parse_scheme (string uri);
+ [Version (since = "2.16")]
public static string escape_string (string unescaped, string? reserved_chars_allowed = null, bool allow_utf8 = true);
+ [Version (since = "2.16")]
public static string? unescape_string (string escaped_string, string? illegal_characters = null);
+ [Version (since = "2.16")]
public static string? unescape_segment (string? escaped_string, string? escaped_string_end, string? illegal_characters = null);
+ [Version (since = "2.6")]
[CCode (array_length = false, array_null_terminated = true)]
public static string[] list_extract_uris (string uri_list);
}
@@ -3339,27 +3560,38 @@ namespace GLib {
}
[Compact]
+ [Version (since = "2.6")]
[CCode (free_function = "g_option_context_free")]
public class OptionContext {
public OptionContext (string? parameter_string = null);
+ [Version (since = "2.12")]
public void set_summary (string summary);
+ [Version (since = "2.12")]
public unowned string get_summary ();
+ [Version (since = "2.12")]
public void set_description (string description);
+ [Version (since = "2.12")]
public void get_description ();
+ [Version (since = "2.12")]
public void set_translate_func (TranslateFunc func, DestroyNotify? destroy_notify);
+ [Version (since = "2.12")]
public void set_translation_domain (string domain);
public bool parse ([CCode (array_length_pos = 0.9)] ref unowned string[] argv) throws OptionError;
+ [Version (since = "2.40")]
public bool parse_strv ([CCode (array_length = false, array_null_terminated = true)] ref string[] argv) throws OptionError;
public void set_help_enabled (bool help_enabled);
public bool get_help_enabled ();
public void set_ignore_unknown_options (bool ignore_unknown);
public bool get_ignore_unknown_options ();
+ [Version (since = "2.14")]
public string get_help (bool main_help, OptionGroup? group);
public void add_main_entries ([CCode (array_length = false)] OptionEntry[] entries, string? translation_domain);
public void add_group (owned OptionGroup group);
public void set_main_group (owned OptionGroup group);
public unowned OptionGroup get_main_group ();
+ [Version (since = "2.44")]
public void set_strict_posix (bool strict_posix);
+ [Version (since = "2.44")]
public bool get_strict_posix ();
}
@@ -3404,8 +3636,10 @@ namespace GLib {
[Compact]
#if GLIB_2_44
+ [Version (since = "2.44")]
[CCode (ref_function = "g_option_group_ref", unref_function = "g_option_group_unref", type_id = "G_TYPE_OPTION_GROUP")]
#else
+ [Version (since = "2.6")]
[CCode (free_function = "g_option_group_free")]
#endif
public class OptionGroup {
@@ -3424,6 +3658,7 @@ namespace GLib {
/* Perl-compatible regular expressions */
+ [Version (since = "2.14")]
public errordomain RegexError {
COMPILE,
OPTIMIZE,
@@ -3484,6 +3719,7 @@ namespace GLib {
CHARACTER_VALUE_TOO_LARGE
}
+ [Version (since = "2.14")]
[CCode (cprefix = "G_REGEX_", has_type_id = false)]
[Flags]
public enum RegexCompileFlags {
@@ -3506,6 +3742,7 @@ namespace GLib {
JAVASCRIPT_COMPAT
}
+ [Version (since = "2.14")]
[CCode (cprefix = "G_REGEX_MATCH_", has_type_id = false)]
[Flags]
public enum RegexMatchFlags {
@@ -3527,13 +3764,19 @@ namespace GLib {
}
[Compact]
+ [Version (since = "2.14")]
[CCode (ref_function = "g_regex_ref", unref_function = "g_regex_unref", type_id = "G_TYPE_REGEX")]
public class Regex {
public Regex (string pattern, RegexCompileFlags compile_options = 0, RegexMatchFlags match_options = 0) throws RegexError;
public unowned string get_pattern ();
+ [Version (since = "2.26")]
public RegexCompileFlags get_compile_flags ();
+ [Version (since = "2.34")]
+ public bool get_has_cr_or_lf ();
+ [Version (since = "2.26")]
public RegexMatchFlags get_match_flags ();
public int get_max_backref ();
+ [Version (since = "2.38")]
public int get_max_lookbehind ();
public int get_capture_count ();
public int get_string_number (string name);
@@ -3555,14 +3798,12 @@ namespace GLib {
public static bool check_replacement (out bool has_references = null) throws RegexError;
}
+ [Version (since = "2.14")]
public delegate bool RegexEvalCallback (MatchInfo match_info, StringBuilder result);
[Compact]
-#if GLIB_2_30
+ [Version (since = "2.30")]
[CCode (ref_function = "g_match_info_ref", unref_function = "g_match_info_unref", type_id = "G_TYPE_MATCH_INFO")]
-#else
- [CCode (free_function = "g_match_info_free")]
-#endif
public class MatchInfo {
public unowned Regex get_regex ();
public unowned string get_string ();
@@ -3601,6 +3842,7 @@ namespace GLib {
[Compact]
#if GLIB_2_36
+ [Version (since = "2.36")]
[CCode (ref_function = "g_markup_parse_context_ref", unref_function = "g_markup_parse_context_unref", type_id = "G_TYPE_MARKUP_PARSE_CONTEXT")]
#else
[CCode (free_function = "g_markup_parse_context_free")]
@@ -3609,11 +3851,16 @@ namespace GLib {
public MarkupParseContext (MarkupParser parser, MarkupParseFlags _flags, void* user_data, DestroyNotify? user_data_dnotify);
public bool parse (string text, ssize_t text_len) throws MarkupError;
public bool end_parse () throws MarkupError;
+ [Version (since = "2.2")]
public unowned string get_element ();
+ [Version (since = "2.16")]
public unowned SList<string> get_element_stack ();
public void get_position (out int line_number, out int char_number);
+ [Version (since = "2.18")]
public void push (MarkupParser parser, void* user_data);
+ [Version (since = "2.18")]
public void* pop ();
+ [Version (since = "2.18")]
public void* get_user_data ();
}
@@ -3652,9 +3899,12 @@ namespace GLib {
}
public static string escape_text (string text, ssize_t length = -1);
+ [Version (since = "2.4")]
[PrintfFormat]
public static string printf_escaped (string format, ...);
+ [Version (since = "2.4")]
public static string vprintf_escaped (string format, va_list args);
+ [Version (since = "2.16")]
[CCode (sentinel = "G_MARKUP_COLLECT_INVALID")]
public static bool collect_attributes (string element_name, string[] attribute_names, string[] attribute_values, ...) throws MarkupError;
}
@@ -3671,15 +3921,13 @@ namespace GLib {
}
[Compact]
-#if GLIB_2_32
+ [Version (since = "2.32")]
[CCode (ref_function = "g_key_file_ref", unref_function = "g_key_file_unref", type_id = "G_TYPE_KEY_FILE")]
-#else
- [CCode (free_function = "g_key_file_free")]
-#endif
public class KeyFile {
public KeyFile ();
public void set_list_separator (char separator);
public bool load_from_file (string file, KeyFileFlags @flags) throws KeyFileError, FileError;
+ [Version (since = "2.14")]
public bool load_from_dirs (string file, [CCode (array_length = false, array_null_terminated = true)] string[] search_dirs, out string full_path, KeyFileFlags @flags) throws KeyFileError, FileError;
public bool load_from_data (string data, size_t length, KeyFileFlags @flags) throws KeyFileError;
public bool load_from_data_dirs (string file, out string full_path, KeyFileFlags @flags) throws KeyFileError, FileError;
@@ -3697,8 +3945,11 @@ namespace GLib {
public string get_locale_string (string group_name, string key, string? locale = null) throws KeyFileError;
public bool get_boolean (string group_name, string key) throws KeyFileError;
public int get_integer (string group_name, string key) throws KeyFileError;
+ [Version (since = "2.26")]
public int64 get_int64 (string group_name, string key) throws KeyFileError;
+ [Version (since = "2.26")]
public uint64 get_uint64 (string group_name, string key) throws KeyFileError;
+ [Version (since = "2.12")]
public double get_double (string group_name, string key) throws KeyFileError;
[CCode (array_length_type = "gsize")]
public string[] get_string_list (string group_name, string key) throws KeyFileError;
@@ -3708,22 +3959,28 @@ namespace GLib {
public bool[] get_boolean_list (string group_name, string key) throws KeyFileError;
[CCode (array_length_type = "gsize")]
public int[] get_integer_list (string group_name, string key) throws KeyFileError;
+ [Version (since = "2.12")]
[CCode (array_length_type = "gsize")]
public double[] get_double_list (string group_name, string key) throws KeyFileError;
public string get_comment (string? group_name, string? key) throws KeyFileError;
+ [Version (since = "2.40")]
public bool save_to_file (string filename) throws GLib.FileError;
public void set_value (string group_name, string key, string value);
public void set_string (string group_name, string key, string str);
public void set_locale_string (string group_name, string key, string locale, string str);
public void set_boolean (string group_name, string key, bool value);
public void set_integer (string group_name, string key, int value);
+ [Version (since = "2.26")]
public void set_int64 (string group_name, string key, int64 value);
+ [Version (since = "2.26")]
public void set_uint64 (string group_name, string key, uint64 value);
+ [Version (since = "2.12")]
public void set_double (string group_name, string key, double value);
public void set_string_list (string group_name, string key, [CCode (type = "const gchar* const*")] string[] list);
public void set_locale_string_list (string group_name, string key, string locale, string[] list);
public void set_boolean_list (string group_name, string key, bool[] list);
public void set_integer_list (string group_name, string key, int[] list);
+ [Version (since = "2.12")]
public void set_double_list (string group_name, string key, double[] list);
public void set_comment (string? group_name, string? key, string comment) throws KeyFileError;
public void remove_group (string group_name) throws KeyFileError;
@@ -3739,6 +3996,7 @@ namespace GLib {
KEEP_TRANSLATIONS
}
+ [Version (since = "2.14")]
[CCode (cprefix = "G_KEY_FILE_DESKTOP_")]
namespace KeyFileDesktop {
public const string GROUP;
@@ -3774,6 +4032,7 @@ namespace GLib {
/* Bookmark file parser */
[Compact]
+ [Version (since = "2.12")]
[CCode (free_function = "g_bookmark_file_free")]
public class BookmarkFile {
public BookmarkFile ();
@@ -3837,9 +4096,12 @@ namespace GLib {
}
[PrintfFormat]
+ [Version (since = "2.16")]
public static void minimized_result (double minimized_quantity, string format, ...);
[PrintfFormat]
+ [Version (since = "2.16")]
public static void maximized_result (double maximized_quantity, string format, ...);
+ [Version (since = "2.16")]
public static void init ([CCode (array_length_pos = 0.9)] ref unowned string[] args, ...);
public static bool quick ();
public static bool slow ();
@@ -3847,45 +4109,82 @@ namespace GLib {
public static bool perf ();
public static bool verbose ();
public static bool quiet ();
+ [Version (since = "2.16")]
public static int run ();
-#if GLIB_2_26
+ [Version (since = "2.16")]
public static void add_func (string testpath, TestFunc test_funcvoid);
-#else
- public static void add_func (string testpath, Callback test_funcvoid);
-#endif
+ [Version (since = "2.16")]
public static void add_data_func (string testpath, [CCode (delegate_target_pos = 1.9)] TestDataFunc test_funcvoid);
+ [Version (since = "2.34")]
+ public static void add_data_func_full (string testpath, [CCode (delegate_target_pos = 1.9)] owned TestDataFunc test_func);
+ [Version (since = "2.34")]
+ public static void assert_expected_messages ();
+ [Version (since = "2.38")]
public static string build_filename (GLib.Test.FileType file_type, params string[] path_segments);
+ [Version (since = "2.34")]
+ public static void expect_message (string? log_domain, LogLevelFlags log_level, string pattern);
+ [Version (since = "2.30")]
public static void fail ();
+ [Version (since = "2.38")]
public static bool failed ();
+ [Version (since = "2.38")]
public static unowned string get_dir (GLib.Test.FileType file_type);
+ [Version (since = "2.38")]
public static unowned string get_filename (GLib.Test.FileType file_type, params string[] path_segments);
+ [Version (since = "2.38")]
public static void incomplete (string msg);
+ [Version (since = "2.36")]
+ public static bool initialized ();
[PrintfFormat]
+ [Version (since = "2.16")]
public static void message (string format, ...);
+ [Version (since = "2.38")]
public static void set_nonfatal_assertions ();
+ [Version (since = "2.38")]
public static void skip (string msg);
+ [Version (since = "2.38")]
public static bool subprocess ();
+ [Version (since = "2.16")]
public static void bug_base (string uri_pattern);
+ [Version (since = "2.16")]
public static void bug (string bug_uri_snippet);
+ [Version (since = "2.16")]
public static void timer_start ();
+ [Version (since = "2.16")]
public static double timer_elapsed ();
+ [Version (since = "2.16")]
public static double timer_last ();
- [Deprecated (since = "2.38", replacement = "trap_subprocess")]
+ [Version (since = "2.16", deprecated_since = "2.38", replacement = "trap_subprocess")]
public static bool trap_fork (uint64 usec_timeout, TestTrapFlags test_trap_flags);
+ [Version (since = "2.16")]
public static bool trap_has_passed ();
+ [Version (since = "2.16")]
public static bool trap_reached_timeout ();
+ [Version (since = "2.38")]
public static void trap_subprocess (string test_path, uint64 usec_timeout, TestSubprocessFlags test_flags);
+ [Version (since = "2.16")]
public static void trap_assert_passed ();
+ [Version (since = "2.16")]
public static void trap_assert_failed ();
+ [Version (since = "2.16")]
public static void trap_assert_stdout (string soutpattern);
+ [Version (since = "2.16")]
public static void trap_assert_stdout_unmatched (string soutpattern);
+ [Version (since = "2.16")]
public static void trap_assert_stderr (string serrpattern);
+ [Version (since = "2.16")]
public static void trap_assert_stderr_unmatched (string serrpattern);
+ [Version (since = "2.16")]
public static bool rand_bit ();
+ [Version (since = "2.16")]
public static int32 rand_int ();
+ [Version (since = "2.16")]
public static int32 rand_int_range (int32 begin, int32 end);
+ [Version (since = "2.16")]
public static double rand_double ();
+ [Version (since = "2.16")]
public static double rand_double_range (double begin, double end);
+ [Version (since = "2.22")]
public static void log_set_fatal_handler (LogFatalFunc log_func);
}
@@ -3894,36 +4193,35 @@ namespace GLib {
[Compact]
[CCode (cname = "GTestCase", ref_function = "", unref_function = "")]
public class TestCase {
+ [Version (since = "2.16")]
[CCode (cname = "g_test_create_case")]
-#if GLIB_2_26
public TestCase (string test_name, [CCode (delegate_target_pos = 1.9)] TestFixtureFunc data_setup, [CCode (delegate_target_pos = 1.9)] TestFixtureFunc data_func, [CCode (delegate_target_pos = 1.9)] TestFixtureFunc data_teardown, [CCode (pos = 1.8)] size_t data_size = 0);
-#else
- public TestCase (string test_name, [CCode (delegate_target_pos = 1.9, type = "void (*) (void)")] TestFunc data_setup, [CCode (delegate_target_pos = 1.9, type = "void (*) (void)")] TestFunc data_func, [CCode (delegate_target_pos = 1.9, type = "void (*) (void)")] TestFunc data_teardown, [CCode (pos = 1.8)] size_t data_size = 0);
-#endif
}
[Compact]
[CCode (cname = "GTestSuite", ref_function = "", unref_function = "")]
public class TestSuite {
+ [Version (since = "2.16")]
[CCode (cname = "g_test_create_suite")]
public TestSuite (string name);
+ [Version (since = "2.16")]
[CCode (cname = "g_test_get_root")]
public static TestSuite get_root ();
+ [Version (since = "2.16")]
[CCode (cname = "g_test_suite_add")]
public void add (TestCase test_case);
+ [Version (since = "2.16")]
[CCode (cname = "g_test_suite_add_suite")]
public void add_suite (TestSuite test_suite);
}
-#if GLIB_2_26
+ [Version (since = "2.26")]
[CCode (has_target = false)]
public delegate void TestFunc ();
+ [Version (since = "2.26")]
public delegate void TestDataFunc ();
+ [Version (since = "2.26")]
public delegate void TestFixtureFunc (void* fixture);
-#else
- public delegate void TestFunc (void* fixture);
- public delegate void TestDataFunc ();
-#endif
[CCode (cprefix = "G_TEST_SUBPROCESS_INHERIT_", has_type_id = false)]
[Flags]
@@ -3969,10 +4267,13 @@ namespace GLib {
public uint length ();
public List<unowned G> copy ();
+ [Version (since = "2.34")]
+ public List<G> copy_deep (CopyFunc<G> func);
[ReturnsModifiedPointer ()]
public void reverse ();
[ReturnsModifiedPointer ()]
public void sort (CompareFunc<G> compare_func);
+ [Version (since = "2.10")]
[ReturnsModifiedPointer ()]
public void insert_sorted_with_data (owned G data, CompareDataFunc<G> compare_func);
[ReturnsModifiedPointer ()]
@@ -4028,8 +4329,11 @@ namespace GLib {
public uint length ();
public SList<unowned G> copy ();
+ [Version (since = "2.34")]
+ public SList<G> copy_deep (CopyFunc<G> func);
[ReturnsModifiedPointer ()]
public void reverse ();
+ [Version (since = "2.10")]
[ReturnsModifiedPointer ()]
public void insert_sorted_with_data (owned G data, CompareDataFunc<G> compare_func);
[ReturnsModifiedPointer ()]
@@ -4061,9 +4365,12 @@ namespace GLib {
public delegate int CompareDataFunc<G> (G a, G b);
+ [Version (since = "2.16")]
[CCode (cname = "g_strcmp0")]
public static GLib.CompareFunc<string> strcmp;
+ public delegate G CopyFunc<G> (G src);
+
[CCode (cname = "GCompareFunc", has_target = false)]
public delegate int SearchFunc<G,T> (G a, T b);
@@ -4078,38 +4385,56 @@ namespace GLib {
public Queue ();
+ [Version (since = "2.14")]
public void clear ();
public bool is_empty ();
+ [Version (since = "2.4")]
public uint get_length ();
+ [Version (since = "2.4")]
public void reverse ();
public Queue copy ();
+ [Version (since = "2.4")]
public unowned List<G> find (G data);
+ [Version (since = "2.4")]
public unowned List<G> find_custom (G data, CompareFunc<G> func);
[CCode (cname = "g_queue_find_custom", simple_generics = true)]
public unowned List<G> search<T> (T data, SearchFunc<T,G> func);
+ [Version (since = "2.4")]
public void sort (CompareDataFunc<G> compare_func);
public void push_head (owned G data);
public void push_tail (owned G data);
+ [Version (since = "2.4")]
public void push_nth (owned G data, int n);
public G pop_head ();
public G pop_tail ();
+ [Version (since = "2.4")]
public G pop_nth (uint n);
public unowned G peek_head ();
public unowned G peek_tail ();
+ [Version (since = "2.4")]
public unowned G peek_nth (uint n);
+ [Version (since = "2.4")]
public int index (G data);
+ [Version (since = "2.4")]
public void remove (G data);
+ [Version (since = "2.4")]
public void remove_all (G data);
+ [Version (since = "2.4")]
public void delete_link (List<G> link);
+ [Version (since = "2.4")]
public void unlink (List<G> link);
+ [Version (since = "2.4")]
public void insert_before (List<G> sibling, owned G data);
+ [Version (since = "2.4")]
public void insert_after (List<G> sibling, owned G data);
+ [Version (since = "2.4")]
public void insert_sorted (owned G data, CompareDataFunc<G> func);
}
/* Sequences */
[Compact]
+ [Version (since = "2.14")]
[CCode (free_function = "g_sequence_free")]
public class Sequence<G> {
[CCode (simple_generics = true)]
@@ -4124,39 +4449,44 @@ namespace GLib {
public SequenceIter<G> append (owned G data);
public SequenceIter<G> prepend (owned G data);
public SequenceIter<G> insert_sorted (owned G data, CompareDataFunc<G> cmp_func);
+ [Version (since = "2.48")]
+ public bool is_empty ();
public SequenceIter<G> insert_sorted_iter (owned G data, SequenceIterCompareFunc<G> iter_cmp);
public SequenceIter<G> search (G data, CompareDataFunc<G> cmp_func);
public SequenceIter<G> search_iter (G data, SequenceIterCompareFunc<G> iter_cmp);
+ [Version (since = "2.28")]
public SequenceIter<G> lookup (G data, CompareDataFunc<G> cmp_func);
+ [Version (since = "2.28")]
public SequenceIter<G> lookup_iter (G data, SequenceIterCompareFunc<G> iter_cmp);
- [Deprecated (since = "vala-0.26", replacement = "SequenceIter.foreach_range")]
+ [Version (deprecated_since = "vala-0.26", replacement = "SequenceIter.foreach_range")]
public static void foreach_range (SequenceIter<G> begin, SequenceIter<G> end, Func<G> func);
- [Deprecated (since = "vala-0.26", replacement = "SequenceIter.insert_before")]
+ [Version (deprecated_since = "vala-0.26", replacement = "SequenceIter.insert_before")]
public static SequenceIter<G> insert_before (SequenceIter<G> iter, owned G data);
- [Deprecated (since = "vala-0.26", replacement = "SequenceIter.move_to")]
+ [Version (deprecated_since = "vala-0.26", replacement = "SequenceIter.move_to")]
public static void move (SequenceIter<G> src, SequenceIter<G> dest);
- [Deprecated (since = "vala-0.26", replacement = "SequenceIter.swap")]
+ [Version (deprecated_since = "vala-0.26", replacement = "SequenceIter.swap")]
public static void swap (SequenceIter<G> src, SequenceIter<G> dest);
- [Deprecated (since = "vala-0.26", replacement = "SequenceIter.sort_changed")]
+ [Version (deprecated_since = "vala-0.26", replacement = "SequenceIter.sort_changed")]
public static void sort_changed (SequenceIter<G> iter, CompareDataFunc<G> cmp_func);
- [Deprecated (since = "vala-0.26", replacement = "SequenceIter.sort_changed_iter")]
+ [Version (deprecated_since = "vala-0.26", replacement = "SequenceIter.sort_changed_iter")]
public static void sort_changed_iter (SequenceIter<G> iter, SequenceIterCompareFunc<G> iter_cmp);
- [Deprecated (since = "vala-0.26", replacement = "SequenceIter.remove")]
+ [Version (deprecated_since = "vala-0.26", replacement = "SequenceIter.remove")]
public static void remove (SequenceIter<G> iter);
- [Deprecated (since = "vala-0.26", replacement = "SequenceIter.remove_range")]
+ [Version (deprecated_since = "vala-0.26", replacement = "SequenceIter.remove_range")]
public static void remove_range (SequenceIter<G> begin, SequenceIter<G> end);
- [Deprecated (since = "vala-0.26", replacement = "SequenceIter.move_range")]
+ [Version (deprecated_since = "vala-0.26", replacement = "SequenceIter.move_range")]
public static void move_range (SequenceIter<G> dest, SequenceIter<G> begin, SequenceIter<G> end);
- [Deprecated (since = "vala-0.26", replacement = "SequenceIter.get")]
+ [Version (deprecated_since = "vala-0.26", replacement = "SequenceIter.get")]
public static unowned G get (SequenceIter<G> iter);
- [Deprecated (since = "vala-0.26", replacement = "SequenceIter.set")]
+ [Version (deprecated_since = "vala-0.26", replacement = "SequenceIter.set")]
public static void set (SequenceIter<G> iter, owned G data);
- [Deprecated (since = "vala-0.26", replacement = "SequenceIter.range_get_midpoint")]
+ [Version (deprecated_since = "vala-0.26", replacement = "SequenceIter.range_get_midpoint")]
public static SequenceIter<G> range_get_midpoint (SequenceIter<G> begin, SequenceIter<G> end);
}
[Compact]
+ [Version (since = "2.14")]
[CCode (ref_function = "", unref_function = "")]
public class SequenceIter<G> {
public bool is_begin ();
@@ -4206,29 +4536,36 @@ namespace GLib {
public HashTable.full (HashFunc<K>? hash_func, EqualFunc<K>? key_equal_func, DestroyNotify? key_destroy_func, DestroyNotify? value_destroy_func);
public void insert (owned K key, owned V value);
public void replace (owned K key, owned V value);
- [Deprecated (since = "vala-0.26", replacement = "GenericSet.add")]
+ [Version (since = "2.32", deprecated_since = "vala-0.26", replacement = "GenericSet.add")]
public void add (owned K key);
public unowned V? lookup (K key);
public bool lookup_extended (K lookup_key, out unowned K orig_key, out unowned V value);
+ [Version (since = "2.32")]
public bool contains (K key);
public bool remove (K key);
+ [Version (since = "2.12")]
public void remove_all ();
public uint foreach_remove (HRFunc<K,V> predicate);
[CCode (cname = "g_hash_table_lookup")]
public unowned V? @get (K key);
[CCode (cname = "g_hash_table_insert")]
public void @set (owned K key, owned V value);
+ [Version (since = "2.14")]
public List<unowned K> get_keys ();
#if VALA_0_26
+ [Version (since = "2.40")]
public (unowned K)[] get_keys_as_array ();
#endif
+ [Version (since = "2.14")]
public List<unowned V> get_values ();
public void @foreach (HFunc<K,V> func);
[CCode (cname = "g_hash_table_foreach")]
public void for_each (HFunc<K,V> func);
+ [Version (since = "2.4")]
public unowned V? find (HRFunc<K,V> predicate);
public uint size ();
public bool steal (K key);
+ [Version (since = "2.12")]
public void steal_all ();
[CCode (cname = "_vala_g_hash_table_take")]
public V? take (K key, out bool exists = null) {
@@ -4244,6 +4581,7 @@ namespace GLib {
}
}
+ [Version (since = "2.16")]
public struct HashTableIter<K,V> {
public HashTableIter (GLib.HashTable<K,V> table);
public bool next ([CCode (type = "gpointer*")] out unowned K key, [CCode (type = "gpointer*")] out unowned V value);
@@ -4252,6 +4590,7 @@ namespace GLib {
public unowned GLib.HashTable<K,V> get_hash_table ();
}
+ [Version (since = "2.32")]
[Compact, CCode (cname = "GHashTable", lower_case_cprefix = "g_hash_table_", ref_function = "g_hash_table_ref", unref_function = "g_hash_table_unref", type_id = "G_TYPE_HASH_TABLE", type_signature = "a{%s}")]
public class GenericSet<T> {
[CCode (cname = "g_hash_table_new_full", simple_generics = true)]
@@ -4273,6 +4612,7 @@ namespace GLib {
}
}
+ [Version (since = "2.32")]
[CCode (cname = "GHashTableIter", lower_case_cprefix = "g_hash_table_iter_")]
public struct GenericSetIter<T> {
[CCode (cname = "_vala_hash_set_next_value")]
@@ -4301,8 +4641,10 @@ namespace GLib {
public static GLib.EqualFunc<void*> direct_equal;
[CCode (cname = "g_int64_hash")]
public static GLib.HashFunc<int64?> int64_hash;
+ [Version (since = "2.22")]
[CCode (cname = "g_int64_equal")]
public static GLib.EqualFunc<int64?> int64_equal;
+ [Version (since = "2.22")]
[CCode (cname = "g_int_hash")]
public static GLib.HashFunc<int?> int_hash;
[CCode (cname = "g_int_equal")]
@@ -4341,7 +4683,9 @@ namespace GLib {
public unowned StringBuilder insert (ssize_t pos, string val);
public unowned StringBuilder insert_len (ssize_t pos, string val, ssize_t len);
public unowned StringBuilder insert_unichar (ssize_t pos, unichar wc);
+ [Version (since = "2.14")]
public unowned StringBuilder overwrite (size_t pos, string val);
+ [Version (since = "2.14")]
public unowned StringBuilder overwrite_len (size_t pos, string val, ssize_t len);
public unowned StringBuilder erase (ssize_t pos = 0, ssize_t len = -1);
public unowned StringBuilder truncate (size_t len = 0);
@@ -4350,7 +4694,9 @@ namespace GLib {
public void printf (string format, ...);
[PrintfFormat]
public void append_printf (string format, ...);
+ [Version (since = "2.14")]
public void vprintf (string format, va_list args);
+ [Version (since = "2.14")]
public void append_vprintf (string format, va_list args);
public string str;
@@ -4365,7 +4711,8 @@ namespace GLib {
}
}
- public static Bytes free_to_bytes (StringBuilder str);
+ [Version (since = "2.34")]
+ public static Bytes free_to_bytes (owned StringBuilder str);
}
/* String Chunks */
@@ -4376,20 +4723,25 @@ namespace GLib {
public StringChunk (size_t size);
public unowned string insert (string str);
public unowned string insert_const (string str);
+ [Version (since = "2.4")]
public unowned string insert_len (string str, ssize_t len);
+ [Version (since = "2.14")]
public void clear ();
}
/* Pointer Arrays */
- [Compact, Deprecated (since = "vala-0.26", replacement="GenericArray")]
+ [Compact]
+ [Version (since = "2.22", deprecated_since = "vala-0.26", replacement="GenericArray")]
[CCode (ref_function = "g_ptr_array_ref", unref_function = "g_ptr_array_unref", type_id = "G_TYPE_PTR_ARRAY")]
public class PtrArray {
public PtrArray ();
+ [Version (since = "2.22")]
public PtrArray.with_free_func (GLib.DestroyNotify? element_free_func);
[CCode (cname = "g_ptr_array_sized_new")]
public PtrArray.sized (uint reserved_size);
public void add (void* data);
+ [Version (since = "2.4")]
public void foreach (GLib.Func<void*> func);
[CCode (cname = "g_ptr_array_index")]
public void* index(uint index);
@@ -4397,9 +4749,11 @@ namespace GLib {
public void* remove_index (uint index);
public bool remove_fast (void *data);
public void remove_index_fast (uint index);
+ [Version (since = "2.4")]
public void remove_range (uint index, uint length);
public void sort (CompareFunc<void**> compare_func);
public void sort_with_data (CompareDataFunc<void**> compare_func);
+ [Version (since = "2.22")]
public void set_free_func (GLib.DestroyNotify? element_free_function);
public void set_size (int length);
@@ -4411,17 +4765,14 @@ namespace GLib {
[CCode (cname = "GPtrArray", cprefix = "g_ptr_array_", ref_function = "g_ptr_array_ref", unref_function = "g_ptr_array_unref", type_id = "G_TYPE_PTR_ARRAY")]
[GIR (name = "PtrArray")]
public class GenericArray<G> {
-#if GLIB_2_30
+ [Version (since = "2.30")]
[CCode (cname = "g_ptr_array_new_full", simple_generics = true)]
public GenericArray (uint reserved_size = 0);
-#else
- [CCode (cname = "g_ptr_array_new_with_free_func", simple_generics = true)]
- public GenericArray ();
-#endif
public void add (owned G data);
public void foreach (GLib.Func<G> func);
[CCode (cname = "g_ptr_array_index")]
public unowned G get (uint index);
+ [Version (since = "2.40")]
public void insert (int index, owned G data);
public bool remove (G data);
public void remove_index (uint index);
@@ -4460,6 +4811,7 @@ namespace GLib {
}
[Compact]
+ [Version (since = "2.32")]
[CCode (cprefix = "g_bytes_", ref_function = "g_bytes_ref", unref_function = "g_bytes_unref", type_id = "G_TYPE_BYTES")]
public class Bytes {
public Bytes ([CCode (array_length_type = "gsize")] uint8[] data);
@@ -4502,17 +4854,21 @@ namespace GLib {
/* Byte Arrays */
[Compact]
+ [Version (since = "2.22")]
[CCode (cprefix = "g_byte_array_", ref_function = "g_byte_array_ref", unref_function = "g_byte_array_unref", type_id = "G_TYPE_BYTE_ARRAY")]
public class ByteArray {
public ByteArray ();
[CCode (cname = "g_byte_array_sized_new")]
public ByteArray.sized (uint reserved_size);
+ [Version (since = "2.32")]
public ByteArray.take (owned uint8[] data);
public void append (uint8[] data);
+ [Version (since = "2.32")]
public static GLib.Bytes free_to_bytes (owned GLib.ByteArray array);
public void prepend (uint8[] data);
public void remove_index (uint index);
public void remove_index_fast (uint index);
+ [Version (since = "2.4")]
public void remove_range (uint index, uint length);
public void sort (CompareFunc<int8> compare_func);
public void sort_with_data (CompareDataFunc<int8> compare_func);
@@ -4543,6 +4899,7 @@ namespace GLib {
public class Node<G> {
public Node(owned G? data = null);
public Node<unowned G> copy ();
+ public Node<G> copy_deep (CopyFunc<G> copy_func);
public unowned Node<G> insert (int position, owned Node<G> node);
public unowned Node<G> insert_before (Node<G> sibling, owned Node<G> node);
public unowned Node<G> insert_after (Node<G> sibling, owned Node<G> node);
@@ -4611,11 +4968,15 @@ namespace GLib {
public struct Datalist<G> {
public Datalist ();
public void clear ();
+ [Version (since = "2.34")]
+ public G id_dup_data (Quark key_id, DuplicateFunc dup_func);
public unowned G id_get_data (Quark key_id);
public void id_set_data (Quark key_id, owned G data);
public void id_set_data_full (Quark key_id, owned G data, DestroyNotify? destroy_func);
public void id_remove_data (Quark key_id);
public G id_remove_no_notify (Quark key_id);
+ [Version (since = "2.34")]
+ public bool id_replace_data (Quark key_id, G oldval, owned G newval, GLib.DestroyNotify? destroy, out GLib.DestroyNotify? old_destroy);
public void @foreach (DataForeachFunc func);
public unowned G get_data (string key);
public void set_data_full (string key, owned G data, DestroyNotify? destry_func);
@@ -4625,10 +4986,12 @@ namespace GLib {
}
public delegate void DataForeachFunc<G> (Quark key_id, G data);
+ public delegate G DuplicateFunc<G> (G data);
/* GArray */
[Compact]
+ [Version (since = "2.22")]
[CCode (ref_function = "g_array_ref", unref_function = "g_array_unref", type_id = "G_TYPE_ARRAY")]
public class Array<G> {
[CCode (cname = "len")]
@@ -4670,11 +5033,12 @@ namespace GLib {
public delegate int TreeSearchFunc<K> (K key);
[Compact]
+ [Version (since = "2.22")]
[CCode (ref_function = "g_tree_ref", unref_function = "g_tree_unref")]
public class Tree<K,V> {
[CCode (cname = "g_tree_new_full", simple_generics = true)]
public Tree (CompareDataFunc<K> key_compare_func);
- [Deprecated (since = "vala-0.20", replacement = "Tree ()")]
+ [Version (deprecated_since = "vala-0.20", replacement = "Tree ()")]
public Tree.with_data (CompareDataFunc<K> key_compare_func);
public Tree.full (CompareDataFunc<K> key_compare_func, DestroyNotify? key_destroy_func, DestroyNotify? value_destroy_func);
public void insert (owned K key, owned V value);
@@ -4693,26 +5057,36 @@ namespace GLib {
/* Internationalization */
+ [Version (since = "2.4")]
[CCode (cname = "_", cheader_filename = "glib.h,glib/gi18n-lib.h")]
public static unowned string _ (string str);
+ [Version (since = "2.4")]
[CCode (cname = "Q_", cheader_filename = "glib.h,glib/gi18n-lib.h")]
public static unowned string Q_ (string str);
+ [Version (since = "2.4")]
[CCode (cname = "N_", cheader_filename = "glib.h,glib/gi18n-lib.h")]
public static unowned string N_ (string str);
+ [Version (since = "2.16")]
[CCode (cname = "C_", cheader_filename = "glib.h,glib/gi18n-lib.h")]
public static unowned string C_ (string context, string str);
+ [Version (since = "2.18")]
[CCode (cname = "NC_", cheader_filename = "glib.h,glib/gi18n-lib.h")]
public static unowned string NC_ (string context, string str);
[CCode (cname = "ngettext", cheader_filename = "glib.h,glib/gi18n-lib.h")]
public static unowned string ngettext (string msgid, string msgid_plural, ulong n);
+ [Version (since = "2.18")]
[CCode (cname = "g_dgettext", cheader_filename = "glib/gi18n-lib.h")]
public static unowned string dgettext (string? domain, string msgid);
+ [Version (since = "2.26")]
[CCode (cname = "g_dcgettext", cheader_filename = "glib/gi18n-lib.h")]
public static unowned string dcgettext (string? domain, string msgid, int category);
+ [Version (since = "2.18")]
[CCode (cname = "g_dngettext", cheader_filename = "glib/gi18n-lib.h")]
public static unowned string dngettext (string? domain, string msgid, string msgid_plural, ulong n);
+ [Version (since = "2.16")]
[CCode (cname = "g_dpgettext", cheader_filename = "glib/gi18n-lib.h")]
public static unowned string dpgettext (string? domain, string msgctxid, size_t msgidoffset);
+ [Version (since = "2.18")]
[CCode (cname = "g_dpgettext2", cheader_filename = "glib/gi18n-lib.h")]
public static unowned string dpgettext2 (string? domain, string context, string msgid);
@@ -4736,8 +5110,10 @@ namespace GLib {
public static unowned string? textdomain (string? domainname);
[CCode (cname = "bind_textdomain_codeset", cheader_filename = "glib/gi18n-lib.h")]
public static unowned string? bind_textdomain_codeset (string domainname, string? codeset);
+ [Version (since = "2.6")]
[CCode (cname = "g_get_language_names", array_length = false, array_null_terminated = true)]
public static unowned string[] get_language_names ();
+ [Version (since = "2.4")]
[CCode (cname = "g_strip_context", cheader_filename = "glib/gi18n-lib.h")]
public static unowned string strip_context (string msgid, string msgval);
}
@@ -4785,6 +5161,7 @@ namespace GLib {
public const uint @2_42;
public const uint @2_44;
public const uint @2_46;
+ public const uint @2_48;
[CCode (cname = "glib_binary_age")]
public const uint binary_age;
@@ -4793,20 +5170,36 @@ namespace GLib {
}
namespace Win32 {
+ public enum OSType {
+ [CCode (cname = "G_WIN32_OS_ANY")]
+ ANY,
+ [CCode (cname = "G_WIN32_OS_WORKSTATION")]
+ WORKSTATION,
+ [CCode (cname = "G_WIN32_OS_SERVER")]
+ SERVER,
+ }
+ [Version (since = "2.44")]
+ public bool check_windows_version (int major, int minor, int spver, GLib.Win32.OSType os_type);
+
public string error_message (int error);
public string getlocale ();
+ [Version (since = "2.16")]
public string get_package_installation_directory_of_module (void* hmodule);
public uint get_windows_version ();
+ [Version (since = "2.8")]
public string locale_filename_from_utf8 (string utf8filename);
[CCode (cname = "G_WIN32_HAVE_WIDECHAR_API")]
public bool have_widechar_api ();
[CCode (cname = "G_WIN32_IS_NT_BASED")]
public bool is_nt_based ();
+ [Version (since = "2.40")]
+ [CCode (array_length = false, array_null_terminated = true)]
public string[] get_command_line ();
}
[Compact]
[Immutable]
+ [Version (since = "2.24")]
[CCode (copy_function = "g_variant_type_copy", free_function = "g_variant_type_free", type_id = "G_TYPE_VARIANT_TYPE")]
public class VariantType {
[CCode (cname = "G_VARIANT_TYPE_BOOLEAN")]
@@ -4861,6 +5254,7 @@ namespace GLib {
public static VariantType BYTESTRING;
[CCode (cname = "G_VARIANT_TYPE_BYTESTRING_ARRAY")]
public static VariantType BYTESTRING_ARRAY;
+ [Version (since = "2.30")]
[CCode (cname = "G_VARIANT_TYPE_VARDICT")]
public static VariantType VARDICT;
@@ -4899,6 +5293,7 @@ namespace GLib {
}
[Compact]
+ [Version (since = "2.24")]
[CCode (ref_function = "g_variant_ref", unref_function = "g_variant_unref", ref_sink_function = "g_variant_ref_sink", type_id = "G_TYPE_VARIANT", marshaller_type_name = "VARIANT", param_spec_function = "g_param_spec_variant", get_value_function = "g_value_get_variant", set_value_function = "g_value_set_variant", take_value_function = "g_value_take_variant", type_signature = "v")]
public class Variant {
[CCode (has_type_id = false)]
@@ -4912,8 +5307,10 @@ namespace GLib {
public unowned string get_type_string ();
public bool is_of_type (VariantType type);
public bool is_container ();
+ [Version (since = "2.26")]
public bool is_floating ();
public Class classify ();
+ [Version (since = "2.26")]
public int compare (Variant other);
public Variant.boolean (bool value);
@@ -4927,6 +5324,7 @@ namespace GLib {
public Variant.handle (int32 value);
public Variant.double (double value);
public Variant.string (string value);
+ [Version (since = "2.26")]
public Variant.bytestring (string value);
public Variant.object_path (string object_path);
public static bool is_object_path (string object_path);
@@ -4945,7 +5343,9 @@ namespace GLib {
public double get_double ();
public unowned string get_string (out size_t length = null);
public string dup_string (out size_t length = null);
+ [Version (since = "2.26")]
public unowned string get_bytestring ();
+ [Version (since = "2.26")]
public string dup_bytestring (out size_t length);
public Variant.strv (string[] value);
@@ -4958,27 +5358,31 @@ namespace GLib {
[CCode (array_length_type = "size_t")]
public string[] dup_strv ();
+ [Version (since = "2.26")]
public Variant.bytestring_array (string[] value);
+ [Version (since = "2.26")]
[CCode (array_length_type = "size_t")]
#if VALA_0_26
public (unowned string)[] get_bytestring_array ();
#else
public string*[] get_bytestring_array ();
#endif
+ [Version (since = "2.26")]
[CCode (array_length_type = "size_t")]
public string[] dup_bytestring_array ();
-#if GLIB_2_30
+ [Version (since = "2.30")]
public Variant.objv (string[] value);
+ [Version (since = "2.30")]
[CCode (array_length_type = "size_t")]
#if VALA_0_26
public (unowned string)[] get_objv ();
#else
public string*[] get_objv ();
#endif
+ [Version (since = "2.30")]
[CCode (array_length_type = "size_t")]
public string[] dup_objv ();
-#endif
public Variant (string format, ...);
// note: the function changes its behaviour when end_ptr is null, so 'out char *' is wrong
@@ -4989,6 +5393,7 @@ namespace GLib {
public Variant.variant (Variant value);
public Variant.maybe (VariantType? child_type, Variant? child);
public Variant.array (VariantType? child_type, Variant[] children);
+ [Version (since = "2.32")]
[CCode (simple_generics = true)]
public static Variant new_fixed_array<T> (VariantType? element_type, [CCode (array_length_type = "gsize")] T[] elements, size_t element_size);
public Variant.tuple (Variant[] children);
@@ -5000,7 +5405,9 @@ namespace GLib {
public Variant get_child_value (size_t index);
public void get_child (size_t index, string format_string, ...);
+ [Version (since = "2.28")]
public Variant? lookup_value (string key, VariantType? expected_type);
+ [Version (since = "2.28")]
public bool lookup (string key, string format_string, ...);
public size_t get_size ();
@@ -5025,17 +5432,24 @@ namespace GLib {
public static Variant parse (VariantType? type, string text, char *limit = null, char **endptr = null) throws GLib.VariantParseError;
public Variant.parsed (string format_string, ...);
+ [Version (since = "2.34")]
public bool check_format_string (string format_string, bool copy_only);
+ [Version (since = "2.36")]
public Variant.from_bytes (VariantType type, Bytes bytes, bool trusted);
+ [Version (since = "2.36")]
public Bytes get_data_as_bytes ();
+ [Version (since = "2.38")]
public Variant.printf (string format_string, ...);
+ [Version (since = "2.38")]
public Variant.take_string (string str);
+ [Version (since = "2.40")]
public static void parse_error_print_context (GLib.VariantParseError error, string source_str);
}
+ [Version (since = "2.24")]
public errordomain VariantParseError {
FAILED,
BASIC_TYPE_EXPECTED,
@@ -5058,6 +5472,7 @@ namespace GLib {
}
[Compact]
+ [Version (since = "2.24")]
public class VariantIter {
public VariantIter (Variant value);
public size_t n_children ();
@@ -5066,6 +5481,7 @@ namespace GLib {
}
[Compact]
+ [Version (since = "2.24")]
[CCode (ref_function = "g_variant_builder_ref", unref_function = "g_variant_builder_unref")]
public class VariantBuilder {
public VariantBuilder (VariantType type);
@@ -5077,6 +5493,7 @@ namespace GLib {
public Variant end ();
}
+ [Version (since = "2.40")]
[Compact, CCode (ref_function = "g_variant_dict_ref", unref_function = "g_variant_dict_unref")]
public class VariantDict {
public VariantDict (GLib.Variant? from_asv = null);
@@ -5107,6 +5524,7 @@ namespace GLib {
public static bool likely (bool expression);
[CCode (cname = "G_UNLIKELY", cheader_filename = "glib.h")]
public static bool unlikely (bool expression);
+ [Version (since = "2.20")]
[CCode (cname = "G_STATIC_ASSERT", cheader_filename = "glib.h")]
public static void static_assert (bool expression);
@@ -5122,6 +5540,7 @@ namespace GLib {
/* Unix-specific functions. All of these have to include glib-unix.h. */
namespace Unix {
+ [Version (since = "2.30")]
[CCode (cheader_filename = "glib-unix.h", cname = "g_unix_signal_add_full")]
public static uint signal_add (int signum, owned GLib.SourceFunc handler, [CCode (pos = 0.9)] int priority = Priority.DEFAULT);
@@ -5130,8 +5549,10 @@ namespace GLib {
public SignalSource (int signum);
}
+ [Version (since = "2.30")]
[CCode (cheader_filename = "glib-unix.h")]
public static bool open_pipe ([CCode (array_length = false, array_null_terminated = false)] int[] fds, int flags) throws GLib.Error;
+ [Version (since = "2.30")]
[CCode (cheader_filename = "glib-unix.h")]
public static bool set_fd_nonblocking (int fd, bool nonblock) throws GLib.Error;
}
diff --git a/vapi/gnome-keyring-1.vapi b/vapi/gnome-keyring-1.vapi
index 76f5c6ed1..e016a9ac4 100644
--- a/vapi/gnome-keyring-1.vapi
+++ b/vapi/gnome-keyring-1.vapi
@@ -1,6 +1,6 @@
/* gnome-keyring-1.vapi generated by vapigen, do not modify. */
-[Deprecated (replacement = "bindings distributed with libgnome-keyring", since = "3.5.4")]
+[Version (deprecated_since = "3.5.4", replacement = "bindings distributed with libgnome-keyring")]
namespace GnomeKeyring {
[CCode (cheader_filename = "gnome-keyring.h", copy_function = "gnome_keyring_access_control_copy")]
[Compact]
diff --git a/vapi/gobject-2.0.vapi b/vapi/gobject-2.0.vapi
index f49090188..da09ab127 100644
--- a/vapi/gobject-2.0.vapi
+++ b/vapi/gobject-2.0.vapi
@@ -24,525 +24,591 @@
* Mathias Hasselmann <mathias.hasselmann@gmx.de>
*/
-[CCode (cprefix = "G", lower_case_cprefix = "g_", cheader_filename = "glib.h", gir_namespace = "GObject", gir_version = "2.0")]
+[CCode (cheader_filename = "glib.h", cprefix = "G", gir_namespace = "GObject", gir_version = "2.0", lower_case_cprefix = "g_")]
namespace GLib {
- [CCode (type_id = "G_TYPE_GTYPE", marshaller_type_name = "GTYPE", get_value_function = "g_value_get_gtype", set_value_function = "g_value_set_gtype")]
- public struct Type : ulong {
- [CCode (cname = "G_TYPE_IS_OBJECT")]
- public bool is_object ();
- [CCode (cname = "G_TYPE_IS_ABSTRACT")]
- public bool is_abstract ();
- [CCode (cname = "G_TYPE_IS_CLASSED")]
- public bool is_classed ();
- [CCode (cname = "G_TYPE_IS_DERIVABLE")]
- public bool is_derivable ();
- [CCode (cname = "G_TYPE_IS_DEEP_DERIVABLE")]
- public bool is_deep_derivable ();
- [CCode (cname = "G_TYPE_IS_DERIVED")]
- public bool is_derived ();
- [CCode (cname = "G_TYPE_IS_FUNDAMENTAL")]
- public bool is_fundamental ();
- [CCode (cname = "G_TYPE_IS_INSTANTIATABLE")]
- public bool is_instantiatable ();
- [CCode (cname = "G_TYPE_IS_INTERFACE")]
- public bool is_interface ();
- [CCode (cname = "G_TYPE_IS_VALUE_TYPE")]
- public bool is_value_type ();
- [CCode (cname = "G_TYPE_IS_ENUM")]
- public bool is_enum ();
- [CCode (cname = "G_TYPE_IS_FLAGS")]
- public bool is_flags ();
-
- [CCode (cname = "G_TYPE_FROM_INSTANCE")]
- public static Type from_instance (void* instance);
-
- public Type[] children ();
- public uint depth ();
- public static Type from_name (string name);
- [CCode (array_length_type = "guint")]
- public Type[] interfaces ();
- public bool is_a (Type is_a_type);
- public unowned string name ();
- public Quark qname ();
- public Type parent ();
-
- public void* get_qdata (Quark quark);
- public void set_qdata (Quark quark, void* data);
-
- public void query (out TypeQuery query);
-
- public int get_instance_count ();
-
- public TypeClass class_ref ();
- public unowned TypeClass class_peek ();
-
- public const Type INVALID;
- public const Type INTERFACE;
- public const Type ENUM;
- public const Type FLAGS;
- public const Type BOXED;
+ namespace Signal {
+ public static ulong add_emission_hook (uint signal_id, GLib.Quark detail, GLib.SignalEmissionHook hook_func, GLib.DestroyNotify? data_destroy);
+ public static void chain_from_overridden ([CCode (array_length = false)] GLib.Value[] instance_and_params, out GLib.Value return_value);
+ public static ulong connect (void* instance, string detailed_signal, GLib.Callback handler, void* data);
+ public static ulong connect_after (void* instance, string detailed_signal, GLib.Callback handler, void* data);
+ public static ulong connect_closure (void* instance, string detailed_signal, GLib.Closure closure, bool after);
+ public static ulong connect_closure_by_id (void* instance, uint signal_id, GLib.Quark detail, GLib.Closure closure, bool after);
+ public static ulong connect_data (void* instance, string detailed_signal, GLib.Callback handler, void* data, GLib.ClosureNotify destroy_data, GLib.ConnectFlags flags);
+ public static ulong connect_object (void* instance, string detailed_signal, GLib.Callback handler, GLib.Object gobject, GLib.ConnectFlags flags);
+ public static ulong connect_swapped (void* instance, string detailed_signal, GLib.Callback handler, void* data);
+ public static void emit (void* instance, uint signal_id, GLib.Quark detail, ...);
+ public static void emit_by_name (void* instance, string detailed_signal, ...);
+ public static unowned GLib.SignalInvocationHint? get_invocation_hint (void* instance);
+ public static bool has_handler_pending (void* instance, uint signal_id, GLib.Quark detail, bool may_be_blocked);
+ public static uint[] list_ids (GLib.Type itype);
+ public static uint lookup (string name, GLib.Type itype);
+ public static unowned string name (uint signal_id);
+ public static void override_class_closure (uint signal_id, GLib.Type instance_type, GLib.Closure class_closure);
+ public static bool parse_name (string detailed_signal, GLib.Type itype, out uint signal_id, out GLib.Quark detail, bool force_detail_quark);
+ public static void query (uint signal_id, out GLib.SignalQuery query);
+ public static void remove_emission_hook (uint signal_id, ulong hook_id);
+ public static void stop_emission (void* instance, uint signal_id, GLib.Quark detail);
+ public static void stop_emission_by_name (void* instance, string detailed_signal);
}
-
- public struct TypeQuery {
- public Type type;
- public unowned string type_name;
- public uint class_size;
- public uint instance_size;
+ namespace SignalHandler {
+ public static void block (void* instance, ulong handler_id);
+ [CCode (cname = "g_signal_handlers_block_by_func")]
+ public static uint block_by_func (void* instance, void* func, void* data);
+ [CCode (cname = "g_signal_handlers_block_matched")]
+ public static uint block_matched (void* instance, GLib.SignalMatchType mask, uint signal_id, GLib.Quark detail, GLib.Closure? closure, void* func, void* data);
+ public static void disconnect (void* instance, ulong handler_id);
+ [CCode (cname = "g_signal_handlers_disconnect_by_func")]
+ public static uint disconnect_by_func (void* instance, void* func, void* data);
+ [CCode (cname = "g_signal_handlers_disconnect_matched")]
+ public static uint disconnect_matched (void* instance, GLib.SignalMatchType mask, uint signal_id, GLib.Quark detail, GLib.Closure? closure, void* func, void* data);
+ public static ulong find (void* instance, GLib.SignalMatchType mask, uint signal_id, GLib.Quark detail, GLib.Closure? closure, void* func, void* data);
+ public static bool is_connected (void* instance, ulong handler_id);
+ public static void unblock (void* instance, ulong handler_id);
+ [CCode (cname = "g_signal_handlers_unblock_by_func")]
+ public static uint unblock_by_func (void* instance, void* func, void* data);
+ [CCode (cname = "g_signal_handlers_unblock_matched")]
+ public static uint unblock_matched (void* instance, GLib.SignalMatchType mask, uint signal_id, GLib.Quark detail, GLib.Closure? closure, void* func, void* data);
}
-
+ [CCode (type_id = "G_TYPE_BINDING")]
+ [Version (since = "2.26")]
+ public class Binding : GLib.Object {
+ public GLib.BindingFlags get_flags ();
+ public unowned GLib.Object get_source ();
+ public unowned string get_source_property ();
+ public unowned GLib.Object get_target ();
+ public unowned string get_target_property ();
+ [DestroysInstance]
+ [Version (since = "2.38")]
+ public void unbind ();
+ public GLib.BindingFlags flags { get; }
+ public GLib.Object source { get; }
+ public string source_property { get; }
+ public GLib.Object target { get; }
+ public string target_property { get; }
+ }
+ [CCode (ref_function = "g_closure_ref", type_id = "G_TYPE_CLOSURE", unref_function = "g_closure_unref")]
[Compact]
- [CCode (free_function = "g_type_class_unref")]
- public class TypeClass {
- [CCode (cname = "G_TYPE_FROM_CLASS")]
- public Type get_type ();
+ public class Closure {
+ [CCode (cname = "sizeof(GClosure)")]
+ public static size_t SIZE;
+ [CCode (cname = "g_closure_new_object")]
+ public Closure (ulong sizeof_closure, GLib.Object object);
+ public void add_finalize_notifier (void* notify_data, GLib.ClosureNotify notify_func);
+ public void add_invalidate_notifier (void* notify_data, GLib.ClosureNotify notify_func);
+ public void add_marshal_guards (void* pre_marshal_data, GLib.ClosureNotify pre_marshal_notify, void* post_marshal_data, GLib.ClosureNotify post_marshal_notify);
+ public void invalidate ();
+ public void invoke (out GLib.Value? return_value, [CCode (array_length_pos = 1.9)] GLib.Value[] param_values, void* invocation_hint);
+ public void remove_finalize_notifier (void* notify_data, GLib.ClosureNotify notify_func);
+ public void remove_invalidate_notifier (void* notify_data, GLib.ClosureNotify notify_func);
+ public void set_marshal (GLib.ClosureMarshal marshal);
+ public void set_meta_marshal (void* marshal_data, GLib.ClosureMarshal meta_marshal);
+ public void sink ();
}
-
- [CCode (cprefix = "G_TYPE_DEBUG_", has_type_id = false)]
- [Flags]
- public enum TypeDebugFlags {
- NONE,
- OBJECTS,
- SIGNALS,
- MASK
+ [CCode (lower_case_csuffix = "enum")]
+ public class EnumClass : GLib.TypeClass {
+ public int maximum;
+ public int minimum;
+ public uint n_values;
+ [CCode (array_length_cname = "n_values")]
+ public weak GLib.EnumValue[] values;
+ public unowned GLib.EnumValue? get_value (int value);
+ public unowned GLib.EnumValue? get_value_by_name (string name);
+ public unowned GLib.EnumValue? get_value_by_nick (string name);
}
-
- public interface TypePlugin {
+ [CCode (lower_case_csuffix = "flags")]
+ public class FlagsClass : GLib.TypeClass {
+ public uint mask;
+ public uint n_values;
+ [CCode (array_length_cname = "n_values")]
+ public GLib.FlagsValue[] values;
+ public unowned GLib.FlagsValue? get_first_value (uint value);
+ public unowned GLib.FlagsValue? get_value_by_name (string name);
+ public unowned GLib.FlagsValue? get_value_by_nick (string name);
}
-
- [CCode (lower_case_csuffix = "type_module")]
- public class TypeModule : Object, TypePlugin {
+ [Compact]
+ public class FlagsValue {
+ public int value;
+ public weak string value_name;
+ public weak string value_nick;
+ }
+ [CCode (ref_sink_function = "g_object_ref_sink", type_id = "G_TYPE_INITIALLY_UNOWNED")]
+ public class InitiallyUnowned : GLib.Object {
[CCode (has_construct_function = false)]
- protected TypeModule ();
- public bool use ();
- public void unuse ();
- public void set_name (string name);
- [NoWrapper]
- public virtual bool load ();
- [NoWrapper]
- public virtual void unload ();
+ protected InitiallyUnowned ();
}
-
- [CCode (type_id = "G_TYPE_PARAM", ref_function = "g_param_spec_ref", unref_function = "g_param_spec_unref", param_spec_function = "g_param_spec_param", get_value_function = "g_value_get_param", set_value_function = "g_value_set_param", take_value_function = "g_value_take_param")]
+ [CCode (cheader_filename = "glib-object.h", get_value_function = "g_value_get_object", marshaller_type_name = "OBJECT", param_spec_function = "g_param_spec_object", ref_function = "g_object_ref", set_value_function = "g_value_set_object", take_value_function = "g_value_take_object", unref_function = "g_object_unref")]
+ public class Object {
+ public uint ref_count;
+ [CCode (construct_function = "g_object_new", has_new_function = false)]
+ public Object (...);
+ public void add_toggle_ref (GLib.ToggleNotify notify);
+ public void add_weak_pointer (void** data);
+ [CCode (cname = "g_object_bind_property_with_closures")]
+ [Version (since = "2.26")]
+ public unowned GLib.Binding bind_property (string source_property, GLib.Object target, string target_property, GLib.BindingFlags flags = GLib.BindingFlags.DEFAULT, [CCode (type = "GClosure*")] owned GLib.BindingTransformFunc? transform_to = null, [CCode (type = "GClosure*")] owned GLib.BindingTransformFunc? transform_from = null);
+ public unowned GLib.Object connect (string signal_spec, ...);
+ public virtual void constructed ();
+ [CCode (cname = "g_signal_handler_disconnect")]
+ public void disconnect (ulong handler_id);
+ [CCode (cname = "g_object_run_dispose")]
+ public virtual void dispose ();
+ [CCode (simple_generics = true)]
+ [Version (since = "2.34")]
+ public T dup_data<T> (string key, GLib.DuplicateFunc<T> dup_func);
+ [CCode (simple_generics = true)]
+ [Version (since = "2.34")]
+ public T dup_qdata<T> (GLib.Quark quark, GLib.DuplicateFunc<T> dup_func);
+ public void freeze_notify ();
+ public void @get (string first_property_name, ...);
+ [CCode (cname = "G_OBJECT_GET_CLASS")]
+ public unowned GLib.ObjectClass get_class ();
+ [CCode (simple_generics = true)]
+ public unowned T get_data<T> (string key);
+ public void get_property (string property_name, ref GLib.Value value);
+ [CCode (simple_generics = true)]
+ public unowned T get_qdata<T> (GLib.Quark quark);
+ [CCode (cname = "G_TYPE_FROM_INSTANCE")]
+ public GLib.Type get_type ();
+ public static GLib.Object @new (GLib.Type type, ...);
+ public static GLib.Object new_valist (GLib.Type type, string? firstprop, va_list var_args);
+ public static GLib.Object newv (GLib.Type type, [CCode (array_length_pos = 1.9)] GLib.Parameter[] parameters);
+ [CCode (cname = "g_object_notify")]
+ public void notify_property (string property_name);
+ public unowned GLib.Object @ref ();
+ public GLib.Object ref_sink ();
+ [CCode (simple_generics = true)]
+ [Version (since = "2.34")]
+ public bool replace_data<G,T> (string key, G oldval, owned T newval, out GLib.DestroyNotify? old_destroy);
+ [CCode (simple_generics = true)]
+ [Version (since = "2.34")]
+ public bool replace_qdata<G,T> (GLib.Quark quark, G oldval, owned T newval, out GLib.DestroyNotify? old_destroy);
+ public void remove_toggle_ref (GLib.ToggleNotify notify);
+ public void remove_weak_pointer (void** data);
+ public void @set (string first_property_name, ...);
+ [CCode (cname = "g_object_set_data_full", simple_generics = true)]
+ public void set_data<T> (string key, owned T data);
+ public void set_data_full (string key, void* data, GLib.DestroyNotify? destroy);
+ public void set_property (string property_name, GLib.Value value);
+ [CCode (cname = "g_object_set_qdata_full", simple_generics = true)]
+ public void set_qdata<T> (GLib.Quark quark, owned T data);
+ public void set_qdata_full (GLib.Quark quark, void* data, GLib.DestroyNotify? destroy);
+ [CCode (simple_generics = true)]
+ public T steal_data<T> (string key);
+ [CCode (simple_generics = true)]
+ public T steal_qdata<T> (GLib.Quark quark);
+ public void thaw_notify ();
+ public void unref ();
+ public void weak_ref (GLib.WeakNotify notify);
+ public void weak_unref (GLib.WeakNotify notify);
+ public signal void notify (GLib.ParamSpec pspec);
+ }
+ [CCode (lower_case_csuffix = "object_class")]
+ public class ObjectClass : GLib.TypeClass {
+ public unowned GLib.ParamSpec? find_property (string property_name);
+ public void install_property (uint property_id, GLib.ParamSpec pspec);
+ [CCode (array_length_type = "guint")]
+#if VALA_0_26
+ public (unowned GLib.ParamSpec)[] list_properties ();
+#else
+ public unowned GLib.ParamSpec[] list_properties ();
+#endif
+ }
+ [CCode (get_value_function = "g_value_get_param", param_spec_function = "g_param_spec_param", ref_function = "g_param_spec_ref", set_value_function = "g_value_set_param", take_value_function = "g_value_take_param", type_id = "G_TYPE_PARAM", unref_function = "g_param_spec_unref")]
public class ParamSpec {
+ public GLib.ParamFlags flags;
public string name;
- public ParamFlags flags;
- public Type value_type;
- public Type owner_type;
+ public GLib.Type owner_type;
+ public GLib.Type value_type;
+ public unowned string get_blurb ();
+ [Version (since = "2.38")]
+ public unowned GLib.Value get_default_value ();
+ public unowned string get_name ();
+ [Version (since = "2.46")]
+ public GLib.Quark get_name_quark ();
+ public unowned string get_nick ();
+ public void* get_qdata (GLib.Quark quark);
+ public unowned GLib.ParamSpec get_redirect_target ();
[CCode (cname = "g_param_spec_internal")]
- public ParamSpec.internal (GLib.Type param_type, string name, string nick, string blurb, GLib.ParamFlags flags);
- public ParamSpec ref ();
- public void unref ();
- public void sink ();
- public ParamSpec ref_sink ();
+ public ParamSpec.@internal (GLib.Type param_type, string name, string nick, string blurb, GLib.ParamFlags flags);
+ public GLib.ParamSpec @ref ();
+ public GLib.ParamSpec ref_sink ();
+ public void set_qdata (GLib.Quark quark, void* data);
+ public void set_qdata_full (GLib.Quark quark, void* data, GLib.DestroyNotify destroy);
[CCode (cname = "g_param_value_set_default")]
- public void set_value_default (Value value);
+ public void set_value_default (GLib.Value value);
+ public void sink ();
+ public void* steal_qdata (GLib.Quark quark);
+ public void unref ();
+ [CCode (cname = "g_param_value_convert")]
+ public bool value_convert (GLib.Value src_value, GLib.Value dest_value, bool strict_validation);
[CCode (cname = "g_param_value_defaults")]
- public bool value_defaults (Value value);
+ public bool value_defaults (GLib.Value value);
[CCode (cname = "g_param_value_validate")]
- public bool value_validate (Value value);
- [CCode (cname = "g_param_value_convert")]
- public bool value_convert (Value src_value, Value dest_value, bool strict_validation);
+ public bool value_validate (GLib.Value value);
[CCode (cname = "g_param_values_cmp")]
- public int values_cmp (Value value1, Value value2);
- public unowned string get_blurb ();
- public unowned string get_name ();
- public Quark get_name_quark ();
- public unowned string get_nick ();
- public void* get_qdata (Quark quark);
- public void set_qdata (Quark quark, void* data);
- public void set_qdata_full (Quark quark, void* data, DestroyNotify destroy);
- public void* steal_qdata (Quark quark);
- public ParamSpec get_redirect_target ();
+ public int values_cmp (GLib.Value value1, GLib.Value value2);
}
-
- public class ParamSpecBoolean : ParamSpec {
- [CCode (cname = "g_param_spec_boolean")]
- public ParamSpecBoolean (string name, string nick, string blurb, bool defaultvalue, ParamFlags flags);
+ public class ParamSpecBoolean : GLib.ParamSpec {
public bool default_value;
+ [CCode (cname = "g_param_spec_boolean")]
+ public ParamSpecBoolean (string name, string nick, string blurb, bool defaultvalue, GLib.ParamFlags flags);
}
-
- public class ParamSpecChar : ParamSpec {
- [CCode (cname = "g_param_spec_char")]
- public ParamSpecChar (string name, string nick, string blurb, int8 minimum, int8 maximum, int8 default_value, ParamFlags flags);
- public int8 minimum;
- public int8 maximum;
+ public class ParamSpecBoxed : GLib.ParamSpec {
+ [CCode (cname = "g_param_spec_boxed")]
+ protected ParamSpecBoxed (string name, string nick, string blurb, GLib.Type boxed_type, GLib.ParamFlags flags);
+ }
+ public class ParamSpecChar : GLib.ParamSpec {
public int8 default_value;
+ public int8 maximum;
+ public int8 minimum;
+ [CCode (cname = "g_param_spec_char")]
+ public ParamSpecChar (string name, string nick, string blurb, int8 minimum, int8 maximum, int8 default_value, GLib.ParamFlags flags);
}
-
- public class ParamSpecUChar : ParamSpec {
- [CCode (cname = "g_param_spec_uchar")]
- public ParamSpecUChar (string name, string nick, string blurb, uint8 minimum, uint8 maximum, uint8 default_value, ParamFlags flags);
- public uint8 minimum;
- public uint8 maximum;
- public uint8 default_value;
+ public class ParamSpecDouble : GLib.ParamSpec {
+ public double default_value;
+ public double maximum;
+ public double minimum;
+ [CCode (cname = "g_param_spec_double")]
+ public ParamSpecDouble (string name, string nick, string blurb, double minimum, double maximum, double default_value, GLib.ParamFlags flags);
}
-
- public class ParamSpecInt : ParamSpec {
- [CCode (cname = "g_param_spec_int")]
- public ParamSpecInt (string name, string nick, string blurb, int minimum, int maximum, int default_value, ParamFlags flags);
- public int minimum;
- public int maximum;
+ public class ParamSpecEnum : GLib.ParamSpec {
public int default_value;
+ public weak GLib.EnumClass enum_class;
+ [CCode (cname = "g_param_spec_enum")]
+ public ParamSpecEnum (string name, string nick, string blurb, GLib.Type enum_type, int default_value, GLib.ParamFlags flags);
}
-
- public class ParamSpecUInt : ParamSpec {
- [CCode (cname = "g_param_spec_uint")]
- public ParamSpecUInt (string name, string nick, string blurb, uint minimum, uint maximum, uint default_value, ParamFlags flags);
- public uint minimum;
- public uint maximum;
+ public class ParamSpecFlags : GLib.ParamSpec {
public uint default_value;
+ public weak GLib.FlagsClass flags_class;
+ [CCode (cname = "g_param_spec_flags")]
+ public ParamSpecFlags (string name, string nick, string blurb, GLib.Type flags_type, uint default_value, GLib.ParamFlags flags);
}
-
- public class ParamSpecLong : ParamSpec {
- [CCode (cname = "g_param_spec_long")]
- public ParamSpecLong (string name, string nick, string blurb, long minimum, long maximum, long default_value, ParamFlags flags);
- public long minimum;
- public long maximum;
- public long default_value;
+ public class ParamSpecFloat : GLib.ParamSpec {
+ public float default_value;
+ public float maximum;
+ public float minimum;
+ [CCode (cname = "g_param_spec_float")]
+ public ParamSpecFloat (string name, string nick, string blurb, float minimum, float maximum, float default_value, GLib.ParamFlags flags);
}
-
- public class ParamSpecULong : ParamSpec {
- [CCode (cname = "g_param_spec_ulong")]
- public ParamSpecULong (string name, string nick, string blurb, ulong minimum, ulong maximum, ulong default_value, ParamFlags flags);
- public ulong minimum;
- public ulong maximum;
- public ulong default_value;
+ public class ParamSpecInt : GLib.ParamSpec {
+ public int default_value;
+ public int maximum;
+ public int minimum;
+ [CCode (cname = "g_param_spec_int")]
+ public ParamSpecInt (string name, string nick, string blurb, int minimum, int maximum, int default_value, GLib.ParamFlags flags);
}
-
- public class ParamSpecInt64 : ParamSpec {
- [CCode (cname = "g_param_spec_int64")]
- public ParamSpecInt64 (string name, string nick, string blurb, int64 minimum, int64 maximum, int64 default_value, ParamFlags flags);
- public int64 minimum;
- public int64 maximum;
+ public class ParamSpecInt64 : GLib.ParamSpec {
public int64 default_value;
+ public int64 maximum;
+ public int64 minimum;
+ [CCode (cname = "g_param_spec_int64")]
+ public ParamSpecInt64 (string name, string nick, string blurb, int64 minimum, int64 maximum, int64 default_value, GLib.ParamFlags flags);
}
-
- public class ParamSpecUInt64 : ParamSpec {
- [CCode (cname = "g_param_spec_uint64")]
- public ParamSpecUInt64 (string name, string nick, string blurb, uint64 minimum, uint64 maximum, uint64 default_value, ParamFlags flags);
- public uint64 minimum;
- public uint64 maximum;
- public uint64 default_value;
- }
-
- public class ParamSpecFloat : ParamSpec {
- [CCode (cname = "g_param_spec_float")]
- public ParamSpecFloat (string name, string nick, string blurb, float minimum, float maximum, float default_value, ParamFlags flags);
- public float minimum;
- public float maximum;
- public float default_value;
- }
-
- public class ParamSpecDouble : ParamSpec {
- [CCode (cname = "g_param_spec_double")]
- public ParamSpecDouble (string name, string nick, string blurb, double minimum, double maximum, double default_value, ParamFlags flags);
- public double minimum;
- public double maximum;
- public double default_value;
- }
-
- public class ParamSpecEnum : ParamSpec {
- [CCode (cname = "g_param_spec_enum")]
- public ParamSpecEnum (string name, string nick, string blurb, Type enum_type, int default_value, ParamFlags flags);
- public unowned EnumClass enum_class;
- public int default_value;
+ public class ParamSpecLong : GLib.ParamSpec {
+ public long default_value;
+ public long maximum;
+ public long minimum;
+ [CCode (cname = "g_param_spec_long")]
+ public ParamSpecLong (string name, string nick, string blurb, long minimum, long maximum, long default_value, GLib.ParamFlags flags);
}
-
- public class ParamSpecFlags : ParamSpec {
- [CCode (cname = "g_param_spec_flags")]
- public ParamSpecFlags (string name, string nick, string blurb, Type flags_type, uint default_value, ParamFlags flags);
- public unowned FlagsClass flags_class;
- public uint default_value;
+ public class ParamSpecParam : GLib.ParamSpec {
+ [CCode (cname = "g_param_spec_param")]
+ public ParamSpecParam (string name, string nick, string blurb, GLib.Type param_type, GLib.ParamFlags flags);
}
-
- public class ParamSpecString : ParamSpec {
- [CCode (cname = "g_param_spec_string")]
- public ParamSpecString (string name, string nick, string blurb, string default_value, ParamFlags flags);
- public string default_value;
+ public class ParamSpecString : GLib.ParamSpec {
public string cset_first;
public string cset_nth;
- public char substitutor;
- public uint null_fold_if_empty;
+ public string default_value;
public uint ensure_non_null;
+ public uint null_fold_if_empty;
+ public char substitutor;
+ [CCode (cname = "g_param_spec_string")]
+ public ParamSpecString (string name, string nick, string blurb, string default_value, GLib.ParamFlags flags);
}
-
- public class ParamSpecParam : ParamSpec {
- [CCode (cname = "g_param_spec_param")]
- public ParamSpecParam (string name, string nick, string blurb, Type param_type, ParamFlags flags);
- }
-
- [CCode (cprefix = "G_PARAM_", has_type_id = false)]
- [Flags]
- public enum ParamFlags {
- READABLE,
- WRITABLE,
- CONSTRUCT,
- CONSTRUCT_ONLY,
- LAX_VALIDATION,
- STATIC_NAME,
- STATIC_NICK,
- STATIC_BLURB,
- READWRITE,
- STATIC_STRINGS,
- USER_SHIFT,
- EXPLICIT_NOTIFY,
- DEPRECATED,
- MASK
- }
-
- [CCode (lower_case_csuffix = "object_class")]
- public class ObjectClass : TypeClass {
- public unowned ParamSpec? find_property (string property_name);
- [CCode (array_length_type = "guint")]
-#if VALA_0_26
- public (unowned ParamSpec)[] list_properties ();
-#else
- public unowned ParamSpec[] list_properties ();
-#endif
- public void install_property (uint property_id, ParamSpec pspec);
- }
-
- public struct ObjectConstructParam {
+ public class ParamSpecUChar : GLib.ParamSpec {
+ public uint8 default_value;
+ public uint8 maximum;
+ public uint8 minimum;
+ [CCode (cname = "g_param_spec_uchar")]
+ public ParamSpecUChar (string name, string nick, string blurb, uint8 minimum, uint8 maximum, uint8 default_value, GLib.ParamFlags flags);
}
-
- [CCode (cprefix = "G_BINDING_")]
- [Flags]
- public enum BindingFlags {
- DEFAULT,
- BIDIRECTIONAL,
- SYNC_CREATE,
- INVERT_BOOLEAN
+ public class ParamSpecUInt : GLib.ParamSpec {
+ public uint default_value;
+ public uint maximum;
+ public uint minimum;
+ [CCode (cname = "g_param_spec_uint")]
+ public ParamSpecUInt (string name, string nick, string blurb, uint minimum, uint maximum, uint default_value, GLib.ParamFlags flags);
}
-
- public delegate bool BindingTransformFunc (GLib.Binding binding, GLib.Value source_value, ref GLib.Value target_value);
-
- public class Binding : GLib.Object {
- public weak GLib.Object source { get; }
- public string source_property { get; }
- public weak GLib.Object target { get; }
- public string target_property { get; }
- public GLib.BindingFlags flags { get; }
- [DestroysInstance]
- public void unbind ();
+ public class ParamSpecUInt64 : GLib.ParamSpec {
+ public uint64 default_value;
+ public uint64 maximum;
+ public uint64 minimum;
+ [CCode (cname = "g_param_spec_uint64")]
+ public ParamSpecUInt64 (string name, string nick, string blurb, uint64 minimum, uint64 maximum, uint64 default_value, GLib.ParamFlags flags);
}
-
- [CCode (has_target = false)]
- public delegate void ObjectGetPropertyFunc (Object object, uint property_id, Value value, ParamSpec pspec);
- [CCode (has_target = false)]
- public delegate void ObjectSetPropertyFunc (Object object, uint property_id, Value value, ParamSpec pspec);
- [CCode (instance_pos = 0)]
- public delegate void WeakNotify (Object object);
-
- [CCode (ref_function = "g_object_ref", unref_function = "g_object_unref", marshaller_type_name = "OBJECT", get_value_function = "g_value_get_object", set_value_function = "g_value_set_object", take_value_function = "g_value_take_object", param_spec_function = "g_param_spec_object", cheader_filename = "glib-object.h")]
- public class Object {
- public uint ref_count;
-
- [CCode (has_new_function = false, construct_function = "g_object_new")]
- public Object (...);
-
- public static Object @new (Type type, ...);
- public static Object newv (Type type, [CCode (array_length_pos = 1.9)] Parameter[] parameters);
- public static Object new_valist (Type type, string? firstprop, va_list var_args);
-
- [CCode (cname = "G_TYPE_FROM_INSTANCE")]
- public Type get_type ();
- [CCode (cname = "G_OBJECT_GET_CLASS")]
- public unowned ObjectClass get_class ();
- public unowned Object @ref ();
- public void unref ();
- public Object ref_sink ();
- public void weak_ref (WeakNotify notify);
- public void weak_unref (WeakNotify notify);
- public void add_weak_pointer (void **data);
- public void remove_weak_pointer (void **data);
- public void get (string first_property_name, ...);
- public void set (string first_property_name, ...);
- public void get_property (string property_name, ref Value value);
- public void set_property (string property_name, Value value);
- [CCode (simple_generics = true)]
- public unowned T get_data<T> (string key);
- [CCode (cname = "g_object_set_data_full", simple_generics = true)]
- public void set_data<T> (string key, owned T data);
- public void set_data_full (string key, void* data, DestroyNotify? destroy);
- [CCode (simple_generics = true)]
- public T steal_data<T> (string key);
- [CCode (simple_generics = true)]
- public unowned T get_qdata<T> (Quark quark);
- [CCode (cname = "g_object_set_qdata_full", simple_generics = true)]
- public void set_qdata<T> (Quark quark, owned T data);
- public void set_qdata_full (Quark quark, void* data, DestroyNotify? destroy);
- [CCode (simple_generics = true)]
- public T steal_qdata<T> (Quark quark);
- public void freeze_notify ();
- public void thaw_notify ();
- [CCode (cname = "g_object_run_dispose")]
- public virtual void dispose ();
- public virtual void constructed ();
-
- public signal void notify (ParamSpec pspec);
- [CCode (cname = "g_object_notify")]
- public void notify_property (string property_name);
-
- public unowned Object connect (string signal_spec, ...);
- [CCode (cname = "g_signal_handler_disconnect")]
- public void disconnect (ulong handler_id);
-
- public void add_toggle_ref (ToggleNotify notify);
- public void remove_toggle_ref (ToggleNotify notify);
-
- [CCode (cname = "g_object_bind_property_with_closures")]
- public unowned GLib.Binding bind_property (string source_property, GLib.Object target, string target_property, GLib.BindingFlags flags = GLib.BindingFlags.DEFAULT, [CCode (type = "GClosure*")] owned GLib.BindingTransformFunc? transform_to = null, [CCode (type = "GClosure*")] owned GLib.BindingTransformFunc? transform_from = null);
+ public class ParamSpecULong : GLib.ParamSpec {
+ public ulong default_value;
+ public ulong maximum;
+ public ulong minimum;
+ [CCode (cname = "g_param_spec_ulong")]
+ public ParamSpecULong (string name, string nick, string blurb, ulong minimum, ulong maximum, ulong default_value, GLib.ParamFlags flags);
}
-
- [CCode (destroy_function = "g_weak_ref_clear", lvalue_access = false)]
- public struct WeakRef {
- public WeakRef (GLib.Object? object);
- public GLib.Object? get ();
- public void set (GLib.Object? object);
+ [Version (since = "2.26")]
+ public class ParamSpecVariant : GLib.ParamSpec {
+ [CCode (cname = "g_param_spec_variant")]
+ public ParamSpecVariant (string name, string nick, string blurb, GLib.VariantType type, GLib.Variant? default_value, GLib.ParamFlags flags);
}
-
- [CCode (instance_pos = 0)]
- public delegate void ToggleNotify (GLib.Object object, bool is_last_ref);
-
- [CCode (has_copy_function = false, has_destroy_function = false)]
- public struct Parameter {
- public unowned string name;
- public Value value;
+ [CCode (free_function = "g_type_class_unref")]
+ [Compact]
+ public class TypeClass {
+ [CCode (cname = "G_TYPE_FROM_CLASS")]
+ public GLib.Type get_type ();
}
-
- [CCode (ref_sink_function = "g_object_ref_sink")]
- public class InitiallyUnowned : Object {
+ [CCode (lower_case_csuffix = "type_module")]
+ public class TypeModule : GLib.Object, GLib.TypePlugin {
[CCode (has_construct_function = false)]
- protected InitiallyUnowned ();
+ protected TypeModule ();
+ [NoWrapper]
+ public virtual bool load ();
+ public void set_name (string name);
+ [NoWrapper]
+ public virtual void unload ();
+ public void unuse ();
+ public bool use ();
}
-
- [CCode (lower_case_csuffix = "enum")]
- public class EnumClass : TypeClass {
- public unowned EnumValue? get_value (int value);
- public unowned EnumValue? get_value_by_name (string name);
- public unowned EnumValue? get_value_by_nick (string name);
- public int minimum;
- public int maximum;
+ [CCode (copy_function = "g_value_array_copy", free_function = "g_value_array_free", type_id = "G_TYPE_VALUE_ARRAY")]
+ [Compact]
+ public class ValueArray {
public uint n_values;
- [CCode (array_length_cname = "n_values")]
- public unowned EnumValue[] values;
+ [CCode (array_length_cname = "n_values", array_length_type = "guint")]
+ public GLib.Value[] values;
+ public ValueArray (uint n_prealloced);
+ public void append (GLib.Value value);
+ public GLib.ValueArray copy ();
+ public unowned GLib.Value? get_nth (uint index_);
+ public void insert (uint index_, GLib.Value value);
+ public void prepend (GLib.Value value);
+ public void remove (uint index_);
+ public void sort (GLib.CompareFunc compare_func);
+ public void sort_with_data (GLib.CompareDataFunc compare_func);
+ }
+ public interface TypePlugin {
}
-
[CCode (has_type_id = false)]
public struct EnumValue {
public int value;
- public unowned string value_name;
- public unowned string value_nick;
+ public weak string value_name;
+ public weak string value_nick;
}
-
- [CCode (lower_case_csuffix = "flags")]
- public class FlagsClass : TypeClass {
- public unowned FlagsValue? get_first_value (uint value);
- public unowned FlagsValue? get_value_by_name (string name);
- public unowned FlagsValue? get_value_by_nick (string name);
- public uint mask;
- public uint n_values;
- [CCode (array_length_cname = "n_values")]
- public FlagsValue[] values;
+ public struct ObjectConstructParam {
}
-
- [Compact]
- public class FlagsValue {
- public int value;
- public unowned string value_name;
- public unowned string value_nick;
+ [CCode (has_copy_function = false, has_destroy_function = false)]
+ public struct Parameter {
+ public weak string name;
+ public GLib.Value value;
}
-
- [CCode (has_target = false)]
- public delegate void ValueTransform (Value src_value, ref Value dest_value);
-
- [CCode (has_target = false)]
- public delegate void* BoxedCopyFunc (void* boxed);
- [CCode (has_target = false)]
- public delegate void* BoxedFreeFunc (void* boxed);
-
- [CCode (copy_function = "g_value_copy", destroy_function = "g_value_unset", type_id = "G_TYPE_VALUE", marshaller_type_name = "BOXED", get_value_function = "g_value_get_boxed", set_value_function = "g_value_set_boxed", take_value_function = "g_value_take_boxed", type_signature = "v")]
+ public struct SignalInvocationHint {
+ public uint signal_id;
+ public GLib.Quark detail;
+ public GLib.SignalFlags run_type;
+ }
+ public struct SignalQuery {
+ public uint signal_id;
+ public weak string signal_name;
+ public GLib.Type itype;
+ public GLib.SignalFlags signal_flags;
+ public GLib.Type return_type;
+ public uint n_params;
+ [CCode (array_length = false)]
+ public weak GLib.Type[] param_types;
+ }
+ [CCode (get_value_function = "g_value_get_gtype", marshaller_type_name = "GTYPE", set_value_function = "g_value_set_gtype", type_id = "G_TYPE_GTYPE")]
+ public struct Type : ulong {
+ public const GLib.Type BOXED;
+ public const GLib.Type ENUM;
+ public const GLib.Type FLAGS;
+ public const GLib.Type INTERFACE;
+ public const GLib.Type INVALID;
+ public GLib.Type[] children ();
+ public unowned GLib.TypeClass class_peek ();
+ public GLib.TypeClass class_ref ();
+ public uint depth ();
+ [Version (since = "2.34")]
+ public void ensure ();
+ [CCode (cname = "G_TYPE_FROM_INSTANCE")]
+ public static GLib.Type from_instance (void* instance);
+ public static GLib.Type from_name (string name);
+ [Version (since = "2.44")]
+ public int get_instance_count ();
+ public void* get_qdata (GLib.Quark quark);
+ [Version (since = "2.36")]
+ public static uint get_type_registration_serial ();
+ [CCode (array_length_type = "guint")]
+ public GLib.Type[] interfaces ();
+ public bool is_a (GLib.Type is_a_type);
+ [CCode (cname = "G_TYPE_IS_ABSTRACT")]
+ public bool is_abstract ();
+ [CCode (cname = "G_TYPE_IS_CLASSED")]
+ public bool is_classed ();
+ [CCode (cname = "G_TYPE_IS_DEEP_DERIVABLE")]
+ public bool is_deep_derivable ();
+ [CCode (cname = "G_TYPE_IS_DERIVABLE")]
+ public bool is_derivable ();
+ [CCode (cname = "G_TYPE_IS_DERIVED")]
+ public bool is_derived ();
+ [CCode (cname = "G_TYPE_IS_ENUM")]
+ public bool is_enum ();
+ [CCode (cname = "G_TYPE_IS_FLAGS")]
+ public bool is_flags ();
+ [CCode (cname = "G_TYPE_IS_FUNDAMENTAL")]
+ public bool is_fundamental ();
+ [CCode (cname = "G_TYPE_IS_INSTANTIATABLE")]
+ public bool is_instantiatable ();
+ [CCode (cname = "G_TYPE_IS_INTERFACE")]
+ public bool is_interface ();
+ [CCode (cname = "G_TYPE_IS_OBJECT")]
+ public bool is_object ();
+ [CCode (cname = "G_TYPE_IS_VALUE_TYPE")]
+ public bool is_value_type ();
+ public unowned string name ();
+ public GLib.Type parent ();
+ public GLib.Quark qname ();
+ public void query (out GLib.TypeQuery query);
+ public void set_qdata (GLib.Quark quark, void* data);
+ }
+ public struct TypeQuery {
+ public GLib.Type type;
+ public weak string type_name;
+ public uint class_size;
+ public uint instance_size;
+ }
+ [CCode (copy_function = "g_value_copy", destroy_function = "g_value_unset", get_value_function = "g_value_get_boxed", marshaller_type_name = "BOXED", set_value_function = "g_value_set_boxed", take_value_function = "g_value_take_boxed", type_id = "G_TYPE_VALUE", type_signature = "v")]
public struct Value {
- [CCode (cname = "G_VALUE_HOLDS")]
- public bool holds (Type type);
- [CCode (cname = "G_VALUE_TYPE")]
- public Type type ();
- [CCode (cname = "G_VALUE_TYPE_NAME")]
- public unowned string type_name ();
-
- public Value (Type g_type);
- public void copy (ref Value dest_value);
- public unowned Value? reset ();
- public void init (Type g_type);
- public void init_from_instance (void* instance);
- public void unset ();
- public void set_instance (void* instance);
+ public Value (GLib.Type g_type);
+ public void copy (ref GLib.Value dest_value);
+ public void* dup_boxed ();
+ public GLib.Object dup_object ();
+ public string dup_string ();
+ [Version (since = "2.26")]
+ public GLib.Variant dup_variant ();
public bool fits_pointer ();
- public void* peek_pointer ();
- public static bool type_compatible (Type src_type, Type dest_type);
- public static bool type_transformable (Type src_type, Type dest_type);
- public bool transform (ref Value dest_value);
- [CCode (cname = "g_strdup_value_contents")]
- public string strdup_contents ();
- public static void register_transform_func (Type src_type, Type dest_type, ValueTransform transform);
- public void set_boolean (bool v_boolean);
public bool get_boolean ();
- public void set_char (char v_char);
+ public void* get_boxed ();
+ [Version (deprecated = true, deprecated_since = "2.32")]
public char get_char ();
- public void set_schar (int8 v_char);
+ public double get_double ();
+ public int get_enum ();
+ public uint get_flags ();
+ public float get_float ();
+ [Version (since = "2.12")]
+ public GLib.Type get_gtype ();
+ public int get_int ();
+ public int64 get_int64 ();
+ public long get_long ();
+ public unowned GLib.Object get_object ();
+ public GLib.ParamSpec get_param ();
+ public void* get_pointer ();
+ [Version (since = "2.32")]
public int8 get_schar ();
- public void set_uchar (uchar v_uchar);
+ public unowned string get_string ();
public uchar get_uchar ();
- public void set_int (int v_int);
- public int get_int ();
- public void set_uint (uint v_uint);
public uint get_uint ();
- public void set_long (long v_long);
- public long get_long ();
- public void set_ulong (ulong v_ulong);
- public ulong get_ulong ();
- public void set_int64 (int64 v_int64);
- public int64 get_int64 ();
- public void set_uint64 (uint64 v_uint64);
public uint64 get_uint64 ();
- public void set_float (float v_float);
- public float get_float ();
+ public ulong get_ulong ();
+ [Version (since = "2.26")]
+ public GLib.Variant get_variant ();
+ [CCode (cname = "G_VALUE_HOLDS")]
+ public bool holds (GLib.Type type);
+ public unowned GLib.Value? init (GLib.Type g_type);
+ [Version (since = "2.42")]
+ public void init_from_instance (void* instance);
+ public void param_take_ownership (out GLib.ParamSpec param);
+ public void* peek_pointer ();
+ public static void register_transform_func (GLib.Type src_type, GLib.Type dest_type, GLib.ValueTransform transform);
+ public unowned GLib.Value? reset ();
+ public void set_boolean (bool v_boolean);
+ public void set_boxed (void* v_boxed);
+ [Version (deprecated = true, deprecated_since = "2.32")]
+ public void set_char (char v_char);
public void set_double (double v_double);
- public double get_double ();
public void set_enum (int v_enum);
- public int get_enum ();
public void set_flags (uint v_flags);
- public uint get_flags ();
- public void set_string (string v_string);
+ public void set_float (float v_float);
+ [Version (since = "2.12")]
+ public void set_gtype (GLib.Type v_gtype);
+ public void set_instance (void* instance);
+ public void set_int (int v_int);
+ public void set_int64 (int64 v_int64);
+ public void set_long (long v_long);
+ public void set_object (GLib.Object v_object);
+ public void set_param (GLib.ParamSpec param);
+ public void set_pointer (void* v_pointer);
+ [Version (since = "2.32")]
+ public void set_schar (int8 v_char);
public void set_static_string (string v_string);
+ public void set_string (string v_string);
+ public void set_uchar (uchar v_uchar);
+ public void set_uint (uint v_uint);
+ public void set_uint64 (uint64 v_uint64);
+ public void set_ulong (ulong v_ulong);
+ [CCode (cname = "g_strdup_value_contents")]
+ public string strdup_contents ();
+ public void take_object (owned GLib.Object v_object);
+ public void take_param (owned GLib.ParamSpec param);
public void take_string (owned string v_string);
- public unowned string get_string ();
- public string dup_string ();
- public void set_pointer (void* v_pointer);
- public void* get_pointer ();
- public void set_boxed (void* v_boxed);
- public void* get_boxed ();
- public void* dup_boxed ();
- public void set_object (Object v_object);
- public void take_object (owned Object v_object);
- public unowned Object get_object ();
- public Object dup_object ();
- public void set_gtype (Type v_gtype);
- public Type get_gtype ();
- public void set_param(ParamSpec param);
- public ParamSpec get_param();
- public void take_param(out ParamSpec param);
- public void param_take_ownership(out ParamSpec param);
+ [Version (since = "2.26")]
+ public void take_variant (owned GLib.Variant? variant);
+ public bool transform (ref GLib.Value dest_value);
+ [CCode (cname = "G_VALUE_TYPE")]
+ public GLib.Type type ();
+ public static bool type_compatible (GLib.Type src_type, GLib.Type dest_type);
+ [CCode (cname = "G_VALUE_TYPE_NAME")]
+ public unowned string type_name ();
+ public static bool type_transformable (GLib.Type src_type, GLib.Type dest_type);
+ public void unset ();
}
-
- public struct SignalInvocationHint {
- public uint signal_id;
- public Quark detail;
- public SignalFlags run_type;
+ [CCode (destroy_function = "g_weak_ref_clear", lvalue_access = false)]
+ [Version (since = "2.32")]
+ public struct WeakRef {
+ public WeakRef (GLib.Object? object);
+ public GLib.Object? @get ();
+ public void @set (GLib.Object? object);
+ }
+ [CCode (cprefix = "G_BINDING_")]
+ [Flags]
+ [Version (since = "2.26")]
+ public enum BindingFlags {
+ DEFAULT,
+ BIDIRECTIONAL,
+ SYNC_CREATE,
+ INVERT_BOOLEAN
+ }
+ [CCode (cprefix = "G_CONNECT_", has_type_id = false)]
+ [Flags]
+ public enum ConnectFlags {
+ AFTER,
+ SWAPPED
+ }
+ [CCode (cprefix = "G_PARAM_", has_type_id = false)]
+ [Flags]
+ public enum ParamFlags {
+ READABLE,
+ WRITABLE,
+ CONSTRUCT,
+ CONSTRUCT_ONLY,
+ LAX_VALIDATION,
+ STATIC_NAME,
+ STATIC_NICK,
+ STATIC_BLURB,
+ READWRITE,
+ STATIC_STRINGS,
+ USER_SHIFT,
+ [Version (since = "2.42")]
+ EXPLICIT_NOTIFY,
+ [Version (since = "2.26")]
+ DEPRECATED,
+ MASK
}
-
- public delegate bool SignalEmissionHook (SignalInvocationHint ihint, [CCode (array_length_pos = 1.9)] Value[] param_values);
-
[CCode (cprefix = "G_SIGNAL_", has_type_id = false)]
[Flags]
public enum SignalFlags {
@@ -556,116 +622,6 @@ namespace GLib {
MUST_COLLECT,
DEPRECATED
}
-
- [CCode (cprefix = "G_CONNECT_", has_type_id = false)]
- [Flags]
- public enum ConnectFlags {
- AFTER,
- SWAPPED
- }
-
- [CCode (has_target = false)]
- public delegate void Callback ();
-
- [Compact]
- [CCode (ref_function = "g_closure_ref", unref_function = "g_closure_unref", type_id = "G_TYPE_CLOSURE")]
- public class Closure {
- public void sink ();
- public void invoke (out Value? return_value, [CCode (array_length_pos = 1.9)] Value[] param_values, void *invocation_hint);
- public void invalidate ();
- public void add_finalize_notifier (void *notify_data, ClosureNotify notify_func);
- public void add_invalidate_notifier (void *notify_data, ClosureNotify notify_func);
- public void remove_finalize_notifier (void *notify_data, ClosureNotify notify_func);
- public void remove_invalidate_notifier (void *notify_data, ClosureNotify notify_func);
- [CCode (cname = "g_closure_new_object")]
- public Closure (ulong sizeof_closure, Object object);
- public void set_marshal (ClosureMarshal marshal);
- public void add_marshal_guards (void *pre_marshal_data, ClosureNotify pre_marshal_notify, void *post_marshal_data, ClosureNotify post_marshal_notify);
- public void set_meta_marshal (void *marshal_data, ClosureMarshal meta_marshal);
- [CCode (cname = "sizeof(GClosure)")]
- public static size_t SIZE;
- }
-
- [CCode (has_target = false)]
- public delegate void ClosureNotify (void* data, Closure closure);
-
- [CCode (instance_pos = 0, has_target = false)]
- public delegate void ClosureMarshal (Closure closure, out Value return_value, [CCode (array_length_pos = 2.9)] Value[] param_values, void *invocation_hint, void *marshal_data);
-
- [Compact]
- [CCode (type_id = "G_TYPE_VALUE_ARRAY", copy_function = "g_value_array_copy", free_function = "g_value_array_free")]
- public class ValueArray {
- public uint n_values;
- [CCode (array_length_cname = "n_values", array_length_type = "guint")]
- public Value[] values;
- public ValueArray (uint n_prealloced);
- public ValueArray copy ();
- public unowned Value? get_nth (uint index_);
- public void append (Value value);
- public void prepend (Value value);
- public void insert (uint index_, Value value);
- public void remove (uint index_);
- public void sort (CompareFunc compare_func);
- public void sort_with_data (CompareDataFunc compare_func);
- }
-
- namespace Signal {
- public static void query (uint signal_id, out SignalQuery query);
- public static uint lookup (string name, Type itype);
- public static unowned string name (uint signal_id);
- public static uint[] list_ids (Type itype);
- public static void emit (void* instance, uint signal_id, Quark detail, ...);
- public static void emit_by_name (void* instance, string detailed_signal, ...);
- public static ulong connect (void* instance, string detailed_signal, Callback handler, void* data);
- public static ulong connect_after (void* instance, string detailed_signal, Callback handler, void* data);
- public static ulong connect_swapped (void* instance, string detailed_signal, Callback handler, void* data);
- public static ulong connect_object (void* instance, string detailed_signal, Callback handler, Object gobject, ConnectFlags flags);
- public static ulong connect_data (void* instance, string detailed_signal, Callback handler, void* data, ClosureNotify destroy_data, ConnectFlags flags);
- public static ulong connect_closure (void* instance, string detailed_signal, Closure closure, bool after);
- public static ulong connect_closure_by_id (void* instance, uint signal_id, Quark detail, Closure closure, bool after);
- public static bool has_handler_pending (void* instance, uint signal_id, Quark detail, bool may_be_blocked);
- public static void stop_emission (void* instance, uint signal_id, Quark detail);
- public static void stop_emission_by_name (void* instance, string detailed_signal);
- public static void override_class_closure (uint signal_id, Type instance_type, Closure class_closure);
- public static void chain_from_overridden ([CCode (array_length = false)] Value[] instance_and_params, out Value return_value);
- public static ulong add_emission_hook (uint signal_id, Quark detail, SignalEmissionHook hook_func, DestroyNotify? data_destroy);
- public static void remove_emission_hook (uint signal_id, ulong hook_id);
- public static bool parse_name (string detailed_signal, Type itype, out uint signal_id, out Quark detail, bool force_detail_quark);
- public static unowned SignalInvocationHint? get_invocation_hint (void* instance);
- }
-
- namespace SignalHandler {
- public static void block (void* instance, ulong handler_id);
- public static void unblock (void* instance, ulong handler_id);
- public static void disconnect (void* instance, ulong handler_id);
- public static ulong find (void* instance, SignalMatchType mask, uint signal_id, Quark detail, Closure? closure, void* func, void* data);
- public static bool is_connected (void* instance, ulong handler_id);
-
- [CCode (cname = "g_signal_handlers_block_matched")]
- public static uint block_matched (void* instance, SignalMatchType mask, uint signal_id, Quark detail, Closure? closure, void* func, void* data);
- [CCode (cname = "g_signal_handlers_unblock_matched")]
- public static uint unblock_matched (void* instance, SignalMatchType mask, uint signal_id, Quark detail, Closure? closure, void* func, void* data);
- [CCode (cname = "g_signal_handlers_disconnect_matched")]
- public static uint disconnect_matched (void* instance, SignalMatchType mask, uint signal_id, Quark detail, Closure? closure, void* func, void* data);
- [CCode (cname = "g_signal_handlers_block_by_func")]
- public static uint block_by_func (void* instance, void* func, void* data);
- [CCode (cname = "g_signal_handlers_unblock_by_func")]
- public static uint unblock_by_func (void* instance, void* func, void* data);
- [CCode (cname = "g_signal_handlers_disconnect_by_func")]
- public static uint disconnect_by_func (void* instance, void* func, void* data);
- }
-
- public struct SignalQuery {
- public uint signal_id;
- public unowned string signal_name;
- public Type itype;
- public SignalFlags signal_flags;
- public Type return_type;
- public uint n_params;
- [CCode (array_length = false)]
- public unowned Type[] param_types;
- }
-
[CCode (cprefix = "G_SIGNAL_MATCH_", has_type_id = false)]
public enum SignalMatchType {
ID,
@@ -675,4 +631,51 @@ namespace GLib {
DATA,
UNBLOCKED
}
+ [CCode (cprefix = "G_TYPE_DEBUG_", has_type_id = false)]
+ [Flags]
+ [Version (deprecated = true, deprecated_since = "2.36")]
+ public enum TypeDebugFlags {
+ NONE,
+ OBJECTS,
+ SIGNALS,
+ INSTANCE_COUNT,
+ MASK
+ }
+ [CCode (cprefix = "G_TYPE_FLAG_", has_type_id = false)]
+ [Flags]
+ public enum TypeFlags {
+ ABSTRACT,
+ VALUE_ABSTRACT
+ }
+ [CCode (cprefix = "G_TYPE_FLAG_", has_type_id = false)]
+ [Flags]
+ public enum TypeFundamentalFlags {
+ CLASSED,
+ INSTANTIATABLE,
+ DERIVABLE,
+ DEEP_DERIVABLE
+ }
+ [Version (since = "2.26")]
+ public delegate bool BindingTransformFunc (GLib.Binding binding, GLib.Value source_value, ref GLib.Value target_value);
+ [CCode (has_target = false)]
+ public delegate void* BoxedCopyFunc (void* boxed);
+ [CCode (has_target = false)]
+ public delegate void BoxedFreeFunc (void* boxed);
+ [CCode (has_target = false)]
+ public delegate void Callback ();
+ [CCode (has_target = false, instance_pos = 0)]
+ public delegate void ClosureMarshal (GLib.Closure closure, out GLib.Value return_value, [CCode (array_length_pos = 2.9)] GLib.Value[] param_values, void* invocation_hint, void* marshal_data);
+ [CCode (has_target = false)]
+ public delegate void ClosureNotify (void* data, GLib.Closure closure);
+ [CCode (has_target = false)]
+ public delegate void ObjectGetPropertyFunc (GLib.Object object, uint property_id, GLib.Value value, GLib.ParamSpec pspec);
+ [CCode (has_target = false)]
+ public delegate void ObjectSetPropertyFunc (GLib.Object object, uint property_id, GLib.Value value, GLib.ParamSpec pspec);
+ public delegate bool SignalEmissionHook (GLib.SignalInvocationHint ihint, [CCode (array_length_pos = 1.9)] GLib.Value[] param_values);
+ [CCode (instance_pos = 0)]
+ public delegate void ToggleNotify (GLib.Object object, bool is_last_ref);
+ [CCode (has_target = false)]
+ public delegate void ValueTransform (GLib.Value src_value, ref GLib.Value dest_value);
+ [CCode (instance_pos = 0)]
+ public delegate void WeakNotify (GLib.Object object);
}
diff --git a/vapi/gobject-introspection-1.0.vapi b/vapi/gobject-introspection-1.0.vapi
index e65027a3c..7c54b4604 100644
--- a/vapi/gobject-introspection-1.0.vapi
+++ b/vapi/gobject-introspection-1.0.vapi
@@ -15,6 +15,7 @@ namespace GI {
public static bool is_caller_allocates (GI.ArgInfo info);
public static bool is_optional (GI.ArgInfo info);
public static bool is_return_value (GI.ArgInfo info);
+ [Version (since = "1.29.0")]
public static bool is_skip (GI.ArgInfo info);
public static void load_type (GI.ArgInfo info, out unowned GI.TypeInfo type);
public static bool may_be_null (GI.ArgInfo info);
@@ -45,6 +46,7 @@ namespace GI {
public class CallableInfo : GI.BaseInfo {
[CCode (has_construct_function = false)]
protected CallableInfo ();
+ [Version (since = "1.34")]
public static bool can_throw_gerror (GI.CallableInfo info);
public static GI.ArgInfo get_arg (GI.CallableInfo info, int n);
public static GI.Transfer get_caller_owns (GI.CallableInfo info);
@@ -53,6 +55,7 @@ namespace GI {
public static unowned string get_return_attribute (GI.CallableInfo info, string name);
public static GI.TypeInfo get_return_type (GI.CallableInfo info);
public static bool invoke (GI.CallableInfo info, void* function, GI.Argument in_args, int n_in_args, GI.Argument out_args, int n_out_args, GI.Argument return_value, bool is_method, bool @throws) throws GLib.Error;
+ [Version (since = "1.34")]
public static bool is_method (GI.CallableInfo info);
public static bool iterate_return_attributes (GI.CallableInfo info, GI.AttributeIter iterator, out unowned string name, out unowned string value);
public static void load_arg (GI.CallableInfo info, int n, out unowned GI.ArgInfo arg);
@@ -75,8 +78,11 @@ namespace GI {
public class EnumInfo : GI.BaseInfo {
[CCode (has_construct_function = false)]
protected EnumInfo ();
+ [Version (since = "1.29.17")]
public static unowned string get_error_domain (GI.EnumInfo info);
+ [Version (since = "1.29.17")]
public static GI.FunctionInfo get_method (GI.EnumInfo info, int n);
+ [Version (since = "1.29.17")]
public static int get_n_methods (GI.EnumInfo info);
public static int get_n_values (GI.EnumInfo info);
public static GI.TypeTag get_storage_type (GI.EnumInfo info);
@@ -105,6 +111,7 @@ namespace GI {
[CCode (has_construct_function = false)]
protected InterfaceInfo ();
public static GI.FunctionInfo find_method (GI.InterfaceInfo info, string name);
+ [Version (since = "1.34")]
public static GI.SignalInfo find_signal (GI.InterfaceInfo info, string name);
public static GI.VFuncInfo find_vfunc (GI.InterfaceInfo info, string name);
public static GI.ConstantInfo get_constant (GI.InterfaceInfo info, int n);
@@ -178,6 +185,7 @@ namespace GI {
public static bool dump (string arg) throws GLib.Error;
public GLib.List<string> enumerate_versions (string namespace_);
public static GLib.Quark error_quark ();
+ [Version (since = "1.29.17")]
public GI.EnumInfo find_by_error_domain (GLib.Quark domain);
public GI.BaseInfo find_by_gtype (GLib.Type gtype);
public GI.BaseInfo find_by_name (string namespace_, string name);
@@ -186,6 +194,7 @@ namespace GI {
[CCode (array_length = false, array_null_terminated = true)]
public string[] get_dependencies (string namespace_);
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "1.44")]
public string[] get_immediate_dependencies (string namespace_);
public GI.BaseInfo get_info (string namespace_, int index);
[CCode (array_length = false, array_null_terminated = true)]
diff --git a/vapi/goocanvas.vapi b/vapi/goocanvas.vapi
index f688f4418..614cb45a6 100644
--- a/vapi/goocanvas.vapi
+++ b/vapi/goocanvas.vapi
@@ -1,7 +1,7 @@
/* goocanvas.vapi generated by vapigen, do not modify. */
[CCode (cprefix = "Goo", lower_case_cprefix = "goo_")]
-[Deprecated (replacement = "goocanvas-2.0")]
+[Version (replacement = "goocanvas-2.0")]
namespace Goo {
[CCode (cheader_filename = "goocanvas.h", copy_function = "goo_cairo_matrix_copy", type_id = "GOO_TYPE_CAIRO_MATRIX")]
[Compact]
diff --git a/vapi/gstreamer-0.10.vapi b/vapi/gstreamer-0.10.vapi
index eeff7721e..6163f5efa 100644
--- a/vapi/gstreamer-0.10.vapi
+++ b/vapi/gstreamer-0.10.vapi
@@ -47,7 +47,7 @@ namespace Gst {
[NoWrapper]
public virtual bool add_element (Gst.Element element);
public void add_many (params Gst.Element[] elements);
- [Deprecated (replacement = "Gst.Bin.find_unlinked_pad")]
+ [Version (replacement = "Gst.Bin.find_unlinked_pad")]
public Gst.Pad? find_unconnected_pad (Gst.PadDirection direction);
public Gst.Pad? find_unlinked_pad (Gst.PadDirection direction);
public Gst.Element? get_by_interface (GLib.Type iface);
@@ -122,7 +122,7 @@ namespace Gst {
public static void replace (ref Gst.Buffer? oldobj, Gst.Buffer? newobj);
public void set_caps (Gst.Caps caps);
public Gst.Buffer span (uint32 offset, Gst.Buffer buf2, uint32 len);
- [Deprecated (replacement = "Gst.Buffer.copy_metadata")]
+ [Version (replacement = "Gst.Buffer.copy_metadata")]
public void stamp (Gst.Buffer src);
[CCode (cname = "GST_BUFFER_TIMESTAMP_IS_VALID")]
public bool timestamp_is_valid ();
@@ -246,7 +246,7 @@ namespace Gst {
public abstract class Clock : Gst.Object {
public weak Gst.ClockID clockid;
public weak GLib.List<Gst.ClockEntry> entries;
- public weak GLib.Cond entries_changed;
+ public GLib.Cond entries_changed;
public Gst.ClockTime external_calibration;
public bool filling;
public Gst.ClockTime internal_calibration;
@@ -255,7 +255,7 @@ namespace Gst {
public Gst.ClockTime rate_denominator;
public Gst.ClockTime rate_numerator;
public Gst.ClockTime resolution;
- public weak GLib.Mutex slave_lock;
+ public GLib.Mutex slave_lock;
public int time_index;
[CCode (array_length = false)]
public weak Gst.ClockTime[] times;
@@ -405,7 +405,7 @@ namespace Gst {
public Gst.State pending_state;
public weak GLib.List<Gst.Pad> sinkpads;
public weak GLib.List<Gst.Pad> srcpads;
- public weak GLib.Cond state_cond;
+ public GLib.Cond state_cond;
public uint32 state_cookie;
public GLib.StaticRecMutex state_lock;
[CCode (cname = "abidata.ABI.target_state")]
@@ -428,7 +428,7 @@ namespace Gst {
public unowned Gst.PadTemplate? get_compatible_pad_template (Gst.PadTemplate compattempl);
public unowned Gst.ElementFactory? get_factory ();
public virtual Gst.Index? get_index ();
- [Deprecated]
+ [Version (deprecated = true)]
public Gst.Pad? get_pad (string name);
[CCode (cname = "gst_element_class_get_pad_template")]
public class unowned Gst.PadTemplate? get_pad_template (string name);
@@ -436,7 +436,7 @@ namespace Gst {
public class unowned GLib.List<Gst.PadTemplate> get_pad_template_list ();
[CCode (array_length = false)]
public virtual unowned Gst.QueryType[]? get_query_types ();
- [Deprecated (replacement = "Gst.Element.request_pad")]
+ [Version (replacement = "Gst.Element.request_pad")]
public Gst.Pad? get_request_pad (string name);
public Gst.ClockTime get_start_time ();
public virtual Gst.StateChangeReturn get_state (out Gst.State state, out Gst.State pending, Gst.ClockTime timeout);
@@ -485,7 +485,7 @@ namespace Gst {
public virtual void set_bus (Gst.Bus? bus);
public virtual bool set_clock (Gst.Clock? clock);
[CCode (cname = "gst_element_class_set_details")]
- [Deprecated (replacement = "Gst.Element.set_details_simple")]
+ [Version (replacement = "Gst.Element.set_details_simple")]
public class void set_details (Gst.ElementDetails details);
[CCode (cname = "gst_element_class_set_details_simple")]
public class void set_details_simple (string longname, string classification, string description, string author);
@@ -513,11 +513,11 @@ namespace Gst {
[CCode (has_construct_function = false)]
protected ElementFactory ();
public bool can_sink_all_caps (Gst.Caps caps);
- [Deprecated (replacement = "Gst.ElementFactory.can_sink_all_caps")]
+ [Version (replacement = "Gst.ElementFactory.can_sink_all_caps")]
public bool can_sink_any_caps (Gst.Caps caps);
public bool can_sink_caps (Gst.Caps caps);
public bool can_src_all_caps (Gst.Caps caps);
- [Deprecated (replacement = "Gst.ElementFactory.can_src_all_caps")]
+ [Version (replacement = "Gst.ElementFactory.can_src_all_caps")]
public bool can_src_any_caps (Gst.Caps caps);
public bool can_src_caps (Gst.Caps caps);
[CCode (returns_floating_reference = true)]
@@ -697,7 +697,7 @@ namespace Gst {
[Compact]
public class Iterator<T> {
public uint32 cookie;
- public weak GLib.Mutex @lock;
+ public GLib.Mutex @lock;
public void* master_cookie;
public weak Gst.Iterator pushed;
public GLib.Type type;
@@ -839,7 +839,7 @@ namespace Gst {
[CCode (cheader_filename = "gst/gst.h", ref_function = "gst_object_ref", ref_sink_function = "gst_object_ref_sink", unref_function = "gst_object_unref")]
public abstract class Object : GLib.Object {
public Gst.ObjectFlags flags;
- public weak GLib.Mutex @lock;
+ public GLib.Mutex @lock;
public weak string name_prefix;
public weak Gst.Object parent;
[CCode (has_construct_function = false)]
@@ -931,9 +931,9 @@ namespace Gst {
public Gst.PadDirection get_direction ();
public void* get_element_private ();
public Gst.Caps get_fixed_caps_func ();
- [Deprecated (replacement = "Gst.Pad.iterate_internal_links")]
+ [Version (replacement = "Gst.Pad.iterate_internal_links")]
public GLib.List<Gst.Pad> get_internal_links ();
- [Deprecated (replacement = "Gst.Pad.iterate_internal_links_default")]
+ [Version (replacement = "Gst.Pad.iterate_internal_links_default")]
public GLib.List<Gst.Pad> get_internal_links_default ();
public Gst.Caps get_negotiated_caps ();
public unowned Gst.PadTemplate get_pad_template ();
@@ -995,7 +995,7 @@ namespace Gst {
public void set_fixatecaps_function (Gst.PadFixateCapsFunction fixatecaps);
public void set_getcaps_function (Gst.PadGetCapsFunction getcaps);
public void set_getrange_function (Gst.PadGetRangeFunction @get);
- [Deprecated (replacement = "Gst.Pad.set_iterate_internal_links_function")]
+ [Version (replacement = "Gst.Pad.set_iterate_internal_links_function")]
public void set_internal_link_function (Gst.PadIntLinkFunction intlink);
public void set_iterate_internal_links_function (Gst.PadIterIntLinkFunction iterintlink);
public void set_link_function (Gst.PadLinkFunction link);
@@ -1064,12 +1064,12 @@ namespace Gst {
public Gst.Bus get_bus ();
public Gst.Clock? get_clock ();
public Gst.ClockTime get_delay ();
- [Deprecated (replacement = "Gst.Element.get_start_time")]
+ [Version (replacement = "Gst.Element.get_start_time")]
public Gst.ClockTime get_last_stream_time ();
public void set_auto_flush_bus (bool auto_flush);
public bool set_clock (Gst.Clock? clock);
public void set_delay (Gst.ClockTime delay);
- [Deprecated (replacement = "Gst.Element.set_start_time")]
+ [Version (replacement = "Gst.Element.set_start_time")]
public void set_new_stream_time (Gst.ClockTime time);
public void use_clock (Gst.Clock? clock);
public bool auto_flush_bus { get; set; }
@@ -1409,7 +1409,7 @@ namespace Gst {
[CCode (cheader_filename = "gst/gst.h")]
public class Task : Gst.Object {
public void* abidata;
- public weak GLib.Cond cond;
+ public GLib.Cond cond;
public void* data;
public weak Gst.TaskFunction func;
public GLib.StaticRecMutex @lock;
@@ -1523,21 +1523,21 @@ namespace Gst {
public void* ns;
public weak GLib.List<Gst.Element> topelements;
[CCode (has_construct_function = false)]
- [Deprecated]
+ [Version (deprecated = true)]
public XML ();
public unowned Gst.Element get_element (string name);
public unowned GLib.List<Gst.Element> get_topelements ();
- [Deprecated]
+ [Version (deprecated = true)]
public static unowned Gst.Element make_element (void* cur, Gst.Object parent);
[NoWrapper]
public virtual void object_saved (Gst.Object object, void* self);
public bool parse_doc (void* doc, string root);
public bool parse_file (string fname, string root);
- [Deprecated]
+ [Version (deprecated = true)]
public bool parse_memory (uchar[] buffer, uint size, string root);
- [Deprecated]
+ [Version (deprecated = true)]
public static void* write (Gst.Element element);
- [Deprecated]
+ [Version (deprecated = true)]
public static int write_file (Gst.Element element, GLib.FileStream @out);
public virtual signal void object_loaded (Gst.Object object, void* self);
}
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index f721f8471..5a0bb95eb 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -1,7 +1,7 @@
/* gstreamer-1.0.vapi generated by vapigen, do not modify. */
[CCode (cprefix = "Gst", gir_namespace = "Gst", gir_version = "1.0", lower_case_cprefix = "gst_")]
-[Experimental]
+[Version (experimental = true)]
namespace Gst {
namespace Debug {
[CCode (cheader_filename = "gst/gst.h", cname = "GST_DEBUG_BG_MASK")]
@@ -25,6 +25,7 @@ namespace Gst {
[CCode (cheader_filename = "gst/gst.h")]
public static GLib.SList<weak Gst.DebugCategory> get_all_categories ();
[CCode (cheader_filename = "gst/gst.h")]
+ [Version (since = "1.2")]
public static Gst.DebugColorMode get_color_mode ();
[CCode (cheader_filename = "gst/gst.h")]
public static Gst.DebugLevel get_default_threshold ();
@@ -50,8 +51,10 @@ namespace Gst {
[CCode (cheader_filename = "gst/gst.h")]
public static void set_active (bool active);
[CCode (cheader_filename = "gst/gst.h")]
+ [Version (since = "1.2")]
public static void set_color_mode (Gst.DebugColorMode mode);
[CCode (cheader_filename = "gst/gst.h")]
+ [Version (since = "1.2")]
public static void set_color_mode_from_string (string mode);
[CCode (cheader_filename = "gst/gst.h")]
public static void set_colored (bool colored);
@@ -60,6 +63,7 @@ namespace Gst {
[CCode (cheader_filename = "gst/gst.h")]
public static void set_threshold_for_name (string name, Gst.DebugLevel level);
[CCode (cheader_filename = "gst/gst.h")]
+ [Version (since = "1.2")]
public static void set_threshold_from_string (string list, bool reset);
[CCode (cheader_filename = "gst/gst.h")]
public static void unset_threshold_for_name (string name);
@@ -252,6 +256,7 @@ namespace Gst {
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_IMAGE_ORIENTATION")]
public const string IMAGE_ORIENTATION;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_INTERPRETED_BY")]
+ [Version (since = "1.2")]
public const string INTERPRETED_BY;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_ISRC")]
public const string ISRC;
@@ -272,6 +277,7 @@ namespace Gst {
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_MAXIMUM_BITRATE")]
public const string MAXIMUM_BITRATE;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_MIDI_BASE_NOTE")]
+ [Version (since = "1.4")]
public const string MIDI_BASE_NOTE;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_MINIMUM_BITRATE")]
public const string MINIMUM_BITRATE;
@@ -284,6 +290,7 @@ namespace Gst {
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_PREVIEW_IMAGE")]
public const string PREVIEW_IMAGE;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_PUBLISHER")]
+ [Version (since = "1.2")]
public const string PUBLISHER;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_REFERENCE_LEVEL")]
public const string REFERENCE_LEVEL;
@@ -346,6 +353,7 @@ namespace Gst {
[CCode (cheader_filename = "gst/gst.h")]
public static GLib.Quark error_quark ();
[CCode (cheader_filename = "gst/gst.h")]
+ [Version (since = "1.6")]
public static Gst.Uri? from_string (string uri);
[CCode (cheader_filename = "gst/gst.h")]
public static string get_location (string uri);
@@ -356,6 +364,7 @@ namespace Gst {
[CCode (cheader_filename = "gst/gst.h")]
public static bool is_valid (string uri);
[CCode (cheader_filename = "gst/gst.h")]
+ [Version (since = "1.6")]
public static string join_strings (string base_uri, string ref_uri);
[CCode (cheader_filename = "gst/gst.h")]
public static bool protocol_is_supported (Gst.URIType type, string protocol);
@@ -440,8 +449,10 @@ namespace Gst {
[CCode (cheader_filename = "gst/gst.h")]
public static double get_double_range_min (GLib.Value value);
[CCode (cheader_filename = "gst/gst.h")]
+ [Version (since = "1.6")]
public static uint get_flagset_flags (GLib.Value value);
[CCode (cheader_filename = "gst/gst.h")]
+ [Version (since = "1.6")]
public static uint get_flagset_mask (GLib.Value value);
[CCode (cheader_filename = "gst/gst.h")]
public static int get_fraction_denominator (GLib.Value value);
@@ -486,6 +497,7 @@ namespace Gst {
[CCode (cheader_filename = "gst/gst.h")]
public static void set_double_range (GLib.Value value, double start, double end);
[CCode (cheader_filename = "gst/gst.h")]
+ [Version (since = "1.6")]
public static void set_flagset (GLib.Value value, uint flags, uint mask);
[CCode (cheader_filename = "gst/gst.h")]
public static void set_fraction (GLib.Value value, int numerator, int denominator);
@@ -584,6 +596,7 @@ namespace Gst {
[NoWrapper]
public virtual bool remove_element (Gst.Element element);
public void remove_many (params Gst.Element[] elements);
+ [Version (since = "1.6")]
public bool sync_children_states ();
[NoAccessorMethod]
public bool async_handling { get; set; }
@@ -610,23 +623,28 @@ namespace Gst {
[CCode (has_construct_function = false)]
public Buffer ();
public unowned Gst.Meta? add_meta (Gst.MetaInfo info, void* @params);
+ [Version (since = "1.6")]
public unowned Gst.ParentBufferMeta? add_parent_buffer_meta (Gst.Buffer @ref);
+ [Version (since = "1.6")]
public unowned Gst.ProtectionMeta? add_protection_meta (owned Gst.Structure info);
[CCode (has_construct_function = false)]
public Buffer.allocate (Gst.Allocator? allocator, size_t size, Gst.AllocationParams? @params);
public Gst.Buffer append (owned Gst.Buffer buf2);
public void append_memory (owned Gst.Memory mem);
public Gst.Buffer append_region (owned Gst.Buffer buf2, ssize_t offset, ssize_t size);
+ [Version (since = "1.6")]
public Gst.Buffer copy_deep ();
[CCode (instance_pos = 1.9)]
public bool copy_into (Gst.Buffer dst, Gst.BufferCopyFlags flags, size_t offset, size_t size);
public Gst.Buffer copy_region (Gst.BufferCopyFlags flags, size_t offset, size_t size);
public size_t extract (size_t offset, void* dest, size_t size);
+ [Version (since = "1.0.10")]
public void extract_dup (size_t offset, size_t size, [CCode (array_length_cname = "dest_size", array_length_pos = 3.1, array_length_type = "gsize")] out uint8[] dest);
public size_t fill (size_t offset, [CCode (array_length_cname = "size", array_length_pos = 2.1, array_length_type = "gsize")] uint8[] src);
public bool find_memory (size_t offset, size_t size, out uint idx, out uint length, out size_t skip);
public bool foreach_meta (Gst.BufferForeachMetaFunc func);
public Gst.Memory get_all_memory ();
+ [Version (since = "1.2")]
public static uint get_max_memory ();
public Gst.Memory get_memory (uint idx);
public Gst.Memory get_memory_range (uint idx, int length);
@@ -635,7 +653,9 @@ namespace Gst {
public size_t get_sizes (out size_t offset, out size_t maxsize);
public size_t get_sizes_range (uint idx, int length, out size_t offset, out size_t maxsize);
public void insert_memory (int idx, owned Gst.Memory mem);
+ [Version (since = "1.4")]
public bool is_all_memory_writable ();
+ [Version (since = "1.4")]
public bool is_memory_range_writable (uint idx, int length);
public unowned Gst.Meta? iterate_meta (void* state);
public bool map (out Gst.MapInfo info, Gst.MapFlags flags);
@@ -666,6 +686,7 @@ namespace Gst {
public class BufferList : Gst.MiniObject {
[CCode (has_construct_function = false)]
public BufferList ();
+ [Version (since = "1.6")]
public Gst.BufferList copy_deep ();
public bool @foreach (Gst.BufferListFunc func);
public unowned Gst.Buffer? @get (uint idx);
@@ -691,6 +712,7 @@ namespace Gst {
public static uint config_n_options (Gst.Structure config);
public static void config_set_allocator (Gst.Structure config, Gst.Allocator? allocator, Gst.AllocationParams? @params);
public static void config_set_params (Gst.Structure config, Gst.Caps caps, uint size, uint min_buffers, uint max_buffers);
+ [Version (since = "1.4")]
public static bool config_validate_params (Gst.Structure config, Gst.Caps caps, uint size, uint min_buffers, uint max_buffers);
[NoWrapper]
public virtual void flush_start ();
@@ -708,6 +730,7 @@ namespace Gst {
public virtual void reset_buffer (Gst.Buffer buffer);
public bool set_active (bool active);
public virtual bool set_config (owned Gst.Structure config);
+ [Version (since = "1.4")]
public void set_flushing (bool flushing);
[NoWrapper]
public virtual bool start ();
@@ -733,6 +756,7 @@ namespace Gst {
public Gst.Message? pop_filtered (Gst.MessageType types);
public bool post (owned Gst.Message message);
public void remove_signal_watch ();
+ [Version (since = "1.6")]
public bool remove_watch ();
public void set_flushing (bool flushing);
public void set_sync_handler (owned Gst.BusSyncHandler? func);
@@ -750,6 +774,7 @@ namespace Gst {
public Caps.any ();
public void append (owned Gst.Caps caps2);
public void append_structure (owned Gst.Structure structure);
+ [Version (since = "1.2")]
public void append_structure_full (owned Gst.Structure structure, owned Gst.CapsFeatures? features = null);
public bool can_intersect (Gst.Caps caps2);
public Gst.Caps copy_nth (uint nth);
@@ -757,14 +782,17 @@ namespace Gst {
public Caps.empty ();
[CCode (has_construct_function = false)]
public Caps.empty_simple (string media_type);
+ [Version (since = "1.6")]
public void filter_and_map_in_place (Gst.CapsFilterMapFunc func);
public Gst.Caps fixate ();
+ [Version (since = "1.6")]
public bool @foreach (Gst.CapsForeachFunc func);
public static Gst.Caps from_string (string string);
[CCode (has_construct_function = false)]
public Caps.full (params Gst.Structure[] structure);
[CCode (has_construct_function = false)]
public Caps.full_valist (Gst.Structure structure, va_list var_args);
+ [Version (since = "1.2")]
public unowned Gst.CapsFeatures get_features (uint index);
public uint get_size ();
public unowned Gst.Structure get_structure (uint index);
@@ -779,13 +807,17 @@ namespace Gst {
public bool is_strictly_equal (Gst.Caps caps2);
public bool is_subset (Gst.Caps superset);
public bool is_subset_structure (Gst.Structure structure);
+ [Version (since = "1.2")]
public bool is_subset_structure_full (Gst.Structure structure, Gst.CapsFeatures? features);
+ [Version (since = "1.6")]
public bool map_in_place (Gst.CapsMapFunc func);
public Gst.Caps merge (owned Gst.Caps caps2);
public Gst.Caps merge_structure (owned Gst.Structure structure);
+ [Version (since = "1.2")]
public Gst.Caps merge_structure_full (owned Gst.Structure structure, owned Gst.CapsFeatures? features);
public Gst.Caps normalize ();
public void remove_structure (uint idx);
+ [Version (since = "1.2")]
public void set_features (uint index, owned Gst.CapsFeatures? features);
public void set_simple (string field, ...);
public void set_simple_valist (string field, va_list varargs);
@@ -802,32 +834,53 @@ namespace Gst {
[Compact]
public class CapsFeatures {
[CCode (has_construct_function = false)]
+ [Version (since = "1.2")]
public CapsFeatures (string feature1, ...);
+ [Version (since = "1.2")]
public void add (string feature);
+ [Version (since = "1.2")]
public void add_id (GLib.Quark feature);
[CCode (has_construct_function = false)]
+ [Version (since = "1.2")]
public CapsFeatures.any ();
+ [Version (since = "1.2")]
public bool contains (string feature);
+ [Version (since = "1.2")]
public bool contains_id (GLib.Quark feature);
+ [Version (since = "1.2")]
public Gst.CapsFeatures copy ();
[CCode (has_construct_function = false)]
+ [Version (since = "1.2")]
public CapsFeatures.empty ();
+ [Version (since = "1.2")]
public void free ();
+ [Version (since = "1.2")]
public static Gst.CapsFeatures? from_string (string features);
+ [Version (since = "1.2")]
public unowned string get_nth (uint i);
+ [Version (since = "1.2")]
public GLib.Quark get_nth_id (uint i);
+ [Version (since = "1.2")]
public uint get_size ();
[CCode (has_construct_function = false)]
public CapsFeatures.id (params GLib.Quark[] features);
[CCode (has_construct_function = false)]
+ [Version (since = "1.2")]
public CapsFeatures.id_valist (GLib.Quark feature1, va_list varargs);
+ [Version (since = "1.2")]
public bool is_any ();
+ [Version (since = "1.2")]
public bool is_equal (Gst.CapsFeatures features2);
+ [Version (since = "1.2")]
public void remove (string feature);
+ [Version (since = "1.2")]
public void remove_id (GLib.Quark feature);
+ [Version (since = "1.2")]
public bool set_parent_refcount (int refcount);
+ [Version (since = "1.2")]
public string to_string ();
[CCode (has_construct_function = false)]
+ [Version (since = "1.2")]
public CapsFeatures.valist (string feature1, va_list varargs);
}
[CCode (cheader_filename = "gst/gst.h", type_id = "gst_clock_get_type ()")]
@@ -835,8 +888,10 @@ namespace Gst {
[CCode (has_construct_function = false)]
protected Clock ();
public bool add_observation (Gst.ClockTime slave, Gst.ClockTime master, out double r_squared);
+ [Version (since = "1.6")]
public bool add_observation_unapplied (Gst.ClockTime slave, Gst.ClockTime master, out double r_squared, out Gst.ClockTime @internal, out Gst.ClockTime external, out Gst.ClockTime rate_num, out Gst.ClockTime rate_denom);
public Gst.ClockTime adjust_unlocked (Gst.ClockTime @internal);
+ [Version (since = "1.6")]
public Gst.ClockTime adjust_with_calibration (Gst.ClockTime internal_target, Gst.ClockTime cinternal, Gst.ClockTime cexternal, Gst.ClockTime cnum, Gst.ClockTime cdenom);
[NoWrapper]
public virtual Gst.ClockTime change_resolution (Gst.ClockTime old_resolution, Gst.ClockTime new_resolution);
@@ -853,6 +908,7 @@ namespace Gst {
public static void id_unschedule (Gst.ClockID id);
public static Gst.ClockReturn id_wait (Gst.ClockID id, out Gst.ClockTimeDiff jitter);
public static Gst.ClockReturn id_wait_async (Gst.ClockID id, owned Gst.ClockCallback func);
+ [Version (since = "1.6")]
public bool is_synced ();
public Gst.ClockID new_periodic_id (Gst.ClockTime start_time, Gst.ClockTime interval);
public Gst.ClockID new_single_shot_id (Gst.ClockTime time);
@@ -860,6 +916,7 @@ namespace Gst {
public void set_calibration (Gst.ClockTime @internal, Gst.ClockTime external, Gst.ClockTime rate_num, Gst.ClockTime rate_denom);
public bool set_master (Gst.Clock? master);
public Gst.ClockTime set_resolution (Gst.ClockTime resolution);
+ [Version (since = "1.6")]
public void set_synced (bool synced);
public void set_timeout (Gst.ClockTime timeout);
public bool single_shot_id_reinit (Gst.ClockID id, Gst.ClockTime time);
@@ -870,23 +927,31 @@ namespace Gst {
public virtual Gst.ClockReturn wait (Gst.ClockEntry entry, Gst.ClockTimeDiff jitter);
[NoWrapper]
public virtual Gst.ClockReturn wait_async (Gst.ClockEntry entry);
+ [Version (since = "1.6")]
public bool wait_for_sync (Gst.ClockTime timeout);
public uint64 timeout { get; set; }
[NoAccessorMethod]
public int window_size { get; set; }
[NoAccessorMethod]
public int window_threshold { get; set; }
+ [Version (since = "1.6")]
public signal void synced (bool synced);
}
[CCode (cheader_filename = "gst/gst.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gst_context_get_type ()")]
[Compact]
public class Context {
[CCode (has_construct_function = false)]
+ [Version (since = "1.2")]
public Context (string context_type, bool persistent);
+ [Version (since = "1.2")]
public unowned string get_context_type ();
+ [Version (since = "1.2")]
public unowned Gst.Structure get_structure ();
+ [Version (since = "1.2")]
public bool has_context_type (string context_type);
+ [Version (since = "1.2")]
public bool is_persistent ();
+ [Version (since = "1.2")]
public Gst.Structure writable_structure ();
}
[CCode (cheader_filename = "gst/gst.h", type_id = "gst_control_binding_get_type ()")]
@@ -961,6 +1026,7 @@ namespace Gst {
public unowned string @get ();
}
[CCode (cheader_filename = "gst/gst.h", type_id = "gst_device_get_type ()")]
+ [Version (since = "1.4")]
public abstract class Device : Gst.Object {
[CCode (has_construct_function = false)]
protected Device ();
@@ -968,6 +1034,7 @@ namespace Gst {
public Gst.Caps get_caps ();
public string get_device_class ();
public string get_display_name ();
+ [Version (since = "1.6")]
public Gst.Structure get_properties ();
public bool has_classes (string classes);
public bool has_classesv ([CCode (array_length = false, array_null_terminated = true)] string[] classes);
@@ -979,6 +1046,7 @@ namespace Gst {
public signal void removed ();
}
[CCode (cheader_filename = "gst/gst.h", type_id = "gst_device_monitor_get_type ()")]
+ [Version (since = "1.4")]
public class DeviceMonitor : Gst.Object {
[CCode (has_construct_function = false)]
public DeviceMonitor ();
@@ -986,9 +1054,12 @@ namespace Gst {
public Gst.Bus get_bus ();
public GLib.List<Gst.Device> get_devices ();
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "1.6")]
public string[] get_providers ();
+ [Version (since = "1.6")]
public bool get_show_all_devices ();
public bool remove_filter (uint filter_id);
+ [Version (since = "1.6")]
public void set_show_all_devices (bool show_all);
public bool start ();
public void stop ();
@@ -996,6 +1067,7 @@ namespace Gst {
public bool show_all { get; set; }
}
[CCode (cheader_filename = "gst/gst.h", type_id = "gst_device_provider_get_type ()")]
+ [Version (since = "1.4")]
public abstract class DeviceProvider : Gst.Object {
public weak GLib.List<void*> devices;
[CCode (has_construct_function = false)]
@@ -1011,9 +1083,11 @@ namespace Gst {
public GLib.List<Gst.Device> get_devices ();
public unowned Gst.DeviceProviderFactory get_factory ();
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "1.6")]
public string[] get_hidden_providers ();
[CCode (cname = "gst_device_provider_class_get_metadata")]
public class unowned string get_metadata (string key);
+ [Version (since = "1.6")]
public void hide_provider (string name);
public static bool register (Gst.Plugin? plugin, string name, uint rank, GLib.Type type);
[CCode (cname = "gst_device_provider_class_set_metadata")]
@@ -1022,11 +1096,13 @@ namespace Gst {
public class void set_static_metadata (owned string longname, owned string classification, owned string description, owned string author);
public virtual bool start ();
public virtual void stop ();
+ [Version (since = "1.6")]
public void unhide_provider (string name);
public signal void provider_hidden (string object);
public signal void provider_unhidden (string object);
}
[CCode (cheader_filename = "gst/gst.h", type_id = "gst_device_provider_factory_get_type ()")]
+ [Version (since = "1.4")]
public class DeviceProviderFactory : Gst.PluginFeature {
[CCode (has_construct_function = false)]
protected DeviceProviderFactory ();
@@ -1198,6 +1274,7 @@ namespace Gst {
public Event.flush_stop (bool reset_time);
[CCode (has_construct_function = false)]
public Event.gap (Gst.ClockTime timestamp, Gst.ClockTime duration);
+ [Version (since = "1.4")]
public int64 get_running_time_offset ();
public uint32 get_seqnum ();
public unowned Gst.Structure get_structure ();
@@ -1210,8 +1287,10 @@ namespace Gst {
public void parse_caps (out unowned Gst.Caps caps);
public void parse_flush_stop (out bool reset_time);
public void parse_gap (out Gst.ClockTime timestamp, out Gst.ClockTime duration);
+ [Version (since = "1.2")]
public bool parse_group_id (out uint group_id);
public void parse_latency (out Gst.ClockTime latency);
+ [Version (since = "1.6")]
public void parse_protection (out unowned string system_id, out unowned Gst.Buffer data, string? origin);
public void parse_qos (out Gst.QOSType type, out double proportion, out Gst.ClockTimeDiff diff, out Gst.ClockTime timestamp);
public void parse_seek (out double rate, out Gst.Format format, out Gst.SeekFlags flags, out Gst.SeekType start_type, out int64 start, out Gst.SeekType stop_type, out int64 stop);
@@ -1219,12 +1298,14 @@ namespace Gst {
public void parse_segment_done (out Gst.Format format, out int64 position);
public void parse_sink_message (out Gst.Message msg);
public void parse_step (out Gst.Format format, out uint64 amount, out double rate, out bool flush, out bool intermediate);
+ [Version (since = "1.2")]
public void parse_stream_flags (out Gst.StreamFlags flags);
public void parse_stream_start (out unowned string stream_id);
public void parse_tag (out unowned Gst.TagList taglist);
public void parse_toc (out Gst.Toc toc, out bool updated);
public void parse_toc_select (out string uid);
[CCode (has_construct_function = false)]
+ [Version (since = "1.6")]
public Event.protection (string system_id, Gst.Buffer data, string origin);
[CCode (has_construct_function = false)]
public Event.qos (Gst.QOSType type, double proportion, Gst.ClockTimeDiff diff, Gst.ClockTime timestamp);
@@ -1236,9 +1317,12 @@ namespace Gst {
public Event.segment (Gst.Segment segment);
[CCode (has_construct_function = false)]
public Event.segment_done (Gst.Format format, int64 position);
+ [Version (since = "1.2")]
public void set_group_id (uint group_id);
+ [Version (since = "1.4")]
public void set_running_time_offset (int64 offset);
public void set_seqnum (uint32 seqnum);
+ [Version (since = "1.2")]
public void set_stream_flags (Gst.StreamFlags flags);
[CCode (has_construct_function = false)]
public Event.sink_message (string name, Gst.Message msg);
@@ -1258,6 +1342,7 @@ namespace Gst {
public class FlagSet {
[CCode (has_construct_function = false)]
protected FlagSet ();
+ [Version (since = "1.6")]
public static GLib.Type register (GLib.Type flags_type);
}
[CCode (cheader_filename = "gst/gst.h", type_id = "gst_fraction_get_type ()")]
@@ -1301,7 +1386,7 @@ namespace Gst {
public class Iterator {
public uint32 cookie;
public weak Gst.IteratorItemFunction item;
- public weak GLib.Mutex @lock;
+ public GLib.Mutex @lock;
public uint32 master_cookie;
public weak Gst.Iterator pushed;
public uint size;
@@ -1331,6 +1416,7 @@ namespace Gst {
public Gst.Memory copy (ssize_t offset, ssize_t size);
public size_t get_sizes (size_t offset, size_t maxsize);
public bool is_span (Gst.Memory mem2, size_t offset);
+ [Version (since = "1.2")]
public bool is_type (string mem_type);
public Gst.Memory? make_mapped (out Gst.MapInfo info, Gst.MapFlags flags);
public bool map (out Gst.MapInfo info, Gst.MapFlags flags);
@@ -1362,8 +1448,10 @@ namespace Gst {
[CCode (has_construct_function = false)]
public Message.custom (Gst.MessageType type, Gst.Object? src, owned Gst.Structure? structure);
[CCode (has_construct_function = false)]
+ [Version (since = "1.4")]
public Message.device_added (Gst.Object src, Gst.Device device);
[CCode (has_construct_function = false)]
+ [Version (since = "1.4")]
public Message.device_removed (Gst.Object src, Gst.Device device);
[CCode (has_construct_function = false)]
public Message.duration_changed (Gst.Object? src);
@@ -1378,12 +1466,14 @@ namespace Gst {
public unowned Gst.Structure get_structure ();
public bool has_name (string name);
[CCode (has_construct_function = false)]
+ [Version (since = "1.2")]
public Message.have_context (Gst.Object? src, owned Gst.Context context);
[CCode (has_construct_function = false)]
public Message.info (Gst.Object? src, GLib.Error error, string debug);
[CCode (has_construct_function = false)]
public Message.latency (Gst.Object? src);
[CCode (has_construct_function = false)]
+ [Version (since = "1.2")]
public Message.need_context (Gst.Object? src, string context_type);
[CCode (has_construct_function = false)]
public Message.new_clock (Gst.Object? src, Gst.Clock clock);
@@ -1392,11 +1482,16 @@ namespace Gst {
public void parse_buffering_stats (out Gst.BufferingMode mode, out int avg_in, out int avg_out, out int64 buffering_left);
public void parse_clock_lost (out unowned Gst.Clock clock);
public void parse_clock_provide (out unowned Gst.Clock clock, out bool ready);
+ [Version (since = "1.2")]
public bool parse_context_type (out string context_type);
+ [Version (since = "1.4")]
public void parse_device_added (out unowned Gst.Device device);
+ [Version (since = "1.4")]
public void parse_device_removed (out unowned Gst.Device device);
public void parse_error (out GLib.Error gerror, out string debug);
+ [Version (since = "1.2")]
public bool parse_group_id (out uint group_id);
+ [Version (since = "1.2")]
public void parse_have_context (out Gst.Context context);
public void parse_info (out GLib.Error gerror, out string debug);
public void parse_new_clock (out unowned Gst.Clock clock);
@@ -1429,6 +1524,7 @@ namespace Gst {
[CCode (has_construct_function = false)]
public Message.segment_start (Gst.Object? src, Gst.Format format, int64 position);
public void set_buffering_stats (Gst.BufferingMode mode, int avg_in, int avg_out, int64 buffering_left);
+ [Version (since = "1.2")]
public void set_group_id (uint group_id);
public void set_qos_stats (Gst.Format format, uint64 processed, uint64 dropped);
public void set_qos_values (int64 jitter, double proportion, int quality);
@@ -1483,7 +1579,7 @@ namespace Gst {
[CCode (cheader_filename = "gst/gst.h", type_id = "gst_object_get_type ()")]
public abstract class Object : GLib.InitiallyUnowned {
public uint32 flags;
- public weak GLib.Mutex @lock;
+ public GLib.Mutex @lock;
[CCode (has_construct_function = false)]
protected Object ();
public bool add_control_binding (owned Gst.ControlBinding binding);
@@ -1499,9 +1595,10 @@ namespace Gst {
public GLib.Value? get_value (string property_name, Gst.ClockTime timestamp);
public bool get_value_array (string property_name, Gst.ClockTime timestamp, Gst.ClockTime interval, uint n_values, void* values);
public bool has_active_control_bindings ();
- [Deprecated]
+ [Version (deprecated = true)]
public bool has_ancestor (Gst.Object ancestor);
public bool has_as_ancestor (Gst.Object ancestor);
+ [Version (since = "1.6")]
public bool has_as_parent (Gst.Object parent);
public Gst.Object @ref ();
public bool remove_control_binding (Gst.ControlBinding binding);
@@ -1547,6 +1644,7 @@ namespace Gst {
public Gst.Caps get_current_caps ();
public Gst.PadDirection get_direction ();
public void* get_element_private ();
+ [Version (since = "1.4")]
public Gst.FlowReturn get_last_flow_return ();
public int64 get_offset ();
public Gst.PadTemplate? get_pad_template ();
@@ -1555,6 +1653,7 @@ namespace Gst {
public Gst.Pad get_peer ();
public Gst.FlowReturn get_range (uint64 offset, uint size, out Gst.Buffer buffer);
public Gst.Event? get_sticky_event (Gst.EventType event_type, uint idx);
+ [Version (since = "1.2")]
public string? get_stream_id ();
public bool has_current_caps ();
public bool is_active ();
@@ -1565,6 +1664,7 @@ namespace Gst {
public Gst.Iterator? iterate_internal_links_default (Gst.Object? parent);
[CCode (cname = "gst_pad_link_full")]
public Gst.PadLinkReturn link (Gst.Pad sinkpad, Gst.PadLinkCheck flags = Gst.PadLinkCheck.DEFAULT);
+ [Version (since = "1.4")]
public static unowned string link_get_name (Gst.PadLinkReturn ret);
public void mark_reconfigure ();
public bool needs_reconfigure ();
@@ -1616,12 +1716,14 @@ namespace Gst {
public bool start_task (owned Gst.TaskFunction func);
public void sticky_events_foreach (Gst.PadStickyEventsForeachFunction foreach_func);
public bool stop_task ();
+ [Version (since = "1.2")]
public Gst.FlowReturn store_sticky_event (Gst.Event event);
public bool unlink (Gst.Pad sinkpad);
public void use_fixed_caps ();
[NoAccessorMethod]
public Gst.Caps caps { owned get; }
public Gst.PadDirection direction { get; construct; }
+ [Version (since = "1.6")]
public int64 offset { get; set; }
[NoAccessorMethod]
public Gst.PadTemplate template { owned get; set; }
@@ -1668,15 +1770,19 @@ namespace Gst {
public Gst.Bus get_bus ();
public Gst.Clock get_clock ();
public Gst.ClockTime get_delay ();
+ [Version (since = "1.6")]
public Gst.ClockTime get_latency ();
+ [Version (since = "1.6")]
public Gst.Clock get_pipeline_clock ();
public void set_auto_flush_bus (bool auto_flush);
public bool set_clock (Gst.Clock clock);
public void set_delay (Gst.ClockTime delay);
+ [Version (since = "1.6")]
public void set_latency (Gst.ClockTime latency);
public void use_clock (Gst.Clock? clock);
public bool auto_flush_bus { get; set; }
public uint64 delay { get; set; }
+ [Version (since = "1.6")]
public uint64 latency { get; set; }
}
[CCode (cheader_filename = "gst/gst.h", type_id = "gst_plugin_get_type ()")]
@@ -1710,6 +1816,7 @@ namespace Gst {
protected PluginFeature ();
public bool check_version (uint min_major, uint min_minor, uint min_micro);
public Gst.Plugin? get_plugin ();
+ [Version (since = "1.2")]
public unowned string? get_plugin_name ();
public uint get_rank ();
public static GLib.List<Gst.PluginFeature> list_copy (GLib.List<Gst.PluginFeature> list);
@@ -1772,6 +1879,7 @@ namespace Gst {
[CCode (has_construct_function = false)]
public Query.caps (Gst.Caps filter);
[CCode (has_construct_function = false)]
+ [Version (since = "1.2")]
public Query.context (string context_type);
[CCode (has_construct_function = false)]
public Query.convert (Gst.Format src_format, int64 value, Gst.Format dest_format);
@@ -1802,7 +1910,9 @@ namespace Gst {
public void parse_buffering_stats (out Gst.BufferingMode mode, out int avg_in, out int avg_out, out int64 buffering_left);
public void parse_caps (out unowned Gst.Caps filter);
public void parse_caps_result (out unowned Gst.Caps caps);
+ [Version (since = "1.2")]
public void parse_context (out unowned Gst.Context context);
+ [Version (since = "1.2")]
public bool parse_context_type (out unowned string context_type);
public void parse_convert (out Gst.Format src_format, out int64 src_value, out Gst.Format dest_format, out int64 dest_value);
public void parse_duration (out Gst.Format format, out int64 duration);
@@ -1819,12 +1929,16 @@ namespace Gst {
public void parse_seeking (out Gst.Format format, out bool seekable, out int64 segment_start, out int64 segment_end);
public void parse_segment (out double rate, out Gst.Format format, out int64 start_value, out int64 stop_value);
public void parse_uri (out string uri);
+ [Version (since = "1.2")]
public void parse_uri_redirection (out string uri);
+ [Version (since = "1.4")]
public void parse_uri_redirection_permanent (out bool permanent);
[CCode (has_construct_function = false)]
public Query.position (Gst.Format format);
public void remove_nth_allocation_meta (uint index);
+ [Version (since = "1.2")]
public void remove_nth_allocation_param (uint index);
+ [Version (since = "1.2")]
public void remove_nth_allocation_pool (uint index);
[CCode (has_construct_function = false)]
public Query.scheduling ();
@@ -1837,6 +1951,7 @@ namespace Gst {
public void set_buffering_range (Gst.Format format, int64 start, int64 stop, int64 estimated_total);
public void set_buffering_stats (Gst.BufferingMode mode, int avg_in, int avg_out, int64 buffering_left);
public void set_caps_result (Gst.Caps caps);
+ [Version (since = "1.2")]
public void set_context (Gst.Context context);
public void set_convert (Gst.Format src_format, int64 src_value, Gst.Format dest_format, int64 dest_value);
public void set_duration (Gst.Format format, int64 duration);
@@ -1851,7 +1966,9 @@ namespace Gst {
public void set_seeking (Gst.Format format, bool seekable, int64 segment_start, int64 segment_end);
public void set_segment (double rate, Gst.Format format, int64 start_value, int64 stop_value);
public void set_uri (string uri);
+ [Version (since = "1.2")]
public void set_uri_redirection (string uri);
+ [Version (since = "1.4")]
public void set_uri_redirection_permanent (bool permanent);
[CCode (has_construct_function = false)]
public Query.uri ();
@@ -1889,10 +2006,12 @@ namespace Gst {
[CCode (has_construct_function = false)]
public Sample (Gst.Buffer? buffer, Gst.Caps? caps, Gst.Segment? segment, owned Gst.Structure? info);
public unowned Gst.Buffer? get_buffer ();
+ [Version (since = "1.6")]
public unowned Gst.BufferList? get_buffer_list ();
public unowned Gst.Caps? get_caps ();
public unowned Gst.Structure get_info ();
public unowned Gst.Segment get_segment ();
+ [Version (since = "1.6")]
public void set_buffer_list (Gst.BufferList buffer_list);
}
[CCode (cheader_filename = "gst/gst.h", copy_function = "gst_segment_copy", free_function = "gst_segment_free", type_id = "gst_segment_get_type ()")]
@@ -1917,11 +2036,14 @@ namespace Gst {
public bool do_seek (double rate, Gst.Format format, Gst.SeekFlags flags, Gst.SeekType start_type, uint64 start, Gst.SeekType stop_type, uint64 stop, bool update);
public void free ();
public void init (Gst.Format format);
+ [Version (since = "1.6")]
public bool is_equal (Gst.Segment s1);
+ [Version (since = "1.2.3")]
public bool offset_running_time (Gst.Format format, int64 offset);
public bool set_running_time (Gst.Format format, uint64 running_time);
public uint64 to_position (Gst.Format format, uint64 running_time);
public uint64 to_running_time (Gst.Format format, uint64 position);
+ [Version (since = "1.6")]
public int to_running_time_full (Gst.Format format, uint64 position, uint64 running_time);
public uint64 to_stream_time (Gst.Format format, uint64 position);
}
@@ -1935,6 +2057,7 @@ namespace Gst {
public Gst.Structure copy ();
[CCode (has_construct_function = false)]
public Structure.empty (string name);
+ [Version (since = "1.6")]
public void filter_and_map_in_place (Gst.StructureFilterMapFunc func);
public void fixate ();
public bool fixate_field (string field_name);
@@ -1954,14 +2077,17 @@ namespace Gst {
public bool get_double (string fieldname, out double value);
public bool get_enum (string fieldname, GLib.Type enumtype, out int value);
public GLib.Type get_field_type (string fieldname);
+ [Version (since = "1.6")]
public bool get_flagset (string fieldname, out uint value_flags, out uint value_mask);
public bool get_fraction (string fieldname, out int value_numerator, out int value_denominator);
public bool get_int (string fieldname, out int value);
+ [Version (since = "1.4")]
public bool get_int64 (string fieldname, out int64 value);
public unowned string get_name ();
public GLib.Quark get_name_id ();
public unowned string? get_string (string fieldname);
public bool get_uint (string fieldname, out uint value);
+ [Version (since = "1.4")]
public bool get_uint64 (string fieldname, out uint64 value);
public bool get_valist (string first_fieldname, va_list args);
public unowned GLib.Value? get_value (string fieldname);
@@ -2004,6 +2130,7 @@ namespace Gst {
[CCode (has_construct_function = false)]
protected SystemClock ();
public static Gst.Clock obtain ();
+ [Version (since = "1.4")]
public static void set_default (Gst.Clock new_clock);
[NoAccessorMethod]
public Gst.ClockType clock_type { get; set; }
@@ -2063,7 +2190,7 @@ namespace Gst {
}
[CCode (cheader_filename = "gst/gst.h", type_id = "gst_task_get_type ()")]
public class Task : Gst.Object {
- public weak GLib.Cond cond;
+ public GLib.Cond cond;
public weak Gst.TaskFunction func;
public GLib.RecMutex @lock;
public weak GLib.DestroyNotify notify;
@@ -2092,7 +2219,7 @@ namespace Gst {
public virtual void cleanup ();
public virtual void join (void* id);
public virtual void prepare () throws GLib.Error;
- public virtual void* push ([CCode (scope = "async")] owned Gst.TaskPoolFunction func) throws GLib.Error;
+ public virtual void* push ([CCode (scope = "async")] Gst.TaskPoolFunction func) throws GLib.Error;
}
[CCode (cheader_filename = "gst/gst.h", ref_function = "gst_toc_ref", type_id = "gst_toc_get_type ()", unref_function = "gst_toc_unref")]
[Compact]
@@ -2115,6 +2242,7 @@ namespace Gst {
public TocEntry (Gst.TocEntryType type, string uid);
public void append_sub_entry (owned Gst.TocEntry subentry);
public Gst.TocEntryType get_entry_type ();
+ [Version (since = "1.4")]
public bool get_loop (out Gst.TocLoopType loop_type, out int repeat_count);
public unowned Gst.TocEntry get_parent ();
public bool get_start_stop_times (out int64 start, out int64 stop);
@@ -2125,6 +2253,7 @@ namespace Gst {
public bool is_alternative ();
public bool is_sequence ();
public void merge_tags (Gst.TagList? tags, Gst.TagMergeMode mode);
+ [Version (since = "1.4")]
public void set_loop (Gst.TocLoopType loop_type, int repeat_count);
public void set_start_stop_times (int64 start, int64 stop);
public void set_tags (owned Gst.TagList? tags);
@@ -2144,48 +2273,85 @@ namespace Gst {
[Compact]
public class Uri {
[CCode (has_construct_function = false)]
+ [Version (since = "1.6")]
public Uri (string? scheme, string? userinfo, string? host, uint port, string? path, string? query, string? fragment);
+ [Version (since = "1.6")]
public bool append_path (string relative_path);
+ [Version (since = "1.6")]
public bool append_path_segment (string path_segment);
+ [Version (since = "1.6")]
public bool equal (Gst.Uri second);
+ [Version (since = "1.6")]
public Gst.Uri from_string_with_base (string uri);
+ [Version (since = "1.6")]
public unowned string get_fragment ();
+ [Version (since = "1.6")]
public unowned string get_host ();
+ [Version (since = "1.6")]
public string get_path ();
+ [Version (since = "1.6")]
public GLib.List<string> get_path_segments ();
+ [Version (since = "1.6")]
public string get_path_string ();
+ [Version (since = "1.6")]
public uint get_port ();
+ [Version (since = "1.6")]
public GLib.List<weak string> get_query_keys ();
+ [Version (since = "1.6")]
public string get_query_string ();
+ [Version (since = "1.6")]
public GLib.HashTable<string,string> get_query_table ();
+ [Version (since = "1.6")]
public unowned string get_query_value (string query_key);
public unowned string get_scheme ();
+ [Version (since = "1.6")]
public unowned string get_userinfo ();
+ [Version (since = "1.6")]
public bool is_normalized ();
+ [Version (since = "1.6")]
public bool is_writable ();
+ [Version (since = "1.6")]
public Gst.Uri join (Gst.Uri? ref_uri);
+ [Version (since = "1.6")]
public Gst.Uri make_writable ();
+ [Version (since = "1.6")]
public Gst.Uri new_with_base (string? scheme, string? userinfo, string? host, uint port, string? path, string? query, string? fragment);
+ [Version (since = "1.6")]
public bool normalize ();
+ [Version (since = "1.6")]
public bool query_has_key (string query_key);
+ [Version (since = "1.6")]
public bool remove_query_key (string query_key);
+ [Version (since = "1.6")]
public bool set_fragment (string? fragment);
+ [Version (since = "1.6")]
public bool set_host (string host);
+ [Version (since = "1.6")]
public bool set_path (string path);
+ [Version (since = "1.6")]
public bool set_path_segments (owned GLib.List<string>? path_segments);
+ [Version (since = "1.6")]
public bool set_path_string (string path);
+ [Version (since = "1.6")]
public bool set_port (uint port);
+ [Version (since = "1.6")]
public bool set_query_string (string query);
+ [Version (since = "1.6")]
public bool set_query_table (GLib.HashTable<string,string>? query_table);
+ [Version (since = "1.6")]
public bool set_query_value (string query_key, string? query_value);
+ [Version (since = "1.6")]
public bool set_scheme (string scheme);
+ [Version (since = "1.6")]
public bool set_userinfo (string userinfo);
+ [Version (since = "1.6")]
public string to_string ();
}
[CCode (cheader_filename = "gst/gst.h", type_id = "gst_value_array_get_type ()")]
public class ValueArray {
[CCode (has_construct_function = false)]
protected ValueArray ();
+ [Version (since = "1.2")]
public static void append_and_take_value (GLib.Value value, owned GLib.Value append_value);
public static void append_value (GLib.Value value, GLib.Value append_value);
public static uint get_size (GLib.Value value);
@@ -2196,6 +2362,7 @@ namespace Gst {
public class ValueList {
[CCode (has_construct_function = false)]
protected ValueList ();
+ [Version (since = "1.2")]
public static void append_and_take_value (GLib.Value value, owned GLib.Value append_value);
public static void append_value (GLib.Value value, GLib.Value append_value);
public static void concat (out GLib.Value dest, GLib.Value value1, GLib.Value value2);
@@ -2230,6 +2397,7 @@ namespace Gst {
public abstract string[] get_preset_names ();
[CCode (array_length = false, array_null_terminated = true)]
public abstract string[] get_property_names ();
+ [Version (since = "1.6")]
public bool is_editable ();
public abstract bool load_preset (string name);
public abstract bool rename_preset (string old_name, string new_name);
@@ -2335,11 +2503,12 @@ namespace Gst {
public Gst.MetaFlags flags;
public Gst.MetaInfo info;
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "1.2")]
public static unowned string[] api_type_get_tags (GLib.Type api);
public static bool api_type_has_tag (GLib.Type api, GLib.Quark tag);
public static GLib.Type api_type_register (string api, string tags);
public static unowned Gst.MetaInfo? get_info (string impl);
- public static unowned Gst.MetaInfo? register (GLib.Type api, string impl, size_t size, [CCode (scope = "async")] owned Gst.MetaInitFunction init_func, [CCode (scope = "async")] owned Gst.MetaFreeFunction free_func, [CCode (scope = "async")] owned Gst.MetaTransformFunction transform_func);
+ public static unowned Gst.MetaInfo? register (GLib.Type api, string impl, size_t size, [CCode (scope = "async")] Gst.MetaInitFunction init_func, [CCode (scope = "async")] Gst.MetaFreeFunction free_func, [CCode (scope = "async")] Gst.MetaTransformFunction transform_func);
}
[CCode (cheader_filename = "gst/gst.h", has_type_id = false)]
public struct MetaInfo {
@@ -2383,6 +2552,7 @@ namespace Gst {
public int def_den;
}
[CCode (cheader_filename = "gst/gst.h", has_type_id = false)]
+ [Version (since = "1.6")]
public struct ParentBufferMeta {
public Gst.Meta parent;
public weak Gst.Buffer buffer;
@@ -2409,6 +2579,7 @@ namespace Gst {
public void init ();
}
[CCode (cheader_filename = "gst/gst.h", has_type_id = false)]
+ [Version (since = "1.6")]
public struct ProtectionMeta {
public Gst.Meta meta;
public weak Gst.Structure info;
@@ -3055,6 +3226,7 @@ namespace Gst {
}
[CCode (cheader_filename = "gst/gst.h", cprefix = "GST_STREAM_FLAG_", type_id = "gst_stream_flags_get_type ()")]
[Flags]
+ [Version (since = "1.2")]
public enum StreamFlags {
NONE,
SPARSE,
@@ -3118,6 +3290,7 @@ namespace Gst {
public static unowned string get_nick (Gst.TocEntryType type);
}
[CCode (cheader_filename = "gst/gst.h", cprefix = "GST_TOC_LOOP_", type_id = "gst_toc_loop_type_get_type ()")]
+ [Version (since = "1.4")]
public enum TocLoopType {
NONE,
FORWARD,
@@ -3248,6 +3421,7 @@ namespace Gst {
[CCode (cheader_filename = "gst/gst.h", instance_pos = 2.9)]
public delegate bool CapsFilterMapFunc (Gst.CapsFeatures features, Gst.Structure structure);
[CCode (cheader_filename = "gst/gst.h", instance_pos = 2.9)]
+ [Version (since = "1.6")]
public delegate bool CapsForeachFunc (Gst.CapsFeatures features, Gst.Structure structure);
[CCode (cheader_filename = "gst/gst.h", instance_pos = 2.9)]
public delegate bool CapsMapFunc (Gst.CapsFeatures features, Gst.Structure structure);
@@ -3408,6 +3582,7 @@ namespace Gst {
[CCode (cheader_filename = "gst/gst.h", cname = "GST_MAP_READWRITE")]
public const int MAP_READWRITE;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_META_TAG_MEMORY_STR")]
+ [Version (since = "1.2")]
public const string META_TAG_MEMORY_STR;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_MSECOND")]
public const int MSECOND;
@@ -3424,6 +3599,7 @@ namespace Gst {
[CCode (cheader_filename = "gst/gst.h", cname = "GST_PARAM_USER_SHIFT")]
public const int PARAM_USER_SHIFT;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_PROTECTION_SYSTEM_ID_CAPS_FIELD")]
+ [Version (since = "1.6")]
public const string PROTECTION_SYSTEM_ID_CAPS_FIELD;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_PTR_FORMAT")]
public const string PTR_FORMAT;
@@ -3436,10 +3612,12 @@ namespace Gst {
[CCode (cheader_filename = "gst/gst.h", cname = "GST_SEGMENT_FORMAT")]
public const string SEGMENT_FORMAT;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_STIME_FORMAT")]
+ [Version (since = "1.6")]
public const string STIME_FORMAT;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TIME_FORMAT")]
public const string TIME_FORMAT;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TOC_REPEAT_COUNT_INFINITE")]
+ [Version (since = "1.4")]
public const int TOC_REPEAT_COUNT_INFINITE;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_URI_NO_PORT")]
public const int URI_NO_PORT;
@@ -3492,6 +3670,7 @@ namespace Gst {
[CCode (cheader_filename = "gst/gst.h")]
public static bool preset_set_app_dir (string app_dir);
[CCode (cheader_filename = "gst/gst.h")]
+ [Version (since = "1.6")]
public static unowned string protection_select_system (string system_identifiers);
[CCode (cheader_filename = "gst/gst.h")]
public static bool segtrap_is_enabled ();
diff --git a/vapi/gstreamer-allocators-1.0.vapi b/vapi/gstreamer-allocators-1.0.vapi
index 40c24e296..c5049bc7b 100644
--- a/vapi/gstreamer-allocators-1.0.vapi
+++ b/vapi/gstreamer-allocators-1.0.vapi
@@ -5,6 +5,7 @@ namespace Gst {
namespace Allocators {
[CCode (cheader_filename = "gst/allocators/allocators.h", cname = "GstFdAllocator", lower_case_cprefix = "gst_fd_allocator_", type_id = "gst_fd_allocator_get_type ()")]
[GIR (name = "FdAllocator")]
+ [Version (since = "1.6")]
public class FdAllocator : Gst.Allocator {
[CCode (has_construct_function = false, type = "GstAllocator*")]
public FdAllocator ();
@@ -13,6 +14,7 @@ namespace Gst {
[CCode (cheader_filename = "gst/allocators/allocators.h", cname = "GstFdMemoryFlags", cprefix = "GST_FD_MEMORY_FLAG_", has_type_id = false)]
[Flags]
[GIR (name = "FdMemoryFlags")]
+ [Version (since = "1.6")]
public enum FdMemoryFlags {
NONE,
KEEP_MAPPED,
@@ -23,16 +25,22 @@ namespace Gst {
[CCode (cheader_filename = "gst/allocators/allocators.h", cname = "GST_ALLOCATOR_FD")]
public const string ALLOCATOR_FD;
[CCode (cheader_filename = "gst/allocators/allocators.h", cname = "gst_dmabuf_allocator_alloc")]
+ [Version (since = "1.2")]
public static Gst.Memory dmabuf_allocator_alloc (Gst.Allocator allocator, int fd, size_t size);
[CCode (cheader_filename = "gst/allocators/allocators.h", cname = "gst_dmabuf_allocator_new")]
+ [Version (since = "1.2")]
public static Gst.Allocator dmabuf_allocator_new ();
[CCode (cheader_filename = "gst/allocators/allocators.h", cname = "gst_dmabuf_memory_get_fd")]
+ [Version (since = "1.2")]
public static int dmabuf_memory_get_fd (Gst.Memory mem);
[CCode (cheader_filename = "gst/allocators/allocators.h", cname = "gst_fd_memory_get_fd")]
+ [Version (since = "1.6")]
public static int fd_memory_get_fd (Gst.Memory mem);
[CCode (cheader_filename = "gst/allocators/allocators.h", cname = "gst_is_dmabuf_memory")]
+ [Version (since = "1.2")]
public static bool is_dmabuf_memory (Gst.Memory mem);
[CCode (cheader_filename = "gst/allocators/allocators.h", cname = "gst_is_fd_memory")]
+ [Version (since = "1.6")]
public static bool is_fd_memory (Gst.Memory mem);
}
}
diff --git a/vapi/gstreamer-app-1.0.vapi b/vapi/gstreamer-app-1.0.vapi
index ea92619dd..614384ae4 100644
--- a/vapi/gstreamer-app-1.0.vapi
+++ b/vapi/gstreamer-app-1.0.vapi
@@ -36,6 +36,7 @@ namespace Gst {
[CCode (has_construct_function = false)]
protected Src ();
public Gst.Caps get_caps ();
+ [Version (since = "1.2")]
public uint64 get_current_level_bytes ();
public bool get_emit_signals ();
public void get_latency (uint64 min, uint64 max);
@@ -73,6 +74,7 @@ namespace Gst {
[HasEmitter]
public virtual signal Gst.FlowReturn push_buffer (Gst.Buffer buffer);
[HasEmitter]
+ [Version (since = "1.6")]
public virtual signal Gst.FlowReturn push_sample (Gst.Sample sample);
public virtual signal bool seek_data (uint64 offset);
}
diff --git a/vapi/gstreamer-audio-0.10.vapi b/vapi/gstreamer-audio-0.10.vapi
index 24671d986..961d0b41c 100644
--- a/vapi/gstreamer-audio-0.10.vapi
+++ b/vapi/gstreamer-audio-0.10.vapi
@@ -123,7 +123,7 @@ namespace Gst {
public bool acquired;
public weak Gst.RingBufferCallback callback;
public void* cb_data;
- public weak GLib.Cond cond;
+ public GLib.Cond cond;
public weak Gst.Buffer data;
public uchar empty_seg;
public bool open;
diff --git a/vapi/gstreamer-audio-1.0.vapi b/vapi/gstreamer-audio-1.0.vapi
index 63fb0b49e..e20a299e0 100644
--- a/vapi/gstreamer-audio-1.0.vapi
+++ b/vapi/gstreamer-audio-1.0.vapi
@@ -20,8 +20,10 @@ namespace Gst {
public Gst.Audio.BaseSinkSlaveMethod get_slave_method ();
[NoWrapper]
public virtual Gst.Buffer payload (Gst.Buffer buffer);
+ [Version (since = "1.6")]
public void report_device_failure ();
public void set_alignment_threshold (Gst.ClockTime alignment_threshold);
+ [Version (since = "1.6")]
public void set_custom_slaving_callback (owned Gst.Audio.BaseSinkCustomSlavingCallback callback);
public void set_discont_wait (Gst.ClockTime discont_wait);
public void set_drift_tolerance (int64 drift_tolerance);
@@ -138,6 +140,7 @@ namespace Gst {
public virtual Gst.FlowReturn pre_push (Gst.Buffer buffer);
[NoWrapper]
public virtual bool propose_allocation (Gst.Query query);
+ [Version (since = "1.6")]
public Gst.Caps proxy_getcaps (Gst.Caps? caps, Gst.Caps? filter);
public void set_drainable (bool enabled);
public void set_estimate_rate (bool enabled);
@@ -151,6 +154,7 @@ namespace Gst {
public void set_plc (bool enabled);
public void set_plc_aware (bool plc);
public void set_tolerance (Gst.ClockTime tolerance);
+ [Version (since = "1.6")]
public void set_use_default_pad_acceptcaps (bool use);
[NoWrapper]
public virtual bool sink_event (Gst.Event event);
@@ -276,6 +280,7 @@ namespace Gst {
public void free ();
public bool from_caps (Gst.Caps caps);
public void init ();
+ [Version (since = "1.2")]
public bool is_equal (Gst.Audio.Info other);
public void set_format (Gst.Audio.Format format, int rate, int channels, Gst.Audio.ChannelPosition position);
public Gst.Caps to_caps ();
@@ -284,7 +289,7 @@ namespace Gst {
[GIR (name = "AudioRingBuffer")]
public abstract class RingBuffer : Gst.Object {
public bool acquired;
- public weak GLib.Cond cond;
+ public GLib.Cond cond;
public uint8 empty_seg;
public uint8 memory;
public bool open;
@@ -323,7 +328,7 @@ namespace Gst {
[NoWrapper]
public virtual bool resume ();
public uint64 samples_done ();
- public void set_callback ([CCode (scope = "async")] owned Gst.Audio.RingBufferCallback cb);
+ public void set_callback ([CCode (scope = "async")] Gst.Audio.RingBufferCallback cb);
public void set_channel_positions (Gst.Audio.ChannelPosition position);
public void set_flushing (bool flushing);
public void set_sample (uint64 sample);
@@ -433,6 +438,7 @@ namespace Gst {
}
[CCode (cheader_filename = "gst/audio/audio.h", cprefix = "GST_AUDIO_BASE_SINK_DISCONT_REASON_", has_type_id = false)]
[GIR (name = "AudioBaseSinkDiscontReason")]
+ [Version (since = "1.6")]
public enum BaseSinkDiscontReason {
NO_DISCONT,
NEW_CAPS,
@@ -611,6 +617,7 @@ namespace Gst {
DB
}
[CCode (cheader_filename = "gst/audio/audio.h", instance_pos = 5.9)]
+ [Version (since = "1.6")]
public delegate void BaseSinkCustomSlavingCallback (Gst.Audio.BaseSink sink, Gst.ClockTime etime, Gst.ClockTime itime, Gst.ClockTimeDiff requested_skew, Gst.Audio.BaseSinkDiscontReason discont_reason);
[CCode (cheader_filename = "gst/audio/audio.h", instance_pos = 1.9)]
public delegate Gst.ClockTime ClockGetTimeFunc (Gst.Clock clock);
@@ -641,8 +648,10 @@ namespace Gst {
[CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_AUDIO_FORMATS_ALL")]
public const string FORMATS_ALL;
[CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_META_TAG_AUDIO_CHANNELS_STR")]
+ [Version (since = "1.2")]
public const string META_TAG_AUDIO_CHANNELS_STR;
[CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_META_TAG_AUDIO_STR")]
+ [Version (since = "1.2")]
public const string META_TAG_AUDIO_STR;
[CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_AUDIO_RATE_RANGE")]
public const string RATE_RANGE;
diff --git a/vapi/gstreamer-base-0.10.vapi b/vapi/gstreamer-base-0.10.vapi
index de7688ef9..b0c3191e4 100644
--- a/vapi/gstreamer-base-0.10.vapi
+++ b/vapi/gstreamer-base-0.10.vapi
@@ -468,7 +468,7 @@ namespace Gst {
}
[CCode (cheader_filename = "gst/base/gstcollectpads.h")]
public class CollectPads : Gst.Object {
- public weak GLib.Cond cond;
+ public GLib.Cond cond;
public uint32 cookie;
public weak GLib.SList<Gst.CollectData> data;
public uint eospads;
@@ -507,9 +507,9 @@ namespace Gst {
public weak Gst.DataQueueEmptyCallback emptycallback;
public bool flushing;
public weak Gst.DataQueueFullCallback fullcallback;
- public weak GLib.Cond item_add;
- public weak GLib.Cond item_del;
- public weak GLib.Mutex qlock;
+ public GLib.Cond item_add;
+ public GLib.Cond item_del;
+ public GLib.Mutex qlock;
public weak GLib.Queue queue;
[CCode (has_construct_function = false)]
public DataQueue (Gst.DataQueueCheckFullFunction checkfull, void* checkdata);
diff --git a/vapi/gstreamer-base-1.0.vapi b/vapi/gstreamer-base-1.0.vapi
index fd7ef2543..cd4825f73 100644
--- a/vapi/gstreamer-base-1.0.vapi
+++ b/vapi/gstreamer-base-1.0.vapi
@@ -12,25 +12,34 @@ namespace Gst {
public size_t available_fast ();
public void clear ();
public void copy ([CCode (array_length_cname = "size", array_length_pos = 2.1, array_length_type = "gsize")] out unowned uint8[] dest, size_t offset);
+ [Version (since = "1.4")]
public GLib.Bytes copy_bytes (size_t offset, size_t size);
public void flush (size_t flush);
+ [Version (since = "1.6")]
public Gst.Buffer? get_buffer (size_t nbytes);
+ [Version (since = "1.6")]
public Gst.Buffer? get_buffer_fast (size_t nbytes);
+ [Version (since = "1.6")]
public Gst.BufferList? get_buffer_list (size_t nbytes);
+ [Version (since = "1.6")]
public GLib.List<Gst.Buffer>? get_list (size_t nbytes);
[CCode (array_length_pos = 0.1, array_length_type = "gsize")]
public unowned uint8[]? map ();
public ssize_t masked_scan_uint32 (uint32 mask, uint32 pattern, size_t offset, size_t size);
public ssize_t masked_scan_uint32_peek (uint32 mask, uint32 pattern, size_t offset, size_t size, out uint32 value);
public Gst.ClockTime prev_dts (out uint64 distance);
+ [Version (since = "1.2")]
public Gst.ClockTime prev_dts_at_offset (size_t offset, out uint64 distance);
public Gst.ClockTime prev_pts (out uint64 distance);
+ [Version (since = "1.2")]
public Gst.ClockTime prev_pts_at_offset (size_t offset, out uint64 distance);
public void push (owned Gst.Buffer buf);
[CCode (array_length_pos = 0.1, array_length_type = "gsize")]
public uint8[]? take ();
public Gst.Buffer? take_buffer (size_t nbytes);
+ [Version (since = "1.2")]
public Gst.Buffer? take_buffer_fast (size_t nbytes);
+ [Version (since = "1.6")]
public Gst.BufferList? take_buffer_list (size_t nbytes);
public GLib.List<Gst.Buffer>? take_list (size_t nbytes);
public void unmap ();
@@ -154,6 +163,7 @@ namespace Gst {
[CCode (cname = "gst_byte_reader_masked_scan_uint32")]
public uint masked_scan_uint32 (uint32 mask, uint32 pattern, uint offset, uint size);
[CCode (cname = "gst_byte_reader_masked_scan_uint32_peek")]
+ [Version (since = "1.6")]
public uint masked_scan_uint32_peek (uint32 mask, uint32 pattern, uint offset, uint size, uint32 value);
[CCode (cname = "gst_byte_reader_peek_data")]
public bool peek_data ([CCode (array_length_cname = "size", array_length_pos = 0.5, array_length_type = "guint")] out unowned uint8[] val);
@@ -310,7 +320,7 @@ namespace Gst {
public weak GLib.SList<Gst.Base.CollectData?> data;
[CCode (has_construct_function = false)]
public CollectPads ();
- public unowned Gst.Base.CollectData? add_pad (Gst.Pad pad, uint size, [CCode (scope = "async")] owned Gst.Base.CollectDataDestroyNotify destroy_notify, bool @lock);
+ public unowned Gst.Base.CollectData? add_pad (Gst.Pad pad, uint size, [CCode (scope = "async")] Gst.Base.CollectDataDestroyNotify destroy_notify, bool @lock);
public uint available ();
public Gst.FlowReturn clip_running_time (Gst.Base.CollectData cdata, Gst.Buffer buf, Gst.Buffer? outbuf, void* user_data);
public bool event_default (Gst.Base.CollectData data, Gst.Event event, bool discard);
@@ -324,11 +334,13 @@ namespace Gst {
public void set_clip_function (Gst.Base.CollectPadsClipFunction clipfunc);
public void set_compare_function (Gst.Base.CollectPadsCompareFunction func);
public void set_event_function (Gst.Base.CollectPadsEventFunction func);
+ [Version (since = "1.4")]
public void set_flush_function (Gst.Base.CollectPadsFlushFunction func);
public void set_flushing (bool flushing);
public void set_function (Gst.Base.CollectPadsFunction func);
public void set_query_function (Gst.Base.CollectPadsQueryFunction func);
public void set_waiting (Gst.Base.CollectData data, bool waiting);
+ [Version (since = "1.4")]
public bool src_event_default (Gst.Pad pad, Gst.Event event);
public void start ();
public void stop ();
@@ -353,15 +365,19 @@ namespace Gst {
[CCode (cheader_filename = "gst/base/base.h", cname = "GstFlowCombiner", copy_function = "g_boxed_copy", free_function = "g_boxed_free", lower_case_cprefix = "gst_flow_combiner_", type_id = "gst_flow_combiner_get_type ()")]
[Compact]
[GIR (name = "FlowCombiner")]
+ [Version (since = "1.4")]
public class FlowCombiner {
[CCode (has_construct_function = false)]
public FlowCombiner ();
public void add_pad (Gst.Pad pad);
+ [Version (since = "1.6")]
public void clear ();
public void free ();
public void remove_pad (Gst.Pad pad);
+ [Version (since = "1.6")]
public void reset ();
public Gst.FlowReturn update_flow (Gst.FlowReturn fret);
+ [Version (since = "1.6")]
public Gst.FlowReturn update_pad_flow (Gst.Pad pad, Gst.FlowReturn fret);
}
[CCode (cheader_filename = "gst/base/base.h", type_id = "gst_base_parse_get_type ()")]
@@ -384,6 +400,7 @@ namespace Gst {
public virtual Gst.Caps get_sink_caps (Gst.Caps filter);
[NoWrapper]
public virtual Gst.FlowReturn handle_frame (Gst.Base.ParseFrame frame, int skipsize);
+ [Version (since = "1.6")]
public void merge_tags (Gst.TagList? tags, Gst.TagMergeMode mode);
[NoWrapper]
public virtual Gst.FlowReturn pre_push_frame (Gst.Base.ParseFrame frame);
@@ -400,6 +417,7 @@ namespace Gst {
[NoWrapper]
public virtual bool set_sink_caps (Gst.Caps caps);
public void set_syncable (bool syncable);
+ [Version (since = "1.2")]
public void set_ts_at_offset (size_t offset);
[NoWrapper]
public virtual bool sink_event (Gst.Event event);
@@ -454,8 +472,8 @@ namespace Gst {
public uint64 offset;
public Gst.PadMode pad_mode;
public bool playing_async;
- public weak GLib.Cond preroll_cond;
- public weak GLib.Mutex preroll_lock;
+ public GLib.Cond preroll_cond;
+ public GLib.Mutex preroll_lock;
public weak Gst.Segment segment;
public weak Gst.Pad sinkpad;
[CCode (has_construct_function = false)]
@@ -472,6 +490,7 @@ namespace Gst {
public virtual Gst.Caps get_caps (Gst.Caps filter);
public Gst.Sample? get_last_sample ();
public Gst.ClockTime get_latency ();
+ [Version (since = "1.2")]
public uint64 get_max_bitrate ();
public int64 get_max_lateness ();
public Gst.ClockTime get_render_delay ();
@@ -503,6 +522,7 @@ namespace Gst {
[NoWrapper]
public virtual bool set_caps (Gst.Caps caps);
public void set_last_sample_enabled (bool enabled);
+ [Version (since = "1.2")]
public void set_max_bitrate (uint64 max_bitrate);
public void set_max_lateness (int64 max_lateness);
public void set_qos_enabled (bool enabled);
@@ -529,6 +549,7 @@ namespace Gst {
[NoAccessorMethod]
public bool enable_last_sample { get; set; }
public Gst.Sample last_sample { owned get; }
+ [Version (since = "1.2")]
public uint64 max_bitrate { get; set; }
public int64 max_lateness { get; set; }
[NoAccessorMethod]
@@ -543,8 +564,8 @@ namespace Gst {
public abstract class Src : Gst.Element {
public bool can_activate_push;
public Gst.ClockID clock_id;
- public weak GLib.Cond live_cond;
- public weak GLib.Mutex live_lock;
+ public GLib.Cond live_cond;
+ public GLib.Mutex live_lock;
public bool live_running;
public bool need_newsegment;
public int num_buffers_left;
@@ -591,6 +612,7 @@ namespace Gst {
public virtual bool query (Gst.Query query);
public bool query_latency (out bool live, out Gst.ClockTime min_latency, out Gst.ClockTime max_latency);
public void set_async (bool @async);
+ [Version (since = "1.4")]
public void set_automatic_eos (bool automatic_eos);
public void set_blocksize (uint blocksize);
public virtual bool set_caps (Gst.Caps caps);
@@ -660,6 +682,7 @@ namespace Gst {
public void set_gap_aware (bool gap_aware);
public void set_in_place (bool in_place);
public void set_passthrough (bool passthrough);
+ [Version (since = "1.0.1")]
public void set_prefer_passthrough (bool prefer_passthrough);
public void set_qos_enabled (bool enabled);
[NoWrapper]
@@ -683,6 +706,7 @@ namespace Gst {
[NoWrapper]
public virtual bool transform_size (Gst.PadDirection direction, Gst.Caps caps, size_t size, Gst.Caps othercaps, size_t othersize);
public void update_qos (double proportion, Gst.ClockTimeDiff diff, Gst.ClockTime timestamp);
+ [Version (since = "1.6")]
public bool update_src_caps (Gst.Caps updated_caps);
[NoAccessorMethod]
public bool qos { get; set; }
@@ -738,6 +762,7 @@ namespace Gst {
[CCode (cheader_filename = "gst/base/base.h", cname = "GstCollectPadsEventFunction", instance_pos = 3.9)]
public delegate bool CollectPadsEventFunction (Gst.Base.CollectPads pads, Gst.Base.CollectData pad, Gst.Event event);
[CCode (cheader_filename = "gst/base/base.h", cname = "GstCollectPadsFlushFunction", instance_pos = 1.9)]
+ [Version (since = "1.4")]
public delegate void CollectPadsFlushFunction (Gst.Base.CollectPads pads);
[CCode (cheader_filename = "gst/base/base.h", cname = "GstCollectPadsFunction", instance_pos = 1.9)]
public delegate Gst.FlowReturn CollectPadsFunction (Gst.Base.CollectPads pads);
diff --git a/vapi/gstreamer-check-1.0.vapi b/vapi/gstreamer-check-1.0.vapi
index 0faf9edfc..f8aa9e1d0 100644
--- a/vapi/gstreamer-check-1.0.vapi
+++ b/vapi/gstreamer-check-1.0.vapi
@@ -6,6 +6,7 @@ namespace Gst {
[CCode (cheader_filename = "gst/check/check.h", cname = "GstHarnessThread")]
[Compact]
[GIR (name = "HarnessThread")]
+ [Version (since = "1.6")]
public class HarnessThread {
}
[CCode (cheader_filename = "gst/check/gstbufferstraw.h,gst/check/gstcheck.h,gst/check/gstconsistencychecker.h,gst/check/internal-check.h", cname = "GstStreamConsistency", lower_case_cprefix = "gst_consistency_checker_")]
@@ -19,21 +20,25 @@ namespace Gst {
}
[CCode (cheader_filename = "gst/check/check.h", cname = "GstTestClock", lower_case_cprefix = "gst_test_clock_", type_id = "gst_test_clock_get_type ()")]
[GIR (name = "TestClock")]
+ [Version (since = "1.2")]
public class TestClock : Gst.Clock {
[CCode (has_construct_function = false, type = "GstClock*")]
public TestClock ();
public void advance_time (Gst.ClockTimeDiff delta);
public Gst.ClockTime get_next_entry_time ();
public bool has_id (Gst.ClockID id);
+ [Version (since = "1.4")]
public static Gst.ClockTime id_list_get_latest_time (GLib.List<Gst.ClockID?>? pending_list);
public uint peek_id_count ();
public bool peek_next_pending_id (out Gst.ClockID pending_id);
+ [Version (since = "1.4")]
public uint process_id_list (GLib.List<Gst.ClockID?>? pending_list);
public Gst.ClockID process_next_clock_id ();
public void set_time (Gst.ClockTime new_time);
+ [Version (since = "1.4")]
public void wait_for_multiple_pending_ids (uint count, out GLib.List<Gst.ClockID?> pending_list);
public void wait_for_next_pending_id (out Gst.ClockID pending_id);
- [Deprecated]
+ [Version (deprecated = true, since = "1.2")]
public void wait_for_pending_id_count (uint count);
[CCode (has_construct_function = false, type = "GstClock*")]
public TestClock.with_start_time (Gst.ClockTime start_time);
@@ -49,6 +54,7 @@ namespace Gst {
}
[CCode (cheader_filename = "gst/check/check.h", cname = "GstHarness", has_type_id = false)]
[GIR (name = "Harness")]
+ [Version (since = "1.6")]
public struct Harness {
public weak Gst.Element element;
public weak Gst.Pad srcpad;
@@ -167,6 +173,7 @@ namespace Gst {
public bool wait_for_clock_id_waits (uint waits, uint timeout);
}
[CCode (cheader_filename = "gst/check/check.h", cname = "GstHarnessPrepareBufferFunc", has_target = false)]
+ [Version (since = "1.6")]
public delegate Gst.Buffer HarnessPrepareBufferFunc (Gst.Check.Harness h, void* data);
[CCode (cheader_filename = "gst/check/check.h")]
public static void abi_list (Gst.Check.ABIStruct list, bool have_abi_sizes);
@@ -189,12 +196,14 @@ namespace Gst {
[CCode (cheader_filename = "gst/check/check.h")]
public static void element_push_buffer_list (string element_name, owned GLib.List<Gst.Buffer> buffer_in, Gst.Caps caps_in, owned GLib.List<Gst.Buffer> buffer_out, Gst.Caps caps_out, Gst.FlowReturn last_flow_return);
[CCode (cheader_filename = "gst/check/check.h", cname = "gst_harness_stress_thread_stop")]
+ [Version (since = "1.6")]
public static uint harness_stress_thread_stop (Gst.Check.HarnessThread t);
[CCode (cheader_filename = "gst/check/check.h")]
public static void init (int argc, string argv);
[CCode (cheader_filename = "gst/check/check.h")]
public static void message_error (Gst.Message message, Gst.MessageType type, GLib.Quark domain, int code);
[CCode (cheader_filename = "gst/check/check.h")]
+ [Version (since = "1.6")]
public static void object_destroyed_on_unref (void* object_to_unref);
[CCode (cheader_filename = "gst/check/check.h")]
public static Gst.Element setup_element (string factory);
@@ -207,16 +216,20 @@ namespace Gst {
[CCode (cheader_filename = "gst/check/check.h")]
public static Gst.Pad setup_sink_pad_by_name (Gst.Element element, Gst.StaticPadTemplate tmpl, string name);
[CCode (cheader_filename = "gst/check/check.h")]
+ [Version (since = "1.4")]
public static Gst.Pad setup_sink_pad_by_name_from_template (Gst.Element element, Gst.PadTemplate tmpl, string name);
[CCode (cheader_filename = "gst/check/check.h")]
+ [Version (since = "1.4")]
public static Gst.Pad setup_sink_pad_from_template (Gst.Element element, Gst.PadTemplate tmpl);
[CCode (cheader_filename = "gst/check/check.h")]
public static Gst.Pad setup_src_pad (Gst.Element element, Gst.StaticPadTemplate tmpl);
[CCode (cheader_filename = "gst/check/check.h")]
public static Gst.Pad setup_src_pad_by_name (Gst.Element element, Gst.StaticPadTemplate tmpl, string name);
[CCode (cheader_filename = "gst/check/check.h")]
+ [Version (since = "1.4")]
public static Gst.Pad setup_src_pad_by_name_from_template (Gst.Element element, Gst.PadTemplate tmpl, string name);
[CCode (cheader_filename = "gst/check/check.h")]
+ [Version (since = "1.4")]
public static Gst.Pad setup_src_pad_from_template (Gst.Element element, Gst.PadTemplate tmpl);
[CCode (cheader_filename = "gst/check/check.h")]
public static void teardown_element (Gst.Element element);
diff --git a/vapi/gstreamer-controller-0.10.vapi b/vapi/gstreamer-controller-0.10.vapi
index f3f54a82d..ed2652f9c 100644
--- a/vapi/gstreamer-controller-0.10.vapi
+++ b/vapi/gstreamer-controller-0.10.vapi
@@ -13,7 +13,7 @@ namespace Gst {
}
[CCode (cheader_filename = "gst/controller/gstcontroller.h")]
public class Controller : GLib.Object {
- public weak GLib.Mutex @lock;
+ public GLib.Mutex @lock;
public weak GLib.Object object;
public weak GLib.List<Gst.TimedValue> properties;
[CCode (has_construct_function = false)]
@@ -46,7 +46,7 @@ namespace Gst {
}
[CCode (cheader_filename = "gst/controller/gstcontroller.h")]
public class InterpolationControlSource : Gst.ControlSource {
- public weak GLib.Mutex @lock;
+ public GLib.Mutex @lock;
[CCode (has_construct_function = false)]
public InterpolationControlSource ();
public GLib.List<weak Gst.TimedValue> get_all ();
@@ -59,7 +59,7 @@ namespace Gst {
}
[CCode (cheader_filename = "gst/controller/gstlfocontrolsource.h")]
public class LFOControlSource : Gst.ControlSource {
- public weak GLib.Mutex @lock;
+ public GLib.Mutex @lock;
[CCode (has_construct_function = false)]
public LFOControlSource ();
[NoAccessorMethod]
diff --git a/vapi/gstreamer-controller-1.0.vapi b/vapi/gstreamer-controller-1.0.vapi
index bd3a54498..be45c3d8d 100644
--- a/vapi/gstreamer-controller-1.0.vapi
+++ b/vapi/gstreamer-controller-1.0.vapi
@@ -38,6 +38,7 @@ namespace Gst {
[CCode (has_construct_function = false, type = "GstControlBinding*")]
public DirectControlBinding (Gst.Object object, string property_name, Gst.ControlSource cs);
[CCode (cname = "gst_direct_control_binding_new_absolute", has_construct_function = false, type = "GstControlBinding*")]
+ [Version (since = "1.6")]
public DirectControlBinding..new_with_absolute (Gst.Object object, string property_name, Gst.ControlSource cs);
[NoAccessorMethod]
public bool absolute { get; construct; }
@@ -71,7 +72,7 @@ namespace Gst {
[CCode (cheader_filename = "gst/controller/controller.h", cname = "GstTimedValueControlSource", lower_case_cprefix = "gst_timed_value_control_source_", type_id = "gst_timed_value_control_source_get_type ()")]
[GIR (name = "TimedValueControlSource")]
public abstract class TimedValueControlSource : Gst.ControlSource {
- public weak GLib.Mutex @lock;
+ public GLib.Mutex @lock;
public int nvalues;
public bool valid_cache;
public GLib.Sequence<Gst.Controller.ControlPoint?> values;
@@ -84,8 +85,11 @@ namespace Gst {
public bool set_from_list (GLib.SList<Gst.TimedValue?> timedvalues);
public bool unset (Gst.ClockTime timestamp);
public void unset_all ();
+ [Version (since = "1.6")]
public signal void value_added (Gst.Controller.ControlPoint timed_value);
+ [Version (since = "1.6")]
public signal void value_changed (Gst.Controller.ControlPoint timed_value);
+ [Version (since = "1.6")]
public signal void value_removed (Gst.Controller.ControlPoint timed_value);
}
[CCode (cheader_filename = "gst/controller/controller.h", cname = "GstTriggerControlSource", lower_case_cprefix = "gst_trigger_control_source_", type_id = "gst_trigger_control_source_get_type ()")]
diff --git a/vapi/gstreamer-net-1.0.vapi b/vapi/gstreamer-net-1.0.vapi
index 5d4a8563c..b2a4849e9 100644
--- a/vapi/gstreamer-net-1.0.vapi
+++ b/vapi/gstreamer-net-1.0.vapi
@@ -27,12 +27,14 @@ namespace Gst {
[GIR (name = "NtpClock")]
public class NtpClock : Gst.Net.ClientClock {
[CCode (has_construct_function = false, type = "GstClock*")]
+ [Version (since = "1.6")]
public NtpClock (string name, string remote_address, int remote_port, Gst.ClockTime base_time);
}
[CCode (cheader_filename = "gst/net/net.h", cname = "GstPtpClock", lower_case_cprefix = "gst_ptp_clock_", type_id = "gst_ptp_clock_get_type ()")]
[GIR (name = "PtpClock")]
public class PtpClock : Gst.SystemClock {
[CCode (has_construct_function = false, type = "GstClock*")]
+ [Version (since = "1.6")]
public PtpClock (string name, uint domain);
[NoAccessorMethod]
public uint domain { get; construct; }
@@ -106,16 +108,22 @@ namespace Gst {
[CCode (cheader_filename = "gst/net/net.h")]
public static unowned Gst.MetaInfo? control_message_meta_get_info ();
[CCode (cheader_filename = "gst/net/net.h", cname = "gst_ptp_deinit")]
+ [Version (since = "1.6")]
public static void ptp_deinit ();
[CCode (cheader_filename = "gst/net/net.h", cname = "gst_ptp_init")]
+ [Version (since = "1.6")]
public static bool ptp_init (uint64 clock_id, [CCode (array_length = false, array_null_terminated = true)] string[]? interfaces);
[CCode (cheader_filename = "gst/net/net.h", cname = "gst_ptp_is_initialized")]
+ [Version (since = "1.6")]
public static bool ptp_is_initialized ();
[CCode (cheader_filename = "gst/net/net.h", cname = "gst_ptp_is_supported")]
+ [Version (since = "1.6")]
public static bool ptp_is_supported ();
[CCode (cheader_filename = "gst/net/net.h", cname = "gst_ptp_statistics_callback_add")]
+ [Version (since = "1.6")]
public static ulong ptp_statistics_callback_add (owned Gst.Net.PtpStatisticsCallback callback);
[CCode (cheader_filename = "gst/net/net.h", cname = "gst_ptp_statistics_callback_remove")]
+ [Version (since = "1.6")]
public static void ptp_statistics_callback_remove (ulong id);
}
}
diff --git a/vapi/gstreamer-pbutils-1.0.vapi b/vapi/gstreamer-pbutils-1.0.vapi
index b0270e4a1..2fbc4c4e3 100644
--- a/vapi/gstreamer-pbutils-1.0.vapi
+++ b/vapi/gstreamer-pbutils-1.0.vapi
@@ -76,13 +76,15 @@ namespace Gst {
[CCode (has_construct_function = false)]
protected DiscovererInfo ();
public Gst.PbUtils.DiscovererInfo copy ();
+ [Version (since = "1.6")]
public static Gst.PbUtils.DiscovererInfo from_variant (GLib.Variant variant);
public GLib.List<Gst.PbUtils.DiscovererStreamInfo> get_audio_streams ();
public GLib.List<Gst.PbUtils.DiscovererStreamInfo> get_container_streams ();
public Gst.ClockTime get_duration ();
- [Deprecated]
+ [Version (deprecated = true)]
public unowned Gst.Structure get_misc ();
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "1.4")]
public unowned string[] get_missing_elements_installer_details ();
public Gst.PbUtils.DiscovererResult get_result ();
public bool get_seekable ();
@@ -94,6 +96,7 @@ namespace Gst {
public unowned Gst.Toc get_toc ();
public unowned string get_uri ();
public GLib.List<Gst.PbUtils.DiscovererStreamInfo> get_video_streams ();
+ [Version (since = "1.6")]
public GLib.Variant to_variant (Gst.PbUtils.DiscovererSerializeFlags flags);
}
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = "GstDiscovererStreamInfo", lower_case_cprefix = "gst_discoverer_stream_info_", type_id = "gst_discoverer_stream_info_get_type ()")]
@@ -102,7 +105,7 @@ namespace Gst {
[CCode (has_construct_function = false)]
protected DiscovererStreamInfo ();
public Gst.Caps get_caps ();
- [Deprecated]
+ [Version (deprecated = true)]
public unowned Gst.Structure get_misc ();
public Gst.PbUtils.DiscovererStreamInfo get_next ();
public Gst.PbUtils.DiscovererStreamInfo get_previous ();
@@ -216,8 +219,11 @@ namespace Gst {
[CCode (has_construct_function = false)]
public InstallPluginsContext ();
public void free ();
+ [Version (since = "1.6")]
public void set_confirm_search (bool confirm_search);
+ [Version (since = "1.6")]
public void set_desktop_id (string desktop_id);
+ [Version (since = "1.6")]
public void set_startup_notification_id (string startup_id);
public void set_xid (uint xid);
}
@@ -234,6 +240,7 @@ namespace Gst {
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = "GstDiscovererSerializeFlags", cprefix = "GST_DISCOVERER_SERIALIZE_", type_id = "gst_discoverer_serialize_flags_get_type ()")]
[Flags]
[GIR (name = "DiscovererSerializeFlags")]
+ [Version (since = "1.6")]
public enum DiscovererSerializeFlags {
BASIC,
CAPS,
@@ -305,7 +312,7 @@ namespace Gst {
[CCode (cheader_filename = "gst/pbutils/pbutils.h")]
public static void init ();
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = "gst_install_plugins_async")]
- public static Gst.PbUtils.InstallPluginsReturn install_plugins_async ([CCode (array_length = false, array_null_terminated = true)] string[] details, Gst.PbUtils.InstallPluginsContext? ctx, [CCode (scope = "async")] owned Gst.PbUtils.InstallPluginsResultFunc func);
+ public static Gst.PbUtils.InstallPluginsReturn install_plugins_async ([CCode (array_length = false, array_null_terminated = true)] string[] details, Gst.PbUtils.InstallPluginsContext? ctx, [CCode (scope = "async")] Gst.PbUtils.InstallPluginsResultFunc func);
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = "gst_install_plugins_installation_in_progress")]
public static bool install_plugins_installation_in_progress ();
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = "gst_install_plugins_return_get_name")]
diff --git a/vapi/gstreamer-rtp-1.0.vapi b/vapi/gstreamer-rtp-1.0.vapi
index 1c99bbed6..c2ca95d5d 100644
--- a/vapi/gstreamer-rtp-1.0.vapi
+++ b/vapi/gstreamer-rtp-1.0.vapi
@@ -110,6 +110,7 @@ namespace Gst {
public uint32 get_csrc (uint8 idx);
public uint8 get_csrc_count ();
public bool get_extension ();
+ [Version (since = "1.2")]
public GLib.Bytes get_extension_bytes (out uint16 bits);
public bool get_extension_data (out uint16 bits, [CCode (array_length = false)] out unowned uint8[] data, out uint wordlen);
public bool get_extension_onebyte_header (uint8 id, uint nth, [CCode (array_length_cname = "size", array_length_pos = 3.1, array_length_type = "guint")] out unowned uint8[] data);
@@ -121,6 +122,7 @@ namespace Gst {
[CCode (array_length = false)]
public unowned uint8[] get_payload ();
public Gst.Buffer get_payload_buffer ();
+ [Version (since = "1.2")]
public GLib.Bytes get_payload_bytes ();
public uint get_payload_len ();
public Gst.Buffer get_payload_subbuffer (uint offset, uint len);
@@ -156,6 +158,7 @@ namespace Gst {
[CCode (cheader_filename = "gst/rtp/rtp.h", cprefix = "GST_RTP_BUFFER_MAP_FLAG_", type_id = "gst_rtp_buffer_map_flags_get_type ()")]
[Flags]
[GIR (name = "RTPBufferMapFlags")]
+ [Version (since = "1.6.1")]
public enum BufferMapFlags {
SKIP_PADDING,
LAST
@@ -227,6 +230,7 @@ namespace Gst {
}
[CCode (cheader_filename = "gst/rtp/rtp.h", cprefix = "GST_RTP_PROFILE_", type_id = "gst_rtp_profile_get_type ()")]
[GIR (name = "RTPProfile")]
+ [Version (since = "1.6")]
public enum Profile {
UNKNOWN,
AVP,
@@ -456,8 +460,10 @@ namespace Gst {
[CCode (cheader_filename = "gst/rtp/rtp.h", cname = "gst_rtcp_buffer_validate_data")]
public static bool buffer_validate_data ([CCode (array_length_cname = "len", array_length_pos = 1.1, array_length_type = "guint")] uint8[] data);
[CCode (cheader_filename = "gst/rtp/rtp.h", cname = "gst_rtcp_buffer_validate_data_reduced")]
+ [Version (since = "1.6")]
public static bool buffer_validate_data_reduced ([CCode (array_length_cname = "len", array_length_pos = 1.1, array_length_type = "guint")] uint8[] data);
[CCode (cheader_filename = "gst/rtp/rtp.h", cname = "gst_rtcp_buffer_validate_reduced")]
+ [Version (since = "1.6")]
public static bool buffer_validate_reduced (Gst.Buffer buffer);
[CCode (cheader_filename = "gst/rtp/rtp.h", cname = "gst_rtcp_ntp_to_unix")]
public static uint64 ntp_to_unix (uint64 ntptime);
diff --git a/vapi/gstreamer-rtsp-1.0.vapi b/vapi/gstreamer-rtsp-1.0.vapi
index 0c3ff52aa..6e127254a 100644
--- a/vapi/gstreamer-rtsp-1.0.vapi
+++ b/vapi/gstreamer-rtsp-1.0.vapi
@@ -16,9 +16,13 @@ namespace Gst {
public unowned string get_ip ();
public unowned GLib.Socket get_read_socket ();
public bool get_remember_session_id ();
+ [Version (since = "1.2")]
public unowned GLib.TlsConnection get_tls () throws GLib.Error;
+ [Version (since = "1.4")]
public GLib.TlsDatabase get_tls_database ();
+ [Version (since = "1.6")]
public GLib.TlsInteraction get_tls_interaction ();
+ [Version (since = "1.2.1")]
public GLib.TlsCertificateFlags get_tls_validation_flags ();
public unowned string get_tunnelid ();
public Gst.RTSP.Url get_url ();
@@ -37,8 +41,11 @@ namespace Gst {
public Gst.RTSP.Result set_proxy (string host, uint port);
public Gst.RTSP.Result set_qos_dscp (uint qos_dscp);
public void set_remember_session_id (bool remember);
+ [Version (since = "1.4")]
public void set_tls_database (GLib.TlsDatabase database);
+ [Version (since = "1.6")]
public void set_tls_interaction (GLib.TlsInteraction interaction);
+ [Version (since = "1.2.1")]
public bool set_tls_validation_flags (GLib.TlsCertificateFlags flags);
public void set_tunneled (bool tunneled);
public Gst.RTSP.Result write (uint8 data, uint size, GLib.TimeVal timeout);
@@ -68,12 +75,16 @@ namespace Gst {
[GIR (name = "RTSPWatch")]
public class Watch {
public uint attach (GLib.MainContext context);
+ [Version (since = "1.2")]
public void get_send_backlog (out size_t bytes, out uint messages);
public void reset ();
public Gst.RTSP.Result send_message (Gst.RTSP.Message message, out uint id);
+ [Version (since = "1.4")]
public void set_flushing (bool flushing);
+ [Version (since = "1.2")]
public void set_send_backlog (size_t bytes, uint messages);
public void unref ();
+ [Version (since = "1.4")]
public Gst.RTSP.Result wait_backlog (GLib.TimeVal timeout);
public Gst.RTSP.Result write_data ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "guint")] owned uint8[] data, out uint id);
}
@@ -111,12 +122,14 @@ namespace Gst {
[CCode (cname = "type_data.data.channel")]
public uint8 type_data_data_channel;
public Gst.RTSP.Result add_header (Gst.RTSP.HeaderField field, string value);
+ [Version (since = "1.6")]
public Gst.RTSP.Result add_header_by_name (string header, string value);
public Gst.RTSP.Result append_headers (GLib.StringBuilder str);
public Gst.RTSP.Result dump ();
public Gst.RTSP.Result free ();
public Gst.RTSP.Result get_body ([CCode (array_length_cname = "size", array_length_pos = 1.1, array_length_type = "guint")] out unowned uint8[] data);
public Gst.RTSP.Result get_header (Gst.RTSP.HeaderField field, out unowned string value, int indx);
+ [Version (since = "1.6")]
public Gst.RTSP.Result get_header_by_name (string header, out unowned string value, int index);
public Gst.RTSP.MsgType get_type ();
public Gst.RTSP.Result init ();
@@ -127,11 +140,13 @@ namespace Gst {
public Gst.RTSP.Result parse_request (out Gst.RTSP.Method method, out string uri, out Gst.RTSP.Version version);
public Gst.RTSP.Result parse_response (out Gst.RTSP.StatusCode code, out string reason, out Gst.RTSP.Version version);
public Gst.RTSP.Result remove_header (Gst.RTSP.HeaderField field, int indx);
+ [Version (since = "1.6")]
public Gst.RTSP.Result remove_header_by_name (string header, int index);
public Gst.RTSP.Result set_body ([CCode (array_length_cname = "size", array_length_pos = 1.1, array_length_type = "guint")] uint8[] data);
public Gst.RTSP.Result steal_body ([CCode (array_length_cname = "size", array_length_pos = 1.1, array_length_type = "guint")] out uint8[] data);
public Gst.RTSP.Result take_body ([CCode (array_length_cname = "size", array_length_pos = 1.1, array_length_type = "guint")] owned uint8[] data);
public Gst.RTSP.Result take_header (Gst.RTSP.HeaderField field, owned string value);
+ [Version (since = "1.6")]
public Gst.RTSP.Result take_header_by_name (string header, owned string value);
public Gst.RTSP.Result unset ();
}
@@ -149,6 +164,7 @@ namespace Gst {
}
[CCode (cheader_filename = "gst/rtsp/rtsp.h", has_type_id = false)]
[GIR (name = "RTSPTime2")]
+ [Version (since = "1.2")]
public struct Time2 {
public double frames;
public uint year;
@@ -184,6 +200,7 @@ namespace Gst {
public uint ssrc;
public string as_text ();
public Gst.RTSP.Result free ();
+ [Version (since = "1.4")]
public Gst.RTSP.Result get_media_type (out unowned string media_type);
public Gst.RTSP.Result init ();
}
@@ -490,12 +507,14 @@ namespace Gst {
[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
public static string options_as_text (Gst.RTSP.Method options);
[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
+ [Version (since = "1.2")]
public static Gst.RTSP.Method options_from_text (string options);
[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
public static bool range_convert_units (Gst.RTSP.TimeRange range, Gst.RTSP.RangeUnit unit);
[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
public static void range_free (Gst.RTSP.TimeRange range);
[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
+ [Version (since = "1.2")]
public static bool range_get_times (Gst.RTSP.TimeRange range, Gst.ClockTime min, Gst.ClockTime max);
[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
public static Gst.RTSP.Result range_parse (string rangestr, Gst.RTSP.TimeRange range);
@@ -508,7 +527,7 @@ namespace Gst {
[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
public static Gst.RTSP.Result transport_get_manager (Gst.RTSP.TransMode trans, string manager, uint option);
[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
- [Deprecated]
+ [Version (deprecated = true)]
public static Gst.RTSP.Result transport_get_mime (Gst.RTSP.TransMode trans, string mime);
[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
public static Gst.RTSP.Result transport_new (Gst.RTSP.Transport transport);
diff --git a/vapi/gstreamer-sdp-1.0.vapi b/vapi/gstreamer-sdp-1.0.vapi
index e6ce3f230..c01195114 100644
--- a/vapi/gstreamer-sdp-1.0.vapi
+++ b/vapi/gstreamer-sdp-1.0.vapi
@@ -26,30 +26,53 @@ namespace Gst {
public Gst.SDP.MIKEYType type;
public uint8 version;
[CCode (has_construct_function = false)]
+ [Version (since = "1.4")]
public MIKEYMessage ();
+ [Version (since = "1.4")]
public bool add_cs_srtp (uint8 policy, uint32 ssrc, uint32 roc);
+ [Version (since = "1.4")]
public bool add_payload (owned Gst.SDP.MIKEYPayload payload);
+ [Version (since = "1.4")]
public bool add_pke (Gst.SDP.MIKEYCacheType C, [CCode (array_length_cname = "data_len", array_length_pos = 1.5, array_length_type = "guint16")] uint8[] data);
+ [Version (since = "1.4")]
public bool add_rand ([CCode (array_length_cname = "len", array_length_pos = 0.5, array_length_type = "guint8")] uint8[] rand);
+ [Version (since = "1.4")]
public bool add_rand_len (uint8 len);
+ [Version (since = "1.4")]
public bool add_t (Gst.SDP.MIKEYTSType type, [CCode (array_length = false)] uint8[] ts_value);
+ [Version (since = "1.4")]
public bool add_t_now_ntp_utc ();
+ [Version (since = "1.4")]
public unowned Gst.SDP.MIKEYPayload find_payload (Gst.SDP.MIKEYPayloadType type, uint nth);
[CCode (has_construct_function = false)]
+ [Version (since = "1.4")]
public MIKEYMessage.from_bytes (GLib.Bytes bytes, Gst.SDP.MIKEYDecryptInfo info) throws GLib.Error;
[CCode (has_construct_function = false)]
+ [Version (since = "1.4")]
public MIKEYMessage.from_data ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] data, Gst.SDP.MIKEYDecryptInfo info) throws GLib.Error;
+ [Version (since = "1.4")]
public unowned Gst.SDP.MIKEYMapSRTP? get_cs_srtp (uint idx);
+ [Version (since = "1.4")]
public uint get_n_cs ();
+ [Version (since = "1.4")]
public uint get_n_payloads ();
+ [Version (since = "1.4")]
public unowned Gst.SDP.MIKEYPayload get_payload (uint idx);
+ [Version (since = "1.4")]
public bool insert_cs_srtp (int idx, Gst.SDP.MIKEYMapSRTP map);
+ [Version (since = "1.4")]
public bool insert_payload (uint idx, owned Gst.SDP.MIKEYPayload payload);
+ [Version (since = "1.4")]
public bool remove_cs_srtp (int idx);
+ [Version (since = "1.4")]
public bool remove_payload (uint idx);
+ [Version (since = "1.4")]
public bool replace_cs_srtp (int idx, Gst.SDP.MIKEYMapSRTP map);
+ [Version (since = "1.4")]
public bool replace_payload (uint idx, owned Gst.SDP.MIKEYPayload payload);
+ [Version (since = "1.4")]
public bool set_info (uint8 version, Gst.SDP.MIKEYType type, bool V, Gst.SDP.MIKEYPRFFunc prf_func, uint32 CSB_id, Gst.SDP.MIKEYMapType map_type);
+ [Version (since = "1.4")]
public GLib.Bytes to_bytes (Gst.SDP.MIKEYEncryptInfo info) throws GLib.Error;
}
[CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYPayload", copy_function = "g_boxed_copy", free_function = "g_boxed_free", lower_case_cprefix = "gst_mikey_payload_", type_id = "gst_mikey_payload_get_type ()")]
@@ -59,23 +82,41 @@ namespace Gst {
public uint len;
public Gst.SDP.MIKEYPayloadType type;
[CCode (has_construct_function = false)]
+ [Version (since = "1.4")]
public MIKEYPayload (Gst.SDP.MIKEYPayloadType type);
+ [Version (since = "1.4")]
public bool kemac_add_sub (owned Gst.SDP.MIKEYPayload newpay);
+ [Version (since = "1.4")]
public uint kemac_get_n_sub ();
+ [Version (since = "1.4")]
public unowned Gst.SDP.MIKEYPayload kemac_get_sub (uint idx);
+ [Version (since = "1.4")]
public bool kemac_remove_sub (uint idx);
+ [Version (since = "1.4")]
public bool kemac_set (Gst.SDP.MIKEYEncAlg enc_alg, Gst.SDP.MIKEYMacAlg mac_alg);
+ [Version (since = "1.4")]
public bool key_data_set_interval (uint8 vf_len, [CCode (array_length_cname = "vt_len", array_length_pos = 1.66667, array_length_type = "guint8")] uint8[] vt_data);
+ [Version (since = "1.4")]
public bool key_data_set_key (Gst.SDP.MIKEYKeyDataType key_type, [CCode (array_length_cname = "key_len", array_length_pos = 1.5, array_length_type = "guint16")] uint8[] key_data);
+ [Version (since = "1.4")]
public bool key_data_set_salt ([CCode (array_length_cname = "salt_len", array_length_pos = 0.5, array_length_type = "guint16")] uint8[]? salt_data);
+ [Version (since = "1.4")]
public bool key_data_set_spi ([CCode (array_length_cname = "spi_len", array_length_pos = 0.5, array_length_type = "guint8")] uint8[] spi_data);
+ [Version (since = "1.4")]
public bool pke_set (Gst.SDP.MIKEYCacheType C, [CCode (array_length_cname = "data_len", array_length_pos = 1.5, array_length_type = "guint16")] uint8[] data);
+ [Version (since = "1.4")]
public bool rand_set ([CCode (array_length_cname = "len", array_length_pos = 0.5, array_length_type = "guint8")] uint8[] rand);
+ [Version (since = "1.4")]
public bool sp_add_param (uint8 type, [CCode (array_length_cname = "len", array_length_pos = 1.5, array_length_type = "guint8")] uint8[] val);
+ [Version (since = "1.4")]
public uint sp_get_n_params ();
+ [Version (since = "1.4")]
public unowned Gst.SDP.MIKEYPayloadSPParam? sp_get_param (uint idx);
+ [Version (since = "1.4")]
public bool sp_remove_param (uint idx);
+ [Version (since = "1.4")]
public bool sp_set (uint policy, Gst.SDP.MIKEYSecProto proto);
+ [Version (since = "1.4")]
public bool t_set (Gst.SDP.MIKEYTSType type, [CCode (array_length = false)] uint8[] ts_value);
}
[CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYPayloadKEMAC")]
@@ -159,6 +200,7 @@ namespace Gst {
public string as_text ();
public uint attributes_len ();
public uint bandwidths_len ();
+ [Version (since = "1.2")]
public Gst.SDP.Result copy (out Gst.SDP.Message copy);
public Gst.SDP.Result dump ();
public uint emails_len ();
@@ -180,25 +222,43 @@ namespace Gst {
public unowned string get_version ();
public unowned Gst.SDP.Zone? get_zone (uint idx);
public Gst.SDP.Result init ();
+ [Version (since = "1.2")]
public Gst.SDP.Result insert_attribute (int idx, Gst.SDP.Attribute attr);
+ [Version (since = "1.2")]
public Gst.SDP.Result insert_bandwidth (int idx, Gst.SDP.Bandwidth bw);
+ [Version (since = "1.2")]
public Gst.SDP.Result insert_email (int idx, string email);
+ [Version (since = "1.2")]
public Gst.SDP.Result insert_phone (int idx, string phone);
+ [Version (since = "1.2")]
public Gst.SDP.Result insert_time (int idx, Gst.SDP.Time t);
+ [Version (since = "1.2")]
public Gst.SDP.Result insert_zone (int idx, Gst.SDP.Zone zone);
public uint medias_len ();
public uint phones_len ();
+ [Version (since = "1.2")]
public Gst.SDP.Result remove_attribute (uint idx);
+ [Version (since = "1.2")]
public Gst.SDP.Result remove_bandwidth (uint idx);
+ [Version (since = "1.2")]
public Gst.SDP.Result remove_email (uint idx);
+ [Version (since = "1.2")]
public Gst.SDP.Result remove_phone (uint idx);
+ [Version (since = "1.2")]
public Gst.SDP.Result remove_time (uint idx);
+ [Version (since = "1.2")]
public Gst.SDP.Result remove_zone (uint idx);
+ [Version (since = "1.2")]
public Gst.SDP.Result replace_attribute (uint idx, Gst.SDP.Attribute attr);
+ [Version (since = "1.2")]
public Gst.SDP.Result replace_bandwidth (uint idx, Gst.SDP.Bandwidth bw);
+ [Version (since = "1.2")]
public Gst.SDP.Result replace_email (uint idx, string email);
+ [Version (since = "1.2")]
public Gst.SDP.Result replace_phone (uint idx, string phone);
+ [Version (since = "1.2")]
public Gst.SDP.Result replace_time (uint idx, Gst.SDP.Time t);
+ [Version (since = "1.2")]
public Gst.SDP.Result replace_zone (uint idx, Gst.SDP.Zone zone);
public Gst.SDP.Result set_connection (string nettype, string addrtype, string address, uint ttl, uint addr_number);
public Gst.SDP.Result set_information (string information);
@@ -216,7 +276,9 @@ namespace Gst {
public struct Attribute {
public weak string key;
public weak string value;
+ [Version (since = "1.2")]
public Gst.SDP.Result clear ();
+ [Version (since = "1.2")]
public Gst.SDP.Result @set (string key, string value);
}
[CCode (cheader_filename = "gst/sdp/sdp.h", has_type_id = false)]
@@ -224,7 +286,9 @@ namespace Gst {
public struct Bandwidth {
public weak string bwtype;
public uint bandwidth;
+ [Version (since = "1.2")]
public Gst.SDP.Result clear ();
+ [Version (since = "1.2")]
public Gst.SDP.Result @set (string bwtype, uint bandwidth);
}
[CCode (cheader_filename = "gst/sdp/sdp.h", has_type_id = false)]
@@ -235,7 +299,9 @@ namespace Gst {
public weak string address;
public uint ttl;
public uint addr_number;
+ [Version (since = "1.2")]
public Gst.SDP.Result clear ();
+ [Version (since = "1.2")]
public Gst.SDP.Result @set (string nettype, string addrtype, string address, uint ttl, uint addr_number);
}
[CCode (cheader_filename = "gst/sdp/sdp.h", has_type_id = false)]
@@ -279,6 +345,7 @@ namespace Gst {
public uint attributes_len ();
public uint bandwidths_len ();
public uint connections_len ();
+ [Version (since = "1.2")]
public Gst.SDP.Result copy (out Gst.SDP.Media copy);
public uint formats_len ();
public Gst.SDP.Result free ();
@@ -295,17 +362,29 @@ namespace Gst {
public uint get_port ();
public unowned string get_proto ();
public Gst.SDP.Result init ();
+ [Version (since = "1.2")]
public Gst.SDP.Result insert_attribute (int idx, Gst.SDP.Attribute attr);
+ [Version (since = "1.2")]
public Gst.SDP.Result insert_bandwidth (int idx, Gst.SDP.Bandwidth bw);
+ [Version (since = "1.2")]
public Gst.SDP.Result insert_connection (int idx, Gst.SDP.Connection conn);
+ [Version (since = "1.2")]
public Gst.SDP.Result insert_format (int idx, string format);
+ [Version (since = "1.2")]
public Gst.SDP.Result remove_attribute (uint idx);
+ [Version (since = "1.2")]
public Gst.SDP.Result remove_bandwidth (uint idx);
+ [Version (since = "1.2")]
public Gst.SDP.Result remove_connection (uint idx);
+ [Version (since = "1.2")]
public Gst.SDP.Result remove_format (uint idx);
+ [Version (since = "1.2")]
public Gst.SDP.Result replace_attribute (uint idx, Gst.SDP.Attribute attr);
+ [Version (since = "1.2")]
public Gst.SDP.Result replace_bandwidth (uint idx, Gst.SDP.Bandwidth bw);
+ [Version (since = "1.2")]
public Gst.SDP.Result replace_connection (uint idx, Gst.SDP.Connection conn);
+ [Version (since = "1.2")]
public Gst.SDP.Result replace_format (uint idx, string format);
public Gst.SDP.Result set_information (string information);
public Gst.SDP.Result set_key (string type, string data);
@@ -330,7 +409,9 @@ namespace Gst {
public weak string start;
public weak string stop;
public weak GLib.Array<void*> repeat;
+ [Version (since = "1.2")]
public Gst.SDP.Result clear ();
+ [Version (since = "1.2")]
public Gst.SDP.Result @set (string start, string stop, [CCode (array_length = false, array_null_terminated = true)] string[] repeat);
}
[CCode (cheader_filename = "gst/sdp/sdp.h", has_type_id = false)]
@@ -338,7 +419,9 @@ namespace Gst {
public struct Zone {
public weak string time;
public weak string typed_time;
+ [Version (since = "1.2")]
public Gst.SDP.Result clear ();
+ [Version (since = "1.2")]
public Gst.SDP.Result @set (string adj_time, string typed_time);
}
[CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYCacheType", cprefix = "GST_MIKEY_CACHE_", has_type_id = false)]
diff --git a/vapi/gstreamer-tag-1.0.vapi b/vapi/gstreamer-tag-1.0.vapi
index 03c9505b7..b569206e8 100644
--- a/vapi/gstreamer-tag-1.0.vapi
+++ b/vapi/gstreamer-tag-1.0.vapi
@@ -190,6 +190,7 @@ namespace Gst {
[CCode (cheader_filename = "gst/tag/tag.h", cname = "GST_TAG_ID3V2_HEADER_SIZE")]
public const int ID3V2_HEADER_SIZE;
[CCode (cheader_filename = "gst/tag/tag.h", cname = "GST_TAG_MUSICAL_KEY")]
+ [Version (since = "1.2")]
public const string MUSICAL_KEY;
[CCode (cheader_filename = "gst/tag/tag.h")]
public static bool check_language_code (string lang_code);
diff --git a/vapi/gstreamer-video-1.0.vapi b/vapi/gstreamer-video-1.0.vapi
index 778fd3504..d723af1c6 100644
--- a/vapi/gstreamer-video-1.0.vapi
+++ b/vapi/gstreamer-video-1.0.vapi
@@ -64,9 +64,12 @@ namespace Gst {
[Compact]
[GIR (name = "VideoConverter")]
public class Converter {
+ [Version (since = "1.6")]
public void frame (Gst.Video.Frame src, Gst.Video.Frame dest);
+ [Version (since = "1.6")]
public void free ();
public unowned Gst.Structure get_config ();
+ [Version (since = "1.6")]
public bool set_config (owned Gst.Structure config);
}
[CCode (cheader_filename = "gst/video/video.h", type_id = "gst_video_decoder_get_type ()")]
@@ -97,11 +100,14 @@ namespace Gst {
public void get_latency (out Gst.ClockTime min_latency, out Gst.ClockTime max_latency);
public Gst.ClockTimeDiff get_max_decode_time (Gst.Video.CodecFrame frame);
public int get_max_errors ();
+ [Version (since = "1.4")]
public bool get_needs_format ();
public Gst.Video.CodecFrame get_oldest_frame ();
public Gst.Video.CodecState get_output_state ();
public bool get_packetized ();
+ [Version (since = "1.4")]
public size_t get_pending_frame_size ();
+ [Version (since = "1.0.3")]
public double get_qos_proportion ();
[NoWrapper]
public virtual Gst.Caps getcaps (Gst.Caps filter);
@@ -116,7 +122,9 @@ namespace Gst {
public virtual Gst.FlowReturn parse (Gst.Video.CodecFrame frame, Gst.Base.Adapter adapter, bool at_eos);
[NoWrapper]
public virtual bool propose_allocation (Gst.Query query);
+ [Version (since = "1.6")]
public Gst.Caps proxy_getcaps (Gst.Caps? caps, Gst.Caps? filter);
+ [Version (since = "1.2.2")]
public void release_frame (owned Gst.Video.CodecFrame frame);
[NoWrapper]
public virtual bool reset (bool hard);
@@ -125,9 +133,11 @@ namespace Gst {
public virtual bool set_format (Gst.Video.CodecState state);
public void set_latency (Gst.ClockTime min_latency, Gst.ClockTime max_latency);
public void set_max_errors (int num);
+ [Version (since = "1.4")]
public void set_needs_format (bool enabled);
public Gst.Video.CodecState set_output_state (Gst.Video.Format fmt, uint width, uint height, Gst.Video.CodecState? reference);
public void set_packetized (bool packetized);
+ [Version (since = "1.6")]
public void set_use_default_pad_acceptcaps (bool use);
[NoWrapper]
public virtual bool sink_event (Gst.Event event);
@@ -250,10 +260,13 @@ namespace Gst {
public int views;
public int width;
[CCode (has_construct_function = false)]
+ [Version (since = "1.6")]
public Info ();
public void align (Gst.Video.Alignment align);
public bool convert (Gst.Format src_format, int64 src_value, Gst.Format dest_format, int64 dest_value);
+ [Version (since = "1.6")]
public Gst.Video.Info copy ();
+ [Version (since = "1.6")]
public void free ();
public bool from_caps (Gst.Caps caps);
public void init ();
@@ -346,9 +359,11 @@ namespace Gst {
public static Gst.Video.NavigationMessageType message_get_type (Gst.Message message);
public static Gst.Message message_new_angles_changed (Gst.Object src, uint cur_angle, uint n_angles);
public static Gst.Message message_new_commands_changed (Gst.Object src);
+ [Version (since = "1.6")]
public static Gst.Message message_new_event (Gst.Object src, Gst.Event event);
public static Gst.Message message_new_mouse_over (Gst.Object src, bool active);
public static bool message_parse_angles_changed (Gst.Message message, uint cur_angle, uint n_angles);
+ [Version (since = "1.6")]
public static bool message_parse_event (Gst.Message message, out Gst.Event event);
public static bool message_parse_mouse_over (Gst.Message message, bool active);
public static Gst.Video.NavigationQueryType query_get_type (Gst.Query query);
@@ -402,6 +417,7 @@ namespace Gst {
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoColorPrimariesInfo")]
+ [Version (since = "1.6")]
public struct ColorPrimariesInfo {
public Gst.Video.ColorPrimaries primaries;
public double Wx;
@@ -421,6 +437,7 @@ namespace Gst {
public Gst.Video.TransferFunction transfer;
public Gst.Video.ColorPrimaries primaries;
public bool from_string (string color);
+ [Version (since = "1.6")]
public bool is_equal (Gst.Video.Colorimetry other);
public bool matches (string color);
public string to_string ();
@@ -546,6 +563,7 @@ namespace Gst {
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoResampler")]
+ [Version (since = "1.6")]
public struct Resampler {
public int in_size;
public int out_size;
@@ -560,6 +578,7 @@ namespace Gst {
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_ALPHA_MODE_", type_id = "gst_video_alpha_mode_get_type ()")]
[GIR (name = "VideoAlphaMode")]
+ [Version (since = "1.6")]
public enum AlphaMode {
COPY,
SET,
@@ -592,6 +611,7 @@ namespace Gst {
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_CHROMA_MODE_", type_id = "gst_video_chroma_mode_get_type ()")]
[GIR (name = "VideoChromaMode")]
+ [Version (since = "1.6")]
public enum ChromaMode {
FULL,
UPSAMPLE_ONLY,
@@ -784,6 +804,7 @@ namespace Gst {
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_FRAME_MAP_FLAG_", type_id = "gst_video_frame_map_flags_get_type ()")]
[Flags]
[GIR (name = "VideoFrameMapFlags")]
+ [Version (since = "1.6")]
public enum FrameMapFlags {
NO_REF,
LAST
@@ -809,6 +830,7 @@ namespace Gst {
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_GAMMA_MODE_", type_id = "gst_video_gamma_mode_get_type ()")]
[GIR (name = "VideoGammaMode")]
+ [Version (since = "1.6")]
public enum GammaMode {
NONE,
REMAP
@@ -823,6 +845,7 @@ namespace Gst {
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_MATRIX_MODE_", type_id = "gst_video_matrix_mode_get_type ()")]
[GIR (name = "VideoMatrixMode")]
+ [Version (since = "1.6")]
public enum MatrixMode {
FULL,
INPUT_ONLY,
@@ -936,6 +959,7 @@ namespace Gst {
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_PRIMARIES_MODE_", type_id = "gst_video_primaries_mode_get_type ()")]
[GIR (name = "VideoPrimariesMode")]
+ [Version (since = "1.6")]
public enum PrimariesMode {
NONE,
MERGE_ONLY,
@@ -943,11 +967,13 @@ namespace Gst {
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_RESAMPLER_FLAG_", type_id = "gst_video_resampler_flags_get_type ()")]
[GIR (name = "VideoResamplerFlags")]
+ [Version (since = "1.6")]
public enum ResamplerFlags {
NONE
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_RESAMPLER_METHOD_", type_id = "gst_video_resampler_method_get_type ()")]
[GIR (name = "VideoResamplerMethod")]
+ [Version (since = "1.6")]
public enum ResamplerMethod {
NEAREST,
LINEAR,
@@ -1000,6 +1026,7 @@ namespace Gst {
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_BUFFER_POOL_OPTION_VIDEO_ALIGNMENT")]
public const string BUFFER_POOL_OPTION_VIDEO_ALIGNMENT;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_BUFFER_POOL_OPTION_VIDEO_GL_TEXTURE_UPLOAD_META")]
+ [Version (since = "1.2.2")]
public const string BUFFER_POOL_OPTION_VIDEO_GL_TEXTURE_UPLOAD_META;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_BUFFER_POOL_OPTION_VIDEO_META")]
public const string BUFFER_POOL_OPTION_VIDEO_META;
@@ -1098,14 +1125,19 @@ namespace Gst {
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_MAX_PLANES")]
public const int MAX_PLANES;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_META_TAG_VIDEO_COLORSPACE_STR")]
+ [Version (since = "1.2")]
public const string META_TAG_VIDEO_COLORSPACE_STR;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_META_TAG_VIDEO_ORIENTATION_STR")]
+ [Version (since = "1.2")]
public const string META_TAG_VIDEO_ORIENTATION_STR;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_META_TAG_VIDEO_SIZE_STR")]
+ [Version (since = "1.2")]
public const string META_TAG_VIDEO_SIZE_STR;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_META_TAG_VIDEO_STR")]
+ [Version (since = "1.2")]
public const string META_TAG_VIDEO_STR;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_OVERLAY_COMPOSITION_BLEND_FORMATS")]
+ [Version (since = "1.2")]
public const string OVERLAY_COMPOSITION_BLEND_FORMATS;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_RESAMPLER_OPT_CUBIC_B")]
public const string RESAMPLER_OPT_CUBIC_B;
@@ -1164,14 +1196,18 @@ namespace Gst {
[CCode (cheader_filename = "gst/video/video.h")]
public static unowned string chroma_to_string (Gst.Video.ChromaSite site);
[CCode (cheader_filename = "gst/video/video.h")]
+ [Version (since = "1.6")]
public static bool color_matrix_get_Kr_Kb (Gst.Video.ColorMatrix matrix, double Kr, double Kb);
[CCode (cheader_filename = "gst/video/video.h")]
+ [Version (since = "1.6")]
public static unowned Gst.Video.ColorPrimariesInfo? color_primaries_get_info (Gst.Video.ColorPrimaries primaries);
[CCode (cheader_filename = "gst/video/video.h")]
public static void color_range_offsets (Gst.Video.ColorRange range, Gst.Video.FormatInfo info, out int offset, out int scale);
[CCode (cheader_filename = "gst/video/video.h")]
+ [Version (since = "1.6")]
public static double color_transfer_decode (Gst.Video.TransferFunction func, double val);
[CCode (cheader_filename = "gst/video/video.h")]
+ [Version (since = "1.6")]
public static double color_transfer_encode (Gst.Video.TransferFunction func, double val);
[CCode (cheader_filename = "gst/video/video.h")]
public static Gst.Sample convert_sample (Gst.Sample sample, Gst.Caps to_caps, Gst.ClockTime timeout) throws GLib.Error;
@@ -1204,6 +1240,7 @@ namespace Gst {
[CCode (cheader_filename = "gst/video/video.h")]
public static unowned Gst.Video.FormatInfo? format_get_info (Gst.Video.Format format);
[CCode (cheader_filename = "gst/video/video.h")]
+ [Version (since = "1.2")]
public static void* format_get_palette (Gst.Video.Format format, out size_t size);
[CCode (cheader_filename = "gst/video/video.h")]
public static uint32 format_to_fourcc (Gst.Video.Format format);
@@ -1214,10 +1251,13 @@ namespace Gst {
[CCode (cheader_filename = "gst/video/video.h")]
public static unowned Gst.MetaInfo? gl_texture_upload_meta_get_info ();
[CCode (cheader_filename = "gst/video/video.h")]
+ [Version (since = "1.6")]
public static bool guess_framerate (Gst.ClockTime duration, out int dest_n, out int dest_d);
[CCode (cheader_filename = "gst/video/video.h")]
+ [Version (since = "1.6")]
public static Gst.Video.InterlaceMode interlace_mode_from_string (string mode);
[CCode (cheader_filename = "gst/video/video.h")]
+ [Version (since = "1.6")]
public static unowned string interlace_mode_to_string (Gst.Video.InterlaceMode mode);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_is_video_overlay_prepare_window_handle_message")]
public static bool is_video_overlay_prepare_window_handle_message (Gst.Message msg);
@@ -1228,22 +1268,31 @@ namespace Gst {
[CCode (cheader_filename = "gst/video/video.h")]
public static GLib.Quark meta_transform_scale_get_quark ();
[CCode (cheader_filename = "gst/video/video.h")]
+ [Version (since = "1.6")]
public static unowned GLib.Value? multiview_get_doubled_height_modes ();
[CCode (cheader_filename = "gst/video/video.h")]
+ [Version (since = "1.6")]
public static unowned GLib.Value? multiview_get_doubled_size_modes ();
[CCode (cheader_filename = "gst/video/video.h")]
+ [Version (since = "1.6")]
public static unowned GLib.Value? multiview_get_doubled_width_modes ();
[CCode (cheader_filename = "gst/video/video.h")]
+ [Version (since = "1.6")]
public static unowned GLib.Value? multiview_get_mono_modes ();
[CCode (cheader_filename = "gst/video/video.h")]
+ [Version (since = "1.6")]
public static unowned GLib.Value? multiview_get_unpacked_modes ();
[CCode (cheader_filename = "gst/video/video.h")]
+ [Version (since = "1.6")]
public static bool multiview_guess_half_aspect (Gst.Video.MultiviewMode mv_mode, uint width, uint height, uint par_n, uint par_d);
[CCode (cheader_filename = "gst/video/video.h")]
+ [Version (since = "1.6")]
public static Gst.Video.MultiviewMode multiview_mode_from_caps_string (string caps_mview_mode);
[CCode (cheader_filename = "gst/video/video.h")]
+ [Version (since = "1.6")]
public static unowned string multiview_mode_to_caps_string (Gst.Video.MultiviewMode mview_mode);
[CCode (cheader_filename = "gst/video/video.h")]
+ [Version (since = "1.6")]
public static void multiview_video_info_change_mode (Gst.Video.Info info, Gst.Video.MultiviewMode out_mview_mode, Gst.Video.MultiviewFlags out_mview_flags);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_get_type")]
public static Gst.Video.NavigationEventType navigation_event_get_type (Gst.Event event);
@@ -1262,12 +1311,14 @@ namespace Gst {
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_message_new_commands_changed")]
public static Gst.Message navigation_message_new_commands_changed (Gst.Object src);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_message_new_event")]
+ [Version (since = "1.6")]
public static Gst.Message navigation_message_new_event (Gst.Object src, Gst.Event event);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_message_new_mouse_over")]
public static Gst.Message navigation_message_new_mouse_over (Gst.Object src, bool active);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_message_parse_angles_changed")]
public static bool navigation_message_parse_angles_changed (Gst.Message message, uint cur_angle, uint n_angles);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_message_parse_event")]
+ [Version (since = "1.6")]
public static bool navigation_message_parse_event (Gst.Message message, out Gst.Event event);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_message_parse_mouse_over")]
public static bool navigation_message_parse_mouse_over (Gst.Message message, bool active);
@@ -1296,6 +1347,7 @@ namespace Gst {
[CCode (cheader_filename = "gst/video/video.h")]
public static unowned Gst.MetaInfo? region_of_interest_meta_get_info ();
[CCode (cheader_filename = "gst/video/video.h")]
+ [Version (since = "1.4")]
public static uint tile_get_index (Gst.Video.TileMode mode, int x, int y, int x_tiles, int y_tiles);
}
}
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index f94fff004..0b8a53636 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -1,7 +1,7 @@
/* gtk+-2.0.vapi generated by vapigen, do not modify. */
[CCode (cprefix = "Gtk", gir_namespace = "Gtk", gir_version = "2.0", lower_case_cprefix = "gtk_")]
-[Deprecated (replacement = "gtk+-3.0")]
+[Version (replacement = "gtk+-3.0")]
namespace Gtk {
namespace Idle {
[CCode (cheader_filename = "gtk/gtk.h")]
@@ -6009,10 +6009,10 @@ namespace Gtk {
[NoAccessorMethod]
public Gtk.WindowPosition window_position { get; set; }
[CCode (cname = "activate_default")]
- [Experimental]
+ [Version (experimental = true)]
public virtual signal void default_activated ();
[CCode (cname = "activate_focus")]
- [Experimental]
+ [Version (experimental = true)]
public virtual signal void focus_activated ();
public virtual signal bool frame_event (Gdk.Event event);
public virtual signal void keys_changed ();
@@ -7729,319 +7729,319 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public const int PRIORITY_RESIZE;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.ABOUT", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ABOUT")]
public const string STOCK_ABOUT;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.ADD", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ADD")]
public const string STOCK_ADD;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.APPLY", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.APPLY")]
public const string STOCK_APPLY;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.BOLD", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.BOLD")]
public const string STOCK_BOLD;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.CANCEL", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CANCEL")]
public const string STOCK_CANCEL;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.CAPS_LOCK_WARNING", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CAPS_LOCK_WARNING")]
public const string STOCK_CAPS_LOCK_WARNING;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.CDROM", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CDROM")]
public const string STOCK_CDROM;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.CLEAR", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CLEAR")]
public const string STOCK_CLEAR;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.CLOSE", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CLOSE")]
public const string STOCK_CLOSE;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.COLOR_PICKER", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.COLOR_PICKER")]
public const string STOCK_COLOR_PICKER;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.CONNECT", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CONNECT")]
public const string STOCK_CONNECT;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.CONVERT", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CONVERT")]
public const string STOCK_CONVERT;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.COPY", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.COPY")]
public const string STOCK_COPY;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.CUT", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CUT")]
public const string STOCK_CUT;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.DELETE", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DELETE")]
public const string STOCK_DELETE;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.DIALOG_AUTHENTICATION", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_AUTHENTICATION")]
public const string STOCK_DIALOG_AUTHENTICATION;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.DIALOG_ERROR", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_ERROR")]
public const string STOCK_DIALOG_ERROR;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.DIALOG_INFO", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_INFO")]
public const string STOCK_DIALOG_INFO;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.DIALOG_QUESTION", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_QUESTION")]
public const string STOCK_DIALOG_QUESTION;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.DIALOG_WARNING", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_WARNING")]
public const string STOCK_DIALOG_WARNING;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.DIRECTORY", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIRECTORY")]
public const string STOCK_DIRECTORY;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.DISCARD", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DISCARD")]
public const string STOCK_DISCARD;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.DISCONNECT", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DISCONNECT")]
public const string STOCK_DISCONNECT;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.DND", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DND")]
public const string STOCK_DND;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.DND_MULTIPLE", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DND_MULTIPLE")]
public const string STOCK_DND_MULTIPLE;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.EDIT", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.EDIT")]
public const string STOCK_EDIT;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.EXECUTE", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.EXECUTE")]
public const string STOCK_EXECUTE;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.FILE", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FILE")]
public const string STOCK_FILE;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.FIND", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FIND")]
public const string STOCK_FIND;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.FIND_AND_REPLACE", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FIND_AND_REPLACE")]
public const string STOCK_FIND_AND_REPLACE;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.FLOPPY", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FLOPPY")]
public const string STOCK_FLOPPY;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.FULLSCREEN", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FULLSCREEN")]
public const string STOCK_FULLSCREEN;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.GOTO_BOTTOM", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GOTO_BOTTOM")]
public const string STOCK_GOTO_BOTTOM;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.GOTO_FIRST", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GOTO_FIRST")]
public const string STOCK_GOTO_FIRST;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.GOTO_LAST", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GOTO_LAST")]
public const string STOCK_GOTO_LAST;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.GOTO_TOP", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GOTO_TOP")]
public const string STOCK_GOTO_TOP;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.GO_BACK", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GO_BACK")]
public const string STOCK_GO_BACK;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.GO_DOWN", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GO_DOWN")]
public const string STOCK_GO_DOWN;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.GO_FORWARD", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GO_FORWARD")]
public const string STOCK_GO_FORWARD;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.GO_UP", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GO_UP")]
public const string STOCK_GO_UP;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.HARDDISK", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.HARDDISK")]
public const string STOCK_HARDDISK;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.HELP", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.HELP")]
public const string STOCK_HELP;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.HOME", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.HOME")]
public const string STOCK_HOME;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.INDENT", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.INDENT")]
public const string STOCK_INDENT;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.INDEX", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.INDEX")]
public const string STOCK_INDEX;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.INFO", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.INFO")]
public const string STOCK_INFO;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.ITALIC", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ITALIC")]
public const string STOCK_ITALIC;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.JUMP_TO", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUMP_TO")]
public const string STOCK_JUMP_TO;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.JUSTIFY_CENTER", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_CENTER")]
public const string STOCK_JUSTIFY_CENTER;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.JUSTIFY_FILL", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_FILL")]
public const string STOCK_JUSTIFY_FILL;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.JUSTIFY_LEFT", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_LEFT")]
public const string STOCK_JUSTIFY_LEFT;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.JUSTIFY_RIGHT", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_RIGHT")]
public const string STOCK_JUSTIFY_RIGHT;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.FULLSCREEN", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FULLSCREEN")]
public const string STOCK_LEAVE_FULLSCREEN;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.MEDIA_FORWARD", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_FORWARD")]
public const string STOCK_MEDIA_FORWARD;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.MEDIA_NEXT", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_NEXT")]
public const string STOCK_MEDIA_NEXT;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.MEDIA_PAUSE", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_PAUSE")]
public const string STOCK_MEDIA_PAUSE;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.MEDIA_PLAY", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_PLAY")]
public const string STOCK_MEDIA_PLAY;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.MEDIA_PREVIOUS", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_PREVIOUS")]
public const string STOCK_MEDIA_PREVIOUS;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.MEDIA_RECORD", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_RECORD")]
public const string STOCK_MEDIA_RECORD;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.MEDIA_REWIND", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_REWIND")]
public const string STOCK_MEDIA_REWIND;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.MEDIA_STOP", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_STOP")]
public const string STOCK_MEDIA_STOP;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.MISSING_IMAGE", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MISSING_IMAGE")]
public const string STOCK_MISSING_IMAGE;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.NETWORK", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.NETWORK")]
public const string STOCK_NETWORK;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.NEW", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.NEW")]
public const string STOCK_NEW;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.NO", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.NO")]
public const string STOCK_NO;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.OK", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.OK")]
public const string STOCK_OK;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.OPEN", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.OPEN")]
public const string STOCK_OPEN;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.ORIENTATION_LANDSCAPE", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_LANDSCAPE")]
public const string STOCK_ORIENTATION_LANDSCAPE;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.ORIENTATION_PORTRAIT", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_PORTRAIT")]
public const string STOCK_ORIENTATION_PORTRAIT;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.ORIENTATION_REVERSE_LANDSCAPE", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_REVERSE_LANDSCAPE")]
public const string STOCK_ORIENTATION_REVERSE_LANDSCAPE;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.ORIENTATION_REVERSE_PORTRAIT", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_REVERSE_PORTRAIT")]
public const string STOCK_ORIENTATION_REVERSE_PORTRAIT;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.PAGE_SETUP", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PAGE_SETUP")]
public const string STOCK_PAGE_SETUP;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.PASTE", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PASTE")]
public const string STOCK_PASTE;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.PREFERENCES", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PREFERENCES")]
public const string STOCK_PREFERENCES;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.PRINT", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT")]
public const string STOCK_PRINT;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.PRINT_ERROR", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_ERROR")]
public const string STOCK_PRINT_ERROR;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.PRINT_PAUSED", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_PAUSED")]
public const string STOCK_PRINT_PAUSED;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.PRINT_PREVIEW", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_PREVIEW")]
public const string STOCK_PRINT_PREVIEW;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.PRINT_REPORT", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_REPORT")]
public const string STOCK_PRINT_REPORT;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.PRINT_WARNING", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_WARNING")]
public const string STOCK_PRINT_WARNING;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.PROPERTIES", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PROPERTIES")]
public const string STOCK_PROPERTIES;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.QUIT", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.QUIT")]
public const string STOCK_QUIT;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.REDO", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.REDO")]
public const string STOCK_REDO;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.REFRESH", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.REFRESH")]
public const string STOCK_REFRESH;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.REMOVE", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.REMOVE")]
public const string STOCK_REMOVE;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.REVERT_TO_SAVED", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.REVERT_TO_SAVED")]
public const string STOCK_REVERT_TO_SAVED;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.SAVE", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SAVE")]
public const string STOCK_SAVE;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.SAVE_AS", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SAVE_AS")]
public const string STOCK_SAVE_AS;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.SELECT_ALL", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SELECT_ALL")]
public const string STOCK_SELECT_ALL;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.SELECT_COLOR", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SELECT_COLOR")]
public const string STOCK_SELECT_COLOR;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.SELECT_FONT", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SELECT_FONT")]
public const string STOCK_SELECT_FONT;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.SORT_ASCENDING", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SORT_ASCENDING")]
public const string STOCK_SORT_ASCENDING;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.SORT_DESCENDING", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SORT_DESCENDING")]
public const string STOCK_SORT_DESCENDING;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.SPELL_CHECK", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SPELL_CHECK")]
public const string STOCK_SPELL_CHECK;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.STOP", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.STOP")]
public const string STOCK_STOP;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.STRIKETHROUGH", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.STRIKETHROUGH")]
public const string STOCK_STRIKETHROUGH;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.UNDELETE", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.UNDELETE")]
public const string STOCK_UNDELETE;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.UNDERLINE", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.UNDERLINE")]
public const string STOCK_UNDERLINE;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.UNDO", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.UNDO")]
public const string STOCK_UNDO;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.UNINDENT", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.UNINDENT")]
public const string STOCK_UNINDENT;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.YES", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.YES")]
public const string STOCK_YES;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.ZOOM_100", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_100")]
public const string STOCK_ZOOM_100;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.ZOOM_FIT", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_FIT")]
public const string STOCK_ZOOM_FIT;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.ZOOM_IN", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_IN")]
public const string STOCK_ZOOM_IN;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.ZOOM_OUT", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_OUT")]
public const string STOCK_ZOOM_OUT;
[CCode (cheader_filename = "gtk/gtk.h")]
public const int TEXT_VIEW_PRIORITY_VALIDATE;
@@ -8336,16 +8336,16 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public static bool show_uri (Gdk.Screen? screen, string uri, uint32 timestamp) throws GLib.Error;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.add", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.add")]
public static void stock_add (Gtk.StockItem[] items);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.add_static", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.add_static")]
public static void stock_add_static (Gtk.StockItem[] items);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.list_ids", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.list_ids")]
public static GLib.SList<string> stock_list_ids ();
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.set_translate_func", since = "vala-0.26")]
+ [Version (deprecated_since = "vala-0.26", replacement = "Gtk.Stock.set_translate_func")]
public static void stock_set_translate_func (string domain, owned Gtk.TranslateFunc func);
[CCode (cheader_filename = "gtk/gtk.h")]
public static void target_table_free (Gtk.TargetEntry[] targets);
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index f7fd1749f..d32a34008 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -2,7 +2,7 @@
[CCode (cprefix = "Gtk", gir_namespace = "Gtk", gir_version = "3.0", lower_case_cprefix = "gtk_")]
namespace Gtk {
- [Deprecated (since = "3.10")]
+ [Version (deprecated_since = "3.10")]
namespace Stock {
[CCode (cheader_filename = "gtk/gtk.h")]
public const string ABOUT;
@@ -253,7 +253,7 @@ namespace Gtk {
public void set_comments (string? comments);
public void set_copyright (string? copyright);
public void set_documenters ([CCode (array_length = false, array_null_terminated = true)] string[] documenters);
- public void set_license (string license);
+ public void set_license (string? license);
public void set_license_type (Gtk.License license_type);
public void set_logo (Gdk.Pixbuf? logo);
public void set_logo_icon_name (string? icon_name);
@@ -293,12 +293,12 @@ namespace Gtk {
public bool disconnect (GLib.Closure? closure);
public bool disconnect_key (uint accel_key, Gdk.ModifierType accel_mods);
public Gtk.AccelKey* find (Gtk.AccelGroupFindFunc find_func);
- public static unowned Gtk.AccelGroup from_accel_closure (GLib.Closure closure);
+ public static unowned Gtk.AccelGroup? from_accel_closure (GLib.Closure closure);
public bool get_is_locked ();
public Gdk.ModifierType get_modifier_mask ();
public void @lock ();
[CCode (array_length_type = "guint")]
- public unowned Gtk.AccelGroupEntry[] query (uint accel_key, Gdk.ModifierType accel_mods);
+ public unowned Gtk.AccelGroupEntry[]? query (uint accel_key, Gdk.ModifierType accel_mods);
public void unlock ();
public bool is_locked { get; }
public Gdk.ModifierType modifier_mask { get; }
@@ -310,7 +310,7 @@ namespace Gtk {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public AccelLabel (string str);
public void get_accel (out uint accelerator_key, out Gdk.ModifierType accelerator_mods);
- public unowned Gtk.Widget get_accel_widget ();
+ public unowned Gtk.Widget? get_accel_widget ();
public uint get_accel_width ();
public bool refetch ();
public void set_accel (uint accelerator_key, Gdk.ModifierType accelerator_mods);
@@ -348,7 +348,7 @@ namespace Gtk {
public class Accessible : Atk.Object {
[CCode (has_construct_function = false)]
protected Accessible ();
- [Deprecated (replacement = "Accessible.set_widget", since = "3.4")]
+ [Version (deprecated_since = "3.4", replacement = "Accessible.set_widget")]
public virtual void connect_widget_destroyed ();
public unowned Gtk.Widget get_widget ();
public void set_widget (Gtk.Widget? widget);
@@ -359,7 +359,7 @@ namespace Gtk {
public Gtk.Widget widget { get; set; }
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_action_get_type ()")]
- [Deprecated (replacement = "GLib.Action", since = "3.10")]
+ [Version (deprecated_since = "3.10", replacement = "GLib.Action")]
public class Action : GLib.Object, Gtk.Buildable {
[CCode (has_construct_function = false)]
public Action (string name, string? label, string? tooltip, string? stock_id);
@@ -438,7 +438,7 @@ namespace Gtk {
public void set_center_widget (Gtk.Widget? center_widget);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_action_group_get_type ()")]
- [Deprecated (since = "3.10")]
+ [Version (deprecated_since = "3.10")]
public class ActionGroup : GLib.Object, Gtk.Buildable {
[CCode (has_construct_function = false)]
public ActionGroup (string name);
@@ -447,7 +447,7 @@ namespace Gtk {
public void add_actions (Gtk.ActionEntry[] entries, void* user_data);
public void add_actions_full (Gtk.ActionEntry[] entries, void* user_data, GLib.DestroyNotify? destroy);
public void add_radio_actions (Gtk.RadioActionEntry[] entries, int value, [CCode (type = "GCallback")] Gtk.RadioActionCallback on_change);
- public void add_radio_actions_full (Gtk.RadioActionEntry[] entries, int value, [CCode (type = "GCallback")] Gtk.RadioActionCallback on_change, GLib.DestroyNotify? destroy);
+ public void add_radio_actions_full (Gtk.RadioActionEntry[] entries, int value, [CCode (type = "GCallback")] owned Gtk.RadioActionCallback on_change);
public void add_toggle_actions (Gtk.ToggleActionEntry[] entries, void* user_data);
public void add_toggle_actions_full (Gtk.ToggleActionEntry[] entries, void* user_data, GLib.DestroyNotify? destroy);
public unowned Gtk.AccelGroup get_accel_group ();
@@ -531,7 +531,7 @@ namespace Gtk {
public AppChooserButton (string content_type);
public void append_custom_item (string name, string label, GLib.Icon icon);
public void append_separator ();
- public unowned string get_heading ();
+ public unowned string? get_heading ();
public bool get_show_default_item ();
public bool get_show_dialog_item ();
public void set_active_custom_item (string name);
@@ -549,7 +549,7 @@ namespace Gtk {
public AppChooserDialog (Gtk.Window? parent, Gtk.DialogFlags flags, GLib.File file);
[CCode (has_construct_function = false, type = "GtkWidget*")]
public AppChooserDialog.for_content_type (Gtk.Window? parent, Gtk.DialogFlags flags, string content_type);
- public unowned string get_heading ();
+ public unowned string? get_heading ();
public unowned Gtk.Widget get_widget ();
public void set_heading (string heading);
[NoAccessorMethod]
@@ -596,7 +596,7 @@ namespace Gtk {
public unowned GLib.MenuModel get_app_menu ();
public unowned GLib.Menu get_menu_by_id (string id);
public unowned GLib.MenuModel get_menubar ();
- public unowned Gtk.Window get_window_by_id (uint id);
+ public unowned Gtk.Window? get_window_by_id (uint id);
public unowned GLib.List<weak Gtk.Window> get_windows ();
public uint inhibit (Gtk.Window? window, Gtk.ApplicationInhibitFlags flags, string? reason);
public bool is_inhibited (Gtk.ApplicationInhibitFlags flags);
@@ -621,10 +621,10 @@ namespace Gtk {
public class ApplicationWindow : Gtk.Window, Atk.Implementor, Gtk.Buildable, GLib.ActionGroup, GLib.ActionMap {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public ApplicationWindow (Gtk.Application application);
- public unowned Gtk.ShortcutsWindow get_help_overlay ();
+ public unowned Gtk.ShortcutsWindow? get_help_overlay ();
public uint get_id ();
public bool get_show_menubar ();
- public void set_help_overlay (Gtk.ShortcutsWindow help_overlay);
+ public void set_help_overlay (Gtk.ShortcutsWindow? help_overlay);
public void set_show_menubar (bool show_menubar);
public bool show_menubar { get; set construct; }
}
@@ -666,12 +666,12 @@ namespace Gtk {
public void commit ();
public int get_current_page ();
public int get_n_pages ();
- public unowned Gtk.Widget get_nth_page (int page_num);
+ public unowned Gtk.Widget? get_nth_page (int page_num);
public bool get_page_complete (Gtk.Widget page);
public bool get_page_has_padding (Gtk.Widget page);
- [Deprecated (since = "3.2")]
+ [Version (deprecated_since = "3.2")]
public unowned Gdk.Pixbuf get_page_header_image (Gtk.Widget page);
- [Deprecated (since = "3.2")]
+ [Version (deprecated_since = "3.2")]
public unowned Gdk.Pixbuf get_page_side_image (Gtk.Widget page);
public unowned string get_page_title (Gtk.Widget page);
public Gtk.AssistantPageType get_page_type (Gtk.Widget page);
@@ -685,9 +685,9 @@ namespace Gtk {
public void set_forward_page_func (owned Gtk.AssistantPageFunc? page_func);
public void set_page_complete (Gtk.Widget page, bool complete);
public void set_page_has_padding (Gtk.Widget page, bool has_padding);
- [Deprecated (since = "3.2")]
- public void set_page_header_image (Gtk.Widget page, Gdk.Pixbuf pixbuf);
- [Deprecated (since = "3.2")]
+ [Version (deprecated_since = "3.2")]
+ public void set_page_header_image (Gtk.Widget page, Gdk.Pixbuf? pixbuf);
+ [Version (deprecated_since = "3.2")]
public void set_page_side_image (Gtk.Widget page, Gdk.Pixbuf? pixbuf);
public void set_page_title (Gtk.Widget page, string title);
public void set_page_type (Gtk.Widget page, Gtk.AssistantPageType type);
@@ -733,16 +733,16 @@ namespace Gtk {
public int priority;
public weak string set_name;
public bool activate (uint keyval, Gdk.ModifierType modifiers, GLib.Object object);
- [Deprecated (since = "3.0")]
+ [Version (deprecated_since = "3.0")]
public void add_path (Gtk.PathType path_type, string path_pattern, Gtk.PathPriorityType priority);
public static unowned Gtk.BindingSet by_class (GLib.ObjectClass object_class);
- public static unowned Gtk.BindingSet find (string set_name);
+ public static unowned Gtk.BindingSet? find (string set_name);
public static unowned Gtk.BindingSet @new (string name);
}
[CCode (cheader_filename = "gtk/gtk.h")]
[Compact]
public class BindingSignal {
- [CCode (array_length_cname = "n_args")]
+ [CCode (array_length_cname = "n_args", array_length_type = "guint")]
public weak Gtk.BindingArg[] args;
public uint n_args;
public weak Gtk.BindingSignal next;
@@ -758,7 +758,7 @@ namespace Gtk {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public Box (Gtk.Orientation orientation, int spacing);
public Gtk.BaselinePosition get_baseline_position ();
- public unowned Gtk.Widget get_center_widget ();
+ public unowned Gtk.Widget? get_center_widget ();
public bool get_homogeneous ();
public int get_spacing ();
public void pack_end (Gtk.Widget child, bool expand = true, bool fill = true, uint padding = 0);
@@ -797,8 +797,8 @@ namespace Gtk {
public Builder.from_resource (string resource_path);
[CCode (has_construct_function = false)]
public Builder.from_string (string str, ssize_t length);
- public unowned Gtk.Application get_application ();
- public unowned GLib.Object get_object (string name);
+ public unowned Gtk.Application? get_application ();
+ public unowned GLib.Object? get_object (string name);
public GLib.SList<weak GLib.Object> get_objects ();
public unowned string get_translation_domain ();
public virtual GLib.Type get_type_from_name (string type_name);
@@ -821,7 +821,7 @@ namespace Gtk {
public bool get_always_show_image ();
public unowned Gdk.Window get_event_window ();
public bool get_focus_on_click ();
- public unowned Gtk.Widget get_image ();
+ public unowned Gtk.Widget? get_image ();
public Gtk.PositionType get_image_position ();
public unowned string get_label ();
public Gtk.ReliefStyle get_relief ();
@@ -854,17 +854,17 @@ namespace Gtk {
public virtual signal void activate ();
[HasEmitter]
public virtual signal void clicked ();
- [Deprecated (replacement = "Gtk.Widget.enter_notify_event", since = "2.8")]
[HasEmitter]
+ [Version (deprecated_since = "2.8", replacement = "Gtk.Widget.enter_notify_event")]
public virtual signal void enter ();
- [Deprecated (replacement = "Gtk.Widget.leave_notify_event", since = "2.8")]
[HasEmitter]
+ [Version (deprecated_since = "2.8", replacement = "Gtk.Widget.leave_notify_event")]
public virtual signal void leave ();
- [Deprecated (replacement = "Gtk.Widget.button_press_event", since = "2.8")]
[HasEmitter]
+ [Version (deprecated_since = "2.8", replacement = "Gtk.Widget.button_press_event")]
public virtual signal void pressed ();
- [Deprecated (replacement = "Gtk.Widget.button_release_event", since = "2.8")]
[HasEmitter]
+ [Version (deprecated_since = "2.8", replacement = "Gtk.Widget.button_release_event")]
public virtual signal void released ();
}
[CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_button_accessible_get_type ()")]
@@ -970,7 +970,7 @@ namespace Gtk {
public unowned Gtk.CellEditable get_edit_widget ();
public unowned Gtk.CellRenderer get_edited_cell ();
public unowned Gtk.CellRenderer get_focus_cell ();
- public unowned Gtk.CellRenderer get_focus_from_sibling (Gtk.CellRenderer renderer);
+ public unowned Gtk.CellRenderer? get_focus_from_sibling (Gtk.CellRenderer renderer);
public unowned GLib.List<Gtk.CellRenderer> get_focus_siblings (Gtk.CellRenderer renderer);
public virtual void get_preferred_height (Gtk.CellAreaContext context, Gtk.Widget widget, out int minimum_height, out int natural_height);
public virtual void get_preferred_height_for_width (Gtk.CellAreaContext context, Gtk.Widget widget, int width, out int minimum_height, out int natural_height);
@@ -984,7 +984,7 @@ namespace Gtk {
public virtual bool is_activatable ();
public bool is_focus_sibling (Gtk.CellRenderer renderer, Gtk.CellRenderer sibling);
[CCode (cname = "gtk_cell_area_class_list_cell_properties")]
- public class unowned GLib.ParamSpec list_cell_properties (uint n_properties);
+ public class (unowned GLib.ParamSpec)[] list_cell_properties ();
public virtual void remove (Gtk.CellRenderer renderer);
public void remove_focus_sibling (Gtk.CellRenderer renderer, Gtk.CellRenderer sibling);
public virtual void render (Gtk.CellAreaContext context, Gtk.Widget widget, Cairo.Context cr, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags, bool paint_focus);
@@ -1050,7 +1050,7 @@ namespace Gtk {
public virtual void get_preferred_width_for_height (Gtk.Widget widget, int height, out int minimum_width, out int natural_width);
public virtual Gtk.SizeRequestMode get_request_mode ();
public bool get_sensitive ();
- [Deprecated (replacement = "get_preferred_size", since = "3.0")]
+ [Version (deprecated_since = "3.0", replacement = "get_preferred_size")]
public abstract void get_size (Gtk.Widget widget, Gdk.Rectangle? cell_area, out int x_offset, out int y_offset, out int width, out int height);
public Gtk.StateFlags get_state (Gtk.Widget widget, Gtk.CellRendererState cell_state);
public bool get_visible ();
@@ -1063,12 +1063,12 @@ namespace Gtk {
public void set_padding (int xpad, int ypad);
public void set_sensitive (bool sensitive);
public void set_visible (bool visible);
- public virtual unowned Gtk.CellEditable start_editing (Gdk.Event event, Gtk.Widget widget, string path, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
+ public virtual unowned Gtk.CellEditable? start_editing (Gdk.Event event, Gtk.Widget widget, string path, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
public void stop_editing (bool canceled);
[NoAccessorMethod]
public string cell_background { set; }
- [Deprecated (replacement = "Gtk.CellRenderer.cell_background_rgba", since = "3.4")]
[NoAccessorMethod]
+ [Version (deprecated_since = "3.4", replacement = "Gtk.CellRenderer.cell_background_rgba")]
public Gdk.Color cell_background_gdk { get; set; }
[NoAccessorMethod]
public Gdk.RGBA cell_background_rgba { get; set; }
@@ -1204,8 +1204,8 @@ namespace Gtk {
public Pango.AttrList attributes { owned get; set; }
[NoAccessorMethod]
public string background { set; }
- [Deprecated (replacement = "background_rgba", since = "3.4")]
[NoAccessorMethod]
+ [Version (deprecated_since = "3.4", replacement = "background_rgba")]
public Gdk.Color background_gdk { get; set; }
[NoAccessorMethod]
public Gdk.RGBA background_rgba { get; set; }
@@ -1229,8 +1229,8 @@ namespace Gtk {
public Pango.FontDescription font_desc { owned get; set; }
[NoAccessorMethod]
public string foreground { set; }
- [Deprecated (replacement = "foreground_rgba", since = "3.4")]
[NoAccessorMethod]
+ [Version (deprecated_since = "3.4", replacement = "foreground_rgba")]
public Gdk.Color foreground_gdk { get; set; }
[NoAccessorMethod]
public Gdk.RGBA foreground_rgba { get; set; }
@@ -1319,12 +1319,12 @@ namespace Gtk {
public class CellView : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.CellLayout, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public CellView ();
- public Gtk.TreePath get_displayed_row ();
+ public Gtk.TreePath? get_displayed_row ();
public bool get_draw_sensitive ();
public bool get_fit_model ();
- public unowned Gtk.TreeModel get_model ();
+ public unowned Gtk.TreeModel? get_model ();
public bool get_size_of_row (Gtk.TreePath path, out Gtk.Requisition requisition);
- [Deprecated (replacement = "set_background_rgba", since = "3.4")]
+ [Version (deprecated_since = "3.4", replacement = "set_background_rgba")]
public void set_background_color (Gdk.Color color);
public void set_background_rgba (Gdk.RGBA rgba);
public void set_displayed_row (Gtk.TreePath? path);
@@ -1341,8 +1341,8 @@ namespace Gtk {
public CellView.with_text (string text);
[NoAccessorMethod]
public string background { set; }
- [Deprecated (replacement = "background_rgba", since = "3.4")]
[NoAccessorMethod]
+ [Version (deprecated_since = "3.4", replacement = "background_rgba")]
public Gdk.Color background_gdk { get; set; }
[NoAccessorMethod]
public Gdk.RGBA background_rgba { get; set; }
@@ -1403,7 +1403,7 @@ namespace Gtk {
public static unowned Gtk.Clipboard get_default (Gdk.Display display);
public unowned Gdk.Display get_display ();
public static unowned Gtk.Clipboard get_for_display (Gdk.Display display, Gdk.Atom selection);
- public unowned GLib.Object get_owner ();
+ public unowned GLib.Object? get_owner ();
public void request_contents (Gdk.Atom target, [CCode (scope = "async")] Gtk.ClipboardReceivedFunc callback);
public void request_image ([CCode (scope = "async")] Gtk.ClipboardImageReceivedFunc callback);
public void request_rich_text (Gtk.TextBuffer buffer, [CCode (scope = "async")] Gtk.ClipboardRichTextReceivedFunc callback);
@@ -1448,9 +1448,11 @@ namespace Gtk {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public ColorButton.with_rgba (Gdk.RGBA rgba);
public uint alpha { get; set; }
- [Deprecated (replacement = "rgba", since = "3.4")]
+ [Version (deprecated_since = "3.4", replacement = "rgba")]
public Gdk.Color color { get; set; }
public Gdk.RGBA rgba { get; set; }
+ [NoAccessorMethod]
+ public bool show_editor { get; set; }
public string title { get; set; }
public bool use_alpha { get; set; }
public virtual signal void color_set ();
@@ -1474,7 +1476,7 @@ namespace Gtk {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public ColorSelection ();
public uint16 get_current_alpha ();
- [Deprecated (replacement = "get_current_rgba", since = "3.4")]
+ [Version (deprecated_since = "3.4", replacement = "get_current_rgba")]
public void get_current_color (out Gdk.Color color);
public Gdk.RGBA get_current_rgba ();
public bool get_has_opacity_control ();
@@ -1487,7 +1489,7 @@ namespace Gtk {
public static string palette_to_string (Gdk.Color[] colors);
public static unowned Gtk.ColorSelectionChangePaletteWithScreenFunc set_change_palette_with_screen_hook (Gtk.ColorSelectionChangePaletteWithScreenFunc func);
public void set_current_alpha (uint16 alpha);
- [Deprecated (replacement = "set_current_rgba", since = "3.4")]
+ [Version (deprecated_since = "3.4", replacement = "set_current_rgba")]
public void set_current_color (Gdk.Color color);
public void set_current_rgba (Gdk.RGBA rgba);
public void set_has_opacity_control (bool has_opacity);
@@ -1496,7 +1498,7 @@ namespace Gtk {
public void set_previous_color (Gdk.Color color);
public void set_previous_rgba (Gdk.RGBA rgba);
public uint current_alpha { get; set; }
- [Deprecated (replacement = "current_rgba", since = "3.4")]
+ [Version (deprecated_since = "3.4", replacement = "current_rgba")]
public Gdk.Color current_color { get; set; }
public Gdk.RGBA current_rgba { get; set; }
public bool has_opacity_control { get; set; }
@@ -1521,7 +1523,7 @@ namespace Gtk {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public ComboBox ();
public int get_active ();
- public unowned string get_active_id ();
+ public unowned string? get_active_id ();
public bool get_active_iter (out Gtk.TreeIter iter);
public bool get_add_tearoffs ();
public Gtk.SensitivityType get_button_sensitivity ();
@@ -1564,7 +1566,7 @@ namespace Gtk {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public ComboBox.with_model_and_entry (Gtk.TreeModel model);
public int active { get; set; }
- public string active_id { get; set; }
+ public string? active_id { get; set; }
public bool add_tearoffs { get; set; }
public Gtk.SensitivityType button_sensitivity { get; set; }
[NoAccessorMethod]
@@ -1626,10 +1628,10 @@ namespace Gtk {
public void child_set_property (Gtk.Widget child, string property_name, GLib.Value value);
public void child_set_valist (Gtk.Widget child, string first_property_name, va_list var_args);
public virtual GLib.Type child_type ();
- public static unowned GLib.ParamSpec class_find_child_property (GLib.ObjectClass cclass, string property_name);
- public static unowned GLib.ParamSpec class_list_child_properties (GLib.ObjectClass cclass, uint n_properties);
+ public class unowned GLib.ParamSpec? class_find_child_property (string property_name);
+ public class (unowned GLib.ParamSpec)[] class_list_child_properties ();
[NoWrapper]
- public virtual unowned string composite_name (Gtk.Widget child);
+ public virtual string composite_name (Gtk.Widget child);
public void forall (Gtk.Callback callback);
[CCode (vfunc_name = "forall")]
[NoWrapper]
@@ -1640,9 +1642,9 @@ namespace Gtk {
public virtual void get_child_property (Gtk.Widget child, uint property_id, GLib.Value value, GLib.ParamSpec pspec);
public GLib.List<weak Gtk.Widget> get_children ();
public bool get_focus_chain (out GLib.List<weak Gtk.Widget> focusable_widgets);
- public unowned Gtk.Widget get_focus_child ();
- public unowned Gtk.Adjustment get_focus_hadjustment ();
- public unowned Gtk.Adjustment get_focus_vadjustment ();
+ public unowned Gtk.Widget? get_focus_child ();
+ public unowned Gtk.Adjustment? get_focus_hadjustment ();
+ public unowned Gtk.Adjustment? get_focus_vadjustment ();
public virtual Gtk.WidgetPath get_path_for_child (Gtk.Widget child);
public Gtk.ResizeMode get_resize_mode ();
[CCode (cname = "gtk_container_class_handle_border_width")]
@@ -1701,7 +1703,7 @@ namespace Gtk {
public static unowned Gtk.CssProvider get_named (string name, string? variant);
[CCode (cname = "gtk_css_provider_load_from_data")]
public bool load_from_buffer ([CCode (array_length_cname = "length", array_length_pos = 1.1, array_length_type = "gssize")] uint8[] data) throws GLib.Error;
- public bool load_from_data (string data, ssize_t length) throws GLib.Error;
+ public bool load_from_data (string data, ssize_t length = -1) throws GLib.Error;
public bool load_from_file (GLib.File file) throws GLib.Error;
public bool load_from_path (string path) throws GLib.Error;
public void load_from_resource (string resource_path);
@@ -1731,7 +1733,7 @@ namespace Gtk {
public unowned Gtk.Box get_content_area ();
public unowned Gtk.Widget get_header_bar ();
public int get_response_for_widget (Gtk.Widget widget);
- public unowned Gtk.Widget get_widget_for_response (int response_id);
+ public unowned Gtk.Widget? get_widget_for_response (int response_id);
public int run ();
[CCode (sentinel = "-1")]
public void set_alternative_button_order (...);
@@ -1757,20 +1759,20 @@ namespace Gtk {
public Entry ();
public bool get_activates_default ();
public float get_alignment ();
- public unowned Pango.AttrList get_attributes ();
+ public unowned Pango.AttrList? get_attributes ();
public unowned Gtk.EntryBuffer get_buffer ();
public unowned Gtk.EntryCompletion get_completion ();
public int get_current_icon_drag_source ();
- public unowned Gtk.Adjustment get_cursor_hadjustment ();
+ public unowned Gtk.Adjustment? get_cursor_hadjustment ();
[NoWrapper]
public virtual void get_frame_size (int x, int y, int width, int height);
public bool get_has_frame ();
public bool get_icon_activatable (Gtk.EntryIconPosition icon_pos);
public Gdk.Rectangle get_icon_area (Gtk.EntryIconPosition icon_pos);
public int get_icon_at_pos (int x, int y);
- public unowned GLib.Icon get_icon_gicon (Gtk.EntryIconPosition icon_pos);
- public unowned string get_icon_name (Gtk.EntryIconPosition icon_pos);
- public unowned Gdk.Pixbuf get_icon_pixbuf (Gtk.EntryIconPosition icon_pos);
+ public unowned GLib.Icon? get_icon_gicon (Gtk.EntryIconPosition icon_pos);
+ public unowned string? get_icon_name (Gtk.EntryIconPosition icon_pos);
+ public unowned Gdk.Pixbuf? get_icon_pixbuf (Gtk.EntryIconPosition icon_pos);
public bool get_icon_sensitive (Gtk.EntryIconPosition icon_pos);
public unowned string get_icon_stock (Gtk.EntryIconPosition icon_pos);
public Gtk.ImageType get_icon_storage_type (Gtk.EntryIconPosition icon_pos);
@@ -1806,7 +1808,7 @@ namespace Gtk {
public void set_attributes (Pango.AttrList attrs);
public void set_buffer (Gtk.EntryBuffer buffer);
public void set_completion (Gtk.EntryCompletion? completion);
- public void set_cursor_hadjustment (Gtk.Adjustment adjustment);
+ public void set_cursor_hadjustment (Gtk.Adjustment? adjustment);
public void set_has_frame (bool setting);
public void set_icon_activatable (Gtk.EntryIconPosition icon_pos, bool activatable);
public void set_icon_drag_source (Gtk.EntryIconPosition icon_pos, Gtk.TargetList target_list, Gdk.DragAction actions);
@@ -1817,7 +1819,7 @@ namespace Gtk {
public void set_icon_sensitive (Gtk.EntryIconPosition icon_pos, bool sensitive);
public void set_icon_tooltip_markup (Gtk.EntryIconPosition icon_pos, string? tooltip);
public void set_icon_tooltip_text (Gtk.EntryIconPosition icon_pos, string? tooltip);
- [Deprecated (since = "3.4")]
+ [Version (deprecated_since = "3.4")]
public void set_inner_border (Gtk.Border? border);
public void set_input_hints (Gtk.InputHints hints);
public void set_input_purpose (Gtk.InputPurpose purpose);
@@ -1825,7 +1827,7 @@ namespace Gtk {
public void set_max_length (int max);
public void set_max_width_chars (int n_chars);
public void set_overwrite_mode (bool overwrite);
- public void set_placeholder_text (string text);
+ public void set_placeholder_text (string? text);
public void set_progress_fraction (double fraction);
public void set_progress_pulse_step (double fraction);
public void set_tabs (Pango.TabArray tabs);
@@ -1849,7 +1851,7 @@ namespace Gtk {
public bool has_frame { get; set; }
[NoAccessorMethod]
public string im_module { owned get; set; }
- [Deprecated (since = "3.4")]
+ [Version (deprecated_since = "3.4")]
public Gtk.Border inner_border { get; set; }
public Gtk.InputHints input_hints { get; set; }
public Gtk.InputPurpose input_purpose { get; set; }
@@ -1959,14 +1961,14 @@ namespace Gtk {
[CCode (has_construct_function = false)]
public EntryCompletion ();
public void complete ();
- public string compute_prefix (string key);
+ public string? compute_prefix (string key);
public void delete_action (int index_);
public unowned string get_completion_prefix ();
public unowned Gtk.Widget get_entry ();
public bool get_inline_completion ();
public bool get_inline_selection ();
public int get_minimum_key_length ();
- public unowned Gtk.TreeModel get_model ();
+ public unowned Gtk.TreeModel? get_model ();
public bool get_popup_completion ();
public bool get_popup_set_width ();
public bool get_popup_single_match ();
@@ -2034,7 +2036,7 @@ namespace Gtk {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public Expander (string label);
public bool get_expanded ();
- public unowned string get_label ();
+ public unowned string? get_label ();
public bool get_label_fill ();
public unowned Gtk.Widget get_label_widget ();
public bool get_resize_toplevel ();
@@ -2130,7 +2132,7 @@ namespace Gtk {
public void add_pixbuf_formats ();
public bool filter (Gtk.FileFilterInfo filter_info);
[CCode (cname = "gtk_file_filter_get_name")]
- public unowned string get_filter_name ();
+ public unowned string? get_filter_name ();
public Gtk.FileFilterFlags get_needed ();
[CCode (cname = "gtk_file_filter_set_name")]
public void set_filter_name (string? name);
@@ -2164,7 +2166,7 @@ namespace Gtk {
public FlowBox ();
public void bind_model (GLib.ListModel? model, owned Gtk.FlowBoxCreateWidgetFunc? create_widget_func);
public bool get_activate_on_single_click ();
- public unowned Gtk.FlowBoxChild get_child_at_index (int idx);
+ public unowned Gtk.FlowBoxChild? get_child_at_index (int idx);
public uint get_column_spacing ();
public bool get_homogeneous ();
public uint get_max_children_per_line ();
@@ -2281,7 +2283,7 @@ namespace Gtk {
public string preview_text { get; set; }
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_font_selection_dialog_get_type ()")]
- [Deprecated (replacement = "FontChooserDialog", since = "3.2")]
+ [Version (deprecated_since = "3.2", replacement = "FontChooserDialog")]
public class FontSelectionDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public FontSelectionDialog (string title);
@@ -2299,7 +2301,7 @@ namespace Gtk {
public Frame (string? label);
[NoWrapper]
public virtual void compute_child_allocation (Gtk.Allocation allocation);
- public unowned string get_label ();
+ public unowned string? get_label ();
public void get_label_align (out float xalign, out float yalign);
public unowned Gtk.Widget? get_label_widget ();
public Gtk.ShadowType get_shadow_type ();
@@ -2357,8 +2359,8 @@ namespace Gtk {
public bool get_bounding_box_center (out double x, out double y);
public unowned Gdk.Device? get_device ();
public GLib.List<weak Gtk.Gesture> get_group ();
- public unowned Gdk.Event get_last_event (Gdk.EventSequence sequence);
- public unowned Gdk.EventSequence get_last_updated_sequence ();
+ public unowned Gdk.Event? get_last_event (Gdk.EventSequence sequence);
+ public unowned Gdk.EventSequence? get_last_updated_sequence ();
public bool get_point (Gdk.EventSequence? sequence, out double? x = null, out double? y = null);
public Gtk.EventSequenceState get_sequence_state (Gdk.EventSequence sequence);
public GLib.List<weak Gdk.EventSequence> get_sequences ();
@@ -2385,8 +2387,8 @@ namespace Gtk {
public class GestureDrag : Gtk.GestureSingle {
[CCode (has_construct_function = false, type = "GtkGesture*")]
public GestureDrag (Gtk.Widget widget);
- public bool get_offset (out double x, out double y);
- public bool get_start_point (out double x, out double y);
+ public bool get_offset (out double? x, out double? y);
+ public bool get_start_point (out double? x, out double? y);
public virtual signal void drag_begin (double p0, double p1);
public virtual signal void drag_end (double p0, double p1);
public virtual signal void drag_update (double p0, double p1);
@@ -2405,7 +2407,7 @@ namespace Gtk {
[CCode (has_construct_function = false, type = "GtkGesture*")]
public GestureMultiPress (Gtk.Widget widget);
public bool get_area (out Gdk.Rectangle rect);
- public void set_area (Gdk.Rectangle rect);
+ public void set_area (Gdk.Rectangle? rect);
public virtual signal void pressed (int p0, double p1, double p2);
public virtual signal void released (int p0, double p1, double p2);
public virtual signal void stopped ();
@@ -2432,7 +2434,7 @@ namespace Gtk {
protected GestureSingle ();
public uint get_button ();
public uint get_current_button ();
- public Gdk.EventSequence get_current_sequence ();
+ public Gdk.EventSequence? get_current_sequence ();
public bool get_exclusive ();
public bool get_touch_only ();
public void set_button (uint button);
@@ -2475,7 +2477,7 @@ namespace Gtk {
public void attach (Gtk.Widget child, int left, int top, int width = 1, int height = 1);
public void attach_next_to (Gtk.Widget child, Gtk.Widget? sibling, Gtk.PositionType side, int width = 1, int height = 1);
public int get_baseline_row ();
- public unowned Gtk.Widget get_child_at (int left, int top);
+ public unowned Gtk.Widget? get_child_at (int left, int top);
public bool get_column_homogeneous ();
public uint get_column_spacing ();
public Gtk.BaselinePosition get_row_baseline_position (int row);
@@ -2499,7 +2501,7 @@ namespace Gtk {
public int row_spacing { get; set; }
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_hbox_get_type ()")]
- [Deprecated (replacement = "Grid", since = "3.2")]
+ [Version (deprecated_since = "3.2", replacement = "Grid")]
public class HBox : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public HBox (bool homogeneous, int spacing);
@@ -2510,7 +2512,7 @@ namespace Gtk {
public HButtonBox ();
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_hpaned_get_type ()")]
- [Deprecated (replacement = "Paned", since = "3.2")]
+ [Version (deprecated_since = "3.2", replacement = "Paned")]
public class HPaned : Gtk.Paned, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public HPaned ();
@@ -2529,7 +2531,7 @@ namespace Gtk {
public virtual signal void move (Gtk.DirectionType type);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_hscale_get_type ()")]
- [Deprecated (since = "3.2")]
+ [Version (deprecated_since = "3.2")]
public class HScale : Gtk.Scale, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public HScale (Gtk.Adjustment? adjustment);
@@ -2537,19 +2539,19 @@ namespace Gtk {
public HScale.with_range (double min, double max, double step);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_hscrollbar_get_type ()")]
- [Deprecated (since = "3.2")]
+ [Version (deprecated_since = "3.2")]
public class HScrollbar : Gtk.Scrollbar, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public HScrollbar (Gtk.Adjustment? adjustment);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_hseparator_get_type ()")]
- [Deprecated (replacement = "Separator", since = "3.2")]
+ [Version (deprecated_since = "3.2", replacement = "Separator")]
public class HSeparator : Gtk.Separator, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public HSeparator ();
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_handle_box_get_type ()")]
- [Deprecated (since = "3.4")]
+ [Version (deprecated_since = "3.4")]
public class HandleBox : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public HandleBox ();
@@ -2572,12 +2574,12 @@ namespace Gtk {
public class HeaderBar : Gtk.Container, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public HeaderBar ();
- public unowned Gtk.Widget get_custom_title ();
+ public unowned Gtk.Widget? get_custom_title ();
public unowned string get_decoration_layout ();
public bool get_has_subtitle ();
public bool get_show_close_button ();
- public unowned string get_subtitle ();
- public unowned string get_title ();
+ public unowned string? get_subtitle ();
+ public unowned string? get_title ();
public void pack_end (Gtk.Widget child);
public void pack_start (Gtk.Widget child);
public void set_custom_title (Gtk.Widget? title_widget);
@@ -2639,7 +2641,7 @@ namespace Gtk {
public void set_context_id (string context_id);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_icon_factory_get_type ()")]
- [Deprecated (replacement = "Gtk.IconTheme", since = "3.10")]
+ [Version (deprecated_since = "3.10", replacement = "Gtk.IconTheme")]
public class IconFactory : GLib.Object, Gtk.Buildable {
[CCode (has_construct_function = false)]
public IconFactory ();
@@ -2664,22 +2666,22 @@ namespace Gtk {
public unowned Gdk.Pixbuf get_builtin_pixbuf ();
public unowned string get_display_name ();
public bool get_embedded_rect (out Gdk.Rectangle rectangle);
- public unowned string get_filename ();
+ public unowned string? get_filename ();
public bool is_symbolic ();
public Gdk.Pixbuf load_icon () throws GLib.Error;
public async Gdk.Pixbuf load_icon_async (GLib.Cancellable? cancellable = null) throws GLib.Error;
public Cairo.Surface load_surface (Gdk.Window? for_window) throws GLib.Error;
public Gdk.Pixbuf load_symbolic (Gdk.RGBA fg, Gdk.RGBA? success_color = null, Gdk.RGBA? warning_color = null, Gdk.RGBA? error_color = null, out bool was_symbolic = null) throws GLib.Error;
- public async Gdk.Pixbuf load_symbolic_async (Gdk.RGBA fg, Gdk.RGBA? success_color = null, Gdk.RGBA? warning_color = null, Gdk.RGBA? error_color = null, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public async Gdk.Pixbuf load_symbolic_async (Gdk.RGBA fg, Gdk.RGBA? success_color = null, Gdk.RGBA? warning_color = null, Gdk.RGBA? error_color = null, GLib.Cancellable? cancellable = null, out bool was_symbolic = null) throws GLib.Error;
public Gdk.Pixbuf load_symbolic_for_context (Gtk.StyleContext context, out bool was_symbolic = null) throws GLib.Error;
- public async Gdk.Pixbuf load_symbolic_for_context_async (Gtk.StyleContext context, GLib.Cancellable? cancellable = null) throws GLib.Error;
- [Deprecated (replacement = "load_symbolic_for_context", since = "3.0")]
+ public async Gdk.Pixbuf load_symbolic_for_context_async (Gtk.StyleContext context, GLib.Cancellable? cancellable = null, out bool was_symbolic = null) throws GLib.Error;
+ [Version (deprecated_since = "3.0", replacement = "load_symbolic_for_context")]
public Gdk.Pixbuf load_symbolic_for_style (Gtk.Style style, Gtk.StateType state, out bool was_symbolic = null) throws GLib.Error;
public void set_raw_coordinates (bool raw_coordinates);
}
[CCode (cheader_filename = "gtk/gtk.h", ref_function = "gtk_icon_set_ref", type_id = "gtk_icon_set_get_type ()", unref_function = "gtk_icon_set_unref")]
[Compact]
- [Deprecated (replacement = "Gtk.IconTheme", since = "3.10")]
+ [Version (deprecated_since = "3.10", replacement = "Gtk.IconTheme")]
public class IconSet {
[CCode (has_construct_function = false)]
public IconSet ();
@@ -2688,16 +2690,16 @@ namespace Gtk {
[CCode (has_construct_function = false)]
public IconSet.from_pixbuf (Gdk.Pixbuf pixbuf);
public void get_sizes (out Gtk.IconSize[] sizes);
- [Deprecated (replacement = "set_render_icon_pixbuf", since = "3.0")]
+ [Version (deprecated_since = "3.0", replacement = "set_render_icon_pixbuf")]
public Gdk.Pixbuf render_icon (Gtk.Style? style, Gtk.TextDirection direction, Gtk.StateType state, Gtk.IconSize size, Gtk.Widget? widget, string? detail);
- [Deprecated (since = "3.10")]
+ [Version (deprecated_since = "3.10")]
public Gdk.Pixbuf render_icon_pixbuf (Gtk.StyleContext context, Gtk.IconSize size);
- [Deprecated (since = "3.10")]
+ [Version (deprecated_since = "3.10")]
public Cairo.Surface render_icon_surface (Gtk.StyleContext context, Gtk.IconSize size, int scale, Gdk.Window? for_window);
}
[CCode (cheader_filename = "gtk/gtk.h", copy_function = "gtk_icon_source_copy", type_id = "gtk_icon_source_get_type ()")]
[Compact]
- [Deprecated (replacement = "Gtk.IconTheme", since = "3.10")]
+ [Version (deprecated_since = "3.10", replacement = "Gtk.IconTheme")]
public class IconSource {
[CCode (has_construct_function = false)]
public IconSource ();
@@ -2729,7 +2731,7 @@ namespace Gtk {
public void add_resource_path (string path);
public void append_search_path (string path);
public Gtk.IconInfo? choose_icon ([CCode (array_length = false, array_null_terminated = true)] string[] icon_names, int size, Gtk.IconLookupFlags flags);
- public Gtk.IconInfo? choose_icon_for_scale (string[] icon_names, int size, int scale, Gtk.IconLookupFlags flags);
+ public Gtk.IconInfo? choose_icon_for_scale ([CCode (array_length = false, array_null_terminated = true)] string[] icon_names, int size, int scale, Gtk.IconLookupFlags flags);
public static GLib.Quark error_quark ();
public static unowned Gtk.IconTheme get_default ();
public string? get_example_icon_name ();
@@ -2749,7 +2751,7 @@ namespace Gtk {
public Gtk.IconInfo? lookup_icon_for_scale (string icon_name, int size, int scale, Gtk.IconLookupFlags flags);
public void prepend_search_path (string path);
public bool rescan_if_needed ();
- public void set_custom_theme (string theme_name);
+ public void set_custom_theme (string? theme_name);
public void set_screen (Gdk.Screen screen);
public void set_search_path (string[] path);
public virtual signal void changed ();
@@ -2767,8 +2769,8 @@ namespace Gtk {
public int get_column_spacing ();
public int get_columns ();
public bool get_cursor (out Gtk.TreePath path, out unowned Gtk.CellRenderer cell);
- public bool get_dest_item_at_pos (int drag_x, int drag_y, out unowned Gtk.TreePath path, Gtk.IconViewDropPosition pos);
- public void get_drag_dest_item (out unowned Gtk.TreePath path, Gtk.IconViewDropPosition pos);
+ public bool get_dest_item_at_pos (int drag_x, int drag_y, out unowned Gtk.TreePath path, out Gtk.IconViewDropPosition pos);
+ public void get_drag_dest_item (out unowned Gtk.TreePath path, out Gtk.IconViewDropPosition pos);
public bool get_item_at_pos (int x, int y, out unowned Gtk.TreePath path, out unowned Gtk.CellRenderer cell);
public int get_item_column (Gtk.TreePath path);
public Gtk.Orientation get_item_orientation ();
@@ -2777,8 +2779,8 @@ namespace Gtk {
public int get_item_width ();
public int get_margin ();
public int get_markup_column ();
- public unowned Gtk.TreeModel get_model ();
- public Gtk.TreePath get_path_at_pos (int x, int y);
+ public unowned Gtk.TreeModel? get_model ();
+ public Gtk.TreePath? get_path_at_pos (int x, int y);
public int get_pixbuf_column ();
public bool get_reorderable ();
public int get_row_spacing ();
@@ -2876,21 +2878,21 @@ namespace Gtk {
public Image.from_stock (string stock_id, Gtk.IconSize size);
[CCode (has_construct_function = false, type = "GtkWidget*")]
public Image.from_surface (Cairo.Surface surface);
- public unowned Gdk.PixbufAnimation get_animation ();
+ public unowned Gdk.PixbufAnimation? get_animation ();
public void get_gicon (out unowned GLib.Icon gicon, out Gtk.IconSize size);
public void get_icon_name (out unowned string icon_name, out Gtk.IconSize size);
public void get_icon_set (out unowned Gtk.IconSet icon_set, out Gtk.IconSize size);
- public unowned Gdk.Pixbuf get_pixbuf ();
+ public unowned Gdk.Pixbuf? get_pixbuf ();
public int get_pixel_size ();
public void get_stock (out string stock_id, out Gtk.IconSize size);
public Gtk.ImageType get_storage_type ();
public void set_from_animation (Gdk.PixbufAnimation animation);
- public void set_from_file (string filename);
+ public void set_from_file (string? filename);
public void set_from_gicon (GLib.Icon icon, Gtk.IconSize size);
public void set_from_icon_name (string icon_name, Gtk.IconSize size);
public void set_from_icon_set (Gtk.IconSet icon_set, Gtk.IconSize size);
- public void set_from_pixbuf (Gdk.Pixbuf pixbuf);
- public void set_from_resource (string resource_path);
+ public void set_from_pixbuf (Gdk.Pixbuf? pixbuf);
+ public void set_from_resource (string? resource_path);
public void set_from_stock (string stock_id, Gtk.IconSize size);
public void set_from_surface (Cairo.Surface surface);
public void set_pixel_size (int pixel_size);
@@ -2940,7 +2942,7 @@ namespace Gtk {
public bool get_use_stock ();
public void set_accel_group (Gtk.AccelGroup accel_group);
public void set_always_show_image (bool always_show);
- public void set_image (Gtk.Widget image);
+ public void set_image (Gtk.Widget? image);
public void set_use_stock (bool use_stock);
[CCode (has_construct_function = false, type = "GtkWidget*")]
public ImageMenuItem.with_label (string label);
@@ -2989,7 +2991,7 @@ namespace Gtk {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public Label (string? str);
public double get_angle ();
- public unowned Pango.AttrList get_attributes ();
+ public unowned Pango.AttrList? get_attributes ();
public unowned string get_current_uri ();
public Pango.EllipsizeMode get_ellipsize ();
public Gtk.Justification get_justify ();
@@ -3001,7 +3003,7 @@ namespace Gtk {
public int get_lines ();
public int get_max_width_chars ();
public uint get_mnemonic_keyval ();
- public unowned Gtk.Widget get_mnemonic_widget ();
+ public unowned Gtk.Widget? get_mnemonic_widget ();
public bool get_selectable ();
public bool get_selection_bounds (out int start, out int end);
public bool get_single_line_mode ();
@@ -3156,8 +3158,8 @@ namespace Gtk {
public void drag_unhighlight_row ();
public bool get_activate_on_single_click ();
public unowned Gtk.Adjustment get_adjustment ();
- public unowned Gtk.ListBoxRow get_row_at_index (int index_);
- public unowned Gtk.ListBoxRow get_row_at_y (int y);
+ public unowned Gtk.ListBoxRow? get_row_at_index (int index_);
+ public unowned Gtk.ListBoxRow? get_row_at_y (int y);
public unowned Gtk.ListBoxRow get_selected_row ();
public GLib.List<weak Gtk.ListBoxRow> get_selected_rows ();
public Gtk.SelectionMode get_selection_mode ();
@@ -3200,7 +3202,7 @@ namespace Gtk {
public ListBoxRow ();
public void changed ();
public bool get_activatable ();
- public unowned Gtk.Widget get_header ();
+ public unowned Gtk.Widget? get_header ();
public int get_index ();
public bool get_selectable ();
public bool is_selected ();
@@ -3235,7 +3237,7 @@ namespace Gtk {
public ListStore.newv ([CCode (array_length_pos = 0.9)] GLib.Type[] types);
public void prepend (out Gtk.TreeIter iter);
public bool remove (Gtk.TreeIter iter);
- public void reorder ([CCode (array_length = false, array_null_terminated = true)] int[] new_order);
+ public void reorder ([CCode (array_length = false)] int[] new_order);
[CCode (sentinel = "-1")]
public void @set (Gtk.TreeIter iter, ...);
public void set_column_types ([CCode (array_length_pos = 0.9)] GLib.Type[] types);
@@ -3287,7 +3289,7 @@ namespace Gtk {
public unowned string get_title ();
public void popdown ();
public void popup (Gtk.Widget? parent_menu_shell, Gtk.Widget? parent_menu_item, [CCode (scope = "async")] Gtk.MenuPositionFunc? func, uint button, uint32 activate_time);
- public void popup_for_device (Gdk.Device device, Gtk.Widget parent_menu_shell, Gtk.Widget parent_menu_item, Gtk.MenuPositionFunc func, void* data, GLib.DestroyNotify destroy, uint button, uint32 activate_time);
+ public void popup_for_device (Gdk.Device? device, Gtk.Widget parent_menu_shell, Gtk.Widget parent_menu_item, owned Gtk.MenuPositionFunc? func, uint button, uint32 activate_time);
public void reorder_child (Gtk.Widget child, int position);
public void reposition ();
public void set_accel_group (Gtk.AccelGroup? accel_group);
@@ -3332,11 +3334,11 @@ namespace Gtk {
public class MenuButton : Gtk.ToggleButton, Atk.Implementor, Gtk.Buildable, Gtk.Actionable, Gtk.Activatable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public MenuButton ();
- public unowned Gtk.Widget get_align_widget ();
+ public unowned Gtk.Widget? get_align_widget ();
public Gtk.ArrowType get_direction ();
- public unowned GLib.MenuModel get_menu_model ();
- public unowned Gtk.Popover get_popover ();
- public unowned Gtk.Menu get_popup ();
+ public unowned GLib.MenuModel? get_menu_model ();
+ public unowned Gtk.Popover? get_popover ();
+ public unowned Gtk.Menu? get_popup ();
public bool get_use_popover ();
public void set_align_widget (Gtk.Widget? align_widget);
public void set_direction (Gtk.ArrowType direction);
@@ -3360,17 +3362,17 @@ namespace Gtk {
public class MenuItem : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.Activatable, Gtk.Actionable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public MenuItem ();
- public unowned string get_accel_path ();
+ public unowned string? get_accel_path ();
public virtual unowned string get_label ();
public bool get_reserve_indicator ();
- [Deprecated (replacement = "Widget.get_hexpand and Widget.get_halign", since = "3.2")]
+ [Version (deprecated_since = "3.2", replacement = "Widget.get_hexpand and Widget.get_halign")]
public bool get_right_justified ();
- public unowned Gtk.Widget get_submenu ();
+ public unowned Gtk.Widget? get_submenu ();
public bool get_use_underline ();
public void set_accel_path (string? accel_path);
public virtual void set_label (string label);
public void set_reserve_indicator (bool reserve);
- [Deprecated (replacement = "Widget.set_hexpand and Widget.set_halign", since = "3.2")]
+ [Version (deprecated_since = "3.2", replacement = "Widget.set_hexpand and Widget.set_halign")]
public void set_right_justified (bool right_justified);
public void set_submenu (Gtk.Widget? submenu);
public void set_use_underline (bool setting);
@@ -3529,7 +3531,7 @@ namespace Gtk {
public Gdk.Screen screen { get; set; }
}
[CCode (cheader_filename = "gtk/gtk.h")]
- public class NativeDialog : GLib.Object {
+ public abstract class NativeDialog : GLib.Object {
[CCode (has_construct_function = false)]
protected NativeDialog ();
public void destroy ();
@@ -3557,24 +3559,24 @@ namespace Gtk {
public int append_page (Gtk.Widget child, Gtk.Widget? tab_label = null);
public int append_page_menu (Gtk.Widget child, Gtk.Widget? tab_label, Gtk.Widget? menu_label);
public void detach_tab (Gtk.Widget child);
- public unowned Gtk.Widget get_action_widget (Gtk.PackType pack_type);
+ public unowned Gtk.Widget? get_action_widget (Gtk.PackType pack_type);
public int get_current_page ();
- public unowned string get_group_name ();
- public unowned Gtk.Widget get_menu_label (Gtk.Widget child);
- public unowned string get_menu_label_text (Gtk.Widget child);
+ public unowned string? get_group_name ();
+ public unowned Gtk.Widget? get_menu_label (Gtk.Widget child);
+ public unowned string? get_menu_label_text (Gtk.Widget child);
public int get_n_pages ();
- public unowned Gtk.Widget get_nth_page (int page_num);
+ public unowned Gtk.Widget? get_nth_page (int page_num);
public bool get_scrollable ();
public bool get_show_border ();
public bool get_show_tabs ();
public bool get_tab_detachable (Gtk.Widget child);
- [Deprecated (since = "3.4")]
+ [Version (deprecated_since = "3.4")]
public uint16 get_tab_hborder ();
public unowned Gtk.Widget get_tab_label (Gtk.Widget child);
- public unowned string get_tab_label_text (Gtk.Widget child);
+ public unowned string? get_tab_label_text (Gtk.Widget child);
public Gtk.PositionType get_tab_pos ();
public bool get_tab_reorderable (Gtk.Widget child);
- [Deprecated (since = "3.4")]
+ [Version (deprecated_since = "3.4")]
public uint16 get_tab_vborder ();
public int insert_page (Gtk.Widget child, Gtk.Widget? tab_label, int position);
[CCode (vfunc_name = "insert_page")]
@@ -3659,8 +3661,8 @@ namespace Gtk {
public class OffscreenWindow : Gtk.Window, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public OffscreenWindow ();
- public Gdk.Pixbuf get_pixbuf ();
- public unowned Cairo.Surface get_surface ();
+ public Gdk.Pixbuf? get_pixbuf ();
+ public unowned Cairo.Surface? get_surface ();
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_overlay_get_type ()")]
public class Overlay : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
@@ -3709,8 +3711,8 @@ namespace Gtk {
public Paned (Gtk.Orientation orientation);
public void add1 (Gtk.Widget child);
public void add2 (Gtk.Widget child);
- public unowned Gtk.Widget get_child1 ();
- public unowned Gtk.Widget get_child2 ();
+ public unowned Gtk.Widget? get_child1 ();
+ public unowned Gtk.Widget? get_child2 ();
public unowned Gdk.Window get_handle_window ();
public int get_position ();
public bool get_wide_handle ();
@@ -3775,8 +3777,8 @@ namespace Gtk {
public PlacesSidebar ();
public void add_shortcut (GLib.File location);
public bool get_local_only ();
- public GLib.File get_location ();
- public GLib.File get_nth_bookmark (int n);
+ public GLib.File? get_location ();
+ public GLib.File? get_nth_bookmark (int n);
public Gtk.PlacesOpenFlags get_open_flags ();
public bool get_show_connect_to_server ();
public bool get_show_desktop ();
@@ -3788,7 +3790,7 @@ namespace Gtk {
public void remove_shortcut (GLib.File location);
public void set_drop_targets_visible (bool visible, Gdk.DragContext context);
public void set_local_only (bool local_only);
- public void set_location (GLib.File location);
+ public void set_location (GLib.File? location);
public void set_open_flags (Gtk.PlacesOpenFlags flags);
public void set_show_connect_to_server (bool show_connect_to_server);
public void set_show_desktop (bool show_desktop);
@@ -3814,7 +3816,7 @@ namespace Gtk {
public virtual signal void populate_popup (Gtk.Menu p0, GLib.File? p1, GLib.Volume? p2);
public virtual signal void show_error_message (string p0, string p1);
[CCode (cname = "show_other_locations")]
- [Experimental]
+ [Version (experimental = true)]
public virtual signal void show_other_locations_requested ();
}
[CCode (cheader_filename = "gtk/gtkx.h", type_id = "gtk_plug_get_type ()")]
@@ -3827,7 +3829,7 @@ namespace Gtk {
public Plug.for_display (Gdk.Display display, X.Window socket_id);
public bool get_embedded ();
public X.Window get_id ();
- public unowned Gdk.Window get_socket_window ();
+ public unowned Gdk.Window? get_socket_window ();
public bool embedded { get; }
public Gdk.Window socket_window { get; }
}
@@ -3838,21 +3840,24 @@ namespace Gtk {
public void bind_model (GLib.MenuModel? model, string? action_namespace);
[CCode (has_construct_function = false, type = "GtkWidget*")]
public Popover.from_model (Gtk.Widget? relative_to, GLib.MenuModel model);
+ public Gtk.PopoverConstraint get_constrain_to ();
public unowned Gtk.Widget? get_default_widget ();
public bool get_modal ();
public bool get_pointing_to (out Gdk.Rectangle rect);
public Gtk.PositionType get_position ();
public unowned Gtk.Widget get_relative_to ();
public bool get_transitions_enabled ();
+ public void set_constrain_to (Gtk.PopoverConstraint constraint);
public void set_default_widget (Gtk.Widget? widget);
public void set_modal (bool modal);
public void set_pointing_to (Gdk.Rectangle rect);
public void set_position (Gtk.PositionType position);
public void set_relative_to (Gtk.Widget? relative_to);
public void set_transitions_enabled (bool transitions_enabled);
+ public Gtk.PopoverConstraint constrain_to { get; set; }
public bool modal { get; set; }
public Gdk.Rectangle pointing_to { get; set; }
- public Gtk.PositionType position { get; set construct; }
+ public Gtk.PositionType position { get; set; }
public Gtk.Widget relative_to { get; set; }
public bool transitions_enabled { get; set; }
public virtual signal void closed ();
@@ -4048,7 +4053,7 @@ namespace Gtk {
public bool get_inverted ();
public double get_pulse_step ();
public bool get_show_text ();
- public unowned string get_text ();
+ public unowned string? get_text ();
public void pulse ();
public void set_ellipsize (Pango.EllipsizeMode mode);
public void set_fraction (double fraction);
@@ -4143,8 +4148,8 @@ namespace Gtk {
public RadioToolButton.from_stock (GLib.SList<Gtk.RadioToolButton>? group, string stock_id);
[CCode (has_construct_function = false, type = "GtkToolItem*")]
public RadioToolButton.from_widget (Gtk.RadioToolButton? group);
- public unowned GLib.SList<Gtk.RadioToolButton> get_group ();
- public void set_group (GLib.SList<Gtk.RadioToolButton> group);
+ public unowned GLib.SList<Gtk.RadioToolButton>? get_group ();
+ public void set_group (GLib.SList<Gtk.RadioToolButton>? group);
[CCode (has_construct_function = false, type = "GtkToolItem*")]
public RadioToolButton.with_stock_from_widget (Gtk.RadioToolButton? group, string stock_id);
public Gtk.RadioToolButton group { set; }
@@ -4219,7 +4224,7 @@ namespace Gtk {
public static bool parse_requisition (GLib.ParamSpec pspec, GLib.StringBuilder gstring, GLib.Value property_value);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_rc_style_get_type ()")]
- [Deprecated (replacement = "CssProvider", since = "3.0")]
+ [Version (deprecated_since = "3.0", replacement = "CssProvider")]
public class RcStyle : GLib.Object {
[CCode (array_length = false)]
public weak Gdk.Color[] @base;
@@ -4313,7 +4318,7 @@ namespace Gtk {
public string[] get_applications ();
public unowned string get_description ();
public unowned string get_display_name ();
- public unowned GLib.Icon get_gicon ();
+ public GLib.Icon? get_gicon ();
[CCode (array_length_type = "gsize")]
public string[] get_groups ();
public Gdk.Pixbuf? get_icon (int size);
@@ -4340,7 +4345,7 @@ namespace Gtk {
public static unowned Gtk.RecentManager get_default ();
public GLib.List<Gtk.RecentInfo> get_items ();
public bool has_item (string uri);
- public Gtk.RecentInfo lookup_item (string uri) throws GLib.Error;
+ public Gtk.RecentInfo? lookup_item (string uri) throws GLib.Error;
public bool move_item (string uri, string? new_uri) throws GLib.Error;
public int purge_items () throws GLib.Error;
public bool remove_item (string uri) throws GLib.Error;
@@ -4382,7 +4387,7 @@ namespace Gtk {
public int get_digits ();
public bool get_draw_value ();
public bool get_has_origin ();
- public unowned Pango.Layout get_layout ();
+ public unowned Pango.Layout? get_layout ();
public virtual void get_layout_offsets (out int x, out int y);
public Gtk.PositionType get_value_pos ();
public void set_digits (int digits);
@@ -4720,8 +4725,8 @@ namespace Gtk {
public int gtk_tooltip_browse_timeout { get; set; }
[NoAccessorMethod]
public int gtk_tooltip_timeout { get; set; }
- [Deprecated (replacement = "Gdk.Event.get_source_device", since = "3.4")]
[NoAccessorMethod]
+ [Version (deprecated_since = "3.4", replacement = "Gdk.Event.get_source_device")]
public bool gtk_touchscreen_mode { get; set; }
[NoAccessorMethod]
public Gtk.PolicyType gtk_visible_focus { get; set; }
@@ -4737,21 +4742,6 @@ namespace Gtk {
public string gtk_xft_rgba { owned get; set; }
}
[CCode (cheader_filename = "gtk/gtk.h")]
- public class ShortcutsGesture : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
- [CCode (has_construct_function = false)]
- protected ShortcutsGesture ();
- [NoAccessorMethod]
- public GLib.Icon icon { owned get; set; }
- [NoAccessorMethod]
- public Gtk.SizeGroup icon_size_group { set; }
- [NoAccessorMethod]
- public string subtitle { owned get; set; }
- [NoAccessorMethod]
- public string title { owned get; set; }
- [NoAccessorMethod]
- public Gtk.SizeGroup title_size_group { set; }
- }
- [CCode (cheader_filename = "gtk/gtk.h")]
public class ShortcutsGroup : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false)]
protected ShortcutsGroup ();
@@ -4836,7 +4826,7 @@ namespace Gtk {
public Socket ();
public void add_id (X.Window window);
public X.Window get_id ();
- public unowned Gdk.Window get_plug_window ();
+ public unowned Gdk.Window? get_plug_window ();
public virtual signal void plug_added ();
public virtual signal bool plug_removed ();
}
@@ -4908,7 +4898,7 @@ namespace Gtk {
public Stack ();
public void add_named (Gtk.Widget child, string name);
public void add_titled (Gtk.Widget child, string name, string title);
- public unowned Gtk.Widget get_child_by_name (string name);
+ public unowned Gtk.Widget? get_child_by_name (string name);
public bool get_hhomogeneous ();
public bool get_homogeneous ();
public bool get_interpolate_size ();
@@ -4916,8 +4906,8 @@ namespace Gtk {
public bool get_transition_running ();
public Gtk.StackTransitionType get_transition_type ();
public bool get_vhomogeneous ();
- public unowned Gtk.Widget get_visible_child ();
- public unowned string get_visible_child_name ();
+ public unowned Gtk.Widget? get_visible_child ();
+ public unowned string? get_visible_child_name ();
public void set_hhomogeneous (bool hhomogeneous);
public void set_homogeneous (bool homogeneous);
public void set_interpolate_size (bool interpolate_size);
@@ -4949,8 +4939,8 @@ namespace Gtk {
public class StackSwitcher : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public StackSwitcher ();
- public unowned Gtk.Stack get_stack ();
- public void set_stack (Gtk.Stack stack);
+ public unowned Gtk.Stack? get_stack ();
+ public void set_stack (Gtk.Stack? stack);
[NoAccessorMethod]
public int icon_size { get; set; }
public Gtk.Stack stack { get; set construct; }
@@ -5047,7 +5037,7 @@ namespace Gtk {
protected StatusbarAccessible ();
}
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "StyleContext", since = "3.0")]
+ [Version (deprecated_since = "3.0", replacement = "StyleContext")]
public class Style : GLib.Object {
public int attach_count;
[CCode (array_length = false)]
@@ -5160,16 +5150,16 @@ namespace Gtk {
public Gdk.RGBA get_color (Gtk.StateFlags state);
public Gtk.TextDirection get_direction ();
public unowned Pango.FontDescription get_font (Gtk.StateFlags state);
- public unowned Gdk.FrameClock get_frame_clock ();
+ public unowned Gdk.FrameClock? get_frame_clock ();
public Gtk.JunctionSides get_junction_sides ();
public Gtk.Border get_margin (Gtk.StateFlags state);
public Gtk.Border get_padding (Gtk.StateFlags state);
- public unowned Gtk.StyleContext get_parent ();
+ public unowned Gtk.StyleContext? get_parent ();
public unowned Gtk.WidgetPath get_path ();
public GLib.Value get_property (string property, Gtk.StateFlags state);
public int get_scale ();
public unowned Gdk.Screen get_screen ();
- public Gtk.CssSection get_section (string property);
+ public unowned Gtk.CssSection get_section (string property);
public Gtk.StateFlags get_state ();
public void get_style (...);
public void get_style_property (string property_name, GLib.Value value);
@@ -5195,6 +5185,8 @@ namespace Gtk {
public void render_arrow (Cairo.Context cr, double angle, double x, double y, double size);
[CCode (cname = "gtk_render_background")]
public void render_background (Cairo.Context cr, double x, double y, double width, double height);
+ [CCode (cname = "gtk_render_background_get_clip")]
+ public Gdk.Rectangle render_background_get_clip (double x, double y, double width, double height);
[CCode (cname = "gtk_render_check")]
public void render_check (Cairo.Context cr, double x, double y, double width, double height);
[CCode (cname = "gtk_render_expander")]
@@ -5235,6 +5227,7 @@ namespace Gtk {
public void set_screen (Gdk.Screen screen);
public void set_state (Gtk.StateFlags flags);
public bool state_is_running (Gtk.StateType state, out double progress);
+ public string to_string (Gtk.StyleContextPrintFlags flags);
public Gtk.TextDirection direction { get; set; }
[NoAccessorMethod]
public Gdk.FrameClock paint_clock { owned get; set; }
@@ -5297,7 +5290,7 @@ namespace Gtk {
public SymbolicColor.win32 (string theme_class, int id);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_table_get_type ()")]
- [Deprecated (replacement = "Grid", since = "3.4")]
+ [Version (deprecated_since = "3.4", replacement = "Grid")]
public class Table : Gtk.Container, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public Table (uint rows, uint columns, bool homogeneous);
@@ -5347,7 +5340,7 @@ namespace Gtk {
public Gdk.Atom target;
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tearoff_menu_item_get_type ()")]
- [Deprecated (since = "3.4")]
+ [Version (deprecated_since = "3.4")]
public class TearoffMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable, Gtk.Actionable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public TearoffMenuItem ();
@@ -5422,7 +5415,7 @@ namespace Gtk {
public void get_iter_at_mark (out Gtk.TextIter iter, Gtk.TextMark mark);
public void get_iter_at_offset (out Gtk.TextIter iter, int char_offset);
public int get_line_count ();
- public unowned Gtk.TextMark get_mark (string name);
+ public unowned Gtk.TextMark? get_mark (string name);
public bool get_modified ();
public unowned Gtk.TargetList get_paste_target_list ();
public unowned Gtk.TextMark get_selection_bound ();
@@ -5529,8 +5522,8 @@ namespace Gtk {
public bool background_full_height { get; set; }
[NoAccessorMethod]
public bool background_full_height_set { get; set; }
- [Deprecated (replacement = "background_rgba", since = "3.4")]
[NoAccessorMethod]
+ [Version (deprecated_since = "3.4", replacement = "background_rgba")]
public Gdk.Color background_gdk { get; set; }
[NoAccessorMethod]
public Gdk.RGBA background_rgba { get; set; }
@@ -5560,8 +5553,8 @@ namespace Gtk {
public bool font_features_set { get; set; }
[NoAccessorMethod]
public string foreground { set; }
- [Deprecated (replacement = "foreground_rgba", since = "3.4")]
[NoAccessorMethod]
+ [Version (deprecated_since = "3.4", replacement = "foreground_rgba")]
public Gdk.Color foreground_gdk { get; set; }
[NoAccessorMethod]
public Gdk.RGBA foreground_rgba { get; set; }
@@ -5595,8 +5588,8 @@ namespace Gtk {
public string name { owned get; construct; }
[NoAccessorMethod]
public string paragraph_background { set; }
- [Deprecated (replacement = "paragraph_background_rgba", since = "3.4")]
[NoAccessorMethod]
+ [Version (deprecated_since = "3.4", replacement = "paragraph_background_rgba")]
public Gdk.Color paragraph_background_gdk { get; set; }
[NoAccessorMethod]
public Gdk.RGBA paragraph_background_rgba { get; set; }
@@ -5682,7 +5675,7 @@ namespace Gtk {
public bool add (Gtk.TextTag tag);
public void @foreach (Gtk.TextTagTableForeach func);
public int get_size ();
- public unowned Gtk.TextTag lookup (string name);
+ public unowned Gtk.TextTag? lookup (string name);
public void remove (Gtk.TextTag tag);
public virtual signal void tag_added (Gtk.TextTag tag);
public virtual signal void tag_changed (Gtk.TextTag tag, bool size_changed);
@@ -5715,8 +5708,8 @@ namespace Gtk {
public int get_indent ();
public Gtk.InputHints get_input_hints ();
public Gtk.InputPurpose get_input_purpose ();
- public void get_iter_at_location (out Gtk.TextIter iter, int x, int y);
- public void get_iter_at_position (out Gtk.TextIter iter, out int trailing, int x, int y);
+ public bool get_iter_at_location (out Gtk.TextIter iter, int x, int y);
+ public bool get_iter_at_position (out Gtk.TextIter iter, out int trailing, int x, int y);
public void get_iter_location (Gtk.TextIter iter, out Gdk.Rectangle location);
public Gtk.Justification get_justification ();
public int get_left_margin ();
@@ -5728,11 +5721,11 @@ namespace Gtk {
public int get_pixels_below_lines ();
public int get_pixels_inside_wrap ();
public int get_right_margin ();
- public Pango.TabArray get_tabs ();
+ public Pango.TabArray? get_tabs ();
public int get_top_margin ();
public unowned Gtk.Adjustment get_vadjustment ();
public void get_visible_rect (out Gdk.Rectangle visible_rect);
- public unowned Gdk.Window get_window (Gtk.TextWindowType win);
+ public unowned Gdk.Window? get_window (Gtk.TextWindowType win);
public Gtk.TextWindowType get_window_type (Gdk.Window window);
public Gtk.WrapMode get_wrap_mode ();
public bool im_context_filter_keypress (Gdk.EventKey event);
@@ -5740,6 +5733,7 @@ namespace Gtk {
public bool move_mark_onscreen (Gtk.TextMark mark);
public bool move_visually (Gtk.TextIter iter, int count);
public bool place_cursor_onscreen ();
+ public void reset_cursor_blink ();
public void reset_im_context ();
public void scroll_mark_onscreen (Gtk.TextMark mark);
public bool scroll_to_iter (Gtk.TextIter iter, double within_margin, bool use_align, double xalign, double yalign);
@@ -5877,7 +5871,7 @@ namespace Gtk {
public virtual void render_option (Cairo.Context cr, double x, double y, double width, double height);
[NoWrapper]
public virtual void render_slider (Cairo.Context cr, double x, double y, double width, double height, Gtk.Orientation orientation);
- [Deprecated (since = "3.6")]
+ [Version (deprecated_since = "3.6")]
public bool state_is_running (Gtk.StateType state, out double progress);
[NoAccessorMethod]
public string name { owned get; construct; }
@@ -5938,10 +5932,10 @@ namespace Gtk {
public ToolButton (Gtk.Widget? icon_widget, string? label);
[CCode (has_construct_function = false, type = "GtkToolItem*")]
public ToolButton.from_stock (string stock_id);
- public unowned string get_icon_name ();
- public unowned Gtk.Widget get_icon_widget ();
- public unowned string get_label ();
- public unowned Gtk.Widget get_label_widget ();
+ public unowned string? get_icon_name ();
+ public unowned Gtk.Widget? get_icon_widget ();
+ public unowned string? get_label ();
+ public unowned Gtk.Widget? get_label_widget ();
public unowned string get_stock_id ();
public bool get_use_underline ();
public void set_icon_name (string? icon_name);
@@ -6028,8 +6022,8 @@ namespace Gtk {
public unowned Gtk.Widget get_drag_item (Gtk.SelectionData selection);
public static Gtk.TargetEntry get_drag_target_group ();
public static Gtk.TargetEntry get_drag_target_item ();
- public unowned Gtk.ToolItemGroup get_drop_group (int x, int y);
- public unowned Gtk.ToolItem get_drop_item (int x, int y);
+ public unowned Gtk.ToolItemGroup? get_drop_group (int x, int y);
+ public unowned Gtk.ToolItem? get_drop_item (int x, int y);
public bool get_exclusive (Gtk.ToolItemGroup group);
public bool get_expand (Gtk.ToolItemGroup group);
public int get_group_position (Gtk.ToolItemGroup group);
@@ -6058,7 +6052,7 @@ namespace Gtk {
public int get_drop_index (int x, int y);
public int get_item_index (Gtk.ToolItem item);
public int get_n_items ();
- public unowned Gtk.ToolItem get_nth_item (int n);
+ public unowned Gtk.ToolItem? get_nth_item (int n);
public bool get_show_arrow ();
public void insert (Gtk.ToolItem item, int pos);
public void set_drop_highlight_item (Gtk.ToolItem? tool_item, int index_);
@@ -6096,7 +6090,7 @@ namespace Gtk {
public class ToplevelAccessible : Atk.Object {
[CCode (has_construct_function = false)]
protected ToplevelAccessible ();
- public unowned GLib.List get_children ();
+ public unowned GLib.List<Gtk.Window> get_children ();
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_model_filter_get_type ()")]
public class TreeModelFilter : GLib.Object, Gtk.TreeModel, Gtk.TreeDragSource {
@@ -6104,9 +6098,9 @@ namespace Gtk {
public TreeModelFilter (Gtk.TreeModel child_model, Gtk.TreePath? root);
public void clear_cache ();
public bool convert_child_iter_to_iter (out Gtk.TreeIter filter_iter, Gtk.TreeIter child_iter);
- public Gtk.TreePath convert_child_path_to_path (Gtk.TreePath child_path);
+ public Gtk.TreePath? convert_child_path_to_path (Gtk.TreePath child_path);
public void convert_iter_to_child_iter (out Gtk.TreeIter child_iter, Gtk.TreeIter filter_iter);
- public Gtk.TreePath convert_path_to_child_path (Gtk.TreePath filter_path);
+ public Gtk.TreePath? convert_path_to_child_path (Gtk.TreePath filter_path);
public unowned Gtk.TreeModel get_model ();
[NoWrapper]
public virtual void modify (Gtk.TreeModel child_model, Gtk.TreeIter iter, GLib.Value value, int column);
@@ -6127,9 +6121,9 @@ namespace Gtk {
protected TreeModelSort ();
public void clear_cache ();
public bool convert_child_iter_to_iter (out Gtk.TreeIter sort_iter, Gtk.TreeIter child_iter);
- public Gtk.TreePath convert_child_path_to_path (Gtk.TreePath child_path);
+ public Gtk.TreePath? convert_child_path_to_path (Gtk.TreePath child_path);
public void convert_iter_to_child_iter (out Gtk.TreeIter child_iter, Gtk.TreeIter sorted_iter);
- public Gtk.TreePath convert_path_to_child_path (Gtk.TreePath sorted_path);
+ public Gtk.TreePath? convert_path_to_child_path (Gtk.TreePath sorted_path);
public unowned Gtk.TreeModel get_model ();
public bool iter_is_valid (Gtk.TreeIter iter);
public void reset_default_sort_func ();
@@ -6230,13 +6224,13 @@ namespace Gtk {
public TreeStore.newv ([CCode (array_length_pos = 0.9)] GLib.Type[] types);
public void prepend (out Gtk.TreeIter iter, Gtk.TreeIter? parent);
public bool remove (ref Gtk.TreeIter iter);
- public void reorder (Gtk.TreeIter? parent, int new_order);
+ public void reorder (Gtk.TreeIter? parent, [CCode (array_length = false)] int[] new_order);
[CCode (sentinel = "-1")]
public void @set (Gtk.TreeIter iter, ...);
public void set_column_types ([CCode (array_length_pos = 0.9)] GLib.Type[] types);
- public void set_valist (Gtk.TreeIter iter, void* var_args);
+ public void set_valist (Gtk.TreeIter iter, va_list var_args);
public void set_value (Gtk.TreeIter iter, int column, GLib.Value value);
- public void set_valuesv (Gtk.TreeIter iter, int columns, GLib.Value[] values);
+ public void set_valuesv (Gtk.TreeIter iter, [CCode (array_length_pos = 3.1)] int[] columns, [CCode (array_length_pos = 3.1)] GLib.Value[] values);
public void swap (Gtk.TreeIter a, Gtk.TreeIter b);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_view_get_type ()")]
@@ -6261,9 +6255,9 @@ namespace Gtk {
public void expand_to_path (Gtk.TreePath path);
public bool get_activate_on_single_click ();
public void get_background_area (Gtk.TreePath? path, Gtk.TreeViewColumn? column, out Gdk.Rectangle rect);
- public unowned Gdk.Window get_bin_window ();
+ public unowned Gdk.Window? get_bin_window ();
public void get_cell_area (Gtk.TreePath? path, Gtk.TreeViewColumn? column, out Gdk.Rectangle rect);
- public unowned Gtk.TreeViewColumn get_column (int n);
+ public unowned Gtk.TreeViewColumn? get_column (int n);
public GLib.List<weak Gtk.TreeViewColumn> get_columns ();
public void get_cursor (out Gtk.TreePath? path, out unowned Gtk.TreeViewColumn? focus_column);
public bool get_dest_row_at_pos (int drag_x, int drag_y, out Gtk.TreePath? path, out Gtk.TreeViewDropPosition pos);
@@ -6409,9 +6403,9 @@ namespace Gtk {
public Gtk.SortType get_sort_order ();
public int get_spacing ();
public unowned string get_title ();
- public unowned Gtk.Widget get_tree_view ();
+ public unowned Gtk.Widget? get_tree_view ();
public bool get_visible ();
- public unowned Gtk.Widget get_widget ();
+ public unowned Gtk.Widget? get_widget ();
public int get_width ();
public int get_x_offset ();
public void queue_resize ();
@@ -6471,7 +6465,7 @@ namespace Gtk {
public unowned Gtk.AccelGroup get_accel_group ();
public virtual unowned Gtk.Action get_action (string path);
public unowned GLib.List<Gtk.ActionGroup> get_action_groups ();
- [Deprecated (since = "3.4")]
+ [Version (deprecated_since = "3.4")]
public bool get_add_tearoffs ();
public GLib.SList<weak Gtk.Widget> get_toplevels (Gtk.UIManagerItemType types);
public string get_ui ();
@@ -6480,9 +6474,9 @@ namespace Gtk {
public uint new_merge_id ();
public void remove_action_group (Gtk.ActionGroup action_group);
public void remove_ui (uint merge_id);
- [Deprecated (since = "3.4")]
+ [Version (deprecated_since = "3.4")]
public void set_add_tearoffs (bool add_tearoffs);
- [Deprecated (since = "3.4")]
+ [Version (deprecated_since = "3.4")]
public bool add_tearoffs { get; set; }
public string ui { owned get; }
public virtual signal void actions_changed ();
@@ -6493,7 +6487,7 @@ namespace Gtk {
public virtual signal void pre_activate (Gtk.Action action);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vbox_get_type ()")]
- [Deprecated (replacement = "Box", since = "3.2")]
+ [Version (deprecated_since = "3.2", replacement = "Box")]
public class VBox : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public VBox (bool homogeneous, int spacing);
@@ -6504,13 +6498,13 @@ namespace Gtk {
public VButtonBox ();
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vpaned_get_type ()")]
- [Deprecated (replacement = "Paned", since = "3.2")]
+ [Version (deprecated_since = "3.2", replacement = "Paned")]
public class VPaned : Gtk.Paned, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public VPaned ();
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vscale_get_type ()")]
- [Deprecated (replacement = "Scale", since = "3.2")]
+ [Version (deprecated_since = "3.2", replacement = "Scale")]
public class VScale : Gtk.Scale, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public VScale (Gtk.Adjustment? adjustment);
@@ -6518,7 +6512,7 @@ namespace Gtk {
public VScale.with_range (double min, double max, double step);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vscrollbar_get_type ()")]
- [Deprecated (replacement = "Scrollbar", since = "3.2")]
+ [Version (deprecated_since = "3.2", replacement = "Scrollbar")]
public class VScrollbar : Gtk.Scrollbar, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public VScrollbar (Gtk.Adjustment? adjustment);
@@ -6533,13 +6527,13 @@ namespace Gtk {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public Viewport (Gtk.Adjustment? hadjustment, Gtk.Adjustment? vadjustment);
public unowned Gdk.Window get_bin_window ();
- public unowned Gtk.Adjustment get_hadjustment ();
+ public unowned Gtk.Adjustment? get_hadjustment ();
public Gtk.ShadowType get_shadow_type ();
- public unowned Gtk.Adjustment get_vadjustment ();
+ public unowned Gtk.Adjustment? get_vadjustment ();
public unowned Gdk.Window get_view_window ();
- public void set_hadjustment (Gtk.Adjustment adjustment);
+ public void set_hadjustment (Gtk.Adjustment? adjustment);
public void set_shadow_type (Gtk.ShadowType type);
- public void set_vadjustment (Gtk.Adjustment adjustment);
+ public void set_vadjustment (Gtk.Adjustment? adjustment);
public Gtk.ShadowType shadow_type { get; set; }
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_volume_button_get_type ()")]
@@ -6573,7 +6567,7 @@ namespace Gtk {
[CCode (cname = "gtk_widget_class_bind_template_child_full")]
public class void bind_template_child_full (string name, bool internal_child, ssize_t struct_offset);
public bool child_focus (Gtk.DirectionType direction);
- [Deprecated (replacement = "get_path", since = "3.0")]
+ [Version (deprecated_since = "3.0", replacement = "get_path")]
public void class_path (out uint path_length, out string path, out string path_reversed);
public virtual bool compute_expand (Gtk.Orientation orientation);
[CCode (vfunc_name = "compute_expand")]
@@ -6584,8 +6578,8 @@ namespace Gtk {
public void destroyed (out unowned Gtk.Widget widget_pointer);
public bool device_is_shadowed (Gdk.Device device);
[NoWrapper]
- public virtual void dispatch_child_properties_changed ([CCode (array_length_pos = 0.5)] out GLib.ParamSpec[] pspecs);
- [Deprecated (replacement = "StyleContext", since = "3.0")]
+ public virtual void dispatch_child_properties_changed ([CCode (array_length_pos = 0.5)] GLib.ParamSpec[] pspecs);
+ [Version (deprecated_since = "3.0", replacement = "StyleContext")]
public void ensure_style ();
public void error_bell ();
[CCode (cname = "gtk_widget_class_find_style_property")]
@@ -6598,11 +6592,11 @@ namespace Gtk {
public void get_allocated_size (out Gtk.Allocation allocation, out int baseline);
public int get_allocated_width ();
public void get_allocation (out Gtk.Allocation allocation);
- public unowned Gtk.Widget get_ancestor (GLib.Type widget_type);
+ public unowned Gtk.Widget? get_ancestor (GLib.Type widget_type);
public bool get_app_paintable ();
public bool get_can_default ();
public bool get_can_focus ();
- [Deprecated (replacement = "get_preferred_size", since = "3.0")]
+ [Version (deprecated_since = "3.0", replacement = "get_preferred_size")]
public void get_child_requisition (out Gtk.Requisition requisition);
public bool get_child_visible ();
public void get_clip (out Gtk.Allocation clip);
@@ -6611,7 +6605,7 @@ namespace Gtk {
[CCode (cname = "gtk_widget_class_get_css_name")]
public class unowned string get_css_name ();
public static Gtk.TextDirection get_default_direction ();
- [Deprecated (replacement = "StyleContext, and CssProvider.get_default() to obtain a Gtk.StyleProvider with the default widget style information", since = "3.0")]
+ [Version (deprecated_since = "3.0", replacement = "StyleContext, and CssProvider.get_default() to obtain a Gtk.StyleProvider with the default widget style information")]
public static unowned Gtk.Style get_default_style ();
public bool get_device_enabled (Gdk.Device device);
public Gdk.EventMask get_device_events (Gdk.Device device);
@@ -6620,9 +6614,9 @@ namespace Gtk {
public bool get_double_buffered ();
public int get_events ();
public bool get_focus_on_click ();
- public unowned Pango.FontMap get_font_map ();
- public unowned Cairo.FontOptions get_font_options ();
- public unowned Gdk.FrameClock get_frame_clock ();
+ public unowned Pango.FontMap? get_font_map ();
+ public unowned Cairo.FontOptions? get_font_options ();
+ public unowned Gdk.FrameClock? get_frame_clock ();
public Gtk.Align get_halign ();
public bool get_has_tooltip ();
public bool get_has_window ();
@@ -6636,7 +6630,7 @@ namespace Gtk {
public int get_margin_start ();
public int get_margin_top ();
public Gdk.ModifierType get_modifier_mask (Gdk.ModifierIntent intent);
- [Deprecated (replacement = "StyleContext with a custom StyleProvider", since = "3.0")]
+ [Version (deprecated_since = "3.0", replacement = "StyleContext with a custom StyleProvider")]
public unowned Gtk.RcStyle get_modifier_style ();
public bool get_no_show_all ();
public double get_opacity ();
@@ -6645,7 +6639,7 @@ namespace Gtk {
public unowned Gtk.Container? get_parent ();
public unowned Gdk.Window get_parent_window ();
public unowned Gtk.WidgetPath get_path ();
- [Deprecated (replacement = "Gdk.Window.get_device_position", since = "3.4")]
+ [Version (deprecated_since = "3.4", replacement = "Gdk.Window.get_device_position")]
public void get_pointer (out int x, out int y);
public virtual void get_preferred_height (out int minimum_height, out int natural_height);
public virtual void get_preferred_height_and_baseline_for_width (int width, out int minimum_height, out int natural_height, out int minimum_baseline, out int natural_baseline);
@@ -6675,16 +6669,16 @@ namespace Gtk {
public bool get_sensitive ();
public unowned Gtk.Settings get_settings ();
public void get_size_request (out int width, out int height);
- [Deprecated (replacement = "get_state_flags", since = "3.0")]
+ [Version (deprecated_since = "3.0", replacement = "get_state_flags")]
public Gtk.StateType get_state ();
public Gtk.StateFlags get_state_flags ();
- [Deprecated (replacement = "StyleContext", since = "3.0")]
+ [Version (deprecated_since = "3.0", replacement = "StyleContext")]
public unowned Gtk.Style get_style ();
public unowned Gtk.StyleContext get_style_context ();
public bool get_support_multidevice ();
public unowned GLib.Object get_template_child (GLib.Type widget_type, string name);
- public string get_tooltip_markup ();
- public string get_tooltip_text ();
+ public string? get_tooltip_markup ();
+ public string? get_tooltip_text ();
public unowned Gtk.Window get_tooltip_window ();
public unowned Gtk.Widget get_toplevel ();
public Gtk.Align get_valign ();
@@ -6693,10 +6687,10 @@ namespace Gtk {
public bool get_vexpand_set ();
public bool get_visible ();
public unowned Gdk.Visual get_visual ();
- public unowned Gdk.Window get_window ();
+ public unowned Gdk.Window? get_window ();
public void grab_default ();
public bool has_grab ();
- [Deprecated (replacement = "StyleContext", since = "3.0")]
+ [Version (deprecated_since = "3.0", replacement = "StyleContext")]
public bool has_rc_style ();
public bool has_screen ();
public bool has_visible_focus ();
@@ -6721,26 +6715,26 @@ namespace Gtk {
public GLib.List<weak Gtk.Widget> list_mnemonic_labels ();
[CCode (array_length_type = "guint", cname = "gtk_widget_class_list_style_properties")]
public class (unowned GLib.ParamSpec)[] list_style_properties ();
- [Deprecated (replacement = "override_background_color", since = "3.0")]
+ [Version (deprecated_since = "3.0", replacement = "override_background_color")]
public void modify_base (Gtk.StateType state, Gdk.Color? color);
- [Deprecated (replacement = "override_background_color", since = "3.0")]
+ [Version (deprecated_since = "3.0", replacement = "override_background_color")]
public void modify_bg (Gtk.StateType state, Gdk.Color? color);
- [Deprecated (replacement = "override_cursor", since = "3.0")]
+ [Version (deprecated_since = "3.0", replacement = "override_cursor")]
public void modify_cursor (Gdk.Color? primary, Gdk.Color? secondary);
- [Deprecated (replacement = "override_color", since = "3.0")]
+ [Version (deprecated_since = "3.0", replacement = "override_color")]
public void modify_fg (Gtk.StateType state, Gdk.Color? color);
- [Deprecated (replacement = "override_font", since = "3.0")]
+ [Version (deprecated_since = "3.0", replacement = "override_font")]
public void modify_font (Pango.FontDescription? font_desc);
- [Deprecated (replacement = "StyleContext with a custom StyleProvider", since = "3.0")]
+ [Version (deprecated_since = "3.0", replacement = "StyleContext with a custom StyleProvider")]
public void modify_style (Gtk.RcStyle style);
- [Deprecated (replacement = "override_color", since = "3.0")]
+ [Version (deprecated_since = "3.0", replacement = "override_color")]
public void modify_text (Gtk.StateType state, Gdk.Color? color);
public void override_background_color (Gtk.StateFlags state, Gdk.RGBA? color);
public void override_color (Gtk.StateFlags state, Gdk.RGBA? color);
public void override_cursor (Gdk.RGBA? cursor, Gdk.RGBA? secondary_cursor);
public void override_font (Pango.FontDescription? font_desc);
public void override_symbolic_color (string name, Gdk.RGBA? color);
- [Deprecated (replacement = "get_path", since = "3.0")]
+ [Version (deprecated_since = "3.0", replacement = "get_path")]
public void path (out uint path_length, out string path, out string path_reversed);
public static void pop_composite_child ();
public static void push_composite_child ();
@@ -6759,7 +6753,7 @@ namespace Gtk {
public Gdk.Pixbuf render_icon (string stock_id, Gtk.IconSize size, string? detail);
public Gdk.Pixbuf render_icon_pixbuf (string stock_id, Gtk.IconSize size);
public void reparent (Gtk.Widget new_parent);
- [Deprecated (replacement = "reset_style", since = "3.0")]
+ [Version (deprecated_since = "3.0", replacement = "reset_style")]
public void reset_rc_styles ();
public void reset_style ();
public int send_expose (Gdk.Event event);
@@ -6777,7 +6771,7 @@ namespace Gtk {
public void set_clip (Gtk.Allocation clip);
public void set_composite_name (string name);
[CCode (cname = "gtk_widget_class_set_connect_func")]
- public class void set_connect_func (Gtk.BuilderConnectFunc connect_func, void* connect_data, GLib.DestroyNotify connect_data_destroy);
+ public class void set_connect_func (owned Gtk.BuilderConnectFunc connect_func);
[CCode (cname = "gtk_widget_class_set_css_name")]
public class void set_css_name (string name);
public static void set_default_direction (Gtk.TextDirection dir);
@@ -6787,7 +6781,7 @@ namespace Gtk {
public void set_double_buffered (bool double_buffered);
public void set_events (int events);
public void set_focus_on_click (bool focus_on_click);
- public void set_font_map (Pango.FontMap font_map);
+ public void set_font_map (Pango.FontMap? font_map);
public void set_font_options (Cairo.FontOptions? options);
public void set_halign (Gtk.Align align);
public void set_has_tooltip (bool has_tooltip);
@@ -6810,10 +6804,10 @@ namespace Gtk {
public void set_redraw_on_allocate (bool redraw_on_allocate);
public void set_sensitive (bool sensitive);
public void set_size_request (int width, int height);
- [Deprecated (replacement = "set_state_flags", since = "3.0")]
+ [Version (deprecated_since = "3.0", replacement = "set_state_flags")]
public void set_state (Gtk.StateType state);
public void set_state_flags (Gtk.StateFlags flags, bool clear);
- [Deprecated (replacement = "StyleContext", since = "3.0")]
+ [Version (deprecated_since = "3.0", replacement = "StyleContext")]
public void set_style (Gtk.Style? style);
public void set_support_multidevice (bool support_multidevice);
[CCode (cname = "gtk_widget_class_set_template")]
@@ -6833,7 +6827,7 @@ namespace Gtk {
public virtual void show_all ();
public void show_now ();
public void size_allocate_with_baseline (Gtk.Allocation allocation, int baseline);
- [Deprecated (replacement = "StyleContext", since = "3.0")]
+ [Version (deprecated_since = "3.0", replacement = "StyleContext")]
public void style_attach ();
public void style_get (...);
public void style_get_property (string property_name, ref GLib.Value value);
@@ -6951,7 +6945,7 @@ namespace Gtk {
public virtual signal bool query_tooltip (int x, int y, bool keyboard_tooltip, Gtk.Tooltip tooltip);
[HasEmitter]
public virtual signal void realize ();
- public virtual signal void screen_changed (Gdk.Screen previous_screen);
+ public virtual signal void screen_changed (Gdk.Screen? previous_screen);
public virtual signal bool scroll_event (Gdk.EventScroll event);
public virtual signal bool selection_clear_event (Gdk.EventSelection event);
public virtual signal void selection_get (Gtk.SelectionData selection_data, uint info, uint time_);
@@ -6996,7 +6990,6 @@ namespace Gtk {
public bool has_parent (GLib.Type type);
public bool is_type (GLib.Type type);
public void iter_add_class (int pos, string name);
- public void iter_add_qclass (int pos, GLib.Quark qname);
public void iter_add_region (int pos, string name, Gtk.RegionFlags flags);
public void iter_clear_classes (int pos);
public void iter_clear_regions (int pos);
@@ -7040,16 +7033,16 @@ namespace Gtk {
public void fullscreen ();
public void fullscreen_on_monitor (Gdk.Screen screen, int monitor);
public bool get_accept_focus ();
- public unowned Gtk.Application get_application ();
- public unowned Gtk.Widget get_attached_to ();
+ public unowned Gtk.Application? get_application ();
+ public unowned Gtk.Widget? get_attached_to ();
public bool get_decorated ();
public static GLib.List<weak Gdk.Pixbuf> get_default_icon_list ();
public static unowned string get_default_icon_name ();
public void get_default_size (out int width, out int height);
- public unowned Gtk.Widget get_default_widget ();
+ public unowned Gtk.Widget? get_default_widget ();
public bool get_deletable ();
public bool get_destroy_with_parent ();
- public unowned Gtk.Widget get_focus ();
+ public unowned Gtk.Widget? get_focus ();
public bool get_focus_on_map ();
public bool get_focus_visible ();
public Gdk.Gravity get_gravity ();
@@ -7058,7 +7051,7 @@ namespace Gtk {
public bool get_hide_titlebar_when_maximized ();
public unowned Gdk.Pixbuf get_icon ();
public GLib.List<weak Gdk.Pixbuf> get_icon_list ();
- public unowned string get_icon_name ();
+ public unowned string? get_icon_name ();
public Gdk.ModifierType get_mnemonic_modifier ();
public bool get_mnemonics_visible ();
public bool get_modal ();
@@ -7066,14 +7059,14 @@ namespace Gtk {
public void get_position (out int root_x, out int root_y);
public bool get_resizable ();
public bool get_resize_grip_area (out Gdk.Rectangle rect);
- public unowned string get_role ();
+ public unowned string? get_role ();
public unowned Gdk.Screen get_screen ();
public void get_size (out int width, out int height);
public bool get_skip_pager_hint ();
public bool get_skip_taskbar_hint ();
- public unowned string get_title ();
- public unowned Gtk.Widget get_titlebar ();
- public unowned Gtk.Window get_transient_for ();
+ public unowned string? get_title ();
+ public unowned Gtk.Widget? get_titlebar ();
+ public unowned Gtk.Window? get_transient_for ();
public Gdk.WindowTypeHint get_type_hint ();
public bool get_urgency_hint ();
public Gtk.WindowType get_window_type ();
@@ -7184,11 +7177,11 @@ namespace Gtk {
[NoAccessorMethod]
public Gtk.WindowPosition window_position { get; set; }
[CCode (cname = "activate_default")]
- [Experimental]
+ [Version (experimental = true)]
public virtual signal void default_activated ();
public virtual signal bool enable_debugging (bool toggle);
[CCode (cname = "activate_focus")]
- [Experimental]
+ [Version (experimental = true)]
public virtual signal void focus_activated ();
public virtual signal void keys_changed ();
[HasEmitter]
@@ -7208,14 +7201,14 @@ namespace Gtk {
[CCode (has_construct_function = false)]
public WindowGroup ();
public void add_window (Gtk.Window window);
- public unowned Gtk.Widget get_current_device_grab (Gdk.Device device);
+ public unowned Gtk.Widget? get_current_device_grab (Gdk.Device device);
public unowned Gtk.Widget get_current_grab ();
public GLib.List<weak Gtk.Window> list_windows ();
public void remove_window (Gtk.Window window);
}
[CCode (cheader_filename = "gtk/gtk.h", type_cname = "GtkActionableInterface")]
public interface Actionable : Gtk.Widget {
- public abstract unowned string get_action_name ();
+ public abstract unowned string? get_action_name ();
public abstract unowned GLib.Variant get_action_target_value ();
public abstract void set_action_name (string action_name);
public void set_action_target (string format_string, ...);
@@ -7250,7 +7243,7 @@ namespace Gtk {
public abstract void add_child (Gtk.Builder builder, GLib.Object child, string? type);
public abstract GLib.Object construct_child (Gtk.Builder builder, string name);
public abstract void custom_finished (Gtk.Builder builder, GLib.Object? child, string tagname, void* data);
- public abstract void custom_tag_end (Gtk.Builder builder, GLib.Object? child, string tagname, out void* data);
+ public abstract void custom_tag_end (Gtk.Builder builder, GLib.Object? child, string tagname, void* data);
public abstract bool custom_tag_start (Gtk.Builder builder, GLib.Object? child, string tagname, out GLib.MarkupParser parser, out void* data);
public abstract unowned GLib.Object get_internal_child (Gtk.Builder builder, string childname);
public abstract unowned string get_name ();
@@ -7553,7 +7546,7 @@ namespace Gtk {
public abstract int get_n_columns ();
public abstract Gtk.TreePath? get_path (Gtk.TreeIter iter);
public string get_string_from_iter (Gtk.TreeIter iter);
- public void get_valist (Gtk.TreeIter iter, void* var_args);
+ public void get_valist (Gtk.TreeIter iter, va_list var_args);
public abstract void get_value (Gtk.TreeIter iter, int column, out GLib.Value value);
public abstract bool iter_children (out Gtk.TreeIter iter, Gtk.TreeIter? parent);
public abstract bool iter_has_child (Gtk.TreeIter iter);
@@ -7574,7 +7567,7 @@ namespace Gtk {
[HasEmitter]
public signal void row_inserted (Gtk.TreePath path, Gtk.TreeIter iter);
[HasEmitter]
- public signal void rows_reordered (Gtk.TreePath path, Gtk.TreeIter? iter, void* new_order);
+ public signal void rows_reordered (Gtk.TreePath path, Gtk.TreeIter? iter, [CCode (array_length = false)] int[] new_order);
}
[CCode (cheader_filename = "gtk/gtk.h")]
public interface TreeSortable : Gtk.TreeModel, GLib.Object {
@@ -7813,6 +7806,7 @@ namespace Gtk {
public void set_visible_line_offset (int char_on_line);
public bool starts_line ();
public bool starts_sentence ();
+ public bool starts_tag (Gtk.TextTag tag);
public bool starts_word ();
public bool toggles_tag (Gtk.TextTag tag);
}
@@ -8002,7 +7996,8 @@ namespace Gtk {
NO_PIXEL_CACHE,
INTERACTIVE,
TOUCHSCREEN,
- ACTIONS
+ ACTIONS,
+ RESIZE
}
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DELETE_")]
public enum DeleteType {
@@ -8320,6 +8315,11 @@ namespace Gtk {
NEVER,
EXTERNAL
}
+ [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_POPOVER_CONSTRAINT_")]
+ public enum PopoverConstraint {
+ NONE,
+ WINDOW
+ }
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_POS_")]
public enum PositionType {
LEFT,
@@ -8468,7 +8468,7 @@ namespace Gtk {
public enum ResizeMode {
PARENT,
QUEUE,
- [Deprecated]
+ [Version (deprecated = true)]
IMMEDIATE
}
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RESPONSE_")]
@@ -8637,7 +8637,8 @@ namespace Gtk {
DIR_RTL,
LINK,
VISITED,
- CHECKED
+ CHECKED,
+ DROP_ACTIVE
}
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_STATE_")]
public enum StateType {
@@ -8649,6 +8650,13 @@ namespace Gtk {
INCONSISTENT,
FOCUSED
}
+ [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_STYLE_CONTEXT_PRINT_")]
+ [Flags]
+ public enum StyleContextPrintFlags {
+ NONE,
+ RECURSE,
+ SHOW_STYLE
+ }
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TARGET_")]
[Flags]
public enum TargetFlags {
@@ -8986,6 +8994,8 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public const int INTERFACE_AGE;
[CCode (cheader_filename = "gtk/gtk.h")]
+ public const string LEVEL_BAR_OFFSET_FULL;
+ [CCode (cheader_filename = "gtk/gtk.h")]
public const string LEVEL_BAR_OFFSET_HIGH;
[CCode (cheader_filename = "gtk/gtk.h")]
public const string LEVEL_BAR_OFFSET_LOW;
@@ -9080,319 +9090,319 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public const int PRIORITY_RESIZE;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.ABOUT", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ABOUT")]
public const string STOCK_ABOUT;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.ADD", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ADD")]
public const string STOCK_ADD;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.APPLY", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.APPLY")]
public const string STOCK_APPLY;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.BOLD", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.BOLD")]
public const string STOCK_BOLD;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.CANCEL", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CANCEL")]
public const string STOCK_CANCEL;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.CAPS_LOCK_WARNING", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CAPS_LOCK_WARNING")]
public const string STOCK_CAPS_LOCK_WARNING;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.CDROM", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CDROM")]
public const string STOCK_CDROM;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.CLEAR", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CLEAR")]
public const string STOCK_CLEAR;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.CLOSE", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CLOSE")]
public const string STOCK_CLOSE;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.COLOR_PICKER", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.COLOR_PICKER")]
public const string STOCK_COLOR_PICKER;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.CONNECT", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CONNECT")]
public const string STOCK_CONNECT;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.CONVERT", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CONVERT")]
public const string STOCK_CONVERT;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.COPY", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.COPY")]
public const string STOCK_COPY;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.CUT", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CUT")]
public const string STOCK_CUT;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.DELETE", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DELETE")]
public const string STOCK_DELETE;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.DIALOG_AUTHENTICATION", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_AUTHENTICATION")]
public const string STOCK_DIALOG_AUTHENTICATION;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.DIALOG_ERROR", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_ERROR")]
public const string STOCK_DIALOG_ERROR;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.DIALOG_INFO", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_INFO")]
public const string STOCK_DIALOG_INFO;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.DIALOG_QUESTION", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_QUESTION")]
public const string STOCK_DIALOG_QUESTION;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.DIALOG_WARNING", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_WARNING")]
public const string STOCK_DIALOG_WARNING;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.DIRECTORY", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIRECTORY")]
public const string STOCK_DIRECTORY;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.DISCARD", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DISCARD")]
public const string STOCK_DISCARD;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.DISCONNECT", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DISCONNECT")]
public const string STOCK_DISCONNECT;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.DND", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DND")]
public const string STOCK_DND;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.DND_MULTIPLE", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DND_MULTIPLE")]
public const string STOCK_DND_MULTIPLE;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.EDIT", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.EDIT")]
public const string STOCK_EDIT;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.EXECUTE", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.EXECUTE")]
public const string STOCK_EXECUTE;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.FILE", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FILE")]
public const string STOCK_FILE;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.FIND", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FIND")]
public const string STOCK_FIND;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.FIND_AND_REPLACE", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FIND_AND_REPLACE")]
public const string STOCK_FIND_AND_REPLACE;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.FLOPPY", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FLOPPY")]
public const string STOCK_FLOPPY;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.FULLSCREEN", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FULLSCREEN")]
public const string STOCK_FULLSCREEN;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.GOTO_BOTTOM", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GOTO_BOTTOM")]
public const string STOCK_GOTO_BOTTOM;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.GOTO_FIRST", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GOTO_FIRST")]
public const string STOCK_GOTO_FIRST;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.GOTO_LAST", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GOTO_LAST")]
public const string STOCK_GOTO_LAST;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.GOTO_TOP", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GOTO_TOP")]
public const string STOCK_GOTO_TOP;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.GO_BACK", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GO_BACK")]
public const string STOCK_GO_BACK;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.GO_DOWN", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GO_DOWN")]
public const string STOCK_GO_DOWN;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.GO_FORWARD", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GO_FORWARD")]
public const string STOCK_GO_FORWARD;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.GO_UP", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GO_UP")]
public const string STOCK_GO_UP;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.HARDDISK", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.HARDDISK")]
public const string STOCK_HARDDISK;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.HELP", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.HELP")]
public const string STOCK_HELP;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.HOME", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.HOME")]
public const string STOCK_HOME;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.INDENT", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.INDENT")]
public const string STOCK_INDENT;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.INDEX", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.INDEX")]
public const string STOCK_INDEX;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.INFO", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.INFO")]
public const string STOCK_INFO;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.ITALIC", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ITALIC")]
public const string STOCK_ITALIC;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.JUMP_TO", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUMP_TO")]
public const string STOCK_JUMP_TO;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.JUSTIFY_CENTER", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_CENTER")]
public const string STOCK_JUSTIFY_CENTER;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.JUSTIFY_FILL", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_FILL")]
public const string STOCK_JUSTIFY_FILL;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.JUSTIFY_LEFT", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_LEFT")]
public const string STOCK_JUSTIFY_LEFT;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.JUSTIFY_RIGHT", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_RIGHT")]
public const string STOCK_JUSTIFY_RIGHT;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.FULLSCREEN", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FULLSCREEN")]
public const string STOCK_LEAVE_FULLSCREEN;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.MEDIA_FORWARD", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_FORWARD")]
public const string STOCK_MEDIA_FORWARD;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.MEDIA_NEXT", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_NEXT")]
public const string STOCK_MEDIA_NEXT;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.MEDIA_PAUSE", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_PAUSE")]
public const string STOCK_MEDIA_PAUSE;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.MEDIA_PLAY", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_PLAY")]
public const string STOCK_MEDIA_PLAY;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.MEDIA_PREVIOUS", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_PREVIOUS")]
public const string STOCK_MEDIA_PREVIOUS;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.MEDIA_RECORD", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_RECORD")]
public const string STOCK_MEDIA_RECORD;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.MEDIA_REWIND", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_REWIND")]
public const string STOCK_MEDIA_REWIND;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.MEDIA_STOP", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_STOP")]
public const string STOCK_MEDIA_STOP;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.MISSING_IMAGE", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MISSING_IMAGE")]
public const string STOCK_MISSING_IMAGE;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.NETWORK", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.NETWORK")]
public const string STOCK_NETWORK;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.NEW", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.NEW")]
public const string STOCK_NEW;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.NO", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.NO")]
public const string STOCK_NO;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.OK", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.OK")]
public const string STOCK_OK;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.OPEN", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.OPEN")]
public const string STOCK_OPEN;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.ORIENTATION_LANDSCAPE", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_LANDSCAPE")]
public const string STOCK_ORIENTATION_LANDSCAPE;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.ORIENTATION_PORTRAIT", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_PORTRAIT")]
public const string STOCK_ORIENTATION_PORTRAIT;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.ORIENTATION_REVERSE_LANDSCAPE", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_REVERSE_LANDSCAPE")]
public const string STOCK_ORIENTATION_REVERSE_LANDSCAPE;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.ORIENTATION_REVERSE_PORTRAIT", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_REVERSE_PORTRAIT")]
public const string STOCK_ORIENTATION_REVERSE_PORTRAIT;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.PAGE_SETUP", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PAGE_SETUP")]
public const string STOCK_PAGE_SETUP;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.PASTE", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PASTE")]
public const string STOCK_PASTE;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.PREFERENCES", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PREFERENCES")]
public const string STOCK_PREFERENCES;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.PRINT", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT")]
public const string STOCK_PRINT;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.PRINT_ERROR", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_ERROR")]
public const string STOCK_PRINT_ERROR;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.PRINT_PAUSED", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_PAUSED")]
public const string STOCK_PRINT_PAUSED;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.PRINT_PREVIEW", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_PREVIEW")]
public const string STOCK_PRINT_PREVIEW;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.PRINT_REPORT", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_REPORT")]
public const string STOCK_PRINT_REPORT;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.PRINT_WARNING", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_WARNING")]
public const string STOCK_PRINT_WARNING;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.PROPERTIES", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PROPERTIES")]
public const string STOCK_PROPERTIES;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.QUIT", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.QUIT")]
public const string STOCK_QUIT;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.REDO", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.REDO")]
public const string STOCK_REDO;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.REFRESH", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.REFRESH")]
public const string STOCK_REFRESH;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.REMOVE", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.REMOVE")]
public const string STOCK_REMOVE;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.REVERT_TO_SAVED", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.REVERT_TO_SAVED")]
public const string STOCK_REVERT_TO_SAVED;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.SAVE", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SAVE")]
public const string STOCK_SAVE;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.SAVE_AS", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SAVE_AS")]
public const string STOCK_SAVE_AS;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.SELECT_ALL", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SELECT_ALL")]
public const string STOCK_SELECT_ALL;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.SELECT_COLOR", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SELECT_COLOR")]
public const string STOCK_SELECT_COLOR;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.SELECT_FONT", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SELECT_FONT")]
public const string STOCK_SELECT_FONT;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.SORT_ASCENDING", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SORT_ASCENDING")]
public const string STOCK_SORT_ASCENDING;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.SORT_DESCENDING", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SORT_DESCENDING")]
public const string STOCK_SORT_DESCENDING;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.SPELL_CHECK", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SPELL_CHECK")]
public const string STOCK_SPELL_CHECK;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.STOP", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.STOP")]
public const string STOCK_STOP;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.STRIKETHROUGH", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.STRIKETHROUGH")]
public const string STOCK_STRIKETHROUGH;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.UNDELETE", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.UNDELETE")]
public const string STOCK_UNDELETE;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.UNDERLINE", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.UNDERLINE")]
public const string STOCK_UNDERLINE;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.UNDO", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.UNDO")]
public const string STOCK_UNDO;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.UNINDENT", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.UNINDENT")]
public const string STOCK_UNINDENT;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.YES", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.YES")]
public const string STOCK_YES;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.ZOOM_100", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_100")]
public const string STOCK_ZOOM_100;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.ZOOM_FIT", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_FIT")]
public const string STOCK_ZOOM_FIT;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.ZOOM_IN", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_IN")]
public const string STOCK_ZOOM_IN;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.ZOOM_OUT", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_OUT")]
public const string STOCK_ZOOM_OUT;
[CCode (cheader_filename = "gtk/gtk.h")]
public const string STYLE_CLASS_ACCELERATOR;
@@ -9725,7 +9735,7 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public static void drag_unhighlight (Gtk.Widget widget);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "render_insertion_cursor", since = "3.4")]
+ [Version (deprecated_since = "3.4", replacement = "render_insertion_cursor")]
public static void draw_insertion_cursor (Gtk.Widget widget, Cairo.Context cr, Gdk.Rectangle location, bool is_primary, Gtk.TextDirection direction, bool draw_arrow);
[CCode (cheader_filename = "gtk/gtk.h")]
public static bool events_pending ();
@@ -9782,10 +9792,10 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public static bool init_with_args ([CCode (array_length_pos = 0.9)] ref unowned string[] argv, string? parameter_string, [CCode (array_length = false)] GLib.OptionEntry[] entries, string? translation_domain) throws GLib.Error;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (since = "3.4")]
+ [Version (deprecated_since = "3.4")]
public static uint key_snooper_install (Gtk.KeySnoopFunc snooper);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (since = "3.4")]
+ [Version (deprecated_since = "3.4")]
public static void key_snooper_remove (uint snooper_handler_id);
[CCode (cheader_filename = "gtk/gtk.h")]
public static void main ();
@@ -9800,64 +9810,64 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public static void main_quit ();
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (since = "3.0")]
+ [Version (deprecated_since = "3.0")]
public static void paint_arrow (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, Gtk.ArrowType arrow_type, bool fill, int x, int y, int width, int height);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "render_background", since = "3.0")]
+ [Version (deprecated_since = "3.0", replacement = "render_background")]
public static void paint_box (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "render_frame_gap", since = "3.0")]
+ [Version (deprecated_since = "3.0", replacement = "render_frame_gap")]
public static void paint_box_gap (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height, Gtk.PositionType gap_side, int gap_x, int gap_width);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (since = "3.0")]
+ [Version (deprecated_since = "3.0")]
public static void paint_check (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (since = "3.0")]
+ [Version (deprecated_since = "3.0")]
public static void paint_diamond (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "render_expander", since = "3.0")]
+ [Version (deprecated_since = "3.0", replacement = "render_expander")]
public static void paint_expander (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget? widget, string? detail, int x, int y, Gtk.ExpanderStyle expander_style);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "render_frame and render_background", since = "3.0")]
+ [Version (deprecated_since = "3.0", replacement = "render_frame and render_background")]
public static void paint_extension (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height, Gtk.PositionType gap_side);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (since = "3.0")]
+ [Version (deprecated_since = "3.0")]
public static void paint_flat_box (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (since = "3.0")]
+ [Version (deprecated_since = "3.0")]
public static void paint_focus (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (since = "3.0")]
+ [Version (deprecated_since = "3.0")]
public static void paint_handle (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height, Gtk.Orientation orientation);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (since = "3.0")]
+ [Version (deprecated_since = "3.0")]
public static void paint_hline (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget? widget, string? detail, int x1, int x2, int y);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (since = "3.0")]
+ [Version (deprecated_since = "3.0")]
public static void paint_layout (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, bool use_text, Gtk.Widget? widget, string? detail, int x, int y, Pango.Layout layout);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (since = "3.0")]
+ [Version (deprecated_since = "3.0")]
public static void paint_option (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "render_handle", since = "3.0")]
+ [Version (deprecated_since = "3.0", replacement = "render_handle")]
public static void paint_resize_grip (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget? widget, string? detail, Gdk.WindowEdge edge, int x, int y, int width, int height);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (since = "3.0")]
+ [Version (deprecated_since = "3.0")]
public static void paint_shadow (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "render_frame", since = "3.0")]
+ [Version (deprecated_since = "3.0", replacement = "render_frame")]
public static void paint_shadow_gap (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height, Gtk.PositionType gap_side, int gap_x, int gap_width);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (since = "3.0")]
+ [Version (deprecated_since = "3.0")]
public static void paint_slider (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height, Gtk.Orientation orientation);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "render_activity", since = "3.0")]
+ [Version (deprecated_since = "3.0", replacement = "render_activity")]
public static void paint_spinner (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget widget, string detail, uint step, int x, int y, int width, int height);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (since = "3.0")]
+ [Version (deprecated_since = "3.0")]
public static void paint_tab (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (since = "3.0")]
+ [Version (deprecated_since = "3.0")]
public static void paint_vline (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget? widget, string? detail, int y1_, int y2_, int x);
[CCode (cheader_filename = "gtk/gtk.h")]
public static bool parse_args ([CCode (array_length_pos = 0.5)] ref unowned string[] argv);
@@ -9912,56 +9922,56 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public static void rc_set_default_files ([CCode (array_length = false, array_null_terminated = true)] string[] filenames);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "StyleContext.render_activity", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_activity")]
public static void render_activity (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "StyleContext.render_arrow", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_arrow")]
public static void render_arrow (Gtk.StyleContext context, Cairo.Context cr, double angle, double x, double y, double size);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "StyleContext.render_background", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_background")]
public static void render_background (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "StyleContext.render_check", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_check")]
public static void render_check (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "StyleContext.render_expander", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_expander")]
public static void render_expander (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "StyleContext.render_extension", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_extension")]
public static void render_extension (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height, Gtk.PositionType gap_side);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "StyleContext.render_focus", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_focus")]
public static void render_focus (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "StyleContext.render_frame", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_frame")]
public static void render_frame (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "StyleContext.render_frame_gap", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_frame_gap")]
public static void render_frame_gap (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height, Gtk.PositionType gap_side, double xy0_gap, double xy1_gap);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "StyleContext.render_handle", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_handle")]
public static void render_handle (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "StyleContext.render_icon", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_icon")]
public static void render_icon (Gtk.StyleContext context, Cairo.Context cr, Gdk.Pixbuf pixbuf, double x, double y);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "StyleContext.render_icon_pixbuf", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_icon_pixbuf")]
public static Gdk.Pixbuf render_icon_pixbuf (Gtk.StyleContext context, Gtk.IconSource source, Gtk.IconSize size);
[CCode (cheader_filename = "gtk/gtk.h")]
public static void render_icon_surface (Gtk.StyleContext context, Cairo.Context cr, Cairo.Surface surface, double x, double y);
[CCode (cheader_filename = "gtk/gtk.h")]
public static void render_insertion_cursor (Gtk.StyleContext context, Cairo.Context cr, double x, double y, Pango.Layout layout, int index, Pango.Direction direction);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "StyleContext.render_layout", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_layout")]
public static void render_layout (Gtk.StyleContext context, Cairo.Context cr, double x, double y, Pango.Layout layout);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "StyleContext.render_line", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_line")]
public static void render_line (Gtk.StyleContext context, Cairo.Context cr, double x0, double y0, double x1, double y1);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "StyleContext.render_option", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_option")]
public static void render_option (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "StyleContext.render_slider", since = "vala-0.16")]
+ [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_slider")]
public static void render_slider (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height, Gtk.Orientation orientation);
[CCode (cheader_filename = "gtk/gtk.h")]
public static void rgb_to_hsv (double r, double g, double b, out double h, out double s, out double v);
@@ -9986,16 +9996,16 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public static bool show_uri (Gdk.Screen? screen, string uri, uint32 timestamp) throws GLib.Error;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.add", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.add")]
public static void stock_add (Gtk.StockItem[] items);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.add_static", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.add_static")]
public static void stock_add_static (Gtk.StockItem[] items);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.list_ids", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.list_ids")]
public static GLib.SList<string> stock_list_ids ();
[CCode (cheader_filename = "gtk/gtk.h")]
- [Deprecated (replacement = "Gtk.Stock.set_translate_func", since = "vala-0.22")]
+ [Version (deprecated_since = "vala-0.22", replacement = "Gtk.Stock.set_translate_func")]
public static void stock_set_translate_func (string domain, owned Gtk.TranslateFunc func);
[CCode (cheader_filename = "gtk/gtk.h")]
public static void target_table_free (Gtk.TargetEntry[] targets);
diff --git a/vapi/gtksourceview-3.0.vapi b/vapi/gtksourceview-3.0.vapi
index 0e98fc3a0..1597bdd86 100644
--- a/vapi/gtksourceview-3.0.vapi
+++ b/vapi/gtksourceview-3.0.vapi
@@ -1,12 +1,14 @@
/* gtksourceview-3.0.vapi generated by vapigen, do not modify. */
[CCode (cprefix = "Gtk", gir_namespace = "GtkSource", gir_version = "3.0", lower_case_cprefix = "gtk_")]
-[Deprecated (replacement = "bindings distributed with gtksourceview-3.0", since = "3.13.90")]
+[Version (deprecated = true, deprecated_since = "3.13.90", replacement = "bindings distributed with gtksourceview-3.0")]
namespace Gtk {
namespace SourceUtils {
[CCode (cheader_filename = "gtksourceview/gtksource.h")]
+ [Version (since = "3.10")]
public static string escape_search_text (string text);
[CCode (cheader_filename = "gtksourceview/gtksource.h")]
+ [Version (since = "3.10")]
public static string unescape_search_text (string text);
}
[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_buffer_get_type ()")]
@@ -14,36 +16,51 @@ namespace Gtk {
public class SourceBuffer : Gtk.TextBuffer {
[CCode (has_construct_function = false)]
public SourceBuffer (Gtk.TextTagTable? table);
+ [Version (since = "2.2")]
public bool backward_iter_to_source_mark (Gtk.TextIter iter, string? category);
public void begin_not_undoable_action ();
+ [Version (since = "3.12")]
public void change_case (Gtk.SourceChangeCaseType case_type, Gtk.TextIter start, Gtk.TextIter end);
+ [Version (since = "2.2")]
public unowned Gtk.SourceMark create_source_mark (string? name, string category, Gtk.TextIter where);
public void end_not_undoable_action ();
public void ensure_highlight (Gtk.TextIter start, Gtk.TextIter end);
+ [Version (since = "2.2")]
public bool forward_iter_to_source_mark (Gtk.TextIter iter, string? category);
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "2.10")]
public string[] get_context_classes_at_iter (Gtk.TextIter iter);
public bool get_highlight_matching_brackets ();
public bool get_highlight_syntax ();
+ [Version (since = "3.14")]
public bool get_implicit_trailing_newline ();
public unowned Gtk.SourceLanguage? get_language ();
public int get_max_undo_levels ();
+ [Version (since = "2.2")]
public GLib.SList<weak Gtk.SourceMark> get_source_marks_at_iter (Gtk.TextIter iter, string? category);
+ [Version (since = "2.2")]
public GLib.SList<weak Gtk.SourceMark> get_source_marks_at_line (int line, string? category);
public unowned Gtk.SourceStyleScheme? get_style_scheme ();
public unowned Gtk.SourceUndoManager? get_undo_manager ();
+ [Version (since = "2.10")]
public bool iter_backward_to_context_class_toggle (ref Gtk.TextIter iter, string context_class);
+ [Version (since = "2.10")]
public bool iter_forward_to_context_class_toggle (ref Gtk.TextIter iter, string context_class);
+ [Version (since = "2.10")]
public bool iter_has_context_class (Gtk.TextIter iter, string context_class);
+ [Version (since = "3.16")]
public void join_lines (Gtk.TextIter start, Gtk.TextIter end);
+ [Version (since = "2.2")]
public void remove_source_marks (Gtk.TextIter start, Gtk.TextIter end, string? category);
public void set_highlight_matching_brackets (bool highlight);
public void set_highlight_syntax (bool highlight);
+ [Version (since = "3.14")]
public void set_implicit_trailing_newline (bool implicit_trailing_newline);
public void set_language (Gtk.SourceLanguage? language);
public void set_max_undo_levels (int max_undo_levels);
public void set_style_scheme (Gtk.SourceStyleScheme? scheme);
public void set_undo_manager (Gtk.SourceUndoManager? manager);
+ [Version (since = "3.18")]
public void sort_lines (Gtk.TextIter start, Gtk.TextIter end, Gtk.SourceSortFlags flags, int column);
[CCode (has_construct_function = false)]
public SourceBuffer.with_language (Gtk.SourceLanguage language);
@@ -53,11 +70,13 @@ namespace Gtk {
public bool can_undo { get; }
public bool highlight_matching_brackets { get; set; }
public bool highlight_syntax { get; set; }
+ [Version (since = "3.14")]
public bool implicit_trailing_newline { get; set construct; }
public Gtk.SourceLanguage language { get; set; }
public int max_undo_levels { get; set; }
public Gtk.SourceStyleScheme style_scheme { get; set; }
public Gtk.SourceUndoManager undo_manager { get; set construct; }
+ [Version (since = "2.12")]
public virtual signal void bracket_matched (Gtk.TextIter iter, Gtk.SourceBracketMatchType state);
public signal void highlight_updated (Gtk.TextIter start, Gtk.TextIter end);
[HasEmitter]
@@ -77,7 +96,7 @@ namespace Gtk {
public unowned Gtk.SourceCompletionInfo get_info_window ();
public unowned GLib.List<Gtk.SourceCompletionProvider> get_providers ();
public unowned Gtk.SourceView? get_view ();
- [Deprecated (since = "3.8")]
+ [Version (deprecated = true, deprecated_since = "3.8")]
public void move_window (Gtk.TextIter iter);
[NoWrapper]
public virtual bool proposal_activated (Gtk.SourceCompletionProvider provider, Gtk.SourceCompletionProposal proposal);
@@ -131,12 +150,12 @@ namespace Gtk {
public class SourceCompletionInfo : Gtk.Window, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false)]
public SourceCompletionInfo ();
- [Deprecated (since = "3.8")]
+ [Version (deprecated = true, deprecated_since = "3.8")]
public unowned Gtk.Widget get_widget ();
public void move_to_iter (Gtk.TextView view, Gtk.TextIter? iter);
- [Deprecated (since = "3.8")]
+ [Version (deprecated = true, deprecated_since = "3.8")]
public void set_widget (Gtk.Widget? widget);
- [Deprecated (since = "3.10")]
+ [Version (deprecated = true, deprecated_since = "3.10")]
public virtual signal void before_show ();
}
[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_completion_item_get_type ()")]
@@ -145,15 +164,17 @@ namespace Gtk {
[CCode (has_construct_function = false)]
public SourceCompletionItem (string label, string text, Gdk.Pixbuf? icon, string? info);
[CCode (has_construct_function = false)]
- [Deprecated (since = "3.10")]
+ [Version (deprecated = true, deprecated_since = "3.10")]
public SourceCompletionItem.from_stock (string? label, string text, string stock, string? info);
[CCode (has_construct_function = false)]
public SourceCompletionItem.with_markup (string markup, string text, Gdk.Pixbuf? icon, string? info);
[NoAccessorMethod]
+ [Version (since = "3.18")]
public GLib.Icon gicon { owned get; set; }
[NoAccessorMethod]
public Gdk.Pixbuf icon { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "3.18")]
public string icon_name { owned get; set; }
[NoAccessorMethod]
public string info { owned get; set; }
@@ -172,6 +193,7 @@ namespace Gtk {
public void register (Gtk.TextBuffer buffer);
public void unregister (Gtk.TextBuffer buffer);
[NoAccessorMethod]
+ [Version (since = "3.10")]
public Gtk.SourceCompletionActivation activation { get; set construct; }
[NoAccessorMethod]
public Gdk.Pixbuf icon { owned get; set construct; }
@@ -192,90 +214,152 @@ namespace Gtk {
[Compact]
[GIR (name = "Encoding")]
public class SourceEncoding {
+ [Version (since = "3.14")]
public Gtk.SourceEncoding copy ();
[CCode (cname = "gtk_source_encoding_get_all")]
+ [Version (since = "3.14")]
public static GLib.SList<weak Gtk.SourceEncoding> et_all ();
[CCode (cname = "gtk_source_encoding_get_current")]
+ [Version (since = "3.14")]
public static unowned Gtk.SourceEncoding et_current ();
[CCode (cname = "gtk_source_encoding_get_default_candidates")]
+ [Version (since = "3.18")]
public static GLib.SList<weak Gtk.SourceEncoding> et_default_candidates ();
[CCode (cname = "gtk_source_encoding_get_from_charset")]
+ [Version (since = "3.14")]
public static unowned Gtk.SourceEncoding? et_from_charset (string charset);
[CCode (cname = "gtk_source_encoding_get_utf8")]
+ [Version (since = "3.14")]
public static unowned Gtk.SourceEncoding et_utf8 ();
+ [Version (since = "3.14")]
public void free ();
+ [Version (since = "3.14")]
public unowned string get_charset ();
+ [Version (since = "3.14")]
public unowned string get_name ();
+ [Version (since = "3.14")]
public string to_string ();
}
[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_file_get_type ()")]
[GIR (name = "File")]
public class SourceFile : GLib.Object {
[CCode (has_construct_function = false)]
+ [Version (since = "3.14")]
public SourceFile ();
+ [Version (since = "3.18")]
public void check_file_on_disk ();
+ [Version (since = "3.14")]
public Gtk.SourceCompressionType get_compression_type ();
+ [Version (since = "3.14")]
public unowned Gtk.SourceEncoding get_encoding ();
+ [Version (since = "3.14")]
public unowned GLib.File get_location ();
+ [Version (since = "3.14")]
public Gtk.SourceNewlineType get_newline_type ();
+ [Version (since = "3.18")]
public bool is_deleted ();
+ [Version (since = "3.18")]
public bool is_externally_modified ();
+ [Version (since = "3.18")]
public bool is_local ();
+ [Version (since = "3.18")]
public bool is_readonly ();
+ [Version (since = "3.14")]
public void set_location (GLib.File? location);
+ [Version (since = "3.14")]
public Gtk.SourceCompressionType compression_type { get; }
+ [Version (since = "3.14")]
public Gtk.SourceEncoding encoding { get; }
+ [Version (since = "3.14")]
public GLib.File location { get; set construct; }
+ [Version (since = "3.14")]
public Gtk.SourceNewlineType newline_type { get; }
[NoAccessorMethod]
+ [Version (since = "3.18")]
public bool read_only { get; }
}
[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_file_loader_get_type ()")]
[GIR (name = "FileLoader")]
public class SourceFileLoader : GLib.Object {
[CCode (has_construct_function = false)]
+ [Version (since = "3.14")]
public SourceFileLoader (Gtk.SourceBuffer buffer, Gtk.SourceFile file);
[CCode (has_construct_function = false)]
+ [Version (since = "3.14")]
public SourceFileLoader.from_stream (Gtk.SourceBuffer buffer, Gtk.SourceFile file, GLib.InputStream stream);
+ [Version (since = "3.14")]
public unowned Gtk.SourceBuffer get_buffer ();
+ [Version (since = "3.14")]
public Gtk.SourceCompressionType get_compression_type ();
+ [Version (since = "3.14")]
public unowned Gtk.SourceEncoding get_encoding ();
+ [Version (since = "3.14")]
public unowned Gtk.SourceFile get_file ();
+ [Version (since = "3.14")]
public unowned GLib.InputStream? get_input_stream ();
+ [Version (since = "3.14")]
public unowned GLib.File? get_location ();
+ [Version (since = "3.14")]
public Gtk.SourceNewlineType get_newline_type ();
+ [Version (since = "3.14")]
public async bool load_async (int io_priority, GLib.Cancellable? cancellable, owned GLib.FileProgressCallback? progress_callback) throws GLib.Error;
+ [Version (since = "3.14")]
public void set_candidate_encodings (GLib.SList<Gtk.SourceEncoding> candidate_encodings);
+ [Version (since = "3.14")]
public Gtk.SourceBuffer buffer { get; construct; }
+ [Version (since = "3.14")]
public Gtk.SourceFile file { get; construct; }
+ [Version (since = "3.14")]
public GLib.InputStream input_stream { get; construct; }
+ [Version (since = "3.14")]
public GLib.File location { get; construct; }
}
[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_file_saver_get_type ()")]
[GIR (name = "FileSaver")]
public class SourceFileSaver : GLib.Object {
[CCode (has_construct_function = false)]
+ [Version (since = "3.14")]
public SourceFileSaver (Gtk.SourceBuffer buffer, Gtk.SourceFile file);
+ [Version (since = "3.14")]
public unowned Gtk.SourceBuffer get_buffer ();
+ [Version (since = "3.14")]
public Gtk.SourceCompressionType get_compression_type ();
+ [Version (since = "3.14")]
public unowned Gtk.SourceEncoding get_encoding ();
+ [Version (since = "3.14")]
public unowned Gtk.SourceFile get_file ();
+ [Version (since = "3.14")]
public Gtk.SourceFileSaverFlags get_flags ();
+ [Version (since = "3.14")]
public unowned GLib.File get_location ();
+ [Version (since = "3.14")]
public Gtk.SourceNewlineType get_newline_type ();
+ [Version (since = "3.14")]
public async bool save_async (int io_priority, GLib.Cancellable? cancellable, owned GLib.FileProgressCallback? progress_callback) throws GLib.Error;
+ [Version (since = "3.14")]
public void set_compression_type (Gtk.SourceCompressionType compression_type);
+ [Version (since = "3.14")]
public void set_encoding (Gtk.SourceEncoding? encoding);
+ [Version (since = "3.14")]
public void set_flags (Gtk.SourceFileSaverFlags flags);
+ [Version (since = "3.14")]
public void set_newline_type (Gtk.SourceNewlineType newline_type);
[CCode (has_construct_function = false)]
+ [Version (since = "3.14")]
public SourceFileSaver.with_target (Gtk.SourceBuffer buffer, Gtk.SourceFile file, GLib.File target_location);
+ [Version (since = "3.14")]
public Gtk.SourceBuffer buffer { get; construct; }
+ [Version (since = "3.14")]
public Gtk.SourceCompressionType compression_type { get; set construct; }
+ [Version (since = "3.14")]
public Gtk.SourceEncoding encoding { get; set construct; }
+ [Version (since = "3.14")]
public Gtk.SourceFile file { get; construct; }
+ [Version (since = "3.14")]
public Gtk.SourceFileSaverFlags flags { get; set construct; }
+ [Version (since = "3.14")]
public GLib.File location { get; construct; }
+ [Version (since = "3.14")]
public Gtk.SourceNewlineType newline_type { get; set construct; }
}
[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_gutter_get_type ()")]
@@ -283,26 +367,30 @@ namespace Gtk {
public class SourceGutter : GLib.Object {
[CCode (has_construct_function = false)]
protected SourceGutter ();
- [Deprecated (since = "3.12")]
+ [Version (deprecated = true, deprecated_since = "3.12")]
public void get_padding (int xpad, int ypad);
public unowned Gtk.SourceGutterRenderer? get_renderer_at_pos (int x, int y);
- [Deprecated (since = "3.12")]
+ [Version (deprecated = true, deprecated_since = "3.12", since = "2.8")]
public unowned Gdk.Window get_window ();
+ [Version (since = "3.0")]
public bool insert (Gtk.SourceGutterRenderer renderer, int position);
+ [Version (since = "2.8")]
public void queue_draw ();
+ [Version (since = "2.8")]
public void remove (Gtk.SourceGutterRenderer renderer);
+ [Version (since = "2.8")]
public void reorder (Gtk.SourceGutterRenderer renderer, int position);
- [Deprecated (since = "3.12")]
+ [Version (deprecated = true, deprecated_since = "3.12")]
public void set_padding (int xpad, int ypad);
[NoAccessorMethod]
public Gtk.SourceView view { owned get; construct; }
[NoAccessorMethod]
public Gtk.TextWindowType window_type { get; construct; }
- [Deprecated (since = "3.12")]
[NoAccessorMethod]
+ [Version (deprecated = true, deprecated_since = "3.12")]
public int xpad { get; set construct; }
- [Deprecated (since = "3.12")]
[NoAccessorMethod]
+ [Version (deprecated = true, deprecated_since = "3.12")]
public int ypad { get; set construct; }
}
[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_gutter_renderer_get_type ()")]
@@ -367,17 +455,17 @@ namespace Gtk {
public unowned GLib.Icon get_gicon ();
public unowned string get_icon_name ();
public unowned Gdk.Pixbuf get_pixbuf ();
- [Deprecated (since = "3.10")]
+ [Version (deprecated = true, deprecated_since = "3.10")]
public unowned string get_stock_id ();
public void set_gicon (GLib.Icon? icon);
public void set_icon_name (string? icon_name);
public void set_pixbuf (Gdk.Pixbuf? pixbuf);
- [Deprecated (since = "3.10")]
+ [Version (deprecated = true, deprecated_since = "3.10")]
public void set_stock_id (string? stock_id);
public GLib.Icon gicon { get; set; }
public string icon_name { get; set; }
public Gdk.Pixbuf pixbuf { get; set; }
- [Deprecated (since = "3.10")]
+ [Version (deprecated = true, deprecated_since = "3.10")]
public string stock_id { get; set; }
}
[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_gutter_renderer_text_get_type ()")]
@@ -408,6 +496,7 @@ namespace Gtk {
public string[]? get_mime_types ();
public unowned string get_name ();
public unowned string get_section ();
+ [Version (since = "3.4")]
public unowned string? get_style_fallback (string style_id);
[CCode (array_length = false, array_null_terminated = true)]
public string[]? get_style_ids ();
@@ -428,6 +517,7 @@ namespace Gtk {
public unowned string[]? get_language_ids ();
[CCode (array_length = false, array_null_terminated = true)]
public unowned string[] get_search_path ();
+ [Version (since = "2.4")]
public unowned Gtk.SourceLanguage? guess_language (string? filename, string? content_type);
public void set_search_path ([CCode (array_length = false, array_null_terminated = true)] string[]? dirs);
[CCode (array_length = false, array_null_terminated = true)]
@@ -439,8 +529,11 @@ namespace Gtk {
[GIR (name = "Map")]
public class SourceMap : Gtk.SourceView, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
+ [Version (since = "3.18")]
public SourceMap ();
+ [Version (since = "3.18")]
public unowned Gtk.SourceView? get_view ();
+ [Version (since = "3.18")]
public void set_view (Gtk.SourceView view);
[NoAccessorMethod]
public Pango.FontDescription font_desc { owned get; set; }
@@ -450,9 +543,13 @@ namespace Gtk {
[GIR (name = "Mark")]
public class SourceMark : Gtk.TextMark {
[CCode (has_construct_function = false)]
+ [Version (since = "2.2")]
public SourceMark (string name, string category);
+ [Version (since = "2.2")]
public unowned string get_category ();
+ [Version (since = "2.2")]
public unowned Gtk.SourceMark? next (string? category);
+ [Version (since = "2.2")]
public unowned Gtk.SourceMark? prev (string category);
public string category { get; construct; }
}
@@ -465,7 +562,7 @@ namespace Gtk {
public unowned GLib.Icon get_gicon ();
public unowned string get_icon_name ();
public unowned Gdk.Pixbuf get_pixbuf ();
- [Deprecated (since = "3.10")]
+ [Version (deprecated = true, deprecated_since = "3.10")]
public unowned string get_stock_id ();
public string get_tooltip_markup (Gtk.SourceMark mark);
public string get_tooltip_text (Gtk.SourceMark mark);
@@ -474,14 +571,14 @@ namespace Gtk {
public void set_gicon (GLib.Icon gicon);
public void set_icon_name (string icon_name);
public void set_pixbuf (Gdk.Pixbuf pixbuf);
- [Deprecated (since = "3.10")]
+ [Version (deprecated = true, deprecated_since = "3.10")]
public void set_stock_id (string stock_id);
[NoAccessorMethod]
public Gdk.RGBA background { get; set; }
public GLib.Icon gicon { get; set; }
public string icon_name { get; set; }
public Gdk.Pixbuf pixbuf { get; set; }
- [Deprecated (since = "3.10")]
+ [Version (deprecated = true, deprecated_since = "3.10")]
public string stock_id { get; set; }
public signal string query_tooltip_markup (Gtk.SourceMark mark);
public signal string query_tooltip_text (Gtk.SourceMark mark);
@@ -490,104 +587,191 @@ namespace Gtk {
[GIR (name = "PrintCompositor")]
public class SourcePrintCompositor : GLib.Object {
[CCode (has_construct_function = false)]
+ [Version (since = "2.2")]
public SourcePrintCompositor (Gtk.SourceBuffer buffer);
public void draw_page (Gtk.PrintContext context, int page_nr);
[CCode (has_construct_function = false)]
+ [Version (since = "2.2")]
public SourcePrintCompositor.from_view (Gtk.SourceView view);
+ [Version (since = "2.2")]
public string get_body_font_name ();
+ [Version (since = "2.2")]
public double get_bottom_margin (Gtk.Unit unit);
+ [Version (since = "2.2")]
public unowned Gtk.SourceBuffer get_buffer ();
+ [Version (since = "2.2")]
public string get_footer_font_name ();
+ [Version (since = "2.2")]
public string get_header_font_name ();
+ [Version (since = "2.2")]
public bool get_highlight_syntax ();
+ [Version (since = "2.2")]
public double get_left_margin (Gtk.Unit unit);
+ [Version (since = "2.2")]
public string get_line_numbers_font_name ();
+ [Version (since = "2.2")]
public int get_n_pages ();
+ [Version (since = "2.2")]
public double get_pagination_progress ();
+ [Version (since = "2.2")]
public bool get_print_footer ();
+ [Version (since = "2.2")]
public bool get_print_header ();
+ [Version (since = "2.2")]
public uint get_print_line_numbers ();
+ [Version (since = "2.2")]
public double get_right_margin (Gtk.Unit unit);
+ [Version (since = "2.2")]
public uint get_tab_width ();
+ [Version (since = "2.2")]
public double get_top_margin (Gtk.Unit unit);
+ [Version (since = "2.2")]
public Gtk.WrapMode get_wrap_mode ();
+ [Version (since = "2.2")]
public bool paginate (Gtk.PrintContext context);
+ [Version (since = "2.2")]
public void set_body_font_name (string font_name);
+ [Version (since = "2.2")]
public void set_bottom_margin (double margin, Gtk.Unit unit);
+ [Version (since = "2.2")]
public void set_footer_font_name (string? font_name);
+ [Version (since = "2.2")]
public void set_footer_format (bool separator, string? left, string? center, string? right);
+ [Version (since = "2.2")]
public void set_header_font_name (string? font_name);
+ [Version (since = "2.2")]
public void set_header_format (bool separator, string? left, string? center, string? right);
+ [Version (since = "2.2")]
public void set_highlight_syntax (bool highlight);
+ [Version (since = "2.2")]
public void set_left_margin (double margin, Gtk.Unit unit);
+ [Version (since = "2.2")]
public void set_line_numbers_font_name (string? font_name);
+ [Version (since = "2.2")]
public void set_print_footer (bool print);
+ [Version (since = "2.2")]
public void set_print_header (bool print);
+ [Version (since = "2.2")]
public void set_print_line_numbers (uint interval);
+ [Version (since = "2.2")]
public void set_right_margin (double margin, Gtk.Unit unit);
+ [Version (since = "2.2")]
public void set_tab_width (uint width);
+ [Version (since = "2.2")]
public void set_top_margin (double margin, Gtk.Unit unit);
+ [Version (since = "2.2")]
public void set_wrap_mode (Gtk.WrapMode wrap_mode);
+ [Version (since = "2.2")]
public string body_font_name { owned get; set; }
+ [Version (since = "2.2")]
public Gtk.SourceBuffer buffer { get; construct; }
+ [Version (since = "2.2")]
public string footer_font_name { owned get; set; }
+ [Version (since = "2.2")]
public string header_font_name { owned get; set; }
+ [Version (since = "2.2")]
public bool highlight_syntax { get; set; }
+ [Version (since = "2.2")]
public string line_numbers_font_name { owned get; set; }
+ [Version (since = "2.2")]
public int n_pages { get; }
+ [Version (since = "2.2")]
public bool print_footer { get; set; }
+ [Version (since = "2.2")]
public bool print_header { get; set; }
+ [Version (since = "2.2")]
public uint print_line_numbers { get; set; }
+ [Version (since = "2.2")]
public uint tab_width { get; set; }
+ [Version (since = "2.2")]
public Gtk.WrapMode wrap_mode { get; set; }
}
[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_search_context_get_type ()")]
[GIR (name = "SearchContext")]
public class SourceSearchContext : GLib.Object {
[CCode (has_construct_function = false)]
+ [Version (since = "3.10")]
public SourceSearchContext (Gtk.SourceBuffer buffer, Gtk.SourceSearchSettings? settings);
+ [Version (since = "3.10")]
public bool backward (Gtk.TextIter iter, out Gtk.TextIter match_start, out Gtk.TextIter match_end);
+ [Version (since = "3.10")]
public async bool backward_async (Gtk.TextIter iter, GLib.Cancellable? cancellable, out Gtk.TextIter match_start, out Gtk.TextIter match_end) throws GLib.Error;
+ [Version (since = "3.10")]
public bool forward (Gtk.TextIter iter, out Gtk.TextIter match_start, out Gtk.TextIter match_end);
+ [Version (since = "3.10")]
public async bool forward_async (Gtk.TextIter iter, GLib.Cancellable? cancellable, out Gtk.TextIter match_start, out Gtk.TextIter match_end) throws GLib.Error;
+ [Version (since = "3.10")]
public unowned Gtk.SourceBuffer get_buffer ();
+ [Version (since = "3.10")]
public bool get_highlight ();
+ [Version (since = "3.16")]
public unowned Gtk.SourceStyle get_match_style ();
+ [Version (since = "3.10")]
public int get_occurrence_position (Gtk.TextIter match_start, Gtk.TextIter match_end);
+ [Version (since = "3.10")]
public int get_occurrences_count ();
+ [Version (since = "3.10")]
public GLib.Error? get_regex_error ();
+ [Version (since = "3.10")]
public unowned Gtk.SourceSearchSettings get_settings ();
+ [Version (since = "3.10")]
public bool replace (Gtk.TextIter match_start, Gtk.TextIter match_end, string replace, int replace_length) throws GLib.Error;
+ [Version (since = "3.10")]
public uint replace_all (string replace, int replace_length) throws GLib.Error;
+ [Version (since = "3.10")]
public void set_highlight (bool highlight);
+ [Version (since = "3.16")]
public void set_match_style (Gtk.SourceStyle? match_style);
+ [Version (since = "3.10")]
public void set_settings (Gtk.SourceSearchSettings? settings);
+ [Version (since = "3.10")]
public Gtk.SourceBuffer buffer { get; construct; }
+ [Version (since = "3.10")]
public bool highlight { get; set construct; }
+ [Version (since = "3.16")]
public Gtk.SourceStyle match_style { get; set construct; }
+ [Version (since = "3.10")]
public int occurrences_count { get; }
+ [Version (since = "3.10")]
public GLib.Error? regex_error { owned get; }
+ [Version (since = "3.10")]
public Gtk.SourceSearchSettings settings { get; set construct; }
}
[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_search_settings_get_type ()")]
[GIR (name = "SearchSettings")]
public class SourceSearchSettings : GLib.Object {
[CCode (has_construct_function = false)]
+ [Version (since = "3.10")]
public SourceSearchSettings ();
+ [Version (since = "3.10")]
public bool get_at_word_boundaries ();
+ [Version (since = "3.10")]
public bool get_case_sensitive ();
+ [Version (since = "3.10")]
public bool get_regex_enabled ();
+ [Version (since = "3.10")]
public unowned string? get_search_text ();
+ [Version (since = "3.10")]
public bool get_wrap_around ();
+ [Version (since = "3.10")]
public void set_at_word_boundaries (bool at_word_boundaries);
+ [Version (since = "3.10")]
public void set_case_sensitive (bool case_sensitive);
+ [Version (since = "3.10")]
public void set_regex_enabled (bool regex_enabled);
+ [Version (since = "3.10")]
public void set_search_text (string? search_text);
+ [Version (since = "3.10")]
public void set_wrap_around (bool wrap_around);
+ [Version (since = "3.10")]
public bool at_word_boundaries { get; set construct; }
+ [Version (since = "3.10")]
public bool case_sensitive { get; set construct; }
+ [Version (since = "3.10")]
public bool regex_enabled { get; set construct; }
+ [Version (since = "3.10")]
public string search_text { get; set construct; }
+ [Version (since = "3.10")]
public bool wrap_around { get; set construct; }
}
[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_style_get_type ()")]
@@ -595,6 +779,7 @@ namespace Gtk {
public class SourceStyle : GLib.Object {
[CCode (has_construct_function = false)]
protected SourceStyle ();
+ [Version (since = "2.0")]
public Gtk.SourceStyle copy ();
[NoAccessorMethod]
public string background { owned get; construct; }
@@ -626,8 +811,8 @@ namespace Gtk {
public bool strikethrough { get; construct; }
[NoAccessorMethod]
public bool strikethrough_set { get; construct; }
- [Deprecated (since = "3.18")]
[NoAccessorMethod]
+ [Version (deprecated = true, deprecated_since = "3.18")]
public bool underline { get; construct; }
[NoAccessorMethod]
public string underline_color { owned get; construct; }
@@ -642,11 +827,17 @@ namespace Gtk {
[CCode (has_construct_function = false)]
protected SourceStyleScheme ();
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "2.0")]
public unowned string[]? get_authors ();
+ [Version (since = "2.0")]
public unowned string? get_description ();
+ [Version (since = "2.0")]
public unowned string? get_filename ();
+ [Version (since = "2.0")]
public unowned string get_id ();
+ [Version (since = "2.0")]
public unowned string get_name ();
+ [Version (since = "2.0")]
public unowned Gtk.SourceStyle? get_style (string style_id);
public string description { get; }
public string filename { get; }
@@ -657,12 +848,14 @@ namespace Gtk {
[GIR (name = "StyleSchemeChooserButton")]
public class SourceStyleSchemeChooserButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable, Gtk.SourceStyleSchemeChooser {
[CCode (has_construct_function = false, type = "GtkWidget*")]
+ [Version (since = "3.16")]
public SourceStyleSchemeChooserButton ();
}
[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_style_scheme_chooser_widget_get_type ()")]
[GIR (name = "StyleSchemeChooserWidget")]
public class SourceStyleSchemeChooserWidget : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.SourceStyleSchemeChooser {
[CCode (has_construct_function = false, type = "GtkWidget*")]
+ [Version (since = "3.16")]
public SourceStyleSchemeChooserWidget ();
}
[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_style_scheme_manager_get_type ()")]
@@ -685,15 +878,30 @@ namespace Gtk {
[CCode (array_length = false, array_null_terminated = true)]
public string[] search_path { get; set; }
}
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_tag_get_type ()")]
+ [GIR (name = "Tag")]
+ public class SourceTag : Gtk.TextTag {
+ [CCode (has_construct_function = false, type = "GtkTextTag*")]
+ [Version (since = "3.20")]
+ public SourceTag (string? name);
+ [NoAccessorMethod]
+ [Version (since = "3.20")]
+ public bool draw_spaces { get; set; }
+ [NoAccessorMethod]
+ [Version (since = "3.20")]
+ public bool draw_spaces_set { get; set; }
+ }
[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_view_get_type ()")]
[GIR (name = "View")]
public class SourceView : Gtk.TextView, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public SourceView ();
public bool get_auto_indent ();
+ [Version (since = "3.16")]
public Gtk.SourceBackgroundPatternType get_background_pattern ();
public unowned Gtk.SourceCompletion get_completion ();
public Gtk.SourceDrawSpacesFlags get_draw_spaces ();
+ [Version (since = "2.8")]
public unowned Gtk.SourceGutter get_gutter (Gtk.TextWindowType window_type);
public bool get_highlight_current_line ();
public bool get_indent_on_tab ();
@@ -701,15 +909,19 @@ namespace Gtk {
public bool get_insert_spaces_instead_of_tabs ();
public unowned Gtk.SourceMarkAttributes get_mark_attributes (string category, int priority);
public uint get_right_margin_position ();
+ [Version (since = "2.2")]
public bool get_show_line_marks ();
public bool get_show_line_numbers ();
public bool get_show_right_margin ();
+ [Version (since = "3.18")]
public bool get_smart_backspace ();
public Gtk.SourceSmartHomeEndType get_smart_home_end ();
public uint get_tab_width ();
public uint get_visual_column (Gtk.TextIter iter);
+ [Version (since = "3.16")]
public void indent_lines (Gtk.TextIter start, Gtk.TextIter end);
public void set_auto_indent (bool enable);
+ [Version (since = "3.16")]
public void set_background_pattern (Gtk.SourceBackgroundPatternType background_pattern);
public void set_draw_spaces (Gtk.SourceDrawSpacesFlags flags);
public void set_highlight_current_line (bool highlight);
@@ -718,18 +930,23 @@ namespace Gtk {
public void set_insert_spaces_instead_of_tabs (bool enable);
public void set_mark_attributes (string category, Gtk.SourceMarkAttributes attributes, int priority);
public void set_right_margin_position (uint pos);
+ [Version (since = "2.2")]
public void set_show_line_marks (bool show);
public void set_show_line_numbers (bool show);
public void set_show_right_margin (bool show);
+ [Version (since = "3.18")]
public void set_smart_backspace (bool smart_backspace);
public void set_smart_home_end (Gtk.SourceSmartHomeEndType smart_home_end);
public void set_tab_width (uint width);
+ [Version (since = "3.16")]
public void unindent_lines (Gtk.TextIter start, Gtk.TextIter end);
[CCode (has_construct_function = false, type = "GtkWidget*")]
public SourceView.with_buffer (Gtk.SourceBuffer buffer);
public bool auto_indent { get; set; }
+ [Version (since = "3.16")]
public Gtk.SourceBackgroundPatternType background_pattern { get; set; }
public Gtk.SourceCompletion completion { get; }
+ [Version (since = "2.4")]
public Gtk.SourceDrawSpacesFlags draw_spaces { get; set; }
public bool highlight_current_line { get; set; }
public bool indent_on_tab { get; set; }
@@ -739,15 +956,23 @@ namespace Gtk {
public bool show_line_marks { get; set; }
public bool show_line_numbers { get; set; }
public bool show_right_margin { get; set; }
+ [Version (since = "3.18")]
public bool smart_backspace { get; set; }
+ [Version (since = "2.0")]
public Gtk.SourceSmartHomeEndType smart_home_end { get; set; }
public uint tab_width { get; set; }
+ [Version (since = "3.16")]
public signal void change_case (Gtk.SourceChangeCaseType case_type);
+ [Version (since = "3.16")]
public signal void change_number (int count);
+ [Version (since = "3.16")]
public signal void join_lines ();
public virtual signal void line_mark_activated (Gtk.TextIter iter, Gdk.Event event);
+ [Version (since = "2.10")]
public virtual signal void move_lines (bool copy, int step);
+ [Version (since = "3.16")]
public signal void move_to_matching_bracket (bool extend_selection);
+ [Version (since = "3.0")]
public virtual signal void move_words (int step);
public virtual signal void redo ();
public virtual signal void show_completion ();
@@ -757,8 +982,10 @@ namespace Gtk {
[GIR (name = "CompletionProposal")]
public interface SourceCompletionProposal : GLib.Object {
public virtual bool equal (Gtk.SourceCompletionProposal other);
+ [Version (since = "3.18")]
public abstract unowned GLib.Icon? get_gicon ();
public virtual unowned Gdk.Pixbuf? get_icon ();
+ [Version (since = "3.18")]
public abstract unowned string? get_icon_name ();
public abstract string? get_info ();
public abstract string get_label ();
@@ -773,8 +1000,10 @@ namespace Gtk {
public interface SourceCompletionProvider : GLib.Object {
public virtual bool activate_proposal (Gtk.SourceCompletionProposal proposal, Gtk.TextIter iter);
public virtual Gtk.SourceCompletionActivation get_activation ();
+ [Version (since = "3.18")]
public virtual unowned GLib.Icon? get_gicon ();
public virtual unowned Gdk.Pixbuf? get_icon ();
+ [Version (since = "3.18")]
public virtual unowned string? get_icon_name ();
public virtual unowned Gtk.Widget? get_info_widget (Gtk.SourceCompletionProposal proposal);
public virtual int get_interactive_delay ();
@@ -788,26 +1017,38 @@ namespace Gtk {
[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_style_scheme_chooser_get_type ()")]
[GIR (name = "StyleSchemeChooser")]
public interface SourceStyleSchemeChooser : GLib.Object {
+ [Version (since = "3.16")]
public abstract unowned Gtk.SourceStyleScheme get_style_scheme ();
+ [Version (since = "3.16")]
public abstract void set_style_scheme (Gtk.SourceStyleScheme scheme);
+ [Version (since = "3.16")]
public abstract Gtk.SourceStyleScheme style_scheme { get; set; }
}
[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_undo_manager_get_type ()")]
[GIR (name = "UndoManager")]
public interface SourceUndoManager : GLib.Object {
+ [Version (since = "2.10")]
public abstract void begin_not_undoable_action ();
+ [Version (since = "2.10")]
public abstract bool can_redo ();
+ [Version (since = "2.10")]
public abstract bool can_undo ();
+ [Version (since = "2.10")]
public abstract void end_not_undoable_action ();
+ [Version (since = "2.10")]
public abstract void redo ();
+ [Version (since = "2.10")]
public abstract void undo ();
[HasEmitter]
+ [Version (since = "2.10")]
public virtual signal void can_redo_changed ();
[HasEmitter]
+ [Version (since = "2.10")]
public virtual signal void can_undo_changed ();
}
[CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_BACKGROUND_PATTERN_TYPE_", type_id = "gtk_source_background_pattern_type_get_type ()")]
[GIR (name = "BackgroundPatternType")]
+ [Version (since = "3.16")]
public enum SourceBackgroundPatternType {
NONE,
GRID
@@ -822,6 +1063,7 @@ namespace Gtk {
}
[CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_CHANGE_CASE_", type_id = "gtk_source_change_case_type_get_type ()")]
[GIR (name = "ChangeCaseType")]
+ [Version (since = "3.12")]
public enum SourceChangeCaseType {
LOWER,
UPPER,
@@ -838,6 +1080,7 @@ namespace Gtk {
}
[CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_COMPRESSION_TYPE_", type_id = "gtk_source_compression_type_get_type ()")]
[GIR (name = "CompressionType")]
+ [Version (since = "3.14")]
public enum SourceCompressionType {
NONE,
GZIP
@@ -858,6 +1101,7 @@ namespace Gtk {
[CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_FILE_SAVER_FLAGS_", type_id = "gtk_source_file_saver_flags_get_type ()")]
[Flags]
[GIR (name = "FileSaverFlags")]
+ [Version (since = "3.14")]
public enum SourceFileSaverFlags {
NONE,
IGNORE_INVALID_CHARS,
@@ -882,6 +1126,7 @@ namespace Gtk {
}
[CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_NEWLINE_TYPE_", type_id = "gtk_source_newline_type_get_type ()")]
[GIR (name = "NewlineType")]
+ [Version (since = "3.14")]
public enum SourceNewlineType {
LF,
CR,
@@ -898,6 +1143,7 @@ namespace Gtk {
[CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_SORT_FLAGS_", type_id = "gtk_source_sort_flags_get_type ()")]
[Flags]
[GIR (name = "SortFlags")]
+ [Version (since = "3.18")]
public enum SourceSortFlags {
NONE,
CASE_SENSITIVE,
@@ -929,6 +1175,7 @@ namespace Gtk {
}
[CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_FILE_SAVER_ERROR_")]
[GIR (name = "FileSaverError")]
+ [Version (since = "3.14")]
public errordomain SourceFileSaverError {
INVALID_CHARS,
EXTERNALLY_MODIFIED;
diff --git a/vapi/gudev-1.0.vapi b/vapi/gudev-1.0.vapi
index e5f432c26..b74c611e3 100644
--- a/vapi/gudev-1.0.vapi
+++ b/vapi/gudev-1.0.vapi
@@ -28,6 +28,7 @@ namespace GUdev {
public GUdev.DeviceType get_device_type ();
public unowned string get_devtype ();
public unowned string? get_driver ();
+ [Version (since = "165")]
public bool get_is_initialized ();
public unowned string get_name ();
public unowned string get_number ();
@@ -55,12 +56,15 @@ namespace GUdev {
public unowned string[] get_sysfs_attr_keys ();
public unowned string get_sysfs_path ();
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "165")]
public unowned string[] get_tags ();
+ [Version (since = "165")]
public uint64 get_usec_since_initialized ();
public bool has_property (string key);
public bool has_sysfs_attr (string key);
}
[CCode (cheader_filename = "gudev/gudev.h", type_id = "g_udev_enumerator_get_type ()")]
+ [Version (since = "165")]
public class Enumerator : GLib.Object {
[CCode (has_construct_function = false)]
public Enumerator (GUdev.Client client);
diff --git a/vapi/json-glib-1.0.vapi b/vapi/json-glib-1.0.vapi
index 9d43fb912..061301db6 100644
--- a/vapi/json-glib-1.0.vapi
+++ b/vapi/json-glib-1.0.vapi
@@ -7,25 +7,41 @@ namespace Json {
public class Array {
[CCode (has_construct_function = false)]
public Array ();
+ [Version (since = "0.8")]
public void add_array_element (owned Json.Array? value);
+ [Version (since = "0.8")]
public void add_boolean_element (bool value);
+ [Version (since = "0.8")]
public void add_double_element (double value);
public void add_element (owned Json.Node node);
+ [Version (since = "0.8")]
public void add_int_element (int64 value);
+ [Version (since = "0.8")]
public void add_null_element ();
+ [Version (since = "0.8")]
public void add_object_element (owned Json.Object value);
+ [Version (since = "0.8")]
public void add_string_element (string value);
+ [Version (since = "0.6")]
public Json.Node dup_element (uint index_);
+ [Version (since = "0.8")]
public void foreach_element (Json.ArrayForeach func);
+ [Version (since = "0.8")]
public unowned Json.Array get_array_element (uint index_);
+ [Version (since = "0.8")]
public bool get_boolean_element (uint index_);
+ [Version (since = "0.8")]
public double get_double_element (uint index_);
public unowned Json.Node get_element (uint index_);
public GLib.List<weak Json.Node> get_elements ();
+ [Version (since = "0.8")]
public int64 get_int_element (uint index_);
public uint get_length ();
+ [Version (since = "0.8")]
public bool get_null_element (uint index_);
+ [Version (since = "0.8")]
public unowned Json.Object get_object_element (uint index_);
+ [Version (since = "0.8")]
public unowned string get_string_element (uint index_);
public unowned Json.Array @ref ();
public void remove_element (uint index_);
@@ -34,6 +50,7 @@ namespace Json {
public void unref ();
}
[CCode (cheader_filename = "json-glib/json-glib.h", type_id = "json_builder_get_type ()")]
+ [Version (since = "0.12")]
public class Builder : GLib.Object {
[CCode (has_construct_function = false)]
public Builder ();
@@ -55,20 +72,30 @@ namespace Json {
public class Generator : GLib.Object {
[CCode (has_construct_function = false)]
public Generator ();
+ [Version (since = "0.14")]
public uint get_indent ();
+ [Version (since = "0.14")]
public unichar get_indent_char ();
+ [Version (since = "0.14")]
public bool get_pretty ();
+ [Version (since = "0.14")]
public unowned Json.Node? get_root ();
+ [Version (since = "0.14")]
public void set_indent (uint indent_level);
+ [Version (since = "0.14")]
public void set_indent_char (unichar indent_char);
+ [Version (since = "0.14")]
public void set_pretty (bool is_pretty);
public void set_root (Json.Node node);
public string to_data (out size_t length);
public bool to_file (string filename) throws GLib.Error;
+ [Version (since = "0.12")]
public bool to_stream (GLib.OutputStream stream, GLib.Cancellable? cancellable = null) throws GLib.Error;
public uint indent { get; set; }
+ [Version (since = "0.6")]
public uint indent_char { get; set; }
public bool pretty { get; set; }
+ [Version (since = "0.4")]
public Json.Node root { get; set; }
}
[CCode (cheader_filename = "json-glib/json-glib.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "json_node_get_type ()")]
@@ -77,6 +104,7 @@ namespace Json {
[CCode (has_construct_function = false)]
public Node (Json.NodeType type);
[CCode (cname = "json_node_alloc", has_construct_function = false)]
+ [Version (since = "0.16")]
public Node.alloc ();
public Json.Node copy ();
public Json.Array dup_array ();
@@ -87,26 +115,38 @@ namespace Json {
public bool get_boolean ();
public double get_double ();
public int64 get_int ();
+ [Version (since = "0.8")]
public Json.NodeType get_node_type ();
public unowned Json.Object get_object ();
public unowned Json.Node get_parent ();
public unowned string get_string ();
public GLib.Value get_value ();
+ [Version (since = "0.4")]
public GLib.Type get_value_type ();
+ [Version (since = "0.16")]
public unowned Json.Node init (Json.NodeType type);
+ [Version (since = "0.16")]
public unowned Json.Node init_array (Json.Array? array);
+ [Version (since = "0.16")]
public unowned Json.Node init_boolean (bool value);
+ [Version (since = "0.16")]
public unowned Json.Node init_double (double value);
+ [Version (since = "0.16")]
public unowned Json.Node init_int (int64 value);
+ [Version (since = "0.16")]
public unowned Json.Node init_null ();
+ [Version (since = "0.16")]
public unowned Json.Node init_object (Json.Object? object);
+ [Version (since = "0.16")]
public unowned Json.Node init_string (string? value);
+ [Version (since = "0.8")]
public bool is_null ();
public void set_array (Json.Array array);
public void set_boolean (bool value);
public void set_double (double value);
public void set_int (int64 value);
public void set_object (Json.Object? object);
+ [Version (since = "0.8")]
public void set_parent (Json.Node parent);
public void set_string (string value);
public void set_value (GLib.Value value);
@@ -119,31 +159,48 @@ namespace Json {
public class Object {
[CCode (has_construct_function = false)]
public Object ();
- [Deprecated (replacement = "Json.Object.set_member", since = "0.8")]
+ [Version (deprecated = true, deprecated_since = "0.8", replacement = "Json.Object.set_member")]
public void add_member (string member_name, owned Json.Node node);
+ [Version (since = "0.6")]
public Json.Node dup_member (string member_name);
+ [Version (since = "0.8")]
public void foreach_member (Json.ObjectForeach func);
+ [Version (since = "0.8")]
public unowned Json.Array get_array_member (string member_name);
+ [Version (since = "0.8")]
public bool get_boolean_member (string member_name);
+ [Version (since = "0.8")]
public double get_double_member (string member_name);
+ [Version (since = "0.8")]
public int64 get_int_member (string member_name);
public unowned Json.Node get_member (string member_name);
public GLib.List<weak string> get_members ();
+ [Version (since = "0.8")]
public bool get_null_member (string member_name);
+ [Version (since = "0.8")]
public unowned Json.Object? get_object_member (string member_name);
public uint get_size ();
+ [Version (since = "0.8")]
public unowned string get_string_member (string member_name);
public GLib.List<weak Json.Node> get_values ();
public bool has_member (string member_name);
public unowned Json.Object @ref ();
public void remove_member (string member_name);
+ [Version (since = "0.8")]
public void set_array_member (string member_name, owned Json.Array value);
+ [Version (since = "0.8")]
public void set_boolean_member (string member_name, bool value);
+ [Version (since = "0.8")]
public void set_double_member (string member_name, double value);
+ [Version (since = "0.8")]
public void set_int_member (string member_name, int64 value);
+ [Version (since = "0.8")]
public void set_member (string member_name, owned Json.Node node);
+ [Version (since = "0.8")]
public void set_null_member (string member_name);
+ [Version (since = "0.8")]
public void set_object_member (string member_name, owned Json.Object value);
+ [Version (since = "0.8")]
public void set_string_member (string member_name, string value);
public void unref ();
}
@@ -154,10 +211,13 @@ namespace Json {
public uint get_current_line ();
public uint get_current_pos ();
public unowned Json.Node? get_root ();
+ [Version (since = "0.4")]
public bool has_assignment (out unowned string variable_name);
public bool load_from_data (string data, ssize_t length = -1) throws GLib.Error;
public bool load_from_file (string filename) throws GLib.Error;
+ [Version (since = "0.12")]
public bool load_from_stream (GLib.InputStream stream, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "0.12")]
public async bool load_from_stream_async (GLib.InputStream stream, GLib.Cancellable? cancellable = null) throws GLib.Error;
public virtual signal void array_element (Json.Array array, int index_);
public virtual signal void array_end (Json.Array array);
@@ -170,6 +230,7 @@ namespace Json {
public virtual signal void parse_start ();
}
[CCode (cheader_filename = "json-glib/json-glib.h", type_id = "json_path_get_type ()")]
+ [Version (since = "0.14")]
public class Path : GLib.Object {
[CCode (has_construct_function = false)]
public Path ();
@@ -178,6 +239,7 @@ namespace Json {
public static Json.Node query (string expression, Json.Node root) throws GLib.Error;
}
[CCode (cheader_filename = "json-glib/json-glib.h", type_id = "json_reader_get_type ()")]
+ [Version (since = "0.12")]
public class Reader : GLib.Object {
[CCode (has_construct_function = false)]
public Reader (Json.Node? node);
@@ -189,6 +251,7 @@ namespace Json {
public double get_double_value ();
public unowned GLib.Error get_error ();
public int64 get_int_value ();
+ [Version (since = "0.14")]
public unowned string get_member_name ();
public bool get_null_value ();
public unowned string get_string_value ();
@@ -197,6 +260,7 @@ namespace Json {
public bool is_object ();
public bool is_value ();
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "0.14")]
public string[] list_members ();
public bool read_element (uint index_);
public bool read_member (string member_name);
@@ -206,14 +270,20 @@ namespace Json {
}
[CCode (cheader_filename = "json-glib/json-glib.h,json-glib/json-gobject.h", type_id = "json_serializable_get_type ()")]
public interface Serializable : GLib.Object {
+ [Version (since = "0.10")]
public bool default_deserialize_property (string property_name, GLib.Value value, GLib.ParamSpec pspec, Json.Node property_node);
+ [Version (since = "0.10")]
public Json.Node default_serialize_property (string property_name, GLib.Value value, GLib.ParamSpec pspec);
public abstract bool deserialize_property (string property_name, out GLib.Value value, GLib.ParamSpec pspec, Json.Node property_node);
+ [Version (since = "0.14")]
public abstract unowned GLib.ParamSpec find_property (string name);
+ [Version (since = "0.14")]
public abstract GLib.Value get_property (GLib.ParamSpec pspec);
[CCode (array_length_pos = 0.1, array_length_type = "guint")]
+ [Version (since = "0.14")]
public GLib.ParamSpec[] list_properties ();
public abstract Json.Node serialize_property (string property_name, GLib.Value value, GLib.ParamSpec pspec);
+ [Version (since = "0.14")]
public abstract void set_property (GLib.ParamSpec pspec, GLib.Value value);
}
[CCode (cheader_filename = "json-glib/json-glib.h", has_type_id = false)]
@@ -241,11 +311,13 @@ namespace Json {
public static GLib.Quark quark ();
}
[CCode (cheader_filename = "json-glib/json-glib.h", cprefix = "JSON_PATH_ERROR_INVALID_")]
+ [Version (since = "0.14")]
public errordomain PathError {
QUERY;
public static GLib.Quark quark ();
}
[CCode (cheader_filename = "json-glib/json-glib.h", cprefix = "JSON_READER_ERROR_")]
+ [Version (since = "0.12")]
public errordomain ReaderError {
NO_ARRAY,
INVALID_INDEX,
@@ -257,12 +329,16 @@ namespace Json {
public static GLib.Quark quark ();
}
[CCode (cheader_filename = "json-glib/json-glib.h", instance_pos = 3.9)]
+ [Version (since = "0.8")]
public delegate void ArrayForeach (Json.Array array, uint index_, Json.Node element_node);
[CCode (cheader_filename = "json-glib/json-glib.h", has_target = false)]
+ [Version (since = "0.10")]
public delegate void* BoxedDeserializeFunc (Json.Node node);
[CCode (cheader_filename = "json-glib/json-glib.h", has_target = false)]
+ [Version (since = "0.10")]
public delegate Json.Node BoxedSerializeFunc (void* boxed);
[CCode (cheader_filename = "json-glib/json-glib.h", instance_pos = 3.9)]
+ [Version (since = "0.8")]
public delegate void ObjectForeach (Json.Object object, string member_name, Json.Node member_node);
[CCode (cheader_filename = "json-glib/json-glib.h", cname = "JSON_MAJOR_VERSION")]
public const int MAJOR_VERSION;
@@ -275,41 +351,57 @@ namespace Json {
[CCode (cheader_filename = "json-glib/json-glib.h", cname = "JSON_VERSION_S")]
public const string VERSION_S;
[CCode (cheader_filename = "json-glib/json-glib.h")]
+ [Version (since = "0.10")]
public static bool boxed_can_deserialize (GLib.Type gboxed_type, Json.NodeType node_type);
[CCode (cheader_filename = "json-glib/json-glib.h")]
+ [Version (since = "0.10")]
public static bool boxed_can_serialize (GLib.Type gboxed_type, out Json.NodeType node_type);
[CCode (cheader_filename = "json-glib/json-glib.h")]
+ [Version (since = "0.10")]
public static void* boxed_deserialize (GLib.Type gboxed_type, Json.Node node);
[CCode (cheader_filename = "json-glib/json-glib.h")]
+ [Version (since = "0.10")]
public static void boxed_register_deserialize_func (GLib.Type gboxed_type, Json.NodeType node_type, Json.BoxedDeserializeFunc deserialize_func);
[CCode (cheader_filename = "json-glib/json-glib.h")]
+ [Version (since = "0.10")]
public static void boxed_register_serialize_func (GLib.Type gboxed_type, Json.NodeType node_type, Json.BoxedSerializeFunc serialize_func);
[CCode (cheader_filename = "json-glib/json-glib.h")]
+ [Version (since = "0.10")]
public static Json.Node boxed_serialize (GLib.Type gboxed_type, void* boxed);
[CCode (cheader_filename = "json-glib/json-glib.h,json-glib/json-gobject.h")]
- [Deprecated (replacement = "Json.gobject_from_data", since = "0.10")]
+ [Version (deprecated = true, deprecated_since = "0.10", replacement = "Json.gobject_from_data", since = "0.4")]
public static GLib.Object construct_gobject (GLib.Type gtype, string data, size_t length) throws GLib.Error;
[CCode (cheader_filename = "json-glib/json-glib.h")]
+ [Version (since = "1.2")]
public static Json.Node from_string (string str) throws GLib.Error;
[CCode (cheader_filename = "json-glib/json-glib.h")]
+ [Version (since = "0.10")]
public static GLib.Object gobject_deserialize (GLib.Type gtype, Json.Node node);
[CCode (cheader_filename = "json-glib/json-glib.h")]
+ [Version (since = "0.10")]
public static GLib.Object gobject_from_data (GLib.Type gtype, string data, ssize_t length = -1) throws GLib.Error;
[CCode (cheader_filename = "json-glib/json-glib.h")]
+ [Version (since = "0.10")]
public static Json.Node gobject_serialize (GLib.Object gobject);
[CCode (cheader_filename = "json-glib/json-glib.h")]
+ [Version (since = "0.10")]
public static string gobject_to_data (GLib.Object gobject, out size_t length);
[CCode (cheader_filename = "json-glib/json-glib.h", returns_floating_reference = true)]
+ [Version (since = "0.14")]
public static GLib.Variant gvariant_deserialize (Json.Node json_node, string? signature) throws GLib.Error;
[CCode (cheader_filename = "json-glib/json-glib.h", returns_floating_reference = true)]
+ [Version (since = "0.14")]
public static GLib.Variant gvariant_deserialize_data (string json, ssize_t length, string? signature) throws GLib.Error;
[CCode (cheader_filename = "json-glib/json-glib.h")]
+ [Version (since = "0.14")]
public static Json.Node gvariant_serialize (GLib.Variant variant);
[CCode (cheader_filename = "json-glib/json-glib.h")]
+ [Version (since = "0.14")]
public static string gvariant_serialize_data (GLib.Variant variant, out size_t length);
[CCode (cheader_filename = "json-glib/json-glib.h,json-glib/json-gobject.h")]
- [Deprecated (replacement = "Json.gobject_to_data", since = "0.10")]
+ [Version (deprecated = true, deprecated_since = "0.10", replacement = "Json.gobject_to_data")]
public static string serialize_gobject (GLib.Object gobject, out size_t length);
[CCode (cheader_filename = "json-glib/json-glib.h")]
+ [Version (since = "1.2")]
public static string to_string (Json.Node node, bool pretty);
}
diff --git a/vapi/libarchive.vapi b/vapi/libarchive.vapi
index 6f48333f5..3e00a682e 100644
--- a/vapi/libarchive.vapi
+++ b/vapi/libarchive.vapi
@@ -72,7 +72,7 @@ namespace Archive {
}
[CCode (cname="int", has_type_id = false)]
- [Deprecated (since="3.0", replacement="Filter")]
+ [Version (deprecated_since="3.0", replacement="Filter")]
public enum Compression {
NONE,
GZIP,
@@ -137,7 +137,7 @@ namespace Archive {
public int64 position_compressed ();
public int64 position_uncompressed ();
- [Deprecated (since="3.0", replacement="Archive.filter_code (0)")]
+ [Version (deprecated_since="3.0", replacement="Archive.filter_code (0)")]
public Compression compression ();
public Format format ();
// Filter #0 is the one closest to the format, -1 is a synonym
@@ -165,19 +165,19 @@ namespace Archive {
public class Read : Archive {
public Read ();
// see https://github.com/libarchive/libarchive/wiki/Libarchive3#functions-that-are-being-renamed
- [Deprecated (since="3.0", replacement="Archive.Read.support_filter_all ()")]
+ [Version (deprecated_since="3.0", replacement="Archive.Read.support_filter_all ()")]
public Result support_compression_all ();
- [Deprecated (since="3.0", replacement="Archive.Read.support_filter_bzip2 ()")]
+ [Version (deprecated_since="3.0", replacement="Archive.Read.support_filter_bzip2 ()")]
public Result support_compression_bzip2 ();
- [Deprecated (since="3.0", replacement="Archive.Read.support_filter_compress ()")]
+ [Version (deprecated_since="3.0", replacement="Archive.Read.support_filter_compress ()")]
public Result support_compression_compress ();
- [Deprecated (since="3.0", replacement="Archive.Read.support_filter_gzip ()")]
+ [Version (deprecated_since="3.0", replacement="Archive.Read.support_filter_gzip ()")]
public Result support_compression_gzip ();
- [Deprecated (since="3.0", replacement="Archive.Read.support_filter_lzma ()")]
+ [Version (deprecated_since="3.0", replacement="Archive.Read.support_filter_lzma ()")]
public Result support_compression_lzma ();
- [Deprecated (since="3.0", replacement="Archive.Read.support_filter_none ()")]
+ [Version (deprecated_since="3.0", replacement="Archive.Read.support_filter_none ()")]
public Result support_compression_none ();
- [Deprecated (since="3.0", replacement="Archive.Read.support_filter_program (string command)")]
+ [Version (deprecated_since="3.0", replacement="Archive.Read.support_filter_program (string command)")]
public Result support_compression_program (string command);
public Result support_filter_all ();
public Result support_filter_bzip2 ();
@@ -260,15 +260,15 @@ namespace Archive {
public class Write : Archive {
public Write ();
// see https://github.com/libarchive/libarchive/wiki/Libarchive3#functions-that-are-being-renamed
- [Deprecated (since="3.0", replacement="Archive.Write.add_filter_bzip2 ()")]
+ [Version (deprecated_since="3.0", replacement="Archive.Write.add_filter_bzip2 ()")]
public Result set_compression_bzip2 ();
- [Deprecated (since="3.0", replacement="Archive.Write.add_filter_compress ()")]
+ [Version (deprecated_since="3.0", replacement="Archive.Write.add_filter_compress ()")]
public Result set_compression_compress ();
- [Deprecated (since="3.0", replacement="Archive.Write.add_filter_gzip ()")]
+ [Version (deprecated_since="3.0", replacement="Archive.Write.add_filter_gzip ()")]
public Result set_compression_gzip ();
- [Deprecated (since="3.0", replacement="Archive.Write.add_filter_lzma ()")]
+ [Version (deprecated_since="3.0", replacement="Archive.Write.add_filter_lzma ()")]
public Result set_compression_lzma ();
- [Deprecated (since="3.0", replacement="Archive.Write.add_filter_none ()")]
+ [Version (deprecated_since="3.0", replacement="Archive.Write.add_filter_none ()")]
public Result set_compression_none ();
public Result set_compression_program (string cmd);
public Result add_filter (Filter filter_code);
diff --git a/vapi/libbonoboui-2.0.vapi b/vapi/libbonoboui-2.0.vapi
index 28c04c82b..6c5cb9141 100644
--- a/vapi/libbonoboui-2.0.vapi
+++ b/vapi/libbonoboui-2.0.vapi
@@ -4,7 +4,7 @@
*/
[CCode (cheader_filename = "libbonoboui.h")]
-[Deprecated]
+[Version (deprecated = true)]
namespace BonoboUI {
public struct Verb {
public weak string cname;
diff --git a/vapi/libgda-4.0.vapi b/vapi/libgda-4.0.vapi
index 53d5834cd..0082d901b 100644
--- a/vapi/libgda-4.0.vapi
+++ b/vapi/libgda-4.0.vapi
@@ -1,6 +1,6 @@
/* libgda-4.0.vapi generated by vapigen, do not modify. */
-[Deprecated (replacement = "bindings distributed with libgda-4.0", since = "4.2.13")]
+[Version (deprecated_since = "4.2.13", replacement = "bindings distributed with libgda-4.0")]
namespace Gda {
[CCode (cheader_filename = "libgda/libgda.h", copy_function = "gda_attributes_manager_copy")]
[Compact]
diff --git a/vapi/libgda-report-4.0.vapi b/vapi/libgda-report-4.0.vapi
index 1c7396b62..1e02ef24d 100644
--- a/vapi/libgda-report-4.0.vapi
+++ b/vapi/libgda-report-4.0.vapi
@@ -1,6 +1,6 @@
/* libgda-report-4.0.vapi generated by vapigen, do not modify. */
-[Deprecated (replacement = "bindings distributed with libgda-4.0", since = "4.2.13")]
+[Version (deprecated_since = "4.2.13", replacement = "bindings distributed with libgda-4.0")]
namespace Gda {
[CCode (cheader_filename = "libgda-report/libgda-report.h")]
public class ReportDocbookDocument : Gda.ReportDocument {
diff --git a/vapi/libgdata.vapi b/vapi/libgdata.vapi
index 8ba56f8e0..8b8343d57 100644
--- a/vapi/libgdata.vapi
+++ b/vapi/libgdata.vapi
@@ -4,86 +4,119 @@
namespace GData {
namespace ContactsGender {
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_CONTACTS_GENDER_FEMALE")]
+ [Version (since = "0.7.0")]
public const string FEMALE;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_CONTACTS_GENDER_MALE")]
+ [Version (since = "0.7.0")]
public const string MALE;
}
namespace ContactsGroupType {
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_CONTACTS_GROUP_CONTACTS")]
+ [Version (since = "0.7.0")]
public const string CONTACTS;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_CONTACTS_GROUP_COWORKERS")]
+ [Version (since = "0.7.0")]
public const string COWORKERS;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_CONTACTS_GROUP_FAMILY")]
+ [Version (since = "0.7.0")]
public const string FAMILY;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_CONTACTS_GROUP_FRIENDS")]
+ [Version (since = "0.7.0")]
public const string FRIENDS;
}
namespace ContactsPriority {
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_CONTACTS_PRIORITY_HIGH")]
+ [Version (since = "0.7.0")]
public const string HIGH;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_CONTACTS_PRIORITY_LOW")]
+ [Version (since = "0.7.0")]
public const string LOW;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_CONTACTS_PRIORITY_NORMAL")]
+ [Version (since = "0.7.0")]
public const string NORMAL;
}
namespace ContactsSensitivity {
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_CONTACTS_SENSITIVITY_CONFIDENTIAL")]
+ [Version (since = "0.7.0")]
public const string CONFIDENTIAL;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_CONTACTS_SENSITIVITY_NORMAL")]
+ [Version (since = "0.7.0")]
public const string NORMAL;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_CONTACTS_SENSITIVITY_PERSONAL")]
+ [Version (since = "0.7.0")]
public const string PERSONAL;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_CONTACTS_SENSITIVITY_PRIVATE")]
+ [Version (since = "0.7.0")]
public const string PRIVATE;
}
namespace DocumentsPresentationFormat {
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_PRESENTATION_PDF")]
+ [Version (since = "0.7.0")]
public const string PDF;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_PRESENTATION_PNG")]
+ [Version (since = "0.7.0")]
public const string PNG;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_PRESENTATION_PPT")]
+ [Version (since = "0.7.0")]
public const string PPT;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_PRESENTATION_SWF")]
- [Deprecated]
+ [Version (deprecated = true, since = "0.7.0")]
public const string SWF;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_PRESENTATION_TXT")]
+ [Version (since = "0.7.0")]
public const string TXT;
}
namespace DocumentsSpreadsheetFormat {
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_SPREADSHEET_CSV")]
+ [Version (since = "0.7.0")]
public const string CSV;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_SPREADSHEET_HTML")]
+ [Version (since = "0.7.0")]
public const string HTML;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_SPREADSHEET_ODS")]
+ [Version (since = "0.7.0")]
public const string ODS;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_SPREADSHEET_PDF")]
+ [Version (since = "0.7.0")]
public const string PDF;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_SPREADSHEET_TSV")]
+ [Version (since = "0.7.0")]
public const string TSV;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_SPREADSHEET_XLS")]
+ [Version (since = "0.7.0")]
public const string XLS;
}
namespace DocumentsTextFormat {
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_TEXT_DOC")]
+ [Version (since = "0.7.0")]
public const string DOC;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_TEXT_HTML")]
+ [Version (since = "0.7.0")]
public const string HTML;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_TEXT_JPEG")]
+ [Version (since = "0.13.0")]
public const string JPEG;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_TEXT_ODT")]
+ [Version (since = "0.7.0")]
public const string ODT;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_TEXT_PDF")]
+ [Version (since = "0.7.0")]
public const string PDF;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_TEXT_PNG")]
+ [Version (since = "0.7.0")]
public const string PNG;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_TEXT_RTF")]
+ [Version (since = "0.7.0")]
public const string RTF;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_TEXT_TXT")]
+ [Version (since = "0.7.0")]
public const string TXT;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_TEXT_ZIP")]
+ [Version (since = "0.7.0")]
public const string ZIP;
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_app_categories_get_type ()")]
+ [Version (since = "0.7.0")]
public class APPCategories : GData.Parsable {
[CCode (has_construct_function = false)]
protected APPCategories ();
@@ -92,16 +125,21 @@ namespace GData {
public bool is_fixed { get; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_access_rule_get_type ()")]
+ [Version (since = "0.3.0")]
public class AccessRule : GData.Entry {
[CCode (has_construct_function = false)]
public AccessRule (string id);
+ [Version (since = "0.7.0")]
public int64 get_edited ();
+ [Version (since = "0.16.0")]
public unowned string get_key ();
public unowned string get_role ();
public void get_scope (out unowned string type, out unowned string value);
public void set_role (string role);
public void set_scope (string type, string? value);
+ [Version (since = "0.7.0")]
public int64 edited { get; }
+ [Version (since = "0.16.0")]
public string key { get; }
public string role { get; set; }
[NoAccessorMethod]
@@ -113,17 +151,27 @@ namespace GData {
public class Author : GData.Parsable, GData.Comparable {
[CCode (has_construct_function = false)]
public Author (string name, string? uri, string? email_address);
+ [Version (since = "0.4.0")]
public unowned string get_email_address ();
+ [Version (since = "0.4.0")]
public unowned string get_name ();
+ [Version (since = "0.4.0")]
public unowned string get_uri ();
+ [Version (since = "0.4.0")]
public void set_email_address (string? email_address);
+ [Version (since = "0.4.0")]
public void set_name (string name);
+ [Version (since = "0.4.0")]
public void set_uri (string? uri);
+ [Version (since = "0.4.0")]
public string email_address { get; set; }
+ [Version (since = "0.4.0")]
public string name { get; set; }
+ [Version (since = "0.4.0")]
public string uri { get; set; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_authorization_domain_get_type ()")]
+ [Version (since = "0.9.0")]
public class AuthorizationDomain : GLib.Object {
[CCode (has_construct_function = false)]
protected AuthorizationDomain ();
@@ -133,23 +181,27 @@ namespace GData {
public string service_name { get; construct; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_batch_operation_get_type ()")]
+ [Version (since = "0.7.0")]
public class BatchOperation : GLib.Object {
[CCode (has_construct_function = false)]
protected BatchOperation ();
- public uint add_deletion (GData.Entry entry, [CCode (scope = "async")] owned GData.BatchOperationCallback callback);
- public uint add_insertion (GData.Entry entry, [CCode (scope = "async")] owned GData.BatchOperationCallback callback);
- public uint add_query (string id, GLib.Type entry_type, [CCode (scope = "async")] owned GData.BatchOperationCallback callback);
- public uint add_update (GData.Entry entry, [CCode (scope = "async")] owned GData.BatchOperationCallback callback);
+ public uint add_deletion (GData.Entry entry, [CCode (scope = "async")] GData.BatchOperationCallback callback);
+ public uint add_insertion (GData.Entry entry, [CCode (scope = "async")] GData.BatchOperationCallback callback);
+ public uint add_query (string id, GLib.Type entry_type, [CCode (scope = "async")] GData.BatchOperationCallback callback);
+ public uint add_update (GData.Entry entry, [CCode (scope = "async")] GData.BatchOperationCallback callback);
+ [Version (since = "0.9.0")]
public unowned GData.AuthorizationDomain? get_authorization_domain ();
public unowned string get_feed_uri ();
public unowned GData.Service get_service ();
public bool run (GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool run_async (GLib.Cancellable? cancellable) throws GLib.Error;
+ [Version (since = "0.9.0")]
public GData.AuthorizationDomain authorization_domain { get; construct; }
public string feed_uri { get; construct; }
public GData.Service service { get; construct; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_calendar_access_rule_get_type ()")]
+ [Version (since = "0.17.2")]
public class CalendarAccessRule : GData.AccessRule {
[CCode (has_construct_function = false)]
public CalendarAccessRule (string id);
@@ -160,24 +212,28 @@ namespace GData {
public CalendarCalendar (string? id);
public unowned string get_access_level ();
public GData.Color get_color ();
- [Deprecated (since = "0.17.2")]
+ [Version (deprecated = true, deprecated_since = "0.17.2")]
public int64 get_edited ();
- [Deprecated (since = "0.17.2")]
+ [Version (deprecated = true, deprecated_since = "0.17.2")]
public uint get_times_cleaned ();
public unowned string get_timezone ();
public void set_color (GData.Color color);
+ [Version (since = "0.2.0")]
public void set_is_hidden (bool is_hidden);
+ [Version (since = "0.2.0")]
public void set_is_selected (bool is_selected);
public void set_timezone (string? _timezone);
public string access_level { get; }
public GData.Color color { get; set; }
- [Deprecated (since = "0.17.2")]
+ [Version (deprecated = true, deprecated_since = "0.17.2")]
public int64 edited { get; }
[NoAccessorMethod]
+ [Version (since = "0.2.0")]
public bool is_hidden { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.2.0")]
public bool is_selected { get; set; }
- [Deprecated (since = "0.17.2")]
+ [Version (deprecated = true, deprecated_since = "0.17.2")]
public uint times_cleaned { get; }
public string timezone { get; set; }
}
@@ -187,30 +243,41 @@ namespace GData {
public CalendarEvent (string? id);
public void add_person (GData.GDWho who);
public void add_place (GData.GDWhere where);
+ [Version (since = "0.2.0")]
public void add_time (GData.GDWhen when);
public bool get_anyone_can_add_self ();
public int64 get_edited ();
public bool get_guests_can_invite_others ();
public bool get_guests_can_modify ();
public bool get_guests_can_see_guests ();
+ [Version (since = "0.3.0")]
public void get_original_event_details (out string event_id, out string event_uri);
+ [Version (since = "0.2.0")]
public unowned GLib.List<GData.GDWho> get_people ();
+ [Version (since = "0.2.0")]
public unowned GLib.List<GData.GDWhere> get_places ();
+ [Version (since = "0.2.0")]
public bool get_primary_time (out int64 start_time, out int64 end_time, out unowned GData.GDWhen when);
+ [Version (since = "0.3.0")]
public unowned string get_recurrence ();
public uint get_sequence ();
+ [Version (since = "0.2.0")]
public unowned string get_status ();
+ [Version (since = "0.2.0")]
public unowned GLib.List<GData.GDWhen> get_times ();
public unowned string get_transparency ();
public unowned string get_uid ();
public unowned string get_visibility ();
+ [Version (since = "0.3.0")]
public bool is_exception ();
public void set_anyone_can_add_self (bool anyone_can_add_self);
public void set_guests_can_invite_others (bool guests_can_invite_others);
public void set_guests_can_modify (bool guests_can_modify);
public void set_guests_can_see_guests (bool guests_can_see_guests);
+ [Version (since = "0.3.0")]
public void set_recurrence (string? recurrence);
public void set_sequence (uint sequence);
+ [Version (since = "0.2.0")]
public void set_status (string? status);
public void set_transparency (string? transparency);
public void set_uid (string? uid);
@@ -221,27 +288,32 @@ namespace GData {
public bool guests_can_modify { get; set; }
public bool guests_can_see_guests { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.3.0")]
public string original_event_id { owned get; }
[NoAccessorMethod]
+ [Version (since = "0.3.0")]
public string original_event_uri { owned get; }
+ [Version (since = "0.3.0")]
public string recurrence { get; set; }
public uint sequence { get; set; }
+ [Version (since = "0.2.0")]
public string status { get; set; }
public string transparency { get; set; }
public string uid { get; set; }
public string visibility { get; set; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_calendar_feed_get_type ()")]
+ [Version (since = "0.3.0")]
public class CalendarFeed : GData.Feed {
[CCode (has_construct_function = false)]
protected CalendarFeed ();
- [Deprecated (since = "0.17.2")]
+ [Version (deprecated = true, deprecated_since = "0.17.2", since = "0.3.0")]
public uint get_times_cleaned ();
- [Deprecated (since = "0.17.2")]
+ [Version (deprecated = true, deprecated_since = "0.17.2", since = "0.3.0")]
public unowned string get_timezone ();
- [Deprecated (since = "0.17.2")]
+ [Version (deprecated = true, deprecated_since = "0.17.2", since = "0.3.0")]
public uint times_cleaned { get; }
- [Deprecated (since = "0.17.2")]
+ [Version (deprecated = true, deprecated_since = "0.17.2", since = "0.3.0")]
public string timezone { get; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_calendar_query_get_type ()")]
@@ -249,6 +321,7 @@ namespace GData {
[CCode (has_construct_function = false)]
public CalendarQuery (string? q);
public bool get_future_events ();
+ [Version (since = "0.9.1")]
public uint get_max_attendees ();
public unowned string get_order_by ();
public int64 get_recurrence_expansion_end ();
@@ -257,66 +330,90 @@ namespace GData {
public unowned string get_sort_order ();
public int64 get_start_max ();
public int64 get_start_min ();
+ [Version (since = "0.2.0")]
public unowned string get_timezone ();
public void set_future_events (bool future_events);
+ [Version (since = "0.9.1")]
public void set_max_attendees (uint max_attendees);
public void set_order_by (string? order_by);
public void set_recurrence_expansion_end (int64 end);
public void set_recurrence_expansion_start (int64 start);
+ [Version (since = "0.9.1")]
public void set_show_deleted (bool show_deleted);
public void set_single_events (bool single_events);
public void set_sort_order (string? sort_order);
public void set_start_max (int64 start_max);
public void set_start_min (int64 start_min);
+ [Version (since = "0.2.0")]
public void set_timezone (string? _timezone);
[CCode (has_construct_function = false)]
public CalendarQuery.with_limits (string? q, int64 start_min, int64 start_max);
public bool future_events { get; set; }
+ [Version (since = "0.9.1")]
public uint max_attendees { get; set; }
public string order_by { get; set; }
public int64 recurrence_expansion_end { get; set; }
public int64 recurrence_expansion_start { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.9.1")]
public bool show_deleted { get; set; }
public bool single_events { get; set; }
public string sort_order { get; set; }
public int64 start_max { get; set; }
public int64 start_min { get; set; }
+ [Version (since = "0.2.0")]
public string timezone { get; set; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_calendar_service_get_type ()")]
public class CalendarService : GData.Service, GData.Batchable {
[CCode (has_construct_function = false)]
+ [Version (since = "0.9.0")]
public CalendarService (GData.Authorizer? authorizer);
+ [Version (since = "0.9.0")]
public static unowned GData.AuthorizationDomain get_primary_authorization_domain ();
+ [Version (since = "0.17.2")]
public GData.CalendarEvent insert_calendar_event (GData.CalendarCalendar calendar, GData.CalendarEvent event, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "0.17.2")]
public async void insert_calendar_event_async (GData.CalendarCalendar calendar, GData.CalendarEvent event, GLib.Cancellable? cancellable);
- [Deprecated (since = "0.17.2")]
+ [Version (deprecated = true, deprecated_since = "0.17.2", since = "0.2.0")]
public GData.CalendarEvent insert_event (GData.CalendarEvent event, GLib.Cancellable? cancellable = null) throws GLib.Error;
- [Deprecated (since = "0.17.2")]
+ [Version (deprecated = true, deprecated_since = "0.17.2", since = "0.8.0")]
public async void insert_event_async (GData.CalendarEvent event, GLib.Cancellable? cancellable);
public GData.Feed query_all_calendars (GData.Query? query, GLib.Cancellable? cancellable, GData.QueryProgressCallback? progress_callback) throws GLib.Error;
+ [Version (since = "0.9.1")]
public async void query_all_calendars_async (GData.Query? query, GLib.Cancellable? cancellable, owned GData.QueryProgressCallback? progress_callback);
public GData.Feed query_events (GData.CalendarCalendar calendar, GData.Query? query, GLib.Cancellable? cancellable, GData.QueryProgressCallback? progress_callback) throws GLib.Error;
+ [Version (since = "0.9.1")]
public async void query_events_async (GData.CalendarCalendar calendar, GData.Query? query, GLib.Cancellable? cancellable, owned GData.QueryProgressCallback? progress_callback);
public GData.Feed query_own_calendars (GData.Query? query, GLib.Cancellable? cancellable, GData.QueryProgressCallback? progress_callback) throws GLib.Error;
+ [Version (since = "0.9.1")]
public async void query_own_calendars_async (GData.Query? query, GLib.Cancellable? cancellable, owned GData.QueryProgressCallback? progress_callback);
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_category_get_type ()")]
public class Category : GData.Parsable, GData.Comparable {
[CCode (has_construct_function = false)]
public Category (string term, string? scheme, string? label);
+ [Version (since = "0.4.0")]
public unowned string get_label ();
+ [Version (since = "0.4.0")]
public unowned string get_scheme ();
+ [Version (since = "0.4.0")]
public unowned string get_term ();
+ [Version (since = "0.4.0")]
public void set_label (string? label);
+ [Version (since = "0.4.0")]
public void set_scheme (string? scheme);
+ [Version (since = "0.4.0")]
public void set_term (string term);
+ [Version (since = "0.4.0")]
public string label { get; set; }
+ [Version (since = "0.4.0")]
public string scheme { get; set; }
+ [Version (since = "0.4.0")]
public string term { get; set; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_client_login_authorizer_get_type ()")]
+ [Version (since = "0.9.0")]
public class ClientLoginAuthorizer : GLib.Object, GData.Authorizer {
[CCode (has_construct_function = false)]
public ClientLoginAuthorizer (string client_id, GLib.Type service_type);
@@ -326,152 +423,245 @@ namespace GData {
public ClientLoginAuthorizer.for_authorization_domains (string client_id, GLib.List<GData.AuthorizationDomain> authorization_domains);
public unowned string get_client_id ();
public unowned string get_password ();
+ [Version (since = "0.15.0")]
public unowned GLib.ProxyResolver? get_proxy_resolver ();
- [Deprecated (since = "0.15.0")]
+ [Version (deprecated = true, deprecated_since = "0.15.0", since = "0.9.0")]
public Soup.URI get_proxy_uri ();
public uint get_timeout ();
public unowned string get_username ();
+ [Version (since = "0.15.0")]
public void set_proxy_resolver (GLib.ProxyResolver? proxy_resolver);
- [Deprecated (since = "0.15.0")]
+ [Version (deprecated = true, deprecated_since = "0.15.0", since = "0.9.0")]
public void set_proxy_uri (Soup.URI? proxy_uri);
public void set_timeout (uint timeout);
public string client_id { get; construct; }
public string password { get; }
+ [Version (since = "0.15.0")]
public GLib.ProxyResolver proxy_resolver { get; set; }
- [Deprecated (since = "0.15.0")]
+ [Version (deprecated = true, deprecated_since = "0.15.0", since = "0.9.0")]
public Soup.URI proxy_uri { owned get; set; }
public uint timeout { get; set; }
public string username { get; }
public signal string captcha_challenge (string uri);
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_comment_get_type ()")]
+ [Version (since = "0.10.0")]
public abstract class Comment : GData.Entry {
[CCode (has_construct_function = false)]
protected Comment ();
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_contacts_contact_get_type ()")]
+ [Version (since = "0.2.0")]
public class ContactsContact : GData.Entry {
[CCode (has_construct_function = false)]
public ContactsContact (string? id);
+ [Version (since = "0.7.0")]
public void add_calendar (GData.GContactCalendar calendar);
public void add_email_address (GData.GDEmailAddress email_address);
+ [Version (since = "0.7.0")]
public void add_event (GData.GContactEvent event);
+ [Version (since = "0.7.0")]
public void add_external_id (GData.GContactExternalID external_id);
public void add_group (string href);
+ [Version (since = "0.7.0")]
public void add_hobby (string hobby);
public void add_im_address (GData.GDIMAddress im_address);
+ [Version (since = "0.7.0")]
public void add_jot (GData.GContactJot jot);
+ [Version (since = "0.7.0")]
public void add_language (GData.GContactLanguage language);
public void add_organization (GData.GDOrganization organization);
public void add_phone_number (GData.GDPhoneNumber phone_number);
public void add_postal_address (GData.GDPostalAddress postal_address);
+ [Version (since = "0.7.0")]
public void add_relation (GData.GContactRelation relation);
+ [Version (since = "0.7.0")]
public void add_website (GData.GContactWebsite website);
+ [Version (since = "0.7.0")]
public unowned string get_billing_information ();
+ [Version (since = "0.7.0")]
public bool get_birthday (out GLib.Date birthday);
+ [Version (since = "0.7.0")]
public unowned GLib.List<GData.GContactCalendar> get_calendars ();
+ [Version (since = "0.7.0")]
public unowned string get_directory_server ();
public int64 get_edited ();
public unowned GLib.List<GData.GDEmailAddress> get_email_addresses ();
+ [Version (since = "0.7.0")]
public unowned GLib.List<GData.GContactEvent> get_events ();
+ [Version (since = "0.4.0")]
public unowned GLib.HashTable<void*,void*> get_extended_properties ();
public unowned string get_extended_property (string name);
+ [Version (since = "0.7.0")]
public unowned GLib.List<GData.GContactExternalID> get_external_ids ();
+ [Version (since = "0.11.0")]
public unowned string get_file_as ();
+ [Version (since = "0.7.0")]
public unowned string get_gender ();
public GLib.List<weak string> get_groups ();
+ [Version (since = "0.7.0")]
public unowned GLib.List<string> get_hobbies ();
public unowned GLib.List<GData.GDIMAddress> get_im_addresses ();
+ [Version (since = "0.7.0")]
public unowned string get_initials ();
+ [Version (since = "0.7.0")]
public unowned GLib.List<GData.GContactJot> get_jots ();
+ [Version (since = "0.7.0")]
public unowned GLib.List<GData.GContactLanguage> get_languages ();
+ [Version (since = "0.7.0")]
public unowned string get_maiden_name ();
+ [Version (since = "0.7.0")]
public unowned string get_mileage ();
+ [Version (since = "0.5.0")]
public unowned GData.GDName get_name ();
+ [Version (since = "0.7.0")]
public unowned string get_nickname ();
+ [Version (since = "0.7.0")]
public unowned string get_occupation ();
public unowned GLib.List<GData.GDOrganization> get_organizations ();
public unowned GLib.List<GData.GDPhoneNumber> get_phone_numbers ();
[CCode (array_length_pos = 1.5, array_length_type = "gsize")]
+ [Version (since = "0.8.0")]
public uint8[] get_photo (GData.ContactsService service, out string content_type, GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (array_length_pos = 1.1)]
+ [Version (since = "0.8.0")]
public async uint8[] get_photo_async (GData.ContactsService service, out string content_type) throws GLib.Error;
+ [Version (since = "0.9.0")]
public unowned string get_photo_etag ();
public unowned GLib.List<GData.GDPostalAddress> get_postal_addresses ();
+ [Version (since = "0.7.0")]
public unowned GData.GContactCalendar get_primary_calendar ();
public unowned GData.GDEmailAddress get_primary_email_address ();
public unowned GData.GDIMAddress get_primary_im_address ();
public unowned GData.GDOrganization get_primary_organization ();
public unowned GData.GDPhoneNumber get_primary_phone_number ();
public unowned GData.GDPostalAddress get_primary_postal_address ();
+ [Version (since = "0.7.0")]
public unowned GData.GContactWebsite get_primary_website ();
+ [Version (since = "0.7.0")]
public unowned string get_priority ();
+ [Version (since = "0.7.0")]
public unowned GLib.List<GData.GContactRelation> get_relations ();
+ [Version (since = "0.7.0")]
public unowned string get_sensitivity ();
+ [Version (since = "0.7.0")]
public unowned string get_short_name ();
+ [Version (since = "0.7.0")]
public unowned string get_subject ();
+ [Version (since = "0.7.0")]
public unowned string get_user_defined_field (string name);
+ [Version (since = "0.7.0")]
public unowned GLib.HashTable<void*,void*> get_user_defined_fields ();
+ [Version (since = "0.7.0")]
public unowned GLib.List<GData.GContactWebsite> get_websites ();
public bool is_deleted ();
public bool is_group_deleted (string href);
+ [Version (since = "0.7.0")]
public void remove_all_calendars ();
+ [Version (since = "0.4.0")]
public void remove_all_email_addresses ();
+ [Version (since = "0.7.0")]
public void remove_all_events ();
+ [Version (since = "0.7.0")]
public void remove_all_external_ids ();
+ [Version (since = "0.7.0")]
public void remove_all_hobbies ();
+ [Version (since = "0.4.0")]
public void remove_all_im_addresses ();
+ [Version (since = "0.7.0")]
public void remove_all_jots ();
+ [Version (since = "0.7.0")]
public void remove_all_languages ();
+ [Version (since = "0.4.0")]
public void remove_all_organizations ();
+ [Version (since = "0.4.0")]
public void remove_all_phone_numbers ();
+ [Version (since = "0.4.0")]
public void remove_all_postal_addresses ();
+ [Version (since = "0.7.0")]
public void remove_all_relations ();
+ [Version (since = "0.7.0")]
public void remove_all_websites ();
public void remove_group (string href);
+ [Version (since = "0.7.0")]
public void set_billing_information (string? billing_information);
+ [Version (since = "0.7.0")]
public void set_birthday (GLib.Date? birthday, bool birthday_has_year);
+ [Version (since = "0.7.0")]
public void set_directory_server (string? directory_server);
public bool set_extended_property (string name, string? value);
+ [Version (since = "0.7.0")]
public void set_file_as (string? file_as);
+ [Version (since = "0.7.0")]
public void set_gender (string? gender);
+ [Version (since = "0.7.0")]
public void set_initials (string? initials);
+ [Version (since = "0.7.0")]
public void set_maiden_name (string? maiden_name);
+ [Version (since = "0.7.0")]
public void set_mileage (string? mileage);
+ [Version (since = "0.7.0")]
public void set_name (GData.GDName name);
+ [Version (since = "0.7.0")]
public void set_nickname (string? nickname);
+ [Version (since = "0.7.0")]
public void set_occupation (string? occupation);
+ [Version (since = "0.8.0")]
public bool set_photo (GData.ContactsService service, uint8? data, size_t length, string? content_type, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "0.8.0")]
public async bool set_photo_async (GData.ContactsService service, uint8? data, size_t length, string? content_type, GLib.Cancellable? cancellable) throws GLib.Error;
+ [Version (since = "0.7.0")]
public void set_priority (string? priority);
+ [Version (since = "0.7.0")]
public void set_sensitivity (string? sensitivity);
+ [Version (since = "0.7.0")]
public void set_short_name (string? short_name);
+ [Version (since = "0.7.0")]
public void set_subject (string? subject);
+ [Version (since = "0.7.0")]
public void set_user_defined_field (string name, string? value);
+ [Version (since = "0.7.0")]
public string billing_information { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.7.0")]
public GLib.Date birthday { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.7.0")]
public bool birthday_has_year { get; set; }
[NoAccessorMethod]
public bool deleted { get; }
+ [Version (since = "0.7.0")]
public string directory_server { get; set; }
public int64 edited { get; }
+ [Version (since = "0.11.0")]
public string file_as { get; set; }
+ [Version (since = "0.7.0")]
public string gender { get; set; }
+ [Version (since = "0.7.0")]
public string initials { get; set; }
+ [Version (since = "0.7.0")]
public string maiden_name { get; set; }
+ [Version (since = "0.7.0")]
public string mileage { get; set; }
+ [Version (since = "0.5.0")]
public GData.GDName name { get; set; }
+ [Version (since = "0.7.0")]
public string nickname { get; set; }
+ [Version (since = "0.7.0")]
public string occupation { get; set; }
+ [Version (since = "0.9.0")]
public string photo_etag { get; }
+ [Version (since = "0.7.0")]
public string priority { get; set; }
+ [Version (since = "0.7.0")]
public string sensitivity { get; set; }
+ [Version (since = "0.7.0")]
public string short_name { get; set; }
+ [Version (since = "0.7.0")]
public string subject { get; set; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_contacts_group_get_type ()")]
+ [Version (since = "0.7.0")]
public class ContactsGroup : GData.Entry {
[CCode (has_construct_function = false)]
public ContactsGroup (string? id);
@@ -487,6 +677,7 @@ namespace GData {
public string system_group_id { get; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_contacts_query_get_type ()")]
+ [Version (since = "0.2.0")]
public class ContactsQuery : GData.Query {
[CCode (has_construct_function = false)]
public ContactsQuery (string? q);
@@ -506,85 +697,111 @@ namespace GData {
public string sort_order { get; set; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_contacts_service_get_type ()")]
+ [Version (since = "0.2.0")]
public class ContactsService : GData.Service, GData.Batchable {
[CCode (has_construct_function = false)]
+ [Version (since = "0.9.0")]
public ContactsService (GData.Authorizer? authorizer);
+ [Version (since = "0.9.0")]
public static unowned GData.AuthorizationDomain get_primary_authorization_domain ();
public GData.ContactsContact insert_contact (GData.ContactsContact contact, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "0.7.0")]
public async void insert_contact_async (GData.ContactsContact contact, GLib.Cancellable? cancellable);
+ [Version (since = "0.7.0")]
public GData.ContactsGroup insert_group (GData.ContactsGroup group, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "0.7.0")]
public async void insert_group_async (GData.ContactsGroup group, GLib.Cancellable? cancellable);
public GData.Feed query_contacts (GData.Query? query, GLib.Cancellable? cancellable, GData.QueryProgressCallback? progress_callback) throws GLib.Error;
+ [Version (since = "0.9.1")]
public async void query_contacts_async (GData.Query? query, GLib.Cancellable? cancellable, owned GData.QueryProgressCallback? progress_callback);
+ [Version (since = "0.7.0")]
public GData.Feed query_groups (GData.Query? query, GLib.Cancellable? cancellable, GData.QueryProgressCallback? progress_callback) throws GLib.Error;
+ [Version (since = "0.9.1")]
public async void query_groups_async (GData.Query? query, GLib.Cancellable? cancellable, owned GData.QueryProgressCallback? progress_callback);
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_documents_access_rule_get_type ()")]
+ [Version (since = "0.17.2")]
public class DocumentsAccessRule : GData.AccessRule {
[CCode (has_construct_function = false)]
public DocumentsAccessRule (string id);
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_documents_document_get_type ()")]
+ [Version (since = "0.7.0")]
public class DocumentsDocument : GData.DocumentsEntry, GData.AccessHandler {
[CCode (has_construct_function = false)]
+ [Version (since = "0.13.0")]
public DocumentsDocument (string? id);
+ [Version (since = "0.8.0")]
public GData.DownloadStream download (GData.DocumentsService service, string export_format, GLib.Cancellable? cancellable = null) throws GLib.Error;
- public string get_download_uri (string export_format);
+ public string? get_download_uri (string export_format);
+ [Version (since = "0.13.1")]
public unowned string? get_thumbnail_uri ();
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_documents_drawing_get_type ()")]
+ [Version (since = "0.13.1")]
public class DocumentsDrawing : GData.DocumentsDocument, GData.AccessHandler {
[CCode (has_construct_function = false)]
public DocumentsDrawing (string? id);
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_documents_entry_get_type ()")]
+ [Version (since = "0.4.0")]
public abstract class DocumentsEntry : GData.Entry, GData.AccessHandler {
[CCode (has_construct_function = false)]
protected DocumentsEntry ();
- [Deprecated (since = "0.11.0")]
+ [Version (deprecated = true, deprecated_since = "0.11.0", since = "0.4.0")]
public unowned string get_document_id ();
- [Deprecated (since = "0.17.0")]
+ [Version (deprecated = true, deprecated_since = "0.17.0", since = "0.4.0")]
public int64 get_edited ();
public unowned GData.Author get_last_modified_by ();
public int64 get_last_viewed ();
public string get_path ();
+ [Version (since = "0.13.0")]
public int64 get_quota_used ();
+ [Version (since = "0.11.0")]
public unowned string get_resource_id ();
public void set_writers_can_invite (bool writers_can_invite);
- [Deprecated (since = "0.11.0")]
+ [Version (deprecated = true, deprecated_since = "0.11.0", since = "0.4.0")]
public string document_id { get; }
- [Deprecated (since = "0.17.0")]
+ [Version (deprecated = true, deprecated_since = "0.17.0", since = "0.4.0")]
public int64 edited { get; }
[NoAccessorMethod]
+ [Version (since = "0.5.0")]
public bool is_deleted { get; set; }
public GData.Author last_modified_by { get; }
public int64 last_viewed { get; }
+ [Version (since = "0.13.0")]
public int64 quota_used { get; }
+ [Version (since = "0.11.0")]
public string resource_id { get; }
[NoAccessorMethod]
public bool writers_can_invite { get; set; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_documents_feed_get_type ()")]
+ [Version (since = "0.4.0")]
public class DocumentsFeed : GData.Feed {
[CCode (has_construct_function = false)]
protected DocumentsFeed ();
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_documents_folder_get_type ()")]
+ [Version (since = "0.4.0")]
public class DocumentsFolder : GData.DocumentsEntry, GData.AccessHandler {
[CCode (has_construct_function = false)]
public DocumentsFolder (string? id);
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_documents_pdf_get_type ()")]
+ [Version (since = "0.13.3")]
public class DocumentsPdf : GData.DocumentsDocument, GData.AccessHandler {
[CCode (has_construct_function = false)]
public DocumentsPdf (string? id);
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_documents_presentation_get_type ()")]
+ [Version (since = "0.4.0")]
public class DocumentsPresentation : GData.DocumentsDocument, GData.AccessHandler {
[CCode (has_construct_function = false)]
public DocumentsPresentation (string? id);
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_documents_query_get_type ()")]
+ [Version (since = "0.4.0")]
public class DocumentsQuery : GData.Query {
[CCode (has_construct_function = false)]
public DocumentsQuery (string? q);
@@ -612,38 +829,59 @@ namespace GData {
public string title { owned get; set; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_documents_service_get_type ()")]
+ [Version (since = "0.4.0")]
public class DocumentsService : GData.Service, GData.Batchable {
[CCode (has_construct_function = false)]
+ [Version (since = "0.9.0")]
public DocumentsService (GData.Authorizer? authorizer);
+ [Version (since = "0.8.0")]
public GData.DocumentsEntry add_entry_to_folder (GData.DocumentsEntry entry, GData.DocumentsFolder folder, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "0.8.0")]
public async GData.DocumentsEntry add_entry_to_folder_async (GData.DocumentsEntry entry, GData.DocumentsFolder folder, GLib.Cancellable? cancellable) throws GLib.Error;
+ [Version (since = "0.13.1")]
public GData.DocumentsDocument copy_document (GData.DocumentsDocument document, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "0.13.1")]
public async GData.DocumentsDocument copy_document_async (GData.DocumentsDocument document, GLib.Cancellable? cancellable) throws GLib.Error;
+ [Version (since = "0.8.0")]
public GData.DocumentsDocument finish_upload (GData.UploadStream upload_stream) throws GLib.Error;
+ [Version (since = "0.9.0")]
public static unowned GData.AuthorizationDomain get_primary_authorization_domain ();
+ [Version (since = "0.9.0")]
public static unowned GData.AuthorizationDomain get_spreadsheet_authorization_domain ();
+ [Version (since = "0.5.0")]
public static string get_upload_uri (GData.DocumentsFolder? folder);
public GData.DocumentsFeed query_documents (GData.DocumentsQuery? query, GLib.Cancellable? cancellable, GData.QueryProgressCallback? progress_callback) throws GLib.Error;
+ [Version (since = "0.9.1")]
public async void query_documents_async (GData.DocumentsQuery? query, GLib.Cancellable? cancellable, owned GData.QueryProgressCallback? progress_callback);
+ [Version (since = "0.8.0")]
public GData.DocumentsEntry remove_entry_from_folder (GData.DocumentsEntry entry, GData.DocumentsFolder folder, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "0.8.0")]
public async GData.DocumentsEntry remove_entry_from_folder_async (GData.DocumentsEntry entry, GData.DocumentsFolder folder, GLib.Cancellable? cancellable) throws GLib.Error;
+ [Version (since = "0.8.0")]
public GData.UploadStream update_document (GData.DocumentsDocument document, string slug, string content_type, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "0.13.0")]
public GData.UploadStream update_document_resumable (GData.DocumentsDocument document, string slug, string content_type, int64 content_length, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "0.8.0")]
public GData.UploadStream upload_document (GData.DocumentsDocument? document, string slug, string content_type, GData.DocumentsFolder? folder, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "0.13.0")]
public GData.UploadStream upload_document_resumable (GData.DocumentsDocument? document, string slug, string content_type, int64 content_length, GData.DocumentsUploadQuery? query, GLib.Cancellable? cancellable = null) throws GLib.Error;
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_documents_spreadsheet_get_type ()")]
+ [Version (since = "0.4.0")]
public class DocumentsSpreadsheet : GData.DocumentsDocument, GData.AccessHandler {
[CCode (has_construct_function = false)]
public DocumentsSpreadsheet (string? id);
+ [Version (since = "0.5.0")]
public string get_download_uri (string export_format, int gid);
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_documents_text_get_type ()")]
+ [Version (since = "0.4.0")]
public class DocumentsText : GData.DocumentsDocument, GData.AccessHandler {
[CCode (has_construct_function = false)]
public DocumentsText (string? id);
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_documents_upload_query_get_type ()")]
+ [Version (since = "0.13.0")]
public class DocumentsUploadQuery : GLib.Object {
[CCode (has_construct_function = false)]
public DocumentsUploadQuery ();
@@ -656,16 +894,22 @@ namespace GData {
public GData.DocumentsFolder folder { get; set; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_download_stream_get_type ()")]
+ [Version (since = "0.5.0")]
public class DownloadStream : GLib.InputStream, GLib.Seekable {
[CCode (has_construct_function = false, type = "GInputStream*")]
+ [Version (since = "0.9.0")]
public DownloadStream (GData.Service service, GData.AuthorizationDomain? domain, string download_uri, GLib.Cancellable? cancellable = null);
+ [Version (since = "0.9.0")]
public unowned GData.AuthorizationDomain? get_authorization_domain ();
+ [Version (since = "0.8.0")]
public unowned GLib.Cancellable get_cancellable ();
public ssize_t get_content_length ();
public unowned string get_content_type ();
public unowned string get_download_uri ();
public unowned GData.Service get_service ();
+ [Version (since = "0.9.0")]
public GData.AuthorizationDomain authorization_domain { get; construct; }
+ [Version (since = "0.8.0")]
public GLib.Cancellable cancellable { get; construct; }
public long content_length { get; }
public string content_type { get; }
@@ -679,33 +923,49 @@ namespace GData {
public void add_author (GData.Author author);
public void add_category (GData.Category category);
public void add_link (GData.Link _link);
+ [Version (since = "0.7.0")]
public unowned GLib.List<GData.Author> get_authors ();
+ [Version (since = "0.2.0")]
public unowned GLib.List<GData.Category> get_categories ();
public unowned string get_content ();
+ [Version (since = "0.7.0")]
public unowned string get_content_uri ();
+ [Version (since = "0.2.0")]
public unowned string get_etag ();
public unowned string get_id ();
public int64 get_published ();
+ [Version (since = "0.5.0")]
public unowned string get_rights ();
+ [Version (since = "0.4.0")]
public unowned string get_summary ();
public unowned string get_title ();
public int64 get_updated ();
+ [Version (since = "0.1.1")]
public unowned GData.Link look_up_link (string rel);
+ [Version (since = "0.4.0")]
public GLib.List<weak GData.Link> look_up_links (string rel);
+ [Version (since = "0.10.0")]
public bool remove_link (GData.Link _link);
public void set_content (string? content);
+ [Version (since = "0.7.0")]
public void set_content_uri (string? content_uri);
+ [Version (since = "0.5.0")]
public void set_rights (string? rights);
+ [Version (since = "0.4.0")]
public void set_summary (string? summary);
public void set_title (string? title);
public string content { get; set; }
+ [Version (since = "0.7.0")]
public string content_uri { get; set; }
+ [Version (since = "0.2.0")]
public string etag { get; construct; }
public string id { get; construct; }
[NoAccessorMethod]
public bool is_inserted { get; }
public int64 published { get; }
+ [Version (since = "0.5.0")]
public string rights { get; set; }
+ [Version (since = "0.4.0")]
public string summary { get; set; }
public string title { get; set; }
public int64 updated { get; }
@@ -717,27 +977,35 @@ namespace GData {
public unowned GLib.List<GData.Author> get_authors ();
public unowned GLib.List<GData.Category> get_categories ();
public unowned GLib.List<GData.Entry> get_entries ();
+ [Version (since = "0.2.0")]
public unowned string get_etag ();
public unowned GData.Generator get_generator ();
+ [Version (since = "0.6.0")]
public unowned string get_icon ();
public unowned string get_id ();
public uint get_items_per_page ();
public unowned GLib.List<GData.Link> get_links ();
public unowned string get_logo ();
+ [Version (since = "0.7.0")]
public unowned string get_rights ();
public uint get_start_index ();
public unowned string get_subtitle ();
public unowned string get_title ();
public uint get_total_results ();
public int64 get_updated ();
+ [Version (since = "0.2.0")]
public unowned GData.Entry look_up_entry (string id);
+ [Version (since = "0.1.1")]
public unowned GData.Link look_up_link (string rel);
+ [Version (since = "0.2.0")]
public string etag { get; }
public GData.Generator generator { get; }
+ [Version (since = "0.6.0")]
public string icon { get; }
public string id { get; }
public uint items_per_page { get; }
public string logo { get; }
+ [Version (since = "0.7.0")]
public string rights { get; }
public uint start_index { get; }
public string subtitle { get; }
@@ -746,6 +1014,7 @@ namespace GData {
public int64 updated { get; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_freebase_query_get_type ()")]
+ [Version (since = "0.15.1")]
public class FreebaseQuery : GData.Query {
[CCode (has_construct_function = false)]
public FreebaseQuery (string mql);
@@ -755,6 +1024,7 @@ namespace GData {
public GLib.Variant variant { owned get; construct; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_freebase_result_get_type ()")]
+ [Version (since = "0.15.1")]
public class FreebaseResult : GData.Entry {
[CCode (has_construct_function = false)]
public FreebaseResult ();
@@ -763,6 +1033,7 @@ namespace GData {
public GLib.Variant variant { owned get; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_freebase_search_query_get_type ()")]
+ [Version (since = "0.15.1")]
public class FreebaseSearchQuery : GData.Query {
[CCode (has_construct_function = false)]
public FreebaseSearchQuery (string search_terms);
@@ -778,6 +1049,7 @@ namespace GData {
public bool stemmed { get; set; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_freebase_search_result_get_type ()")]
+ [Version (since = "0.15.1")]
public class FreebaseSearchResult : GData.FreebaseResult {
[CCode (has_construct_function = false)]
public FreebaseSearchResult ();
@@ -787,6 +1059,7 @@ namespace GData {
}
[CCode (cheader_filename = "gdata/gdata.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gdata_freebase_search_result_item_get_type ()")]
[Compact]
+ [Version (since = "0.15.1")]
public class FreebaseSearchResultItem {
public unowned string get_id ();
public unowned string get_language ();
@@ -797,10 +1070,12 @@ namespace GData {
public double get_score ();
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_freebase_service_get_type ()")]
+ [Version (since = "0.15.1")]
public class FreebaseService : GData.Service {
[CCode (has_construct_function = false)]
public FreebaseService (string? developer_key, GData.Authorizer? authorizer);
public GLib.InputStream get_image (GData.FreebaseTopicValue value, GLib.Cancellable? cancellable, uint max_width, uint max_height) throws GLib.Error;
+ [Version (since = "0.9.0")]
public static unowned GData.AuthorizationDomain get_primary_authorization_domain ();
public GData.FreebaseTopicResult get_topic (GData.FreebaseTopicQuery query, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async void get_topic_async (GData.FreebaseTopicQuery query, GLib.Cancellable? cancellable);
@@ -813,6 +1088,7 @@ namespace GData {
}
[CCode (cheader_filename = "gdata/gdata.h", ref_function = "gdata_freebase_topic_object_ref", type_id = "gdata_freebase_topic_object_get_type ()", unref_function = "gdata_freebase_topic_object_unref")]
[Compact]
+ [Version (since = "0.15.1")]
public class FreebaseTopicObject {
public unowned string get_id ();
public uint64 get_property_count (string property);
@@ -823,6 +1099,7 @@ namespace GData {
public void unref ();
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_freebase_topic_query_get_type ()")]
+ [Version (since = "0.15.1")]
public class FreebaseTopicQuery : GData.Query {
[CCode (has_construct_function = false)]
public FreebaseTopicQuery (string id);
@@ -836,6 +1113,7 @@ namespace GData {
public string language { get; set; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_freebase_topic_result_get_type ()")]
+ [Version (since = "0.15.1")]
public class FreebaseTopicResult : GData.FreebaseResult {
[CCode (has_construct_function = false)]
public FreebaseTopicResult ();
@@ -843,6 +1121,7 @@ namespace GData {
}
[CCode (cheader_filename = "gdata/gdata.h", ref_function = "gdata_freebase_topic_value_ref", type_id = "gdata_freebase_topic_value_get_type ()", unref_function = "gdata_freebase_topic_value_unref")]
[Compact]
+ [Version (since = "0.15.1")]
public class FreebaseTopicValue {
public GLib.Value copy_value ();
public unowned string get_creator ();
@@ -860,6 +1139,7 @@ namespace GData {
public void unref ();
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_gcontact_calendar_get_type ()")]
+ [Version (since = "0.7.0")]
public class GContactCalendar : GData.Parsable, GData.Comparable {
[CCode (has_construct_function = false)]
public GContactCalendar (string uri, string? relation_type, string? label, bool is_primary);
@@ -877,6 +1157,7 @@ namespace GData {
public string uri { get; set; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_gcontact_event_get_type ()")]
+ [Version (since = "0.7.0")]
public class GContactEvent : GData.Parsable {
[CCode (has_construct_function = false)]
public GContactEvent (GLib.Date date, string? relation_type, string? label);
@@ -891,6 +1172,7 @@ namespace GData {
public string relation_type { get; set; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_gcontact_external_id_get_type ()")]
+ [Version (since = "0.7.0")]
public class GContactExternalID : GData.Parsable, GData.Comparable {
[CCode (has_construct_function = false)]
public GContactExternalID (string value, string? relation_type, string? label);
@@ -905,6 +1187,7 @@ namespace GData {
public string value { get; set; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_gcontact_jot_get_type ()")]
+ [Version (since = "0.7.0")]
public class GContactJot : GData.Parsable {
[CCode (has_construct_function = false)]
public GContactJot (string content, string relation_type);
@@ -916,6 +1199,7 @@ namespace GData {
public string relation_type { get; set; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_gcontact_language_get_type ()")]
+ [Version (since = "0.7.0")]
public class GContactLanguage : GData.Parsable, GData.Comparable {
[CCode (has_construct_function = false)]
public GContactLanguage (string? code, string? label);
@@ -927,6 +1211,7 @@ namespace GData {
public string label { get; set; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_gcontact_relation_get_type ()")]
+ [Version (since = "0.7.0")]
public class GContactRelation : GData.Parsable {
[CCode (has_construct_function = false)]
public GContactRelation (string name, string? relation_type, string? label);
@@ -941,6 +1226,7 @@ namespace GData {
public string relation_type { get; set; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_gcontact_website_get_type ()")]
+ [Version (since = "0.7.0")]
public class GContactWebsite : GData.Parsable, GData.Comparable {
[CCode (has_construct_function = false)]
public GContactWebsite (string uri, string relation_type, string? label, bool is_primary);
@@ -958,46 +1244,77 @@ namespace GData {
public string uri { get; set; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_gd_email_address_get_type ()")]
+ [Version (since = "0.2.0")]
public class GDEmailAddress : GData.Parsable, GData.Comparable {
[CCode (has_construct_function = false)]
public GDEmailAddress (string address, string? relation_type, string? label, bool is_primary);
+ [Version (since = "0.4.0")]
public unowned string get_address ();
+ [Version (since = "0.6.0")]
public unowned string get_display_name ();
+ [Version (since = "0.4.0")]
public unowned string get_label ();
+ [Version (since = "0.4.0")]
public unowned string get_relation_type ();
+ [Version (since = "0.4.0")]
public void set_address (string address);
+ [Version (since = "0.6.0")]
public void set_display_name (string? display_name);
+ [Version (since = "0.4.0")]
public void set_is_primary (bool is_primary);
+ [Version (since = "0.4.0")]
public void set_label (string? label);
+ [Version (since = "0.4.0")]
public void set_relation_type (string? relation_type);
+ [Version (since = "0.4.0")]
public string address { get; set; }
+ [Version (since = "0.6.0")]
public string display_name { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.4.0")]
public bool is_primary { get; set; }
+ [Version (since = "0.4.0")]
public string label { get; set; }
+ [Version (since = "0.4.0")]
public string relation_type { get; set; }
}
[CCode (cheader_filename = "gdata/gdata.h", lower_case_csuffix = "gd_im_address", type_id = "gdata_gd_im_address_get_type ()")]
+ [Version (since = "0.2.0")]
public class GDIMAddress : GData.Parsable, GData.Comparable {
[CCode (has_construct_function = false)]
public GDIMAddress (string address, string? protocol, string? relation_type, string? label, bool is_primary);
+ [Version (since = "0.4.0")]
public unowned string get_address ();
+ [Version (since = "0.4.0")]
public unowned string get_label ();
+ [Version (since = "0.4.0")]
public unowned string get_protocol ();
+ [Version (since = "0.4.0")]
public unowned string get_relation_type ();
+ [Version (since = "0.4.0")]
public void set_address (string address);
+ [Version (since = "0.4.0")]
public void set_is_primary (bool is_primary);
+ [Version (since = "0.4.0")]
public void set_label (string? label);
+ [Version (since = "0.4.0")]
public void set_protocol (string? protocol);
+ [Version (since = "0.4.0")]
public void set_relation_type (string? relation_type);
+ [Version (since = "0.4.0")]
public string address { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.4.0")]
public bool is_primary { get; set; }
+ [Version (since = "0.4.0")]
public string label { get; set; }
+ [Version (since = "0.4.0")]
public string protocol { get; set; }
+ [Version (since = "0.4.0")]
public string relation_type { get; set; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_gd_name_get_type ()")]
+ [Version (since = "0.5.0")]
public class GDName : GData.Parsable, GData.Comparable {
[CCode (has_construct_function = false)]
public GDName (string? given_name, string? family_name);
@@ -1021,187 +1338,331 @@ namespace GData {
public string suffix { get; set; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_gd_organization_get_type ()")]
+ [Version (since = "0.2.0")]
public class GDOrganization : GData.Parsable, GData.Comparable {
[CCode (has_construct_function = false)]
public GDOrganization (string? name, string? title, string? relation_type, string? label, bool is_primary);
+ [Version (since = "0.5.0")]
public unowned string get_department ();
+ [Version (since = "0.5.0")]
public unowned string get_job_description ();
+ [Version (since = "0.4.0")]
public unowned string get_label ();
+ [Version (since = "0.6.0")]
public unowned GData.GDWhere get_location ();
+ [Version (since = "0.4.0")]
public unowned string get_name ();
+ [Version (since = "0.4.0")]
public unowned string get_relation_type ();
+ [Version (since = "0.5.0")]
public unowned string get_symbol ();
+ [Version (since = "0.4.0")]
public unowned string get_title ();
+ [Version (since = "0.5.0")]
public void set_department (string? department);
+ [Version (since = "0.4.0")]
public void set_is_primary (bool is_primary);
+ [Version (since = "0.5.0")]
public void set_job_description (string? job_description);
+ [Version (since = "0.4.0")]
public void set_label (string? label);
+ [Version (since = "0.6.0")]
public void set_location (GData.GDWhere? location);
+ [Version (since = "0.4.0")]
public void set_name (string? name);
+ [Version (since = "0.4.0")]
public void set_relation_type (string? relation_type);
+ [Version (since = "0.5.0")]
public void set_symbol (string? symbol);
+ [Version (since = "0.4.0")]
public void set_title (string? title);
+ [Version (since = "0.5.0")]
public string department { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.4.0")]
public bool is_primary { get; set; }
+ [Version (since = "0.5.0")]
public string job_description { get; set; }
+ [Version (since = "0.4.0")]
public string label { get; set; }
+ [Version (since = "0.6.0")]
public GData.GDWhere location { get; set; }
+ [Version (since = "0.4.0")]
public string name { get; set; }
+ [Version (since = "0.4.0")]
public string relation_type { get; set; }
+ [Version (since = "0.5.0")]
public string symbol { get; set; }
+ [Version (since = "0.4.0")]
public string title { get; set; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_gd_phone_number_get_type ()")]
+ [Version (since = "0.2.0")]
public class GDPhoneNumber : GData.Parsable, GData.Comparable {
[CCode (has_construct_function = false)]
public GDPhoneNumber (string number, string? relation_type, string? label, string? uri, bool is_primary);
+ [Version (since = "0.4.0")]
public unowned string get_label ();
+ [Version (since = "0.4.0")]
public unowned string get_number ();
+ [Version (since = "0.4.0")]
public unowned string get_relation_type ();
+ [Version (since = "0.4.0")]
public unowned string get_uri ();
+ [Version (since = "0.4.0")]
public void set_is_primary (bool is_primary);
+ [Version (since = "0.4.0")]
public void set_label (string? label);
+ [Version (since = "0.4.0")]
public void set_number (string number);
+ [Version (since = "0.4.0")]
public void set_relation_type (string? relation_type);
+ [Version (since = "0.4.0")]
public void set_uri (string? uri);
[NoAccessorMethod]
+ [Version (since = "0.4.0")]
public bool is_primary { get; set; }
+ [Version (since = "0.4.0")]
public string label { get; set; }
+ [Version (since = "0.4.0")]
public string number { get; set; }
+ [Version (since = "0.4.0")]
public string relation_type { get; set; }
+ [Version (since = "0.4.0")]
public string uri { get; set; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_gd_postal_address_get_type ()")]
+ [Version (since = "0.2.0")]
public class GDPostalAddress : GData.Parsable, GData.Comparable {
[CCode (has_construct_function = false)]
public GDPostalAddress (string? relation_type, string? label, bool is_primary);
+ [Version (since = "0.4.0")]
public unowned string get_address ();
+ [Version (since = "0.5.0")]
public unowned string get_agent ();
+ [Version (since = "0.5.0")]
public unowned string get_city ();
+ [Version (since = "0.5.0")]
public unowned string get_country ();
+ [Version (since = "0.5.0")]
public unowned string get_country_code ();
+ [Version (since = "0.5.0")]
public unowned string get_house_name ();
+ [Version (since = "0.4.0")]
public unowned string get_label ();
+ [Version (since = "0.5.0")]
public unowned string get_mail_class ();
+ [Version (since = "0.5.0")]
public unowned string get_neighborhood ();
+ [Version (since = "0.5.0")]
public unowned string get_po_box ();
+ [Version (since = "0.5.0")]
public unowned string get_postcode ();
+ [Version (since = "0.5.0")]
public unowned string get_region ();
+ [Version (since = "0.4.0")]
public unowned string get_relation_type ();
+ [Version (since = "0.5.0")]
public unowned string get_street ();
+ [Version (since = "0.5.0")]
public unowned string get_subregion ();
+ [Version (since = "0.5.0")]
public unowned string get_usage ();
+ [Version (since = "0.4.0")]
public void set_address (string? address);
+ [Version (since = "0.5.0")]
public void set_agent (string? agent);
+ [Version (since = "0.5.0")]
public void set_city (string? city);
+ [Version (since = "0.5.0")]
public void set_country (string? country, string? country_code);
+ [Version (since = "0.5.0")]
public void set_house_name (string? house_name);
+ [Version (since = "0.4.0")]
public void set_is_primary (bool is_primary);
+ [Version (since = "0.4.0")]
public void set_label (string? label);
+ [Version (since = "0.5.0")]
public void set_mail_class (string? mail_class);
+ [Version (since = "0.5.0")]
public void set_neighborhood (string? neighborhood);
+ [Version (since = "0.5.0")]
public void set_po_box (string? po_box);
+ [Version (since = "0.5.0")]
public void set_postcode (string? postcode);
+ [Version (since = "0.5.0")]
public void set_region (string? region);
+ [Version (since = "0.4.0")]
public void set_relation_type (string? relation_type);
+ [Version (since = "0.5.0")]
public void set_street (string? street);
+ [Version (since = "0.5.0")]
public void set_subregion (string? subregion);
+ [Version (since = "0.5.0")]
public void set_usage (string? usage);
+ [Version (since = "0.4.0")]
public string address { get; set; }
+ [Version (since = "0.5.0")]
public string agent { get; set; }
+ [Version (since = "0.5.0")]
public string city { get; set; }
+ [Version (since = "0.5.0")]
public string country { get; }
+ [Version (since = "0.5.0")]
public string country_code { get; }
+ [Version (since = "0.5.0")]
public string house_name { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.4.0")]
public bool is_primary { get; set; }
+ [Version (since = "0.4.0")]
public string label { get; set; }
+ [Version (since = "0.5.0")]
public string mail_class { get; set; }
+ [Version (since = "0.5.0")]
public string neighborhood { get; set; }
+ [Version (since = "0.5.0")]
public string po_box { get; set; }
+ [Version (since = "0.5.0")]
public string postcode { get; set; }
+ [Version (since = "0.5.0")]
public string region { get; set; }
+ [Version (since = "0.4.0")]
public string relation_type { get; set; }
+ [Version (since = "0.5.0")]
public string street { get; set; }
+ [Version (since = "0.5.0")]
public string subregion { get; set; }
+ [Version (since = "0.5.0")]
public string usage { get; set; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_gd_reminder_get_type ()")]
+ [Version (since = "0.2.0")]
public class GDReminder : GData.Parsable, GData.Comparable {
[CCode (has_construct_function = false)]
public GDReminder (string? method, int64 absolute_time, int relative_time);
+ [Version (since = "0.4.0")]
public int64 get_absolute_time ();
+ [Version (since = "0.4.0")]
public unowned string get_method ();
+ [Version (since = "0.4.0")]
public int get_relative_time ();
+ [Version (since = "0.4.0")]
public void set_absolute_time (int64 absolute_time);
+ [Version (since = "0.4.0")]
public void set_method (string? method);
+ [Version (since = "0.4.0")]
public void set_relative_time (int relative_time);
+ [Version (since = "0.4.0")]
public int64 absolute_time { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.4.0")]
public bool is_absolute_time { get; }
+ [Version (since = "0.4.0")]
public string method { get; set; }
+ [Version (since = "0.4.0")]
public int relative_time { get; set; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_gd_when_get_type ()")]
+ [Version (since = "0.2.0")]
public class GDWhen : GData.Parsable, GData.Comparable {
[CCode (has_construct_function = false)]
public GDWhen (int64 start_time, int64 end_time, bool is_date);
+ [Version (since = "0.7.0")]
public void add_reminder (GData.GDReminder reminder);
+ [Version (since = "0.4.0")]
public int64 get_end_time ();
+ [Version (since = "0.4.0")]
public unowned GLib.List<GData.GDReminder> get_reminders ();
+ [Version (since = "0.4.0")]
public int64 get_start_time ();
+ [Version (since = "0.4.0")]
public unowned string get_value_string ();
+ [Version (since = "0.4.0")]
public void set_end_time (int64 end_time);
+ [Version (since = "0.4.0")]
public void set_is_date (bool is_date);
+ [Version (since = "0.4.0")]
public void set_start_time (int64 start_time);
+ [Version (since = "0.4.0")]
public void set_value_string (string? value_string);
+ [Version (since = "0.4.0")]
public int64 end_time { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.4.0")]
public bool is_date { get; set; }
+ [Version (since = "0.4.0")]
public int64 start_time { get; set; }
+ [Version (since = "0.4.0")]
public string value_string { get; set; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_gd_where_get_type ()")]
+ [Version (since = "0.2.0")]
public class GDWhere : GData.Parsable, GData.Comparable {
[CCode (has_construct_function = false)]
public GDWhere (string? relation_type, string? value_string, string? label);
+ [Version (since = "0.4.0")]
public unowned string get_label ();
+ [Version (since = "0.4.0")]
public unowned string get_relation_type ();
+ [Version (since = "0.4.0")]
public unowned string get_value_string ();
+ [Version (since = "0.4.0")]
public void set_label (string? label);
+ [Version (since = "0.4.0")]
public void set_relation_type (string? relation_type);
+ [Version (since = "0.4.0")]
public void set_value_string (string? value_string);
+ [Version (since = "0.4.0")]
public string label { get; set; }
+ [Version (since = "0.4.0")]
public string relation_type { get; set; }
+ [Version (since = "0.4.0")]
public string value_string { get; set; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_gd_who_get_type ()")]
+ [Version (since = "0.2.0")]
public class GDWho : GData.Parsable, GData.Comparable {
[CCode (has_construct_function = false)]
public GDWho (string? relation_type, string? value_string, string? email_address);
+ [Version (since = "0.4.0")]
public unowned string get_email_address ();
+ [Version (since = "0.4.0")]
public unowned string get_relation_type ();
+ [Version (since = "0.4.0")]
public unowned string get_value_string ();
+ [Version (since = "0.4.0")]
public void set_email_address (string? email_address);
+ [Version (since = "0.4.0")]
public void set_relation_type (string? relation_type);
+ [Version (since = "0.4.0")]
public void set_value_string (string? value_string);
+ [Version (since = "0.4.0")]
public string email_address { get; set; }
+ [Version (since = "0.4.0")]
public string relation_type { get; set; }
+ [Version (since = "0.4.0")]
public string value_string { get; set; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_generator_get_type ()")]
public class Generator : GData.Parsable, GData.Comparable {
[CCode (has_construct_function = false)]
protected Generator ();
+ [Version (since = "0.4.0")]
public unowned string get_name ();
+ [Version (since = "0.4.0")]
public unowned string get_uri ();
+ [Version (since = "0.4.0")]
public unowned string get_version ();
+ [Version (since = "0.4.0")]
public string name { get; }
+ [Version (since = "0.4.0")]
public string uri { get; }
+ [Version (since = "0.4.0")]
public string version { get; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_goa_authorizer_get_type ()")]
+ [Version (since = "0.13.1")]
public class GoaAuthorizer : GLib.Object, GData.Authorizer {
[CCode (has_construct_function = false)]
public GoaAuthorizer (Goa.Object goa_object);
@@ -1212,89 +1673,150 @@ namespace GData {
public class Link : GData.Parsable, GData.Comparable {
[CCode (has_construct_function = false)]
public Link (string uri, string? relation_type);
+ [Version (since = "0.4.0")]
public unowned string get_content_type ();
+ [Version (since = "0.4.0")]
public unowned string get_language ();
+ [Version (since = "0.4.0")]
public int get_length ();
+ [Version (since = "0.4.0")]
public unowned string get_relation_type ();
+ [Version (since = "0.4.0")]
public unowned string get_title ();
+ [Version (since = "0.4.0")]
public unowned string get_uri ();
+ [Version (since = "0.4.0")]
public void set_content_type (string? content_type);
+ [Version (since = "0.4.0")]
public void set_language (string? language);
+ [Version (since = "0.4.0")]
public void set_length (int length);
+ [Version (since = "0.4.0")]
public void set_relation_type (string? relation_type);
+ [Version (since = "0.4.0")]
public void set_title (string? title);
+ [Version (since = "0.4.0")]
public void set_uri (string uri);
+ [Version (since = "0.4.0")]
public string content_type { get; set; }
+ [Version (since = "0.4.0")]
public string language { get; set; }
+ [Version (since = "0.4.0")]
public int length { get; set; }
+ [Version (since = "0.4.0")]
public string relation_type { get; set; }
+ [Version (since = "0.4.0")]
public string title { get; set; }
+ [Version (since = "0.4.0")]
public string uri { get; set; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_media_category_get_type ()")]
public class MediaCategory : GData.Parsable {
[CCode (has_construct_function = false)]
public MediaCategory (string category, string? scheme, string? label);
+ [Version (since = "0.4.0")]
public unowned string get_category ();
+ [Version (since = "0.4.0")]
public unowned string get_label ();
+ [Version (since = "0.4.0")]
public unowned string get_scheme ();
+ [Version (since = "0.4.0")]
public void set_category (string category);
+ [Version (since = "0.4.0")]
public void set_label (string? label);
+ [Version (since = "0.4.0")]
public void set_scheme (string? scheme);
+ [Version (since = "0.4.0")]
public string category { get; set; }
+ [Version (since = "0.4.0")]
public string label { get; set; }
+ [Version (since = "0.4.0")]
public string scheme { get; set; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_media_content_get_type ()")]
public class MediaContent : GData.Parsable {
[CCode (has_construct_function = false)]
protected MediaContent ();
+ [Version (since = "0.8.0")]
public GData.DownloadStream download (GData.Service service, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "0.4.0")]
public unowned string get_content_type ();
+ [Version (since = "0.4.0")]
public int64 get_duration ();
+ [Version (since = "0.4.0")]
public GData.MediaExpression get_expression ();
+ [Version (since = "0.4.0")]
public size_t get_filesize ();
+ [Version (since = "0.4.0")]
public uint get_height ();
+ [Version (since = "0.4.0")]
public GData.MediaMedium get_medium ();
+ [Version (since = "0.4.0")]
public unowned string get_uri ();
+ [Version (since = "0.4.0")]
public uint get_width ();
+ [Version (since = "0.4.0")]
public string content_type { get; }
+ [Version (since = "0.4.0")]
public int64 duration { get; }
+ [Version (since = "0.4.0")]
public GData.MediaExpression expression { get; }
+ [Version (since = "0.4.0")]
public ulong filesize { get; }
+ [Version (since = "0.4.0")]
public uint height { get; }
[NoAccessorMethod]
+ [Version (since = "0.4.0")]
public bool is_default { get; }
+ [Version (since = "0.4.0")]
public GData.MediaMedium medium { get; }
+ [Version (since = "0.4.0")]
public string uri { get; }
+ [Version (since = "0.4.0")]
public uint width { get; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_media_credit_get_type ()")]
public class MediaCredit : GData.Parsable {
[CCode (has_construct_function = false)]
protected MediaCredit ();
+ [Version (since = "0.4.0")]
public unowned string get_credit ();
+ [Version (since = "0.4.0")]
public unowned string get_role ();
+ [Version (since = "0.4.0")]
public unowned string get_scheme ();
+ [Version (since = "0.4.0")]
public string credit { get; }
+ [Version (since = "0.4.0")]
public string role { get; }
+ [Version (since = "0.4.0")]
public string scheme { get; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_media_thumbnail_get_type ()")]
public class MediaThumbnail : GData.Parsable {
[CCode (has_construct_function = false)]
protected MediaThumbnail ();
+ [Version (since = "0.8.0")]
public GData.DownloadStream download (GData.Service service, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "0.4.0")]
public uint get_height ();
+ [Version (since = "0.4.0")]
public int64 get_time ();
+ [Version (since = "0.4.0")]
public unowned string get_uri ();
+ [Version (since = "0.4.0")]
public uint get_width ();
+ [Version (since = "0.4.0")]
public uint height { get; }
+ [Version (since = "0.4.0")]
public int64 time { get; }
+ [Version (since = "0.4.0")]
public string uri { get; }
+ [Version (since = "0.4.0")]
public uint width { get; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_oauth1_authorizer_get_type ()")]
+ [Version (since = "0.9.0")]
public class OAuth1Authorizer : GLib.Object, GData.Authorizer {
[CCode (has_construct_function = false)]
public OAuth1Authorizer (string? application_name, GLib.Type service_type);
@@ -1302,8 +1824,9 @@ namespace GData {
public OAuth1Authorizer.for_authorization_domains (string? application_name, GLib.List<GData.AuthorizationDomain> authorization_domains);
public unowned string? get_application_name ();
public unowned string? get_locale ();
+ [Version (since = "0.15.0")]
public unowned GLib.ProxyResolver? get_proxy_resolver ();
- [Deprecated (since = "0.15.0")]
+ [Version (deprecated = true, deprecated_since = "0.15.0", since = "0.9.0")]
public Soup.URI? get_proxy_uri ();
public uint get_timeout ();
public string request_authentication_uri (out string token, out string token_secret, GLib.Cancellable? cancellable = null) throws GLib.Error;
@@ -1311,22 +1834,26 @@ namespace GData {
public bool request_authorization (string token, string token_secret, string verifier, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool request_authorization_async (string token, string token_secret, string verifier, GLib.Cancellable? cancellable) throws GLib.Error;
public void set_locale (string? locale);
+ [Version (since = "0.15.0")]
public void set_proxy_resolver (GLib.ProxyResolver? proxy_resolver);
- [Deprecated (since = "0.15.0")]
+ [Version (deprecated = true, deprecated_since = "0.15.0", since = "0.9.0")]
public void set_proxy_uri (Soup.URI? proxy_uri);
public void set_timeout (uint timeout);
public string application_name { get; construct; }
public string locale { get; set; }
+ [Version (since = "0.15.0")]
public GLib.ProxyResolver proxy_resolver { get; set; }
- [Deprecated (since = "0.15.0")]
+ [Version (deprecated = true, deprecated_since = "0.15.0", since = "0.9.0")]
public Soup.URI proxy_uri { owned get; set; }
public uint timeout { get; set; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_oauth2_authorizer_get_type ()")]
+ [Version (since = "0.17.0")]
public class OAuth2Authorizer : GLib.Object, GData.Authorizer {
[CCode (has_construct_function = false)]
public OAuth2Authorizer (string client_id, string client_secret, string redirect_uri, GLib.Type service_type);
public string build_authentication_uri (string? login_hint, bool include_granted_scopes);
+ [Version (since = "0.17.2")]
public string dup_refresh_token ();
[CCode (has_construct_function = false)]
public OAuth2Authorizer.for_authorization_domains (string client_id, string client_secret, string redirect_uri, GLib.List<GData.AuthorizationDomain> authorization_domains);
@@ -1340,6 +1867,7 @@ namespace GData {
public async bool request_authorization_async (string authorization_code, GLib.Cancellable? cancellable) throws GLib.Error;
public void set_locale (string? locale);
public void set_proxy_resolver (GLib.ProxyResolver? proxy_resolver);
+ [Version (since = "0.17.2")]
public void set_refresh_token (string? refresh_token);
public void set_timeout (uint timeout);
public string client_id { get; construct; }
@@ -1348,20 +1876,25 @@ namespace GData {
public GLib.ProxyResolver proxy_resolver { get; set; }
public string redirect_uri { get; construct; }
[NoAccessorMethod]
+ [Version (since = "0.17.2")]
public string refresh_token { owned get; set; }
public uint timeout { get; set; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_parsable_get_type ()")]
+ [Version (since = "0.3.0")]
public abstract class Parsable : GLib.Object {
[CCode (has_construct_function = false)]
protected Parsable ();
[CCode (has_construct_function = false)]
+ [Version (since = "0.15.0")]
public Parsable.from_json (GLib.Type parsable_type, string json, int length) throws GLib.Error;
[CCode (has_construct_function = false)]
+ [Version (since = "0.4.0")]
public Parsable.from_xml (GLib.Type parsable_type, string xml, int length) throws GLib.Error;
[NoWrapper]
public virtual void get_json (Json.Builder builder);
[CCode (cname = "gdata_parsable_get_json")]
+ [Version (since = "0.15.0")]
public string get_json_string ();
[NoWrapper]
public virtual void get_namespaces (GLib.HashTable<void*,void*> namespaces);
@@ -1380,17 +1913,21 @@ namespace GData {
[NoWrapper]
public virtual bool pre_parse_xml (Xml.Doc doc, Xml.Node root_node) throws GLib.Error;
[NoAccessorMethod]
+ [Version (since = "0.7.0")]
public bool constructed_from_xml { get; construct; }
}
[CCode (cheader_filename = "gdata/gdata.h", lower_case_csuffix = "picasaweb_album", type_id = "gdata_picasaweb_album_get_type ()")]
+ [Version (since = "0.4.0")]
public class PicasaWebAlbum : GData.Entry {
[CCode (has_construct_function = false)]
public PicasaWebAlbum (string? id);
public long get_bytes_used ();
public uint get_comment_count ();
public unowned GLib.List<GData.MediaContent> get_contents ();
+ [Version (since = "0.5.0")]
public void get_coordinates (out double latitude, out double longitude);
public int64 get_edited ();
+ [Version (since = "0.7.0")]
public unowned string get_id ();
public unowned string get_location ();
public unowned string get_nickname ();
@@ -1402,6 +1939,7 @@ namespace GData {
public int64 get_timestamp ();
public unowned string get_user ();
public GData.PicasaWebVisibility get_visibility ();
+ [Version (since = "0.5.0")]
public void set_coordinates (double latitude, double longitude);
public void set_is_commenting_enabled (bool is_commenting_enabled);
public void set_location (string? location);
@@ -1409,6 +1947,7 @@ namespace GData {
public void set_timestamp (int64 timestamp);
public void set_visibility (GData.PicasaWebVisibility visibility);
[NoAccessorMethod]
+ [Version (since = "0.7.0")]
public string album_id { owned get; construct; }
public long bytes_used { get; }
public uint comment_count { get; }
@@ -1416,9 +1955,11 @@ namespace GData {
[NoAccessorMethod]
public bool is_commenting_enabled { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.0")]
public double latitude { get; set; }
public string location { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.0")]
public double longitude { get; set; }
public string nickname { get; }
public uint num_photos { get; }
@@ -1430,16 +1971,19 @@ namespace GData {
public GData.PicasaWebVisibility visibility { get; set; }
}
[CCode (cheader_filename = "gdata/gdata.h", lower_case_csuffix = "picasaweb_comment", type_id = "gdata_picasaweb_comment_get_type ()")]
+ [Version (since = "0.10.0")]
public class PicasaWebComment : GData.Comment {
[CCode (has_construct_function = false)]
public PicasaWebComment (string id);
}
[CCode (cheader_filename = "gdata/gdata.h", lower_case_csuffix = "picasaweb_feed", type_id = "gdata_picasaweb_feed_get_type ()")]
+ [Version (since = "0.6.0")]
public class PicasaWebFeed : GData.Feed {
[CCode (has_construct_function = false)]
protected PicasaWebFeed ();
}
[CCode (cheader_filename = "gdata/gdata.h", lower_case_csuffix = "picasaweb_file", type_id = "gdata_picasaweb_file_get_type ()")]
+ [Version (since = "0.4.0")]
public class PicasaWebFile : GData.Entry, GData.Commentable {
[CCode (has_construct_function = false)]
public PicasaWebFile (string? id);
@@ -1448,19 +1992,30 @@ namespace GData {
public unowned string get_checksum ();
public uint get_comment_count ();
public unowned GLib.List<GData.MediaContent> get_contents ();
+ [Version (since = "0.5.0")]
public void get_coordinates (out double latitude, out double longitude);
public unowned string get_credit ();
+ [Version (since = "0.5.0")]
public double get_distance ();
public int64 get_edited ();
+ [Version (since = "0.5.0")]
public double get_exposure ();
+ [Version (since = "0.5.0")]
public bool get_flash ();
+ [Version (since = "0.5.0")]
public double get_focal_length ();
+ [Version (since = "0.5.0")]
public double get_fstop ();
public uint get_height ();
+ [Version (since = "0.7.0")]
public unowned string get_id ();
+ [Version (since = "0.5.0")]
public unowned string get_image_unique_id ();
+ [Version (since = "0.5.0")]
public int get_iso ();
+ [Version (since = "0.5.0")]
public unowned string get_make ();
+ [Version (since = "0.5.0")]
public unowned string get_model ();
public uint get_rotation ();
public size_t get_size ();
@@ -1474,6 +2029,7 @@ namespace GData {
public void set_album_id (string album_id);
public void set_caption (string? caption);
public void set_checksum (string? checksum);
+ [Version (since = "0.5.0")]
public void set_coordinates (double latitude, double longitude);
public void set_is_commenting_enabled (bool is_commenting_enabled);
public void set_rotation (uint rotation);
@@ -1484,24 +2040,36 @@ namespace GData {
public string checksum { get; set; }
public uint comment_count { get; }
public string credit { get; }
+ [Version (since = "0.5.0")]
public double distance { get; }
public int64 edited { get; }
+ [Version (since = "0.5.0")]
public double exposure { get; }
[NoAccessorMethod]
+ [Version (since = "0.7.0")]
public string file_id { owned get; construct; }
+ [Version (since = "0.5.0")]
public bool flash { get; }
+ [Version (since = "0.5.0")]
public double focal_length { get; }
+ [Version (since = "0.5.0")]
public double fstop { get; }
public uint height { get; }
+ [Version (since = "0.5.0")]
public string image_unique_id { get; }
[NoAccessorMethod]
public bool is_commenting_enabled { get; set; }
+ [Version (since = "0.5.0")]
public long iso { get; }
[NoAccessorMethod]
+ [Version (since = "0.5.0")]
public double latitude { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.0")]
public double longitude { get; set; }
+ [Version (since = "0.5.0")]
public string make { get; }
+ [Version (since = "0.5.0")]
public string model { get; }
public uint rotation { get; set; }
public ulong size { get; }
@@ -1513,6 +2081,7 @@ namespace GData {
public uint width { get; }
}
[CCode (cheader_filename = "gdata/gdata.h", lower_case_csuffix = "picasaweb_query", type_id = "gdata_picasaweb_query_get_type ()")]
+ [Version (since = "0.4.0")]
public class PicasaWebQuery : GData.Query {
[CCode (has_construct_function = false)]
public PicasaWebQuery (string? q);
@@ -1529,6 +2098,7 @@ namespace GData {
public void set_thumbnail_size (string? thumbnail_size);
public void set_visibility (GData.PicasaWebVisibility visibility);
[CCode (has_construct_function = false)]
+ [Version (since = "0.6.0")]
public PicasaWebQuery.with_limits (string? q, uint start_index, uint max_results);
public string image_size { get; set; }
public string location { get; set; }
@@ -1537,22 +2107,34 @@ namespace GData {
public int visibility { get; set; }
}
[CCode (cheader_filename = "gdata/gdata.h", lower_case_csuffix = "picasaweb_service", type_id = "gdata_picasaweb_service_get_type ()")]
+ [Version (since = "0.4.0")]
public class PicasaWebService : GData.Service {
[CCode (has_construct_function = false)]
+ [Version (since = "0.9.0")]
public PicasaWebService (GData.Authorizer? authorizer);
+ [Version (since = "0.8.0")]
public GData.PicasaWebFile finish_file_upload (GData.UploadStream upload_stream) throws GLib.Error;
+ [Version (since = "0.9.0")]
public static unowned GData.AuthorizationDomain get_primary_authorization_domain ();
+ [Version (since = "0.6.0")]
public GData.PicasaWebUser get_user (string? username, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "0.9.1")]
public async GData.PicasaWebUser get_user_async (string? username, GLib.Cancellable? cancellable) throws GLib.Error;
+ [Version (since = "0.6.0")]
public GData.PicasaWebAlbum insert_album (GData.PicasaWebAlbum album, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "0.8.0")]
public async void insert_album_async (GData.PicasaWebAlbum album, GLib.Cancellable? cancellable);
public GData.Feed query_all_albums (GData.Query? query, string? username, GLib.Cancellable? cancellable, GData.QueryProgressCallback? progress_callback) throws GLib.Error;
+ [Version (since = "0.9.1")]
public async void query_all_albums_async (GData.Query? query, string? username, GLib.Cancellable? cancellable, owned GData.QueryProgressCallback? progress_callback);
public GData.Feed query_files (GData.PicasaWebAlbum? album, GData.Query? query, GLib.Cancellable? cancellable, GData.QueryProgressCallback? progress_callback) throws GLib.Error;
+ [Version (since = "0.9.1")]
public async void query_files_async (GData.PicasaWebAlbum? album, GData.Query? query, GLib.Cancellable? cancellable, owned GData.QueryProgressCallback? progress_callback);
+ [Version (since = "0.8.0")]
public GData.UploadStream upload_file (GData.PicasaWebAlbum? album, GData.PicasaWebFile file_entry, string slug, string content_type, GLib.Cancellable? cancellable = null) throws GLib.Error;
}
[CCode (cheader_filename = "gdata/gdata.h", lower_case_csuffix = "picasaweb_user", type_id = "gdata_picasaweb_user_get_type ()")]
+ [Version (since = "0.6.0")]
public class PicasaWebUser : GData.Entry {
[CCode (has_construct_function = false)]
protected PicasaWebUser ();
@@ -1575,6 +2157,7 @@ namespace GData {
public Query (string? q);
public unowned string get_author ();
public unowned string get_categories ();
+ [Version (since = "0.2.0")]
public unowned string get_etag ();
public uint get_max_results ();
public int64 get_published_max ();
@@ -1589,7 +2172,9 @@ namespace GData {
public bool previous_page ();
public void set_author (string? author);
public void set_categories (string? categories);
+ [Version (since = "0.2.0")]
public void set_etag (string? etag);
+ [Version (since = "0.2.0")]
public void set_is_strict (bool is_strict);
public void set_max_results (uint max_results);
public void set_published_max (int64 published_max);
@@ -1602,8 +2187,10 @@ namespace GData {
public Query.with_limits (string? q, uint start_index, uint max_results);
public string author { get; set; }
public string categories { get; set; }
+ [Version (since = "0.2.0")]
public string etag { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.2.0")]
public bool is_strict { get; set; }
public uint max_results { get; set; }
public int64 published_max { get; set; }
@@ -1619,40 +2206,65 @@ namespace GData {
protected Service ();
[NoWrapper]
public virtual void append_query_headers (GData.AuthorizationDomain domain, Soup.Message message);
+ [Version (since = "0.9.0")]
public bool delete_entry (GData.AuthorizationDomain? domain, GData.Entry entry, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "0.9.0")]
public async bool delete_entry_async (GData.AuthorizationDomain? domain, GData.Entry entry, GLib.Cancellable? cancellable) throws GLib.Error;
+ [Version (since = "0.9.0")]
public static GLib.List<weak GData.AuthorizationDomain> get_authorization_domains (GLib.Type service_type);
+ [Version (since = "0.9.0")]
public unowned GData.Authorizer get_authorizer ();
+ [Version (since = "0.7.0")]
public unowned string get_locale ();
+ [Version (since = "0.15.0")]
public unowned GLib.ProxyResolver? get_proxy_resolver ();
- [Deprecated (since = "0.15.0")]
+ [Version (deprecated = true, deprecated_since = "0.15.0", since = "0.2.0")]
public unowned Soup.URI get_proxy_uri ();
+ [Version (since = "0.7.0")]
public uint get_timeout ();
+ [Version (since = "0.9.0")]
public GData.Entry insert_entry (GData.AuthorizationDomain? domain, string upload_uri, GData.Entry entry, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "0.9.0")]
public async GData.Entry insert_entry_async (GData.AuthorizationDomain? domain, string upload_uri, GData.Entry entry, GLib.Cancellable? cancellable) throws GLib.Error;
+ [Version (since = "0.9.0")]
public bool is_authorized ();
[NoWrapper]
public virtual void parse_error_response (GData.OperationType operation_type, uint status, string reason_phrase, string response_body, int length) throws GLib.Error;
+ [Version (since = "0.9.0")]
public GData.Feed query (GData.AuthorizationDomain? domain, string feed_uri, GData.Query? query, GLib.Type entry_type, GLib.Cancellable? cancellable, GData.QueryProgressCallback? progress_callback) throws GLib.Error;
+ [Version (since = "0.9.1")]
public async GData.Feed query_async (GData.AuthorizationDomain? domain, string feed_uri, GData.Query? query, GLib.Type entry_type, GLib.Cancellable? cancellable, owned GData.QueryProgressCallback? progress_callback) throws GLib.Error;
+ [Version (since = "0.9.0")]
public GData.Entry query_single_entry (GData.AuthorizationDomain? domain, string entry_id, GData.Query? query, GLib.Type entry_type, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "0.9.0")]
public async GData.Entry query_single_entry_async (GData.AuthorizationDomain? domain, string entry_id, GData.Query? query, GLib.Type entry_type, GLib.Cancellable? cancellable) throws GLib.Error;
+ [Version (since = "0.9.0")]
public void set_authorizer (GData.Authorizer authorizer);
+ [Version (since = "0.7.0")]
public void set_locale (string? locale);
+ [Version (since = "0.15.0")]
public void set_proxy_resolver (GLib.ProxyResolver? proxy_resolver);
- [Deprecated (since = "0.15.0")]
+ [Version (deprecated = true, deprecated_since = "0.15.0", since = "0.2.0")]
public void set_proxy_uri (Soup.URI? proxy_uri);
+ [Version (since = "0.7.0")]
public void set_timeout (uint timeout);
+ [Version (since = "0.9.0")]
public GData.Entry update_entry (GData.AuthorizationDomain? domain, GData.Entry entry, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "0.9.0")]
public async GData.Entry update_entry_async (GData.AuthorizationDomain? domain, GData.Entry entry, GLib.Cancellable? cancellable) throws GLib.Error;
+ [Version (since = "0.9.0")]
public GData.Authorizer authorizer { get; set; }
+ [Version (since = "0.7.0")]
public string locale { get; set; }
+ [Version (since = "0.15.0")]
public GLib.ProxyResolver proxy_resolver { get; set; }
- [Deprecated (since = "0.15.0")]
+ [Version (deprecated = true, deprecated_since = "0.15.0", since = "0.2.0")]
public Soup.URI proxy_uri { get; set; }
+ [Version (since = "0.7.0")]
public uint timeout { get; set; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_tasks_query_get_type ()")]
+ [Version (since = "0.15.0")]
public class TasksQuery : GData.Query {
[CCode (has_construct_function = false)]
public TasksQuery (string? q);
@@ -1679,6 +2291,7 @@ namespace GData {
public bool show_hidden { get; set; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_tasks_service_get_type ()")]
+ [Version (since = "0.15.0")]
public class TasksService : GData.Service {
[CCode (has_construct_function = false)]
public TasksService (GData.Authorizer? authorizer);
@@ -1701,6 +2314,7 @@ namespace GData {
public async void update_tasklist_async (GData.TasksTasklist tasklist, GLib.Cancellable? cancellable);
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_tasks_task_get_type ()")]
+ [Version (since = "0.15.0")]
public class TasksTask : GData.Entry {
[CCode (has_construct_function = false)]
public TasksTask (string? id);
@@ -1727,37 +2341,50 @@ namespace GData {
public string status { get; set; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_tasks_tasklist_get_type ()")]
+ [Version (since = "0.15.0")]
public class TasksTasklist : GData.Entry {
[CCode (has_construct_function = false)]
public TasksTasklist (string? id);
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_upload_stream_get_type ()")]
+ [Version (since = "0.5.0")]
public class UploadStream : GLib.OutputStream {
[CCode (has_construct_function = false, type = "GOutputStream*")]
+ [Version (since = "0.9.0")]
public UploadStream (GData.Service service, GData.AuthorizationDomain? domain, string method, string upload_uri, GData.Entry? entry, string slug, string content_type, GLib.Cancellable? cancellable = null);
+ [Version (since = "0.9.0")]
public unowned GData.AuthorizationDomain? get_authorization_domain ();
+ [Version (since = "0.8.0")]
public unowned GLib.Cancellable get_cancellable ();
+ [Version (since = "0.13.0")]
public int64 get_content_length ();
public unowned string get_content_type ();
public unowned GData.Entry get_entry ();
+ [Version (since = "0.7.0")]
public unowned string get_method ();
public unowned string get_response (out ssize_t length);
public unowned GData.Service get_service ();
public unowned string get_slug ();
public unowned string get_upload_uri ();
[CCode (has_construct_function = false, type = "GOutputStream*")]
+ [Version (since = "0.13.0")]
public UploadStream.resumable (GData.Service service, GData.AuthorizationDomain? domain, string method, string upload_uri, GData.Entry? entry, string slug, string content_type, int64 content_length, GLib.Cancellable? cancellable = null);
+ [Version (since = "0.9.0")]
public GData.AuthorizationDomain authorization_domain { get; construct; }
+ [Version (since = "0.8.0")]
public GLib.Cancellable cancellable { get; construct; }
+ [Version (since = "0.13.0")]
public int64 content_length { get; construct; }
public string content_type { get; construct; }
public GData.Entry entry { get; construct; }
+ [Version (since = "0.7.0")]
public string method { get; construct; }
public GData.Service service { get; construct; }
public string slug { get; construct; }
public string upload_uri { get; construct; }
}
[CCode (cheader_filename = "gdata/gdata.h", lower_case_csuffix = "youtube_category", type_id = "gdata_youtube_category_get_type ()")]
+ [Version (since = "0.7.0")]
public class YouTubeCategory : GData.Category, GData.Comparable {
[CCode (has_construct_function = false)]
protected YouTubeCategory ();
@@ -1768,6 +2395,7 @@ namespace GData {
public bool is_deprecated { get; }
}
[CCode (cheader_filename = "gdata/gdata.h", lower_case_csuffix = "youtube_comment", type_id = "gdata_youtube_comment_get_type ()")]
+ [Version (since = "0.10.0")]
public class YouTubeComment : GData.Comment {
[CCode (has_construct_function = false)]
public YouTubeComment (string id);
@@ -1776,7 +2404,7 @@ namespace GData {
public string parent_comment_uri { get; set; }
}
[CCode (cheader_filename = "gdata/gdata.h", lower_case_csuffix = "youtube_content", type_id = "gdata_youtube_content_get_type ()")]
- [Deprecated (since = "0.17.0")]
+ [Version (deprecated = true, deprecated_since = "0.17.0", since = "0.4.0")]
public class YouTubeContent : GData.MediaContent {
[CCode (has_construct_function = false)]
protected YouTubeContent ();
@@ -1784,7 +2412,7 @@ namespace GData {
public GData.YouTubeFormat format { get; }
}
[CCode (cheader_filename = "gdata/gdata.h", lower_case_csuffix = "youtube_credit", type_id = "gdata_youtube_credit_get_type ()")]
- [Deprecated (since = "0.17.0")]
+ [Version (deprecated = true, deprecated_since = "0.17.0", since = "0.4.0")]
public class YouTubeCredit : GData.MediaCredit {
[CCode (has_construct_function = false)]
protected YouTubeCredit ();
@@ -1792,52 +2420,57 @@ namespace GData {
public string entity_type { get; }
}
[CCode (cheader_filename = "gdata/gdata.h", lower_case_csuffix = "youtube_feed", type_id = "gdata_youtube_feed_get_type ()")]
+ [Version (since = "0.17.0")]
public class YouTubeFeed : GData.Feed {
[CCode (has_construct_function = false)]
protected YouTubeFeed ();
}
[CCode (cheader_filename = "gdata/gdata.h", lower_case_csuffix = "youtube_query", type_id = "gdata_youtube_query_get_type ()")]
+ [Version (since = "0.3.0")]
public class YouTubeQuery : GData.Query {
[CCode (has_construct_function = false)]
public YouTubeQuery (string? q);
public GData.YouTubeAge get_age ();
- [Deprecated (since = "0.17.0")]
+ [Version (deprecated = true, deprecated_since = "0.17.0", since = "0.3.0")]
public GData.YouTubeFormat get_format ();
- [Deprecated (since = "0.17.0")]
+ [Version (deprecated = true, deprecated_since = "0.17.0", since = "0.3.0")]
public unowned string get_language ();
+ [Version (since = "0.11.0")]
public unowned string get_license ();
public void get_location (out double latitude, out double longitude, out double radius, out bool has_location);
public unowned string get_order_by ();
public unowned string get_restriction ();
public GData.YouTubeSafeSearch get_safe_search ();
- [Deprecated (since = "0.17.0")]
+ [Version (deprecated = true, deprecated_since = "0.17.0", since = "0.3.0")]
public GData.YouTubeSortOrder get_sort_order ();
- [Deprecated (since = "0.17.0")]
+ [Version (deprecated = true, deprecated_since = "0.17.0", since = "0.3.0")]
public GData.YouTubeUploader get_uploader ();
public void set_age (GData.YouTubeAge age);
- [Deprecated (since = "0.17.0")]
+ [Version (deprecated = true, deprecated_since = "0.17.0", since = "0.3.0")]
public void set_format (GData.YouTubeFormat format);
- [Deprecated (since = "0.17.0")]
+ [Version (deprecated = true, deprecated_since = "0.17.0", since = "0.3.0")]
public void set_language (string? language);
+ [Version (since = "0.11.0")]
public void set_license (string? license);
public void set_location (double latitude, double longitude, double radius, bool has_location);
public void set_order_by (string? order_by);
public void set_restriction (string? restriction);
public void set_safe_search (GData.YouTubeSafeSearch safe_search);
- [Deprecated (since = "0.17.0")]
+ [Version (deprecated = true, deprecated_since = "0.17.0", since = "0.3.0")]
public void set_sort_order (GData.YouTubeSortOrder sort_order);
- [Deprecated (since = "0.17.0")]
+ [Version (deprecated = true, deprecated_since = "0.17.0", since = "0.3.0")]
public void set_uploader (GData.YouTubeUploader uploader);
public GData.YouTubeAge age { get; set; }
- [Deprecated (since = "0.17.0")]
+ [Version (deprecated = true, deprecated_since = "0.17.0", since = "0.3.0")]
public GData.YouTubeFormat format { get; set; }
- [Deprecated (since = "0.17.0")]
[NoAccessorMethod]
+ [Version (deprecated = true, deprecated_since = "0.17.0", since = "0.3.0")]
public bool has_location { get; set; }
- [Deprecated (since = "0.17.0")]
+ [Version (deprecated = true, deprecated_since = "0.17.0", since = "0.3.0")]
public string language { get; set; }
[NoAccessorMethod]
public double latitude { get; set; }
+ [Version (since = "0.11.0")]
public string license { get; set; }
[NoAccessorMethod]
public double location_radius { get; set; }
@@ -1846,27 +2479,36 @@ namespace GData {
public string order_by { get; set; }
public string restriction { get; set; }
public GData.YouTubeSafeSearch safe_search { get; set; }
- [Deprecated (since = "0.17.0")]
+ [Version (deprecated = true, deprecated_since = "0.17.0", since = "0.3.0")]
public GData.YouTubeSortOrder sort_order { get; set; }
- [Deprecated (since = "0.17.0")]
+ [Version (deprecated = true, deprecated_since = "0.17.0", since = "0.3.0")]
public GData.YouTubeUploader uploader { get; set; }
}
[CCode (cheader_filename = "gdata/gdata.h", lower_case_csuffix = "youtube_service", type_id = "gdata_youtube_service_get_type ()")]
public class YouTubeService : GData.Service, GData.Batchable {
[CCode (has_construct_function = false)]
+ [Version (since = "0.9.0")]
public YouTubeService (string developer_key, GData.Authorizer? authorizer);
public static GLib.Quark error_quark ();
+ [Version (since = "0.8.0")]
public GData.YouTubeVideo finish_video_upload (GData.UploadStream upload_stream) throws GLib.Error;
+ [Version (since = "0.7.0")]
public GData.APPCategories get_categories (GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "0.7.0")]
public async GData.APPCategories get_categories_async (GLib.Cancellable? cancellable) throws GLib.Error;
public unowned string get_developer_key ();
+ [Version (since = "0.9.0")]
public static unowned GData.AuthorizationDomain get_primary_authorization_domain ();
public GData.Feed query_related (GData.YouTubeVideo video, GData.Query? query, GLib.Cancellable? cancellable, GData.QueryProgressCallback? progress_callback) throws GLib.Error;
+ [Version (since = "0.9.1")]
public async void query_related_async (GData.YouTubeVideo video, GData.Query? query, GLib.Cancellable? cancellable, owned GData.QueryProgressCallback? progress_callback);
public GData.Feed query_standard_feed (GData.YouTubeStandardFeedType feed_type, GData.Query? query, GLib.Cancellable? cancellable, GData.QueryProgressCallback? progress_callback) throws GLib.Error;
+ [Version (since = "0.9.1")]
public async void query_standard_feed_async (GData.YouTubeStandardFeedType feed_type, GData.Query? query, GLib.Cancellable? cancellable, owned GData.QueryProgressCallback? progress_callback);
public GData.Feed query_videos (GData.Query? query, GLib.Cancellable? cancellable, GData.QueryProgressCallback? progress_callback) throws GLib.Error;
+ [Version (since = "0.9.1")]
public async void query_videos_async (GData.Query? query, GLib.Cancellable? cancellable, owned GData.QueryProgressCallback? progress_callback);
+ [Version (since = "0.8.0")]
public GData.UploadStream upload_video (GData.YouTubeVideo video, string slug, string content_type, GLib.Cancellable? cancellable = null) throws GLib.Error;
public string developer_key { get; construct; }
}
@@ -1874,24 +2516,35 @@ namespace GData {
public class YouTubeState : GData.Parsable {
[CCode (has_construct_function = false)]
protected YouTubeState ();
+ [Version (since = "0.4.0")]
public unowned string get_help_uri ();
+ [Version (since = "0.4.0")]
public unowned string get_message ();
+ [Version (since = "0.4.0")]
public unowned string get_name ();
+ [Version (since = "0.4.0")]
public unowned string get_reason_code ();
+ [Version (since = "0.4.0")]
public string help_uri { get; construct; }
+ [Version (since = "0.4.0")]
public string message { get; construct; }
+ [Version (since = "0.4.0")]
public string name { get; construct; }
+ [Version (since = "0.4.0")]
public string reason_code { get; construct; }
}
[CCode (cheader_filename = "gdata/gdata.h", lower_case_csuffix = "youtube_video", type_id = "gdata_youtube_video_get_type ()")]
public class YouTubeVideo : GData.Entry, GData.Commentable {
[CCode (has_construct_function = false)]
public YouTubeVideo (string? id);
+ [Version (since = "0.7.0")]
public GData.YouTubePermission get_access_control (string action);
+ [Version (since = "0.4.0")]
public unowned string get_aspect_ratio ();
public unowned GData.MediaCategory get_category ();
+ [Version (since = "0.8.0")]
public void get_coordinates (out double latitude, out double longitude);
- [Deprecated (since = "0.17.0")]
+ [Version (deprecated = true, deprecated_since = "0.17.0")]
public unowned GData.YouTubeCredit get_credit ();
public unowned string get_description ();
public uint get_duration ();
@@ -1899,51 +2552,62 @@ namespace GData {
[CCode (array_length = false, array_null_terminated = true)]
public unowned string[] get_keywords ();
public unowned string get_location ();
+ [Version (since = "0.10.0")]
public unowned string get_media_rating (string rating_type);
public unowned string get_player_uri ();
public void get_rating (out uint min, out uint max, out uint count, out double average);
+ [Version (since = "0.3.0")]
public int64 get_recorded ();
public unowned GData.YouTubeState get_state ();
public unowned GLib.List<GData.MediaThumbnail> get_thumbnails ();
public int64 get_uploaded ();
- [Deprecated (since = "0.17.0")]
+ [Version (deprecated = true, deprecated_since = "0.17.0")]
public unowned string get_video_id ();
+ [Version (since = "0.4.0")]
public static string get_video_id_from_uri (string video_uri);
public uint get_view_count ();
+ [Version (since = "0.4.0")]
public bool is_restricted_in_country (string country);
- [Deprecated (since = "0.17.0")]
+ [Version (deprecated = true, deprecated_since = "0.17.0")]
public unowned GData.YouTubeContent look_up_content (string type);
+ [Version (since = "0.7.0")]
public void set_access_control (string action, GData.YouTubePermission permission);
+ [Version (since = "0.4.0")]
public void set_aspect_ratio (string? aspect_ratio);
public void set_category (GData.MediaCategory category);
+ [Version (since = "0.8.0")]
public void set_coordinates (double latitude, double longitude);
public void set_description (string? description);
- [Deprecated (since = "0.17.0")]
+ [Version (deprecated = true, deprecated_since = "0.17.0")]
public void set_is_draft (bool is_draft);
public void set_is_private (bool is_private);
public void set_keywords ([CCode (array_length = false, array_null_terminated = true)] string[] keywords);
public void set_location (string? location);
+ [Version (since = "0.3.0")]
public void set_recorded (int64 recorded);
+ [Version (since = "0.4.0")]
public string aspect_ratio { get; set; }
[NoAccessorMethod]
public double average_rating { get; }
public GData.MediaCategory category { get; set; }
- [Deprecated (since = "0.17.0")]
+ [Version (deprecated = true, deprecated_since = "0.17.0")]
public GData.YouTubeCredit credit { get; }
public string description { get; set; }
public uint duration { get; }
public uint favorite_count { get; }
- [Deprecated (since = "0.17.0")]
[NoAccessorMethod]
+ [Version (deprecated = true, deprecated_since = "0.17.0")]
public bool is_draft { get; set; }
[NoAccessorMethod]
public bool is_private { get; set; }
[CCode (array_length = false, array_null_terminated = true)]
public string[] keywords { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.8.0")]
public double latitude { get; set; }
public string location { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.8.0")]
public double longitude { get; set; }
[NoAccessorMethod]
public uint max_rating { get; }
@@ -1952,19 +2616,23 @@ namespace GData {
public string player_uri { get; }
[NoAccessorMethod]
public uint rating_count { get; }
+ [Version (since = "0.3.0")]
public int64 recorded { get; set; }
public GData.YouTubeState state { get; }
public int64 uploaded { get; }
- [Deprecated (since = "0.17.0")]
+ [Version (deprecated = true, deprecated_since = "0.17.0")]
public string video_id { get; }
public uint view_count { get; }
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_access_handler_get_type ()")]
+ [Version (since = "0.3.0")]
public interface AccessHandler : GData.Entry {
public abstract GData.Feed get_rules (GData.Service service, GLib.Cancellable? cancellable, GData.QueryProgressCallback? progress_callback) throws GLib.Error;
+ [Version (since = "0.9.1")]
public async void get_rules_async (GData.Service service, GLib.Cancellable? cancellable, owned GData.QueryProgressCallback? progress_callback);
}
[CCode (cheader_filename = "gdata/gdata.h", type_cname = "GDataAuthorizerInterface", type_id = "gdata_authorizer_get_type ()")]
+ [Version (since = "0.9.0")]
public interface Authorizer : GLib.Object {
public abstract bool is_authorized_for_domain (GData.AuthorizationDomain domain);
public abstract void process_request (GData.AuthorizationDomain? domain, Soup.Message message);
@@ -1972,10 +2640,13 @@ namespace GData {
public abstract async bool refresh_authorization_async (GLib.Cancellable? cancellable) throws GLib.Error;
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_batchable_get_type ()")]
+ [Version (since = "0.7.0")]
public interface Batchable : GData.Service {
+ [Version (since = "0.9.0")]
public GData.BatchOperation create_operation (GData.AuthorizationDomain? domain, string feed_uri);
}
[CCode (cheader_filename = "gdata/gdata.h", type_cname = "GDataCommentableInterface", type_id = "gdata_commentable_get_type ()")]
+ [Version (since = "0.10.0")]
public interface Commentable : GData.Entry {
public bool delete_comment (GData.Service service, GData.Comment comment_, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool delete_comment_async (GData.Service service, GData.Comment comment_, GLib.Cancellable? cancellable) throws GLib.Error;
@@ -1991,6 +2662,7 @@ namespace GData {
public async GData.Feed? query_comments_async (GData.Service service, GData.Query? query, GLib.Cancellable? cancellable, owned GData.QueryProgressCallback? progress_callback) throws GLib.Error;
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_comparable_get_type ()")]
+ [Version (since = "0.7.0")]
public interface Comparable : GLib.Object {
public int compare (GData.Comparable? other);
[NoWrapper]
@@ -2002,9 +2674,11 @@ namespace GData {
public uint16 green;
public uint16 blue;
public static bool from_hexadecimal (string hexadecimal, out GData.Color color);
+ [Version (since = "0.3.0")]
public string to_hexadecimal ();
}
[CCode (cheader_filename = "gdata/gdata.h", cprefix = "GDATA_BATCH_OPERATION_", type_id = "gdata_batch_operation_type_get_type ()")]
+ [Version (since = "0.7.0")]
public enum BatchOperationType {
QUERY,
INSERTION,
@@ -2012,6 +2686,7 @@ namespace GData {
DELETION
}
[CCode (cheader_filename = "gdata/gdata.h", cprefix = "GDATA_FREEBASE_SEARCH_FILTER_", type_id = "gdata_freebase_search_filter_type_get_type ()")]
+ [Version (since = "0.15.1")]
public enum FreebaseSearchFilterType {
ALL,
ANY,
@@ -2024,6 +2699,7 @@ namespace GData {
NONSTOP
}
[CCode (cheader_filename = "gdata/gdata.h", cprefix = "GDATA_MEDIA_", type_id = "gdata_media_medium_get_type ()")]
+ [Version (since = "0.4.0")]
public enum MediaMedium {
UNKNOWN,
IMAGE,
@@ -2033,6 +2709,7 @@ namespace GData {
EXECUTABLE
}
[CCode (cheader_filename = "gdata/gdata.h", cprefix = "GDATA_OPERATION_", type_id = "gdata_operation_type_get_type ()")]
+ [Version (since = "0.6.0")]
public enum OperationType {
QUERY,
INSERTION,
@@ -2044,11 +2721,13 @@ namespace GData {
BATCH
}
[CCode (cheader_filename = "gdata/gdata.h", cprefix = "GDATA_PICASAWEB_", type_id = "gdata_picasaweb_visibility_get_type ()")]
+ [Version (since = "0.4.0")]
public enum PicasaWebVisibility {
PUBLIC,
PRIVATE
}
[CCode (cheader_filename = "gdata/gdata.h", cprefix = "GDATA_YOUTUBE_AGE_", type_id = "gdata_youtube_age_get_type ()")]
+ [Version (since = "0.3.0")]
public enum YouTubeAge {
ALL_TIME,
TODAY,
@@ -2056,7 +2735,7 @@ namespace GData {
THIS_MONTH
}
[CCode (cheader_filename = "gdata/gdata.h", cprefix = "GDATA_YOUTUBE_FORMAT_", type_id = "gdata_youtube_format_get_type ()")]
- [Deprecated (since = "0.17.0")]
+ [Version (deprecated = true, deprecated_since = "0.17.0", since = "0.3.0")]
public enum YouTubeFormat {
UNKNOWN,
RTSP_H263_AMR,
@@ -2064,19 +2743,21 @@ namespace GData {
RTSP_MPEG4_AAC
}
[CCode (cheader_filename = "gdata/gdata.h", cprefix = "GDATA_YOUTUBE_PERMISSION_", type_id = "gdata_youtube_permission_get_type ()")]
+ [Version (since = "0.7.0")]
public enum YouTubePermission {
ALLOWED,
DENIED,
MODERATED
}
[CCode (cheader_filename = "gdata/gdata.h", cprefix = "GDATA_YOUTUBE_SAFE_SEARCH_", type_id = "gdata_youtube_safe_search_get_type ()")]
+ [Version (since = "0.3.0")]
public enum YouTubeSafeSearch {
NONE,
MODERATE,
STRICT
}
[CCode (cheader_filename = "gdata/gdata.h", cprefix = "GDATA_YOUTUBE_SORT_", type_id = "gdata_youtube_sort_order_get_type ()")]
- [Deprecated (since = "0.17.0")]
+ [Version (deprecated = true, deprecated_since = "0.17.0", since = "0.3.0")]
public enum YouTubeSortOrder {
NONE,
ASCENDING,
@@ -2096,12 +2777,13 @@ namespace GData {
WATCH_ON_MOBILE_FEED
}
[CCode (cheader_filename = "gdata/gdata.h", cprefix = "GDATA_YOUTUBE_UPLOADER_", type_id = "gdata_youtube_uploader_get_type ()")]
- [Deprecated (since = "0.17.0")]
+ [Version (deprecated = true, deprecated_since = "0.17.0", since = "0.3.0")]
public enum YouTubeUploader {
ALL,
PARTNER
}
[CCode (cheader_filename = "gdata/gdata.h", cprefix = "GDATA_CLIENT_LOGIN_AUTHORIZER_ERROR_")]
+ [Version (since = "0.9.0")]
public errordomain ClientLoginAuthorizerError {
BAD_AUTHENTICATION,
NOT_VERIFIED,
@@ -2115,6 +2797,7 @@ namespace GData {
public static GLib.Quark quark ();
}
[CCode (cheader_filename = "gdata/gdata.h", cprefix = "GDATA_DOCUMENTS_SERVICE_ERROR_INVALID_CONTENT_")]
+ [Version (since = "0.4.0")]
public errordomain DocumentsServiceError {
TYPE;
public static GLib.Quark quark ();
@@ -2148,315 +2831,467 @@ namespace GData {
CHANNEL_REQUIRED
}
[CCode (cheader_filename = "gdata/gdata.h", instance_pos = 4.9)]
+ [Version (since = "0.7.0")]
public delegate void BatchOperationCallback (uint operation_id, GData.BatchOperationType operation_type, GData.Entry entry, GLib.Error error);
[CCode (cheader_filename = "gdata/gdata.h", instance_pos = 3.9)]
public delegate void QueryProgressCallback (GData.Entry entry, uint entry_key, uint entry_count);
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_ACCESS_ROLE_NONE")]
+ [Version (since = "0.7.0")]
public const string ACCESS_ROLE_NONE;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_ACCESS_SCOPE_DEFAULT")]
+ [Version (since = "0.7.0")]
public const string ACCESS_SCOPE_DEFAULT;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_ACCESS_SCOPE_DOMAIN")]
+ [Version (since = "0.7.0")]
public const string ACCESS_SCOPE_DOMAIN;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_ACCESS_SCOPE_USER")]
+ [Version (since = "0.7.0")]
public const string ACCESS_SCOPE_USER;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_CALENDAR_ACCESS_ROLE_EDITOR")]
+ [Version (since = "0.7.0")]
public const string CALENDAR_ACCESS_ROLE_EDITOR;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_CALENDAR_ACCESS_ROLE_FREE_BUSY")]
+ [Version (since = "0.7.0")]
public const string CALENDAR_ACCESS_ROLE_FREE_BUSY;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_CALENDAR_ACCESS_ROLE_OWNER")]
+ [Version (since = "0.7.0")]
public const string CALENDAR_ACCESS_ROLE_OWNER;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_CALENDAR_ACCESS_ROLE_READ")]
+ [Version (since = "0.7.0")]
public const string CALENDAR_ACCESS_ROLE_READ;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_CALENDAR_ACCESS_ROLE_ROOT")]
+ [Version (since = "0.7.0")]
public const string CALENDAR_ACCESS_ROLE_ROOT;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_CATEGORY_SCHEMA_LABELS")]
+ [Version (since = "0.11.0")]
public const string CATEGORY_SCHEMA_LABELS;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_ACCESS_ROLE_OWNER")]
+ [Version (since = "0.7.0")]
public const string DOCUMENTS_ACCESS_ROLE_OWNER;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_ACCESS_ROLE_READER")]
+ [Version (since = "0.7.0")]
public const string DOCUMENTS_ACCESS_ROLE_READER;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_ACCESS_ROLE_WRITER")]
+ [Version (since = "0.7.0")]
public const string DOCUMENTS_ACCESS_ROLE_WRITER;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_DRAWING_JPEG")]
+ [Version (since = "0.13.1")]
public const string DOCUMENTS_DRAWING_JPEG;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_DRAWING_PDF")]
+ [Version (since = "0.13.1")]
public const string DOCUMENTS_DRAWING_PDF;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_DRAWING_PNG")]
+ [Version (since = "0.13.1")]
public const string DOCUMENTS_DRAWING_PNG;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_DRAWING_SVG")]
+ [Version (since = "0.13.1")]
public const string DOCUMENTS_DRAWING_SVG;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GCONTACT_CALENDAR_FREE_BUSY")]
+ [Version (since = "0.7.0")]
public const string GCONTACT_CALENDAR_FREE_BUSY;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GCONTACT_CALENDAR_HOME")]
+ [Version (since = "0.7.0")]
public const string GCONTACT_CALENDAR_HOME;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GCONTACT_CALENDAR_WORK")]
+ [Version (since = "0.7.0")]
public const string GCONTACT_CALENDAR_WORK;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GCONTACT_EVENT_ANNIVERSARY")]
+ [Version (since = "0.7.0")]
public const string GCONTACT_EVENT_ANNIVERSARY;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GCONTACT_EVENT_OTHER")]
+ [Version (since = "0.7.0")]
public const string GCONTACT_EVENT_OTHER;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GCONTACT_EXTERNAL_ID_ACCOUNT")]
+ [Version (since = "0.7.0")]
public const string GCONTACT_EXTERNAL_ID_ACCOUNT;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GCONTACT_EXTERNAL_ID_CUSTOMER")]
+ [Version (since = "0.7.0")]
public const string GCONTACT_EXTERNAL_ID_CUSTOMER;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GCONTACT_EXTERNAL_ID_NETWORK")]
+ [Version (since = "0.7.0")]
public const string GCONTACT_EXTERNAL_ID_NETWORK;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GCONTACT_EXTERNAL_ID_ORGANIZATION")]
+ [Version (since = "0.7.0")]
public const string GCONTACT_EXTERNAL_ID_ORGANIZATION;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GCONTACT_JOT_HOME")]
+ [Version (since = "0.7.0")]
public const string GCONTACT_JOT_HOME;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GCONTACT_JOT_KEYWORDS")]
+ [Version (since = "0.7.0")]
public const string GCONTACT_JOT_KEYWORDS;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GCONTACT_JOT_OTHER")]
+ [Version (since = "0.7.0")]
public const string GCONTACT_JOT_OTHER;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GCONTACT_JOT_USER")]
+ [Version (since = "0.7.0")]
public const string GCONTACT_JOT_USER;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GCONTACT_JOT_WORK")]
+ [Version (since = "0.7.0")]
public const string GCONTACT_JOT_WORK;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GCONTACT_RELATION_ASSISTANT")]
+ [Version (since = "0.7.0")]
public const string GCONTACT_RELATION_ASSISTANT;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GCONTACT_RELATION_BROTHER")]
+ [Version (since = "0.7.0")]
public const string GCONTACT_RELATION_BROTHER;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GCONTACT_RELATION_CHILD")]
+ [Version (since = "0.7.0")]
public const string GCONTACT_RELATION_CHILD;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GCONTACT_RELATION_DOMESTIC_PARTNER")]
+ [Version (since = "0.7.0")]
public const string GCONTACT_RELATION_DOMESTIC_PARTNER;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GCONTACT_RELATION_FATHER")]
+ [Version (since = "0.7.0")]
public const string GCONTACT_RELATION_FATHER;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GCONTACT_RELATION_FRIEND")]
+ [Version (since = "0.7.0")]
public const string GCONTACT_RELATION_FRIEND;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GCONTACT_RELATION_MANAGER")]
+ [Version (since = "0.7.0")]
public const string GCONTACT_RELATION_MANAGER;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GCONTACT_RELATION_MOTHER")]
+ [Version (since = "0.7.0")]
public const string GCONTACT_RELATION_MOTHER;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GCONTACT_RELATION_PARENT")]
+ [Version (since = "0.7.0")]
public const string GCONTACT_RELATION_PARENT;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GCONTACT_RELATION_PARTNER")]
+ [Version (since = "0.7.0")]
public const string GCONTACT_RELATION_PARTNER;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GCONTACT_RELATION_REFERRER")]
+ [Version (since = "0.7.0")]
public const string GCONTACT_RELATION_REFERRER;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GCONTACT_RELATION_RELATIVE")]
+ [Version (since = "0.7.0")]
public const string GCONTACT_RELATION_RELATIVE;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GCONTACT_RELATION_SISTER")]
+ [Version (since = "0.7.0")]
public const string GCONTACT_RELATION_SISTER;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GCONTACT_RELATION_SPOUSE")]
+ [Version (since = "0.7.0")]
public const string GCONTACT_RELATION_SPOUSE;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GCONTACT_WEBSITE_BLOG")]
+ [Version (since = "0.7.0")]
public const string GCONTACT_WEBSITE_BLOG;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GCONTACT_WEBSITE_FTP")]
+ [Version (since = "0.7.0")]
public const string GCONTACT_WEBSITE_FTP;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GCONTACT_WEBSITE_HOME")]
+ [Version (since = "0.7.0")]
public const string GCONTACT_WEBSITE_HOME;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GCONTACT_WEBSITE_HOME_PAGE")]
+ [Version (since = "0.7.0")]
public const string GCONTACT_WEBSITE_HOME_PAGE;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GCONTACT_WEBSITE_OTHER")]
+ [Version (since = "0.7.0")]
public const string GCONTACT_WEBSITE_OTHER;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GCONTACT_WEBSITE_PROFILE")]
+ [Version (since = "0.7.0")]
public const string GCONTACT_WEBSITE_PROFILE;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GCONTACT_WEBSITE_WORK")]
+ [Version (since = "0.7.0")]
public const string GCONTACT_WEBSITE_WORK;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_ADDRESS_USAGE_GENERAL")]
+ [Version (since = "0.5.0")]
public const string GD_ADDRESS_USAGE_GENERAL;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_ADDRESS_USAGE_LOCAL")]
+ [Version (since = "0.5.0")]
public const string GD_ADDRESS_USAGE_LOCAL;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_EMAIL_ADDRESS_HOME")]
+ [Version (since = "0.7.0")]
public const string GD_EMAIL_ADDRESS_HOME;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_EMAIL_ADDRESS_OTHER")]
+ [Version (since = "0.7.0")]
public const string GD_EMAIL_ADDRESS_OTHER;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_EMAIL_ADDRESS_WORK")]
+ [Version (since = "0.7.0")]
public const string GD_EMAIL_ADDRESS_WORK;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_EVENT_STATUS_CANCELED")]
+ [Version (since = "0.7.0")]
public const string GD_EVENT_STATUS_CANCELED;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_EVENT_STATUS_CONFIRMED")]
+ [Version (since = "0.7.0")]
public const string GD_EVENT_STATUS_CONFIRMED;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_EVENT_STATUS_TENTATIVE")]
+ [Version (since = "0.7.0")]
public const string GD_EVENT_STATUS_TENTATIVE;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_EVENT_TRANSPARENCY_OPAQUE")]
+ [Version (since = "0.7.0")]
public const string GD_EVENT_TRANSPARENCY_OPAQUE;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_EVENT_TRANSPARENCY_TRANSPARENT")]
+ [Version (since = "0.7.0")]
public const string GD_EVENT_TRANSPARENCY_TRANSPARENT;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_EVENT_VISIBILITY_CONFIDENTIAL")]
+ [Version (since = "0.7.0")]
public const string GD_EVENT_VISIBILITY_CONFIDENTIAL;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_EVENT_VISIBILITY_DEFAULT")]
+ [Version (since = "0.7.0")]
public const string GD_EVENT_VISIBILITY_DEFAULT;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_EVENT_VISIBILITY_PRIVATE")]
+ [Version (since = "0.7.0")]
public const string GD_EVENT_VISIBILITY_PRIVATE;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_EVENT_VISIBILITY_PUBLIC")]
+ [Version (since = "0.7.0")]
public const string GD_EVENT_VISIBILITY_PUBLIC;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_IM_ADDRESS_HOME")]
+ [Version (since = "0.7.0")]
public const string GD_IM_ADDRESS_HOME;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_IM_ADDRESS_NETMEETING")]
+ [Version (since = "0.7.0")]
public const string GD_IM_ADDRESS_NETMEETING;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_IM_ADDRESS_OTHER")]
+ [Version (since = "0.7.0")]
public const string GD_IM_ADDRESS_OTHER;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_IM_ADDRESS_WORK")]
+ [Version (since = "0.7.0")]
public const string GD_IM_ADDRESS_WORK;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_IM_PROTOCOL_AIM")]
+ [Version (since = "0.7.0")]
public const string GD_IM_PROTOCOL_AIM;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_IM_PROTOCOL_GOOGLE_TALK")]
+ [Version (since = "0.7.0")]
public const string GD_IM_PROTOCOL_GOOGLE_TALK;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_IM_PROTOCOL_ICQ")]
+ [Version (since = "0.7.0")]
public const string GD_IM_PROTOCOL_ICQ;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_IM_PROTOCOL_JABBER")]
+ [Version (since = "0.7.0")]
public const string GD_IM_PROTOCOL_JABBER;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_IM_PROTOCOL_LIVE_MESSENGER")]
+ [Version (since = "0.7.0")]
public const string GD_IM_PROTOCOL_LIVE_MESSENGER;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_IM_PROTOCOL_QQ")]
+ [Version (since = "0.7.0")]
public const string GD_IM_PROTOCOL_QQ;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_IM_PROTOCOL_SKYPE")]
+ [Version (since = "0.7.0")]
public const string GD_IM_PROTOCOL_SKYPE;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_IM_PROTOCOL_YAHOO_MESSENGER")]
+ [Version (since = "0.7.0")]
public const string GD_IM_PROTOCOL_YAHOO_MESSENGER;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_MAIL_CLASS_BOTH")]
+ [Version (since = "0.5.0")]
public const string GD_MAIL_CLASS_BOTH;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_MAIL_CLASS_LETTERS")]
+ [Version (since = "0.5.0")]
public const string GD_MAIL_CLASS_LETTERS;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_MAIL_CLASS_NEITHER")]
+ [Version (since = "0.5.0")]
public const string GD_MAIL_CLASS_NEITHER;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_MAIL_CLASS_PARCELS")]
+ [Version (since = "0.5.0")]
public const string GD_MAIL_CLASS_PARCELS;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_ORGANIZATION_OTHER")]
+ [Version (since = "0.7.0")]
public const string GD_ORGANIZATION_OTHER;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_ORGANIZATION_WORK")]
+ [Version (since = "0.7.0")]
public const string GD_ORGANIZATION_WORK;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_PHONE_NUMBER_ASSISTANT")]
+ [Version (since = "0.7.0")]
public const string GD_PHONE_NUMBER_ASSISTANT;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_PHONE_NUMBER_CALLBACK")]
+ [Version (since = "0.7.0")]
public const string GD_PHONE_NUMBER_CALLBACK;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_PHONE_NUMBER_CAR")]
+ [Version (since = "0.7.0")]
public const string GD_PHONE_NUMBER_CAR;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_PHONE_NUMBER_COMPANY_MAIN")]
+ [Version (since = "0.7.0")]
public const string GD_PHONE_NUMBER_COMPANY_MAIN;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_PHONE_NUMBER_FAX")]
+ [Version (since = "0.7.0")]
public const string GD_PHONE_NUMBER_FAX;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_PHONE_NUMBER_HOME")]
+ [Version (since = "0.7.0")]
public const string GD_PHONE_NUMBER_HOME;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_PHONE_NUMBER_HOME_FAX")]
+ [Version (since = "0.7.0")]
public const string GD_PHONE_NUMBER_HOME_FAX;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_PHONE_NUMBER_ISDN")]
+ [Version (since = "0.7.0")]
public const string GD_PHONE_NUMBER_ISDN;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_PHONE_NUMBER_MAIN")]
+ [Version (since = "0.7.0")]
public const string GD_PHONE_NUMBER_MAIN;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_PHONE_NUMBER_MOBILE")]
+ [Version (since = "0.7.0")]
public const string GD_PHONE_NUMBER_MOBILE;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_PHONE_NUMBER_OTHER")]
+ [Version (since = "0.7.0")]
public const string GD_PHONE_NUMBER_OTHER;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_PHONE_NUMBER_OTHER_FAX")]
+ [Version (since = "0.7.0")]
public const string GD_PHONE_NUMBER_OTHER_FAX;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_PHONE_NUMBER_PAGER")]
+ [Version (since = "0.7.0")]
public const string GD_PHONE_NUMBER_PAGER;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_PHONE_NUMBER_RADIO")]
+ [Version (since = "0.7.0")]
public const string GD_PHONE_NUMBER_RADIO;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_PHONE_NUMBER_TELEX")]
+ [Version (since = "0.7.0")]
public const string GD_PHONE_NUMBER_TELEX;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_PHONE_NUMBER_TTY_TDD")]
+ [Version (since = "0.7.0")]
public const string GD_PHONE_NUMBER_TTY_TDD;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_PHONE_NUMBER_WORK")]
+ [Version (since = "0.7.0")]
public const string GD_PHONE_NUMBER_WORK;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_PHONE_NUMBER_WORK_FAX")]
+ [Version (since = "0.7.0")]
public const string GD_PHONE_NUMBER_WORK_FAX;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_PHONE_NUMBER_WORK_MOBILE")]
+ [Version (since = "0.7.0")]
public const string GD_PHONE_NUMBER_WORK_MOBILE;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_PHONE_NUMBER_WORK_PAGER")]
+ [Version (since = "0.7.0")]
public const string GD_PHONE_NUMBER_WORK_PAGER;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_POSTAL_ADDRESS_HOME")]
+ [Version (since = "0.7.0")]
public const string GD_POSTAL_ADDRESS_HOME;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_POSTAL_ADDRESS_OTHER")]
+ [Version (since = "0.7.0")]
public const string GD_POSTAL_ADDRESS_OTHER;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_POSTAL_ADDRESS_WORK")]
+ [Version (since = "0.7.0")]
public const string GD_POSTAL_ADDRESS_WORK;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_REMINDER_ALERT")]
+ [Version (since = "0.7.0")]
public const string GD_REMINDER_ALERT;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_REMINDER_EMAIL")]
+ [Version (since = "0.7.0")]
public const string GD_REMINDER_EMAIL;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_REMINDER_SMS")]
+ [Version (since = "0.7.0")]
public const string GD_REMINDER_SMS;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_WHERE_EVENT")]
+ [Version (since = "0.7.0")]
public const string GD_WHERE_EVENT;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_WHERE_EVENT_ALTERNATE")]
+ [Version (since = "0.7.0")]
public const string GD_WHERE_EVENT_ALTERNATE;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_WHERE_EVENT_PARKING")]
+ [Version (since = "0.7.0")]
public const string GD_WHERE_EVENT_PARKING;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_WHO_EVENT_ATTENDEE")]
+ [Version (since = "0.7.0")]
public const string GD_WHO_EVENT_ATTENDEE;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_WHO_EVENT_ORGANIZER")]
+ [Version (since = "0.7.0")]
public const string GD_WHO_EVENT_ORGANIZER;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_WHO_EVENT_PERFORMER")]
+ [Version (since = "0.7.0")]
public const string GD_WHO_EVENT_PERFORMER;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GD_WHO_EVENT_SPEAKER")]
+ [Version (since = "0.7.0")]
public const string GD_WHO_EVENT_SPEAKER;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_LINK_ACCESS_CONTROL_LIST")]
+ [Version (since = "0.7.0")]
public const string LINK_ACCESS_CONTROL_LIST;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_LINK_ALTERNATE")]
+ [Version (since = "0.4.0")]
public const string LINK_ALTERNATE;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_LINK_BATCH")]
+ [Version (since = "0.7.0")]
public const string LINK_BATCH;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_LINK_EDIT")]
+ [Version (since = "0.4.0")]
public const string LINK_EDIT;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_LINK_EDIT_MEDIA")]
+ [Version (since = "0.4.0")]
public const string LINK_EDIT_MEDIA;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_LINK_ENCLOSURE")]
+ [Version (since = "0.4.0")]
public const string LINK_ENCLOSURE;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_LINK_PARENT")]
+ [Version (since = "0.15.1")]
public const string LINK_PARENT;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_LINK_RELATED")]
+ [Version (since = "0.4.0")]
public const string LINK_RELATED;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_LINK_RESUMABLE_CREATE_MEDIA")]
+ [Version (since = "0.13.0")]
public const string LINK_RESUMABLE_CREATE_MEDIA;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_LINK_RESUMABLE_EDIT_MEDIA")]
+ [Version (since = "0.13.0")]
public const string LINK_RESUMABLE_EDIT_MEDIA;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_LINK_SELF")]
+ [Version (since = "0.4.0")]
public const string LINK_SELF;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_LINK_VIA")]
+ [Version (since = "0.4.0")]
public const string LINK_VIA;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_MAJOR_VERSION")]
+ [Version (since = "0.11.0")]
public const int MAJOR_VERSION;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_MICRO_VERSION")]
+ [Version (since = "0.11.0")]
public const int MICRO_VERSION;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_MINOR_VERSION")]
+ [Version (since = "0.11.0")]
public const int MINOR_VERSION;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_OAUTH2_REDIRECT_URI_OOB")]
+ [Version (since = "0.17.0")]
public const string OAUTH2_REDIRECT_URI_OOB;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_OAUTH2_REDIRECT_URI_OOB_AUTO")]
+ [Version (since = "0.17.0")]
public const string OAUTH2_REDIRECT_URI_OOB_AUTO;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_PICASAWEB_VIDEO_STATUS_FAILED")]
+ [Version (since = "0.7.0")]
public const string PICASAWEB_VIDEO_STATUS_FAILED;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_PICASAWEB_VIDEO_STATUS_FINAL")]
+ [Version (since = "0.7.0")]
public const string PICASAWEB_VIDEO_STATUS_FINAL;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_PICASAWEB_VIDEO_STATUS_PENDING")]
+ [Version (since = "0.7.0")]
public const string PICASAWEB_VIDEO_STATUS_PENDING;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_PICASAWEB_VIDEO_STATUS_READY")]
+ [Version (since = "0.7.0")]
public const string PICASAWEB_VIDEO_STATUS_READY;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_TASKS_STATUS_COMPLETED")]
+ [Version (since = "0.16.0")]
public const string TASKS_STATUS_COMPLETED;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_TASKS_STATUS_NEEDS_ACTION")]
+ [Version (since = "0.16.0")]
public const string TASKS_STATUS_NEEDS_ACTION;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_YOUTUBE_ACTION_COMMENT")]
+ [Version (since = "0.7.0")]
public const string YOUTUBE_ACTION_COMMENT;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_YOUTUBE_ACTION_COMMENT_VOTE")]
+ [Version (since = "0.7.0")]
public const string YOUTUBE_ACTION_COMMENT_VOTE;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_YOUTUBE_ACTION_EMBED")]
+ [Version (since = "0.7.0")]
public const string YOUTUBE_ACTION_EMBED;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_YOUTUBE_ACTION_RATE")]
+ [Version (since = "0.7.0")]
public const string YOUTUBE_ACTION_RATE;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_YOUTUBE_ACTION_SYNDICATE")]
+ [Version (since = "0.7.0")]
public const string YOUTUBE_ACTION_SYNDICATE;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_YOUTUBE_ACTION_VIDEO_RESPOND")]
+ [Version (since = "0.7.0")]
public const string YOUTUBE_ACTION_VIDEO_RESPOND;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_YOUTUBE_ASPECT_RATIO_WIDESCREEN")]
+ [Version (since = "0.7.0")]
public const string YOUTUBE_ASPECT_RATIO_WIDESCREEN;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_YOUTUBE_CREDIT_ENTITY_PARTNER")]
- [Deprecated (since = "0.17.0")]
+ [Version (deprecated = true, deprecated_since = "0.17.0", since = "0.7.0")]
public const string YOUTUBE_CREDIT_ENTITY_PARTNER;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_YOUTUBE_LICENSE_CC")]
+ [Version (since = "0.11.0")]
public const string YOUTUBE_LICENSE_CC;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_YOUTUBE_LICENSE_STANDARD")]
+ [Version (since = "0.11.0")]
public const string YOUTUBE_LICENSE_STANDARD;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_YOUTUBE_RATING_TYPE_MPAA")]
+ [Version (since = "0.10.0")]
public const string YOUTUBE_RATING_TYPE_MPAA;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_YOUTUBE_RATING_TYPE_SIMPLE")]
- [Deprecated (since = "0.17.0")]
+ [Version (deprecated = true, deprecated_since = "0.17.0", since = "0.10.0")]
public const string YOUTUBE_RATING_TYPE_SIMPLE;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_YOUTUBE_RATING_TYPE_V_CHIP")]
+ [Version (since = "0.10.0")]
public const string YOUTUBE_RATING_TYPE_V_CHIP;
}
diff --git a/vapi/libglade-2.0.vapi b/vapi/libglade-2.0.vapi
index 8a70014c0..663a3fea0 100644
--- a/vapi/libglade-2.0.vapi
+++ b/vapi/libglade-2.0.vapi
@@ -1,6 +1,6 @@
/* libglade-2.0.vapi generated by vapigen, do not modify. */
-[Deprecated (replacement = "Gtk.Builder")]
+[Version (replacement = "Gtk.Builder")]
namespace Glade {
[CCode (cheader_filename = "glade/glade.h")]
[Compact]
diff --git a/vapi/libnotify.vapi b/vapi/libnotify.vapi
index dffa0bcc3..ba2eb7ae4 100644
--- a/vapi/libnotify.vapi
+++ b/vapi/libnotify.vapi
@@ -11,22 +11,24 @@ namespace Notify {
public void clear_hints ();
public bool close () throws GLib.Error;
public int get_closed_reason ();
+ [Version (since = "0.7.3")]
public void set_app_name (string app_name);
public void set_category (string category);
+ [Version (since = "0.6")]
public void set_hint (string key, GLib.Variant? value);
- [Deprecated (since = "0.6.")]
+ [Version (deprecated = true, deprecated_since = "0.6.")]
public void set_hint_byte (string key, [CCode (type = "guchar")] uchar value);
- [Deprecated (since = "0.6.")]
+ [Version (deprecated = true, deprecated_since = "0.6.")]
public void set_hint_byte_array (string key, [CCode (array_length_cname = "len", array_length_pos = 2.1, array_length_type = "gsize")] uchar[] value);
- [Deprecated (since = "0.6.")]
+ [Version (deprecated = true, deprecated_since = "0.6.")]
public void set_hint_double (string key, double value);
- [Deprecated (since = "0.6.")]
+ [Version (deprecated = true, deprecated_since = "0.6.")]
public void set_hint_int32 (string key, int value);
- [Deprecated (since = "0.6.")]
+ [Version (deprecated = true, deprecated_since = "0.6.")]
public void set_hint_string (string key, string value);
- [Deprecated (since = "0.6.")]
+ [Version (deprecated = true, deprecated_since = "0.6.")]
public void set_hint_uint32 (string key, uint value);
- [Deprecated]
+ [Version (deprecated = true)]
public void set_icon_from_pixbuf (Gdk.Pixbuf icon);
public void set_image_from_pixbuf (Gdk.Pixbuf pixbuf);
public void set_timeout (int timeout);
diff --git a/vapi/libpanelapplet-2.0.vapi b/vapi/libpanelapplet-2.0.vapi
index 9e7aaef51..fac91da93 100644
--- a/vapi/libpanelapplet-2.0.vapi
+++ b/vapi/libpanelapplet-2.0.vapi
@@ -21,7 +21,7 @@
*/
[CCode (cheader_filename = "panel-applet.h")]
-[Deprecated]
+[Version (deprecated = true)]
namespace Panel {
public class Applet : Gtk.EventBox {
[CCode (has_construct_function = false)]
diff --git a/vapi/libpeas-1.0.vapi b/vapi/libpeas-1.0.vapi
index 3e25691db..a2bc808b5 100644
--- a/vapi/libpeas-1.0.vapi
+++ b/vapi/libpeas-1.0.vapi
@@ -16,6 +16,7 @@ namespace Peas {
public string[] get_loaded_plugins ();
public unowned Peas.PluginInfo get_plugin_info (string plugin_name);
public unowned GLib.List<Peas.PluginInfo> get_plugin_list ();
+ [Version (since = "1.6")]
public void prepend_search_path (string module_dir, string? data_dir);
public bool provides_extension (Peas.PluginInfo info, GLib.Type extension_type);
public void rescan_plugins ();
@@ -25,10 +26,12 @@ namespace Peas {
[CCode (cname = "peas_engine_unload_plugin")]
public bool try_unload_plugin (Peas.PluginInfo info);
[CCode (has_construct_function = false)]
+ [Version (since = "1.14")]
public Engine.with_nonglobal_loaders ();
[CCode (array_length = false, array_null_terminated = true)]
public string[] loaded_plugins { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "1.14")]
public bool nonglobal_loaders { get; construct; }
public void* plugin_list { get; }
public virtual signal void load_plugin (Peas.PluginInfo info);
@@ -54,6 +57,7 @@ namespace Peas {
public ExtensionSet (Peas.Engine? engine, GLib.Type exten_type, ...);
[NoWrapper]
public virtual bool call (string method_name, GI.Argument args);
+ [Version (since = "1.2")]
public void @foreach (Peas.ExtensionSetForeachFunc func);
public unowned Peas.Extension get_extension (Peas.PluginInfo info);
[CCode (cname = "peas_extension_set_newv", has_construct_function = false)]
@@ -80,6 +84,8 @@ namespace Peas {
public string path { owned get; construct; }
[NoAccessorMethod]
public bool resident { get; construct; }
+ [NoAccessorMethod]
+ public string symbol { owned get; construct; }
}
[CCode (cheader_filename = "libpeas/peas.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "peas_plugin_info_get_type ()")]
[Compact]
@@ -91,12 +97,14 @@ namespace Peas {
[CCode (array_length = false, array_null_terminated = true)]
public unowned string[] get_dependencies ();
public unowned string get_description ();
+ [Version (since = "1.6")]
public unowned string get_external_data (string key);
public unowned string get_help_uri ();
public unowned string get_icon_name ();
public unowned string get_module_dir ();
public unowned string get_module_name ();
public unowned string get_name ();
+ [Version (since = "1.4")]
public GLib.Settings get_settings (string? schema_id);
public unowned string get_version ();
public unowned string get_website ();
@@ -123,6 +131,7 @@ namespace Peas {
public static GLib.Quark quark ();
}
[CCode (cheader_filename = "libpeas/peas.h", instance_pos = 3.9)]
+ [Version (since = "1.2")]
public delegate void ExtensionSetForeachFunc (Peas.ExtensionSet @set, Peas.PluginInfo info, Peas.Extension exten);
[CCode (cheader_filename = "libpeas/peas.h", instance_pos = 1.9)]
public delegate GLib.Object FactoryFunc ([CCode (array_length_cname = "n_parameters", array_length_pos = 0.5, array_length_type = "guint")] GLib.Parameter[] parameters);
diff --git a/vapi/libpeas-gtk-1.0.vapi b/vapi/libpeas-gtk-1.0.vapi
index 491d34d36..49b9ba007 100644
--- a/vapi/libpeas-gtk-1.0.vapi
+++ b/vapi/libpeas-gtk-1.0.vapi
@@ -16,14 +16,14 @@ namespace PeasGtk {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public PluginManagerView (Peas.Engine? engine);
public unowned Peas.PluginInfo get_selected_plugin ();
- [Deprecated (since = "1.2")]
+ [Version (deprecated = true, deprecated_since = "1.2")]
public bool get_show_builtin ();
public void set_selected_plugin (Peas.PluginInfo info);
- [Deprecated (since = "1.2")]
+ [Version (deprecated = true, deprecated_since = "1.2")]
public void set_show_builtin (bool show_builtin);
[NoAccessorMethod]
public Peas.Engine engine { owned get; construct; }
- [Deprecated (since = "1.2")]
+ [Version (deprecated = true, deprecated_since = "1.2")]
public bool show_builtin { get; set; }
public virtual signal void populate_popup (Gtk.Menu menu);
}
diff --git a/vapi/librsvg-2.0.vapi b/vapi/librsvg-2.0.vapi
index 7cdd8dd77..c9e253539 100644
--- a/vapi/librsvg-2.0.vapi
+++ b/vapi/librsvg-2.0.vapi
@@ -1,7 +1,7 @@
/* librsvg-2.0.vapi generated by vapigen, do not modify. */
[CCode (cprefix = "Rsvg", gir_namespace = "Rsvg", gir_version = "2.0", lower_case_cprefix = "rsvg_")]
-[Deprecated (replacement = "bindings distributed with librsvg-2.0", since = "2.36.2")]
+[Version (deprecated = true, deprecated_since = "2.36.2", replacement = "bindings distributed with librsvg-2.0")]
namespace Rsvg {
namespace Version {
[CCode (cheader_filename = "librsvg/rsvg.h", cname = "LIBRSVG_MAJOR_VERSION")]
@@ -20,44 +20,62 @@ namespace Rsvg {
[CCode (has_construct_function = false)]
public Handle ();
public bool close () throws GLib.Error;
- [Deprecated (replacement = "GLib.Object.unref")]
+ [Version (replacement = "GLib.Object.unref")]
public void free ();
[CCode (has_construct_function = false)]
+ [Version (since = "2.14")]
public Handle.from_data ([CCode (array_length_cname = "data_len", array_length_pos = 1.1, array_length_type = "gsize")] uint8[] data) throws GLib.Error;
[CCode (has_construct_function = false)]
+ [Version (since = "2.14")]
public Handle.from_file (string file_name) throws GLib.Error;
[CCode (has_construct_function = false)]
+ [Version (since = "2.32")]
public Handle.from_gfile_sync (GLib.File file, Rsvg.HandleFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (has_construct_function = false)]
+ [Version (since = "2.32")]
public Handle.from_stream_sync (GLib.InputStream input_stream, GLib.File? base_file, Rsvg.HandleFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.8")]
public unowned string get_base_uri ();
- [Deprecated (since = "2.36")]
+ [Version (deprecated_since = "2.36")]
public unowned string get_desc ();
+ [Version (since = "2.14")]
public Rsvg.DimensionData get_dimensions ();
- public bool get_dimensions_sub (out Rsvg.DimensionData dimension_data, string id);
- [Deprecated (since = "2.36")]
+ [Version (since = "2.22")]
+ public bool get_dimensions_sub (out Rsvg.DimensionData dimension_data, string? id);
+ [Version (deprecated_since = "2.36")]
public unowned string get_metadata ();
- public Gdk.Pixbuf get_pixbuf ();
- public Gdk.Pixbuf get_pixbuf_sub (string id);
+ public Gdk.Pixbuf? get_pixbuf ();
+ [Version (since = "2.14")]
+ public Gdk.Pixbuf? get_pixbuf_sub (string? id);
+ [Version (since = "2.22")]
public bool get_position_sub (out Rsvg.PositionData position_data, string id);
- [Deprecated (since = "2.36")]
+ [Version (deprecated_since = "2.36")]
public unowned string get_title ();
+ [Version (since = "2.22")]
public bool has_sub (string id);
+ [Version (since = "2.32")]
public bool read_stream_sync (GLib.InputStream stream, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.14")]
public bool render_cairo (Cairo.Context cr);
- public bool render_cairo_sub (Cairo.Context cr, string id);
+ [Version (since = "2.14")]
+ public bool render_cairo_sub (Cairo.Context cr, string? id);
+ [Version (since = "2.32")]
public void set_base_gfile (GLib.File base_file);
+ [Version (since = "2.9")]
public void set_base_uri (string base_uri);
+ [Version (since = "2.8")]
public void set_dpi (double dpi);
+ [Version (since = "2.8")]
public void set_dpi_x_y (double dpi_x, double dpi_y);
- [Deprecated (replacement = "render_cairo")]
+ [Version (replacement = "render_cairo")]
public void set_size_callback (owned Rsvg.SizeFunc size_func);
[CCode (has_construct_function = false)]
+ [Version (since = "2.36")]
public Handle.with_flags (Rsvg.HandleFlags flags);
public bool write ([CCode (array_length_cname = "count", array_length_pos = 1.1, array_length_type = "gsize")] uint8[] buf) throws GLib.Error;
public string base_uri { get; set construct; }
- [Deprecated (since = "2.36")]
[NoAccessorMethod]
+ [Version (deprecated = true, deprecated_since = "2.36")]
public string desc { owned get; }
[NoAccessorMethod]
public double dpi_x { get; set construct; }
@@ -68,14 +86,15 @@ namespace Rsvg {
[NoAccessorMethod]
public double ex { get; }
[NoAccessorMethod]
+ [Version (since = "2.36")]
public Rsvg.HandleFlags flags { get; construct; }
[NoAccessorMethod]
public int height { get; }
- [Deprecated (since = "2.36")]
[NoAccessorMethod]
+ [Version (deprecated = true, deprecated_since = "2.36")]
public string metadata { owned get; }
- [Deprecated (since = "2.36")]
[NoAccessorMethod]
+ [Version (deprecated = true, deprecated_since = "2.36")]
public string title { owned get; }
[NoAccessorMethod]
public int width { get; }
@@ -92,10 +111,12 @@ namespace Rsvg {
public int x;
public int y;
}
- [CCode (cheader_filename = "librsvg/rsvg.h", cprefix = "RSVG_HANDLE_FLAGS_", type_id = "rsvg_handle_flags_get_type ()")]
+ [CCode (cheader_filename = "librsvg/rsvg.h", cprefix = "RSVG_HANDLE_", type_id = "rsvg_handle_flags_get_type ()")]
[Flags]
public enum HandleFlags {
- NONE
+ FLAGS_NONE,
+ FLAG_UNLIMITED,
+ FLAG_KEEP_IMAGE_DATA
}
[CCode (cheader_filename = "librsvg/rsvg.h", cprefix = "RSVG_ERROR_")]
public errordomain Error {
@@ -103,33 +124,36 @@ namespace Rsvg {
public static GLib.Quark quark ();
}
[CCode (cheader_filename = "librsvg/rsvg.h")]
- [Deprecated]
+ [Version (deprecated = true)]
public delegate void SizeFunc (ref int width, ref int height);
[CCode (cheader_filename = "librsvg/rsvg.h")]
+ [Version (since = "2.36")]
public static void cleanup ();
[CCode (cheader_filename = "librsvg/rsvg.h")]
- [Deprecated (since = "2.36")]
+ [Version (deprecated_since = "2.36")]
public static void init ();
[CCode (cheader_filename = "librsvg/rsvg.h")]
- [Deprecated]
+ [Version (deprecated = true)]
public static Gdk.Pixbuf pixbuf_from_file (string file_name) throws GLib.Error;
[CCode (cheader_filename = "librsvg/rsvg.h")]
- [Deprecated]
+ [Version (deprecated = true)]
public static Gdk.Pixbuf pixbuf_from_file_at_max_size (string file_name, int max_width, int max_height) throws GLib.Error;
[CCode (cheader_filename = "librsvg/rsvg.h")]
- [Deprecated]
+ [Version (deprecated = true)]
public static Gdk.Pixbuf pixbuf_from_file_at_size (string file_name, int width, int height) throws GLib.Error;
[CCode (cheader_filename = "librsvg/rsvg.h")]
- [Deprecated]
+ [Version (deprecated = true)]
public static Gdk.Pixbuf pixbuf_from_file_at_zoom (string file_name, double x_zoom, double y_zoom) throws GLib.Error;
[CCode (cheader_filename = "librsvg/rsvg.h")]
- [Deprecated]
+ [Version (deprecated = true)]
public static Gdk.Pixbuf pixbuf_from_file_at_zoom_with_max (string file_name, double x_zoom, double y_zoom, int max_width, int max_height) throws GLib.Error;
[CCode (cheader_filename = "librsvg/rsvg.h")]
+ [Version (since = "2.8")]
public static void set_default_dpi (double dpi);
[CCode (cheader_filename = "librsvg/rsvg.h")]
+ [Version (since = "2.8")]
public static void set_default_dpi_x_y (double dpi_x, double dpi_y);
[CCode (cheader_filename = "librsvg/rsvg.h")]
- [Deprecated (since = "2.36")]
+ [Version (deprecated_since = "2.36")]
public static void term ();
}
diff --git a/vapi/libsoup-2.2.vapi b/vapi/libsoup-2.2.vapi
index 035c799ca..af6791876 100644
--- a/vapi/libsoup-2.2.vapi
+++ b/vapi/libsoup-2.2.vapi
@@ -1,6 +1,6 @@
/* libsoup-2.2.vapi generated by vapigen, do not modify. */
-[Deprecated (replacement = "libsoup-2.4")]
+[Version (replacement = "libsoup-2.4")]
namespace Soup {
[CCode (cheader_filename = "libsoup/soup.h")]
public class Address : GLib.Object {
diff --git a/vapi/libsoup-2.4.vapi b/vapi/libsoup-2.4.vapi
index c299c9af3..b32ba86ac 100644
--- a/vapi/libsoup-2.4.vapi
+++ b/vapi/libsoup-2.4.vapi
@@ -4,9 +4,10 @@
namespace Soup {
namespace Form {
[CCode (cheader_filename = "libsoup/soup.h")]
- public static GLib.HashTable<string,string> decode (string encoded_form);
+ public static GLib.HashTable<weak string,weak string> decode (string encoded_form);
[CCode (cheader_filename = "libsoup/soup.h")]
- public static GLib.HashTable<string,string>? decode_multipart (Soup.Message msg, string? file_control_name, out string filename, out string content_type, out Soup.Buffer file);
+ [Version (since = "2.26")]
+ public static GLib.HashTable<weak string,weak string>? decode_multipart (Soup.Message msg, string? file_control_name, out string filename, out string content_type, out Soup.Buffer file);
[CCode (cheader_filename = "libsoup/soup.h")]
public static string encode (...);
[CCode (cheader_filename = "libsoup/soup.h")]
@@ -22,6 +23,7 @@ namespace Soup {
[CCode (cheader_filename = "libsoup/soup.h")]
public static Soup.Message request_new_from_hash (string method, string uri, GLib.HashTable<string,string> form_data_set);
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Version (since = "2.26")]
public static Soup.Message request_new_from_multipart (string uri, Soup.Multipart multipart);
}
namespace XMLRPC {
@@ -49,54 +51,63 @@ namespace Soup {
[PrintfFormat]
public static string build_fault (int fault_code, string fault_format, ...);
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated]
+ [Version (deprecated = true)]
public static string? build_method_call (string method_name, [CCode (array_length_cname = "n_params", array_length_pos = 2.1)] GLib.Value[] @params);
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated]
+ [Version (deprecated = true)]
public static string? build_method_response (GLib.Value value);
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Version (since = "2.52")]
public static string build_request (string method_name, GLib.Variant @params) throws GLib.Error;
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Version (since = "2.52")]
public static string build_response (GLib.Variant value) throws GLib.Error;
[CCode (cheader_filename = "libsoup/soup.h")]
public static GLib.Quark error_quark ();
[CCode (cheader_filename = "libsoup/soup.h", sentinel = "G_TYPE_INVALID")]
- [Deprecated]
+ [Version (deprecated = true)]
public static bool extract_method_call (string method_call, int length, out string method_name, ...);
[CCode (cheader_filename = "libsoup/soup.h", sentinel = "G_TYPE_INVALID")]
- [Deprecated]
+ [Version (deprecated = true)]
public static bool extract_method_response (string method_response, int length, ...) throws Soup.XMLRPC.Fault;
[CCode (cheader_filename = "libsoup/soup.h")]
public static GLib.Quark fault_quark ();
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Version (since = "2.52")]
public static Soup.Message message_new (string uri, string method_name, GLib.Variant @params) throws GLib.Error;
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Version (since = "2.52")]
public static void message_set_fault (Soup.Message msg, int fault_code, string fault_format, ...);
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Version (since = "2.52")]
public static bool message_set_response (Soup.Message msg, GLib.Variant value) throws GLib.Error;
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated]
+ [Version (deprecated = true)]
public static bool parse_method_call (string method_call, int length, out string method_name, out GLib.ValueArray @params);
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated]
+ [Version (deprecated = true)]
public static bool parse_method_response (string method_response, int length, out GLib.Value value) throws Soup.XMLRPC.Fault;
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Version (since = "2.52")]
public static string parse_request (string method_call, int length, out Soup.XMLRPCParams @params) throws GLib.Error;
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Version (since = "2.52")]
public static GLib.Variant parse_response (string method_response, int length, string? signature) throws GLib.Error;
[CCode (cheader_filename = "libsoup/soup.h", sentinel = "G_TYPE_INVALID")]
- [Deprecated]
+ [Version (deprecated = true)]
public static Soup.Message request_new (string uri, string method_name, ...);
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated]
[PrintfFormat]
+ [Version (deprecated = true)]
public static void set_fault (Soup.Message msg, int fault_code, string fault_format, ...);
[CCode (cheader_filename = "libsoup/soup.h", sentinel = "G_TYPE_INVALID")]
- [Deprecated]
+ [Version (deprecated = true)]
public static void set_response (Soup.Message msg, ...);
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Version (since = "2.52")]
public static Soup.Date variant_get_datetime (GLib.Variant variant) throws GLib.Error;
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Version (since = "2.52")]
public static GLib.Variant variant_new_datetime (Soup.Date date);
}
[CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_address_get_type ()")]
@@ -105,19 +116,24 @@ namespace Soup {
public Address (string name, uint port);
[CCode (has_construct_function = false)]
public Address.any (Soup.AddressFamily family, uint port);
+ [Version (since = "2.26")]
public bool equal_by_ip (Soup.Address addr2);
+ [Version (since = "2.26")]
public bool equal_by_name (Soup.Address addr2);
[CCode (has_construct_function = false)]
public Address.from_sockaddr (void* sa, int len);
+ [Version (since = "2.32")]
public GLib.SocketAddress get_gsockaddr ();
public unowned string? get_name ();
public unowned string? get_physical ();
public uint get_port ();
public void* get_sockaddr (int len);
+ [Version (since = "2.26")]
public uint hash_by_ip ();
+ [Version (since = "2.26")]
public uint hash_by_name ();
public bool is_resolved ();
- public void resolve_async (GLib.MainContext? async_context, GLib.Cancellable? cancellable, [CCode (scope = "async")] owned Soup.AddressCallback callback);
+ public void resolve_async (GLib.MainContext? async_context, GLib.Cancellable? cancellable, [CCode (scope = "async")] Soup.AddressCallback callback);
public uint resolve_sync (GLib.Cancellable? cancellable = null);
[NoAccessorMethod]
public Soup.AddressFamily family { get; construct; }
@@ -143,6 +159,7 @@ namespace Soup {
public GLib.SList<string> get_saved_users ();
public unowned string get_scheme_name ();
public void has_saved_password (string username, string password);
+ [Version (since = "2.42")]
public virtual bool is_ready (Soup.Message msg);
public void save_password (string username, string password);
public virtual bool update (Soup.Message msg, GLib.HashTable<void*,void*> auth_header);
@@ -219,6 +236,7 @@ namespace Soup {
public class AuthManager : GLib.Object, Soup.SessionFeature {
[CCode (has_construct_function = false)]
protected AuthManager ();
+ [Version (since = "2.42")]
public void use_auth (Soup.URI uri, Soup.Auth auth);
public virtual signal void authenticate (Soup.Message msg, Soup.Auth auth, bool retrying);
}
@@ -234,16 +252,19 @@ namespace Soup {
public uint8[] data;
public size_t length;
[CCode (has_construct_function = false)]
- [Deprecated (replacement = "Buffer.take", since = "2.32")]
+ [Version (deprecated = true, deprecated_since = "2.32", replacement = "Buffer.take")]
public Buffer (Soup.MemoryUse use, [CCode (array_length_cname = "length", array_length_pos = 2.1, array_length_type = "gsize")] uint8[] data);
public Soup.Buffer copy ();
public void free ();
+ [Version (since = "2.40")]
public GLib.Bytes get_as_bytes ();
+ [Version (since = "2.32")]
public void get_data ([CCode (array_length_cname = "length", array_length_pos = 1.1, array_length_type = "gsize")] out unowned uint8[] data);
public void* get_owner ();
[CCode (has_construct_function = false)]
public Buffer.subbuffer (Soup.Buffer parent, size_t offset, size_t length);
[CCode (has_construct_function = false)]
+ [Version (since = "2.32")]
public Buffer.take ([CCode (array_length_cname = "length", array_length_pos = 1.1, array_length_type = "gsize")] owned uint8[] data);
[CCode (has_construct_function = false)]
public Buffer.with_owner ([CCode (array_length_cname = "length", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] data, void* owner, GLib.DestroyNotify? owner_dnotify);
@@ -255,14 +276,21 @@ namespace Soup {
[CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_cache_get_type ()")]
public class Cache : GLib.Object, Soup.SessionFeature {
[CCode (has_construct_function = false)]
+ [Version (since = "2.34")]
public Cache (string cache_dir, Soup.CacheType cache_type);
+ [Version (since = "2.34")]
public void clear ();
+ [Version (since = "2.34.")]
public void dump ();
+ [Version (since = "2.34")]
public void flush ();
[NoWrapper]
public virtual Soup.Cacheability get_cacheability (Soup.Message msg);
+ [Version (since = "2.34")]
public uint get_max_size ();
+ [Version (since = "2.34")]
public void load ();
+ [Version (since = "2.34")]
public void set_max_size (uint max_size);
[NoAccessorMethod]
public string cache_dir { owned get; construct; }
@@ -272,16 +300,20 @@ namespace Soup {
[CCode (cheader_filename = "libsoup/soup.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "soup_client_context_get_type ()")]
[Compact]
public class ClientContext {
- [Deprecated]
+ [Version (deprecated = true)]
public unowned Soup.Address? get_address ();
public unowned Soup.AuthDomain? get_auth_domain ();
public unowned string? get_auth_user ();
+ [Version (since = "2.48")]
public unowned GLib.Socket? get_gsocket ();
public unowned string? get_host ();
+ [Version (since = "2.48")]
public unowned GLib.SocketAddress? get_local_address ();
+ [Version (since = "2.48")]
public unowned GLib.SocketAddress? get_remote_address ();
- [Deprecated]
+ [Version (deprecated = true)]
public unowned Soup.Socket get_socket ();
+ [Version (since = "2.50")]
public GLib.IOStream steal_connection ();
}
[CCode (cheader_filename = "libsoup/soup.h")]
@@ -296,12 +328,16 @@ namespace Soup {
[CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_content_sniffer_get_type ()")]
public class ContentSniffer : GLib.Object, Soup.SessionFeature {
[CCode (has_construct_function = false)]
+ [Version (since = "2.28")]
public ContentSniffer ();
+ [Version (since = "2.28")]
public virtual size_t get_buffer_size ();
+ [Version (since = "2.28")]
public virtual string sniff (Soup.Message msg, Soup.Buffer buffer, out GLib.HashTable<string,string>? @params);
}
[CCode (cheader_filename = "libsoup/soup.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "soup_cookie_get_type ()")]
[Compact]
+ [Version (since = "2.24")]
public class Cookie {
public weak string domain;
public weak Soup.Date expires;
@@ -314,15 +350,23 @@ namespace Soup {
public Cookie (string name, string value, string domain, string path, int max_age);
public bool applies_to_uri (Soup.URI uri);
public Soup.Cookie copy ();
+ [Version (since = "2.30")]
public bool domain_matches (string host);
public bool equal (Soup.Cookie cookie2);
public void free ();
+ [Version (since = "2.32")]
public unowned string get_domain ();
+ [Version (since = "2.32")]
public unowned Soup.Date get_expires ();
+ [Version (since = "2.32")]
public bool get_http_only ();
+ [Version (since = "2.32")]
public unowned string get_name ();
+ [Version (since = "2.32")]
public unowned string get_path ();
+ [Version (since = "2.32")]
public bool get_secure ();
+ [Version (since = "2.32")]
public unowned string get_value ();
public static Soup.Cookie? parse (string header, Soup.URI origin);
public void set_domain (string domain);
@@ -339,20 +383,33 @@ namespace Soup {
[CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_cookie_jar_get_type ()")]
public class CookieJar : GLib.Object, Soup.SessionFeature {
[CCode (has_construct_function = false)]
+ [Version (since = "2.24")]
public CookieJar ();
+ [Version (since = "2.26")]
public void add_cookie (owned Soup.Cookie cookie);
+ [Version (since = "2.40")]
public void add_cookie_with_first_party (Soup.URI first_party, owned Soup.Cookie cookie);
+ [Version (since = "2.26")]
public GLib.SList<Soup.Cookie> all_cookies ();
+ [Version (since = "2.26")]
public void delete_cookie (Soup.Cookie cookie);
+ [Version (since = "2.30")]
public Soup.CookieJarAcceptPolicy get_accept_policy ();
+ [Version (since = "2.40")]
public GLib.SList<Soup.Cookie> get_cookie_list (Soup.URI uri, bool for_http);
+ [Version (since = "2.24")]
public string? get_cookies (Soup.URI uri, bool for_http);
+ [Version (since = "2.40")]
public virtual bool is_persistent ();
- [Deprecated]
+ [Version (deprecated = true, since = "2.24")]
public virtual void save ();
+ [Version (since = "2.30")]
public void set_accept_policy (Soup.CookieJarAcceptPolicy policy);
+ [Version (since = "2.24")]
public void set_cookie (Soup.URI uri, string cookie);
+ [Version (since = "2.30")]
public void set_cookie_with_first_party (Soup.URI uri, Soup.URI first_party, string cookie);
+ [Version (since = "2.30")]
public Soup.CookieJarAcceptPolicy accept_policy { get; set; }
[NoAccessorMethod]
public bool read_only { get; construct; }
@@ -361,6 +418,7 @@ namespace Soup {
[CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_cookie_jar_db_get_type ()")]
public class CookieJarDB : Soup.CookieJar, Soup.SessionFeature {
[CCode (has_construct_function = false, type = "SoupCookieJar*")]
+ [Version (since = "2.42")]
public CookieJarDB (string filename, bool read_only);
[NoAccessorMethod]
public string filename { owned get; construct; }
@@ -368,6 +426,7 @@ namespace Soup {
[CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_cookie_jar_text_get_type ()")]
public class CookieJarText : Soup.CookieJar, Soup.SessionFeature {
[CCode (has_construct_function = false, type = "SoupCookieJar*")]
+ [Version (since = "2.26")]
public CookieJarText (string filename, bool read_only);
[NoAccessorMethod]
public string filename { owned get; construct; }
@@ -385,7 +444,9 @@ namespace Soup {
public int year;
[CCode (has_construct_function = false)]
public Date (int year, int month, int day, int hour, int minute, int second);
+ [Version (since = "2.24")]
public Soup.Date copy ();
+ [Version (since = "2.24")]
public void free ();
[CCode (has_construct_function = false)]
public Date.from_now (int offset_seconds);
@@ -393,17 +454,27 @@ namespace Soup {
public Date.from_string (string date_string);
[CCode (has_construct_function = false)]
public Date.from_time_t ([CCode (type = "time_t")] time_t when);
+ [Version (since = "2.32")]
public int get_day ();
+ [Version (since = "2.32")]
public int get_hour ();
+ [Version (since = "2.32")]
public int get_minute ();
+ [Version (since = "2.32")]
public int get_month ();
+ [Version (since = "2.32")]
public int get_offset ();
+ [Version (since = "2.32")]
public int get_second ();
+ [Version (since = "2.32")]
public int get_utc ();
+ [Version (since = "2.32")]
public int get_year ();
+ [Version (since = "2.24")]
public bool is_past ();
public string to_string (Soup.DateFormat format);
public time_t to_time_t ();
+ [Version (since = "2.24")]
public GLib.TimeVal to_timeval ();
}
[CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_logger_get_type ()")]
@@ -424,30 +495,40 @@ namespace Soup {
public Message (string method, string uri_string);
public uint add_header_handler (string @signal, string header, GLib.Callback callback);
public uint add_status_code_handler (string @signal, uint status_code, GLib.Callback callback);
+ [Version (since = "2.28")]
public void disable_feature (GLib.Type feature_type);
[CCode (has_construct_function = false)]
public Message.from_uri (string method, Soup.URI uri);
+ [Version (since = "2.26")]
public unowned Soup.Address get_address ();
+ [Version (since = "2.30")]
public unowned Soup.URI get_first_party ();
public Soup.MessageFlags get_flags ();
public Soup.HTTPVersion get_http_version ();
+ [Version (since = "2.34")]
public bool get_https_status (out unowned GLib.TlsCertificate certificate, out GLib.TlsCertificateFlags errors);
+ [Version (since = "2.44")]
public Soup.MessagePriority get_priority ();
+ [Version (since = "2.42")]
public unowned Soup.Request get_soup_request ();
public unowned Soup.URI get_uri ();
public bool is_keepalive ();
- [Deprecated]
+ [Version (deprecated = true)]
public void set_chunk_allocator (owned Soup.ChunkAllocator allocator);
+ [Version (since = "2.30")]
public void set_first_party (Soup.URI first_party);
public void set_flags (Soup.MessageFlags flags);
public void set_http_version (Soup.HTTPVersion version);
+ [Version (since = "2.44")]
public void set_priority (Soup.MessagePriority priority);
+ [Version (since = "2.38")]
public void set_redirect (uint status_code, string redirect_uri);
public void set_request (string? content_type, Soup.MemoryUse req_use, [CCode (array_length_cname = "req_length", array_length_pos = 3.1, array_length_type = "gsize")] uint8[] req_body);
public void set_response (string? content_type, Soup.MemoryUse resp_use, [CCode (array_length_cname = "resp_length", array_length_pos = 3.1, array_length_type = "gsize")] uint8[]? resp_body);
public void set_status (uint status_code);
public void set_status_full (uint status_code, string reason_phrase);
public void set_uri (Soup.URI uri);
+ [Version (since = "2.30")]
public Soup.URI first_party { get; set; }
public Soup.MessageFlags flags { get; set; }
public Soup.HTTPVersion http_version { get; set; }
@@ -461,11 +542,14 @@ namespace Soup {
[NoAccessorMethod]
public uint status_code { get; set; }
[NoAccessorMethod]
+ [Version (since = "2.34")]
public GLib.TlsCertificate tls_certificate { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "2.34")]
public GLib.TlsCertificateFlags tls_errors { get; set; }
public Soup.URI uri { get; set; }
[HasEmitter]
+ [Version (since = "2.28")]
public signal void content_sniffed (string content_type, GLib.HashTable<string,string> @params);
[HasEmitter]
public virtual signal void finished ();
@@ -477,14 +561,17 @@ namespace Soup {
public virtual signal void got_headers ();
[HasEmitter]
public virtual signal void got_informational ();
+ [Version (since = "2.38")]
public signal void network_event (GLib.SocketClientEvent event, GLib.IOStream connection);
[HasEmitter]
public virtual signal void restarted ();
[HasEmitter]
+ [Version (since = "2.50")]
public virtual signal void starting ();
[HasEmitter]
public virtual signal void wrote_body ();
[HasEmitter]
+ [Version (since = "2.24")]
public signal void wrote_body_data (Soup.Buffer chunk);
[HasEmitter]
public virtual signal void wrote_chunk ();
@@ -501,18 +588,23 @@ namespace Soup {
public int64 length;
[CCode (has_construct_function = false)]
public MessageBody ();
- [Deprecated (replacement = "MessageBody.append_take", since = "2.32")]
+ [Version (deprecated = true, deprecated_since = "2.32", replacement = "MessageBody.append_take")]
public void append (Soup.MemoryUse use, [CCode (array_length_cname = "length", array_length_pos = 2.1, array_length_type = "gsize")] uint8[] data);
public void append_buffer (Soup.Buffer buffer);
+ [Version (since = "2.32")]
public void append_take ([CCode (array_length_cname = "length", array_length_pos = 1.1, array_length_type = "gsize")] owned uint8[] data);
public void complete ();
public Soup.Buffer flatten ();
public void free ();
+ [Version (since = "2.24")]
public bool get_accumulate ();
public Soup.Buffer? get_chunk (int64 offset);
+ [Version (since = "2.24")]
public void got_chunk (Soup.Buffer chunk);
+ [Version (since = "2.24")]
public void set_accumulate (bool accumulate);
public void truncate ();
+ [Version (since = "2.24")]
public void wrote_chunk (Soup.Buffer chunk);
}
[CCode (cheader_filename = "libsoup/soup.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "soup_message_headers_get_type ()")]
@@ -521,34 +613,50 @@ namespace Soup {
[CCode (has_construct_function = false)]
public MessageHeaders (Soup.MessageHeadersType type);
public void append (string name, string value);
+ [Version (since = "2.36")]
public void clean_connection_headers ();
public void clear ();
public void @foreach (Soup.MessageHeadersForeachFunc func);
public void free ();
+ [Version (since = "2.26")]
public void free_ranges (Soup.Range ranges);
- [Deprecated]
+ [Version (deprecated = true)]
public unowned string? @get (string name);
+ [Version (since = "2.26")]
public bool get_content_disposition (out string disposition, out GLib.HashTable<string,string> @params);
public int64 get_content_length ();
+ [Version (since = "2.26")]
public bool get_content_range (int64 start, int64 end, int64 total_length);
+ [Version (since = "2.26")]
public unowned string? get_content_type (out GLib.HashTable<string,string> @params);
public Soup.Encoding get_encoding ();
public Soup.Expectation get_expectations ();
+ [Version (since = "2.50")]
public Soup.MessageHeadersType get_headers_type ();
+ [Version (since = "2.28")]
public unowned string? get_list (string name);
+ [Version (since = "2.28")]
public unowned string? get_one (string name);
+ [Version (since = "2.26")]
public bool get_ranges (int64 total_length, [CCode (array_length_cname = "length", array_length_pos = 2.1)] out Soup.Range[] ranges);
+ [Version (since = "2.50")]
public bool header_contains (string name, string token);
+ [Version (since = "2.50")]
public bool header_equals (string name, string value);
public void remove (string name);
public void replace (string name, string value);
+ [Version (since = "2.26")]
public void set_content_disposition (string disposition, GLib.HashTable<string,string>? @params);
public void set_content_length (int64 content_length);
+ [Version (since = "2.26")]
public void set_content_range (int64 start, int64 end, int64 total_length);
+ [Version (since = "2.26")]
public void set_content_type (string content_type, GLib.HashTable<string,string>? @params);
public void set_encoding (Soup.Encoding encoding);
public void set_expectations (Soup.Expectation expectations);
+ [Version (since = "2.26")]
public void set_range (int64 start, int64 end);
+ [Version (since = "2.26")]
public void set_ranges (Soup.Range ranges, int length);
}
[CCode (cheader_filename = "libsoup/soup.h")]
@@ -561,6 +669,7 @@ namespace Soup {
}
[CCode (cheader_filename = "libsoup/soup.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "soup_multipart_get_type ()")]
[Compact]
+ [Version (since = "2.26")]
public class Multipart {
[CCode (has_construct_function = false)]
public Multipart (string mime_type);
@@ -577,9 +686,13 @@ namespace Soup {
[CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_multipart_input_stream_get_type ()")]
public class MultipartInputStream : GLib.FilterInputStream, GLib.PollableInputStream {
[CCode (has_construct_function = false)]
+ [Version (since = "2.40")]
public MultipartInputStream (Soup.Message msg, GLib.InputStream base_stream);
+ [Version (since = "2.40")]
public unowned Soup.MessageHeaders? get_headers ();
+ [Version (since = "2.40")]
public GLib.InputStream? next_part (GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.40")]
public async GLib.InputStream? next_part_async (int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
[NoAccessorMethod]
public Soup.Message message { owned get; construct; }
@@ -592,6 +705,7 @@ namespace Soup {
public GLib.ProxyResolver gproxy_resolver { set; }
}
[CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_request_get_type ()")]
+ [Version (since = "2.42")]
public class Request : GLib.Object, GLib.Initable {
[CCode (has_construct_function = false)]
protected Request ();
@@ -615,16 +729,18 @@ namespace Soup {
public class RequestFile : Soup.Request, GLib.Initable {
[CCode (has_construct_function = false)]
protected RequestFile ();
+ [Version (since = "2.40")]
public GLib.File get_file ();
}
[CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_request_http_get_type ()")]
public class RequestHTTP : Soup.Request, GLib.Initable {
[CCode (has_construct_function = false)]
protected RequestHTTP ();
+ [Version (since = "2.40")]
public Soup.Message get_message ();
}
[CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_requester_get_type ()")]
- [Deprecated (replacement = "Session", since = "2.42")]
+ [Version (deprecated = true, deprecated_since = "2.42", replacement = "Session")]
public class Requester : GLib.Object, Soup.SessionFeature {
[CCode (has_construct_function = false)]
public Requester ();
@@ -635,61 +751,73 @@ namespace Soup {
public class Server : GLib.Object {
[CCode (has_construct_function = false)]
public Server (string optname1, ...);
+ [Version (since = "2.50")]
public bool accept_iostream (GLib.IOStream stream, GLib.SocketAddress? local_addr, GLib.SocketAddress? remote_addr) throws GLib.Error;
public void add_auth_domain (Soup.AuthDomain auth_domain);
+ [Version (since = "2.50")]
public void add_early_handler (string? path, owned Soup.ServerCallback callback);
public void add_handler (string? path, owned Soup.ServerCallback callback);
public void add_websocket_handler (string? path, string? origin, [CCode (array_length = false, array_null_terminated = true)] string[]? protocols, owned Soup.ServerWebsocketCallback callback);
public void disconnect ();
- [Deprecated]
+ [Version (deprecated = true)]
public unowned GLib.MainContext? get_async_context ();
- [Deprecated]
+ [Version (deprecated = true)]
public unowned Soup.Socket get_listener ();
public GLib.SList<weak GLib.Socket> get_listeners ();
- [Deprecated]
+ [Version (deprecated = true)]
public uint get_port ();
+ [Version (since = "2.48")]
public GLib.SList<Soup.URI> get_uris ();
public bool is_https ();
+ [Version (since = "2.48")]
public bool listen (GLib.SocketAddress address, Soup.ServerListenOptions options) throws GLib.Error;
+ [Version (since = "2.48")]
public bool listen_all (uint port, Soup.ServerListenOptions options) throws GLib.Error;
+ [Version (since = "2.48")]
public bool listen_fd (int fd, Soup.ServerListenOptions options) throws GLib.Error;
+ [Version (since = "2.48")]
public bool listen_local (uint port, Soup.ServerListenOptions options) throws GLib.Error;
+ [Version (since = "2.48")]
public bool listen_socket (GLib.Socket socket, Soup.ServerListenOptions options) throws GLib.Error;
public void pause_message (Soup.Message msg);
- [Deprecated]
+ [Version (deprecated = true)]
public void quit ();
public void remove_auth_domain (Soup.AuthDomain auth_domain);
public void remove_handler (string path);
- [Deprecated]
+ [Version (deprecated = true)]
public void run ();
- [Deprecated]
+ [Version (deprecated = true)]
public void run_async ();
+ [Version (since = "2.48")]
public bool set_ssl_cert_file (string ssl_cert_file, string ssl_key_file) throws GLib.Error;
public void unpause_message (Soup.Message msg);
- [Deprecated]
+ [Version (deprecated = true)]
public GLib.MainContext async_context { get; owned construct; }
[CCode (array_length = false, array_null_terminated = true)]
[NoAccessorMethod]
+ [Version (since = "2.44")]
public string[] http_aliases { owned get; set; }
[CCode (array_length = false, array_null_terminated = true)]
[NoAccessorMethod]
+ [Version (since = "2.44")]
public string[] https_aliases { owned get; set; }
- [Deprecated]
[NoAccessorMethod]
+ [Version (deprecated = true)]
public Soup.Address @interface { owned get; construct; }
- [Deprecated]
+ [Version (deprecated = true)]
public uint port { get; construct; }
[NoAccessorMethod]
public bool raw_paths { get; construct; }
[NoAccessorMethod]
public string server_header { owned get; set construct; }
- [Deprecated]
[NoAccessorMethod]
+ [Version (deprecated = true)]
public string ssl_cert_file { owned get; construct; }
- [Deprecated]
[NoAccessorMethod]
+ [Version (deprecated = true)]
public string ssl_key_file { owned get; construct; }
[NoAccessorMethod]
+ [Version (since = "2.38")]
public GLib.TlsCertificate tls_certificate { owned get; construct; }
public virtual signal void request_aborted (Soup.Message msg, Soup.ClientContext client);
public virtual signal void request_finished (Soup.Message msg, Soup.ClientContext client);
@@ -699,9 +827,12 @@ namespace Soup {
[CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_session_get_type ()")]
public class Session : GLib.Object {
[CCode (has_construct_function = false)]
+ [Version (since = "2.42")]
public Session ();
public void abort ();
+ [Version (since = "2.24")]
public void add_feature (Soup.SessionFeature feature);
+ [Version (since = "2.24")]
public void add_feature_by_type (GLib.Type feature_type);
[NoWrapper]
public virtual void auth_required (Soup.Message msg, Soup.Auth auth, bool retrying);
@@ -709,108 +840,142 @@ namespace Soup {
[NoWrapper]
public virtual void flush_queue ();
public unowned GLib.MainContext? get_async_context ();
+ [Version (since = "2.26")]
public unowned Soup.SessionFeature? get_feature (GLib.Type feature_type);
+ [Version (since = "2.28")]
public unowned Soup.SessionFeature? get_feature_for_message (GLib.Type feature_type, Soup.Message msg);
+ [Version (since = "2.26")]
public GLib.SList<Soup.SessionFeature> get_features (GLib.Type feature_type);
+ [Version (since = "2.42")]
public bool has_feature (GLib.Type feature_type);
[NoWrapper]
public virtual void kick ();
public void pause_message (Soup.Message msg);
- public void prefetch_dns (string hostname, GLib.Cancellable? cancellable, [CCode (scope = "async")] owned Soup.AddressCallback? callback);
- [Deprecated (since = "2.38")]
+ [Version (since = "2.38")]
+ public void prefetch_dns (string hostname, GLib.Cancellable? cancellable, [CCode (scope = "async")] Soup.AddressCallback? callback);
+ [Version (deprecated = true, deprecated_since = "2.38", since = "2.30")]
public void prepare_for_uri (Soup.URI uri);
- public virtual void queue_message (owned Soup.Message msg, [CCode (scope = "async")] owned Soup.SessionCallback? callback);
+ public virtual void queue_message (owned Soup.Message msg, [CCode (scope = "async")] Soup.SessionCallback? callback);
+ [Version (since = "2.38")]
public bool redirect_message (Soup.Message msg);
+ [Version (since = "2.24")]
public void remove_feature (Soup.SessionFeature feature);
+ [Version (since = "2.24")]
public void remove_feature_by_type (GLib.Type feature_type);
+ [Version (since = "2.42")]
public Soup.Request request (string uri_string) throws GLib.Error;
+ [Version (since = "2.42")]
public Soup.RequestHTTP request_http (string method, string uri_string) throws GLib.Error;
+ [Version (since = "2.42")]
public Soup.RequestHTTP request_http_uri (string method, Soup.URI uri) throws GLib.Error;
+ [Version (since = "2.42")]
public Soup.Request request_uri (Soup.URI uri) throws GLib.Error;
public virtual void requeue_message (Soup.Message msg);
+ [Version (since = "2.42")]
public GLib.InputStream send (Soup.Message msg, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.42")]
public async GLib.InputStream send_async (Soup.Message msg, GLib.Cancellable? cancellable = null) throws GLib.Error;
public virtual uint send_message (Soup.Message msg);
+ [Version (since = "2.50")]
public GLib.IOStream steal_connection (Soup.Message msg);
public void unpause_message (Soup.Message msg);
+ [Version (since = "2.50")]
public async Soup.WebsocketConnection websocket_connect_async (Soup.Message msg, string? origin, [CCode (array_length = false, array_null_terminated = true)] string[]? protocols, GLib.Cancellable? cancellable) throws GLib.Error;
[CCode (has_construct_function = false)]
+ [Version (since = "2.42")]
public Session.with_options (string optname1, ...);
+ [Version (since = "2.38")]
public bool would_redirect (Soup.Message msg);
[NoAccessorMethod]
+ [Version (since = "2.30")]
public string accept_language { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "2.30")]
public bool accept_language_auto { get; set; }
public GLib.MainContext async_context { get; owned construct; }
[CCode (array_length = false, array_null_terminated = true)]
[NoAccessorMethod]
+ [Version (since = "2.38")]
public string[] http_aliases { owned get; set; }
[CCode (array_length = false, array_null_terminated = true)]
[NoAccessorMethod]
+ [Version (since = "2.38")]
public string[] https_aliases { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "2.24")]
public uint idle_timeout { get; set; }
[NoAccessorMethod]
+ [Version (since = "2.42")]
public Soup.Address local_address { owned get; construct; }
[NoAccessorMethod]
public int max_conns { get; set; }
[NoAccessorMethod]
public int max_conns_per_host { get; set; }
[NoAccessorMethod]
+ [Version (since = "2.42")]
public GLib.ProxyResolver proxy_resolver { owned get; set; }
[NoAccessorMethod]
public Soup.URI proxy_uri { owned get; set; }
- [Deprecated]
[NoAccessorMethod]
+ [Version (deprecated = true)]
public string ssl_ca_file { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "2.30")]
public bool ssl_strict { get; set; }
[NoAccessorMethod]
+ [Version (since = "2.38")]
public bool ssl_use_system_ca_file { get; set; }
[NoAccessorMethod]
public uint timeout { get; set; }
[NoAccessorMethod]
+ [Version (since = "2.38")]
public GLib.TlsDatabase tls_database { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "2.48")]
public GLib.TlsInteraction tls_interaction { owned get; set; }
- [Deprecated]
[NoAccessorMethod]
+ [Version (deprecated = true)]
public bool use_ntlm { get; set; }
[NoAccessorMethod]
+ [Version (since = "2.38")]
public bool use_thread_context { get; set; }
[NoAccessorMethod]
public string user_agent { owned get; set; }
public virtual signal void authenticate (Soup.Message msg, Soup.Auth auth, bool retrying);
+ [Version (since = "2.30")]
public signal void connection_created (GLib.Object connection);
+ [Version (since = "2.24")]
public signal void request_queued (Soup.Message msg);
- [Deprecated (since = "2.50.")]
+ [Version (deprecated = true, deprecated_since = "2.50.")]
public virtual signal void request_started (Soup.Message msg, Soup.Socket socket);
+ [Version (since = "2.24")]
public signal void request_unqueued (Soup.Message msg);
+ [Version (since = "2.30")]
public signal void tunneling (GLib.Object connection);
}
[CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_session_async_get_type ()")]
public class SessionAsync : Soup.Session {
[CCode (has_construct_function = false, type = "SoupSession*")]
- [Deprecated]
+ [Version (deprecated = true)]
public SessionAsync ();
[CCode (has_construct_function = false, type = "SoupSession*")]
- [Deprecated]
+ [Version (deprecated = true)]
public SessionAsync.with_options (string optname1, ...);
}
[CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_session_sync_get_type ()")]
public class SessionSync : Soup.Session {
[CCode (has_construct_function = false, type = "SoupSession*")]
- [Deprecated]
+ [Version (deprecated = true)]
public SessionSync ();
[CCode (has_construct_function = false, type = "SoupSession*")]
- [Deprecated]
+ [Version (deprecated = true)]
public SessionSync.with_options (string optname1, ...);
}
[CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_socket_get_type ()")]
public class Socket : GLib.Object, GLib.Initable {
[CCode (has_construct_function = false)]
public Socket (string optname1, ...);
- public void connect_async (GLib.Cancellable? cancellable, [CCode (scope = "async")] owned Soup.SocketCallback callback);
+ public void connect_async (GLib.Cancellable? cancellable, [CCode (scope = "async")] Soup.SocketCallback callback);
public uint connect_sync (GLib.Cancellable? cancellable = null);
public void disconnect ();
public int get_fd ();
@@ -852,8 +1017,10 @@ namespace Soup {
[NoAccessorMethod]
public bool trusted_certificate { get; }
[NoAccessorMethod]
+ [Version (since = "2.38")]
public bool use_thread_context { get; construct; }
public virtual signal void disconnected ();
+ [Version (since = "2.38")]
public signal void event (GLib.SocketClientEvent event, GLib.IOStream connection);
public virtual signal void new_connection (Soup.Socket new_sock);
public virtual signal void readable ();
@@ -873,20 +1040,31 @@ namespace Soup {
[CCode (has_construct_function = false)]
public URI (string? uri_string);
public Soup.URI copy ();
+ [Version (since = "2.28")]
public Soup.URI copy_host ();
public static string decode (string part);
public static string encode (string part, string? escape_extra);
public bool equal (Soup.URI uri2);
public void free ();
+ [Version (since = "2.32")]
public unowned string get_fragment ();
+ [Version (since = "2.32")]
public unowned string get_host ();
+ [Version (since = "2.32")]
public unowned string get_password ();
+ [Version (since = "2.32")]
public unowned string get_path ();
+ [Version (since = "2.32")]
public uint get_port ();
+ [Version (since = "2.32")]
public unowned string get_query ();
+ [Version (since = "2.32")]
public unowned string get_scheme ();
+ [Version (since = "2.32")]
public unowned string get_user ();
+ [Version (since = "2.28")]
public bool host_equal (Soup.URI v2);
+ [Version (since = "2.28")]
public uint host_hash ();
public static string normalize (string part, string? unescape_extra);
public void set_fragment (string? fragment);
@@ -905,6 +1083,7 @@ namespace Soup {
public URI.with_base (Soup.URI @base, string uri_string);
}
[CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_websocket_connection_get_type ()")]
+ [Version (since = "2.50")]
public class WebsocketConnection : GLib.Object {
[CCode (has_construct_function = false)]
public WebsocketConnection (GLib.IOStream stream, Soup.URI uri, Soup.WebsocketConnectionType type, string? origin, string? protocol);
@@ -932,34 +1111,39 @@ namespace Soup {
}
[CCode (cheader_filename = "libsoup/soup.h")]
[Compact]
+ [Version (since = "2.52")]
public class XMLRPCParams {
public void free ();
public GLib.Variant parse (string? signature) throws GLib.Error;
}
[CCode (cheader_filename = "libsoup/soup.h", type_cname = "SoupPasswordManagerInterface", type_id = "soup_password_manager_get_type ()")]
public interface PasswordManager : Soup.SessionFeature, GLib.Object {
- public abstract void get_passwords_async (Soup.Message msg, Soup.Auth auth, bool retrying, GLib.MainContext async_context, GLib.Cancellable? cancellable, [CCode (scope = "async")] owned Soup.PasswordManagerCallback callback);
+ public abstract void get_passwords_async (Soup.Message msg, Soup.Auth auth, bool retrying, GLib.MainContext async_context, GLib.Cancellable? cancellable, [CCode (scope = "async")] Soup.PasswordManagerCallback callback);
public abstract void get_passwords_sync (Soup.Message msg, Soup.Auth auth, GLib.Cancellable? cancellable = null);
}
[CCode (cheader_filename = "libsoup/soup.h", type_cname = "SoupProxyResolverInterface", type_id = "soup_proxy_resolver_get_type ()")]
- [Deprecated (replacement = "Soup.ProxyURIResolver")]
+ [Version (replacement = "Soup.ProxyURIResolver")]
public interface ProxyResolver : Soup.SessionFeature, GLib.Object {
public abstract void get_proxy_async (Soup.Message msg, GLib.MainContext async_context, GLib.Cancellable? cancellable, Soup.ProxyResolverCallback callback);
public abstract uint get_proxy_sync (Soup.Message msg, GLib.Cancellable? cancellable, out unowned Soup.Address addr);
}
[CCode (cheader_filename = "libsoup/soup.h", type_cname = "SoupProxyURIResolverInterface", type_id = "soup_proxy_uri_resolver_get_type ()")]
public interface ProxyURIResolver : Soup.SessionFeature, GLib.Object {
- [Deprecated]
- public abstract void get_proxy_uri_async (Soup.URI uri, GLib.MainContext? async_context, GLib.Cancellable? cancellable, [CCode (scope = "async")] owned Soup.ProxyURIResolverCallback callback);
- [Deprecated]
+ [Version (deprecated = true, since = "2.26.3")]
+ public abstract void get_proxy_uri_async (Soup.URI uri, GLib.MainContext? async_context, GLib.Cancellable? cancellable, [CCode (scope = "async")] Soup.ProxyURIResolverCallback callback);
+ [Version (deprecated = true, since = "2.26.3")]
public abstract uint get_proxy_uri_sync (Soup.URI uri, GLib.Cancellable? cancellable, out Soup.URI proxy_uri);
}
[CCode (cheader_filename = "libsoup/soup.h", type_cname = "SoupSessionFeatureInterface", type_id = "soup_session_feature_get_type ()")]
+ [Version (since = "2.24")]
public interface SessionFeature : GLib.Object {
+ [Version (since = "2.34")]
public abstract bool add_feature (GLib.Type type);
public abstract void attach (Soup.Session session);
public abstract void detach (Soup.Session session);
+ [Version (since = "2.34")]
public abstract bool has_feature (GLib.Type type);
+ [Version (since = "2.34")]
public abstract bool remove_feature (GLib.Type type);
[NoWrapper]
public abstract void request_queued (Soup.Session session, Soup.Message msg);
@@ -974,6 +1158,7 @@ namespace Soup {
public bool next (out unowned string name, out unowned string value);
}
[CCode (cheader_filename = "libsoup/soup.h", has_type_id = false)]
+ [Version (since = "2.26")]
public struct Range {
public int64 start;
public int64 end;
@@ -991,6 +1176,7 @@ namespace Soup {
STALE
}
[CCode (cheader_filename = "libsoup/soup.h", cprefix = "SOUP_CACHE_", type_id = "soup_cache_type_get_type ()")]
+ [Version (since = "2.34")]
public enum CacheType {
SINGLE_USER,
SHARED
@@ -1013,6 +1199,7 @@ namespace Soup {
DISCONNECTED
}
[CCode (cheader_filename = "libsoup/soup.h", cprefix = "SOUP_COOKIE_JAR_ACCEPT_", type_id = "soup_cookie_jar_accept_policy_get_type ()")]
+ [Version (since = "2.30")]
public enum CookieJarAcceptPolicy {
ALWAYS,
NEVER,
@@ -1049,7 +1236,7 @@ namespace Soup {
@1_1
}
[CCode (cheader_filename = "libsoup/soup.h", cprefix = "SOUP_STATUS_", type_id = "soup_known_status_code_get_type ()")]
- [Deprecated (replacement = "Status", since = "vala-0.22")]
+ [Version (deprecated_since = "vala-0.22", replacement = "Status")]
public enum KnownStatusCode {
NONE,
CANCELLED,
@@ -1157,6 +1344,7 @@ namespace Soup {
}
[CCode (cheader_filename = "libsoup/soup.h", cprefix = "SOUP_SERVER_LISTEN_", type_id = "soup_server_listen_options_get_type ()")]
[Flags]
+ [Version (since = "2.48")]
public enum ServerListenOptions {
HTTPS,
IPV4_ONLY,
@@ -1235,9 +1423,11 @@ namespace Soup {
INSUFFICIENT_STORAGE,
NOT_EXTENDED;
public static unowned string get_phrase (uint status_code);
+ [Version (since = "2.26")]
public static uint proxify (uint status_code);
}
[CCode (cheader_filename = "libsoup/soup.h", cprefix = "SOUP_WEBSOCKET_CLOSE_", type_id = "soup_websocket_close_code_get_type ()")]
+ [Version (since = "2.50")]
public enum WebsocketCloseCode {
NORMAL,
GOING_AWAY,
@@ -1253,17 +1443,20 @@ namespace Soup {
TLS_HANDSHAKE
}
[CCode (cheader_filename = "libsoup/soup.h", cprefix = "SOUP_WEBSOCKET_CONNECTION_", type_id = "soup_websocket_connection_type_get_type ()")]
+ [Version (since = "2.50")]
public enum WebsocketConnectionType {
UNKNOWN,
CLIENT,
SERVER
}
[CCode (cheader_filename = "libsoup/soup.h", cprefix = "SOUP_WEBSOCKET_DATA_", type_id = "soup_websocket_data_type_get_type ()")]
+ [Version (since = "2.50")]
public enum WebsocketDataType {
TEXT,
BINARY
}
[CCode (cheader_filename = "libsoup/soup.h", cprefix = "SOUP_WEBSOCKET_ERROR_", type_id = "soup_websocket_error_get_type ()")]
+ [Version (since = "2.50")]
public enum WebsocketError {
FAILED,
NOT_WEBSOCKET,
@@ -1272,12 +1465,14 @@ namespace Soup {
public static GLib.Quark get_quark ();
}
[CCode (cheader_filename = "libsoup/soup.h", cprefix = "SOUP_WEBSOCKET_STATE_", type_id = "soup_websocket_state_get_type ()")]
+ [Version (since = "2.50")]
public enum WebsocketState {
OPEN,
CLOSING,
CLOSED
}
[CCode (cheader_filename = "libsoup/soup.h", cprefix = "SOUP_REQUEST_ERROR_")]
+ [Version (since = "2.42")]
public errordomain RequestError {
BAD_URI,
UNSUPPORTED_URI_SCHEME,
@@ -1300,6 +1495,7 @@ namespace Soup {
public static GLib.Quark quark ();
}
[CCode (cheader_filename = "libsoup/soup.h", cprefix = "SOUP_TLD_ERROR_")]
+ [Version (since = "2.40")]
public errordomain TLDError {
INVALID_HOSTNAME,
IS_IP_ADDRESS,
@@ -1318,7 +1514,7 @@ namespace Soup {
[CCode (cheader_filename = "libsoup/soup.h", instance_pos = 3.9)]
public delegate bool AuthDomainGenericAuthCallback (Soup.AuthDomain domain, Soup.Message msg, string username);
[CCode (cheader_filename = "libsoup/soup.h", instance_pos = 2.9)]
- [Deprecated]
+ [Version (deprecated = true)]
public delegate Soup.Buffer? ChunkAllocator (Soup.Message msg, size_t max_len);
[CCode (cheader_filename = "libsoup/soup.h", instance_pos = 2.9)]
public delegate Soup.LoggerLogLevel LoggerFilter (Soup.Logger logger, Soup.Message msg);
@@ -1417,6 +1613,7 @@ namespace Soup {
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_COOKIE_H")]
public const int COOKIE_H;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_COOKIE_JAR_ACCEPT_POLICY")]
+ [Version (since = "2.30")]
public const string COOKIE_JAR_ACCEPT_POLICY;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_COOKIE_JAR_DB_FILENAME")]
public const string COOKIE_JAR_DB_FILENAME;
@@ -1431,20 +1628,26 @@ namespace Soup {
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_COOKIE_JAR_TEXT_H")]
public const int COOKIE_JAR_TEXT_H;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_COOKIE_MAX_AGE_ONE_DAY")]
+ [Version (since = "2.24")]
public const int COOKIE_MAX_AGE_ONE_DAY;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_COOKIE_MAX_AGE_ONE_HOUR")]
+ [Version (since = "2.24")]
public const int COOKIE_MAX_AGE_ONE_HOUR;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_COOKIE_MAX_AGE_ONE_WEEK")]
+ [Version (since = "2.24")]
public const int COOKIE_MAX_AGE_ONE_WEEK;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_COOKIE_MAX_AGE_ONE_YEAR")]
+ [Version (since = "2.24")]
public const int COOKIE_MAX_AGE_ONE_YEAR;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_DATE_H")]
public const int DATE_H;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_FORM_H")]
public const int FORM_H;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_FORM_MIME_TYPE_MULTIPART")]
+ [Version (since = "2.26")]
public const string FORM_MIME_TYPE_MULTIPART;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_FORM_MIME_TYPE_URLENCODED")]
+ [Version (since = "2.26")]
public const string FORM_MIME_TYPE_URLENCODED;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_HEADERS_H")]
public const int HEADERS_H;
@@ -1453,6 +1656,7 @@ namespace Soup {
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_MESSAGE_BODY_H")]
public const int MESSAGE_BODY_H;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_MESSAGE_FIRST_PARTY")]
+ [Version (since = "2.30")]
public const string MESSAGE_FIRST_PARTY;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_MESSAGE_FLAGS")]
public const string MESSAGE_FLAGS;
@@ -1465,18 +1669,21 @@ namespace Soup {
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_MESSAGE_METHOD")]
public const string MESSAGE_METHOD;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_MESSAGE_PRIORITY")]
+ [Version (since = "2.44")]
public const string MESSAGE_PRIORITY;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_MESSAGE_REASON_PHRASE")]
public const string MESSAGE_REASON_PHRASE;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_MESSAGE_REQUEST_BODY")]
public const string MESSAGE_REQUEST_BODY;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_MESSAGE_REQUEST_BODY_DATA")]
+ [Version (since = "2.46")]
public const string MESSAGE_REQUEST_BODY_DATA;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_MESSAGE_REQUEST_HEADERS")]
public const string MESSAGE_REQUEST_HEADERS;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_MESSAGE_RESPONSE_BODY")]
public const string MESSAGE_RESPONSE_BODY;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_MESSAGE_RESPONSE_BODY_DATA")]
+ [Version (since = "2.46")]
public const string MESSAGE_RESPONSE_BODY_DATA;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_MESSAGE_RESPONSE_HEADERS")]
public const string MESSAGE_RESPONSE_HEADERS;
@@ -1485,8 +1692,10 @@ namespace Soup {
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_MESSAGE_STATUS_CODE")]
public const string MESSAGE_STATUS_CODE;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_MESSAGE_TLS_CERTIFICATE")]
+ [Version (since = "2.34")]
public const string MESSAGE_TLS_CERTIFICATE;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_MESSAGE_TLS_ERRORS")]
+ [Version (since = "2.34")]
public const string MESSAGE_TLS_ERRORS;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_MESSAGE_URI")]
public const string MESSAGE_URI;
@@ -1515,39 +1724,46 @@ namespace Soup {
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_REQUEST_HTTP_H")]
public const int REQUEST_HTTP_H;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_REQUEST_SESSION")]
+ [Version (since = "2.42")]
public const string REQUEST_SESSION;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_REQUEST_URI")]
+ [Version (since = "2.42")]
public const string REQUEST_URI;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SERVER_ASYNC_CONTEXT")]
- [Deprecated]
+ [Version (deprecated = true)]
public const string SERVER_ASYNC_CONTEXT;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SERVER_H")]
public const int SERVER_H;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SERVER_HTTPS_ALIASES")]
+ [Version (since = "2.44")]
public const string SERVER_HTTPS_ALIASES;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SERVER_HTTP_ALIASES")]
+ [Version (since = "2.44")]
public const string SERVER_HTTP_ALIASES;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SERVER_INTERFACE")]
- [Deprecated]
+ [Version (deprecated = true)]
public const string SERVER_INTERFACE;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SERVER_PORT")]
- [Deprecated]
+ [Version (deprecated = true)]
public const string SERVER_PORT;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SERVER_RAW_PATHS")]
public const string SERVER_RAW_PATHS;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SERVER_SERVER_HEADER")]
public const string SERVER_SERVER_HEADER;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SERVER_SSL_CERT_FILE")]
- [Deprecated]
+ [Version (deprecated = true)]
public const string SERVER_SSL_CERT_FILE;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SERVER_SSL_KEY_FILE")]
- [Deprecated]
+ [Version (deprecated = true)]
public const string SERVER_SSL_KEY_FILE;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SERVER_TLS_CERTIFICATE")]
+ [Version (since = "2.38")]
public const string SERVER_TLS_CERTIFICATE;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SESSION_ACCEPT_LANGUAGE")]
+ [Version (since = "2.30")]
public const string SESSION_ACCEPT_LANGUAGE;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SESSION_ACCEPT_LANGUAGE_AUTO")]
+ [Version (since = "2.30")]
public const string SESSION_ACCEPT_LANGUAGE_AUTO;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SESSION_ASYNC_CONTEXT")]
public const string SESSION_ASYNC_CONTEXT;
@@ -1558,12 +1774,16 @@ namespace Soup {
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SESSION_H")]
public const int SESSION_H;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SESSION_HTTPS_ALIASES")]
+ [Version (since = "2.38")]
public const string SESSION_HTTPS_ALIASES;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SESSION_HTTP_ALIASES")]
+ [Version (since = "2.38")]
public const string SESSION_HTTP_ALIASES;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SESSION_IDLE_TIMEOUT")]
+ [Version (since = "2.24")]
public const string SESSION_IDLE_TIMEOUT;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SESSION_LOCAL_ADDRESS")]
+ [Version (since = "2.42")]
public const string SESSION_LOCAL_ADDRESS;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SESSION_MAX_CONNS")]
public const string SESSION_MAX_CONNS;
@@ -1576,22 +1796,27 @@ namespace Soup {
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SESSION_SSL_CA_FILE")]
public const string SESSION_SSL_CA_FILE;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SESSION_SSL_STRICT")]
+ [Version (since = "2.30")]
public const string SESSION_SSL_STRICT;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SESSION_SSL_USE_SYSTEM_CA_FILE")]
+ [Version (since = "2.38")]
public const string SESSION_SSL_USE_SYSTEM_CA_FILE;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SESSION_SYNC_H")]
public const int SESSION_SYNC_H;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SESSION_TIMEOUT")]
public const string SESSION_TIMEOUT;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SESSION_TLS_DATABASE")]
+ [Version (since = "2.38")]
public const string SESSION_TLS_DATABASE;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SESSION_TLS_INTERACTION")]
+ [Version (since = "2.48")]
public const string SESSION_TLS_INTERACTION;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SESSION_USER_AGENT")]
public const string SESSION_USER_AGENT;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SESSION_USE_NTLM")]
public const string SESSION_USE_NTLM;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SESSION_USE_THREAD_CONTEXT")]
+ [Version (since = "2.38")]
public const string SESSION_USE_THREAD_CONTEXT;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SOCKET_ASYNC_CONTEXT")]
public const string SOCKET_ASYNC_CONTEXT;
@@ -1614,12 +1839,15 @@ namespace Soup {
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SOCKET_TIMEOUT")]
public const string SOCKET_TIMEOUT;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SOCKET_TLS_CERTIFICATE")]
+ [Version (since = "2.34")]
public const string SOCKET_TLS_CERTIFICATE;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SOCKET_TLS_ERRORS")]
+ [Version (since = "2.34")]
public const string SOCKET_TLS_ERRORS;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SOCKET_TRUSTED_CERTIFICATE")]
public const string SOCKET_TRUSTED_CERTIFICATE;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SOCKET_USE_THREAD_CONTEXT")]
+ [Version (since = "2.38")]
public const string SOCKET_USE_THREAD_CONTEXT;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_STATUS_H")]
public const int STATUS_H;
@@ -1634,6 +1862,7 @@ namespace Soup {
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_XMLRPC_OLD_H")]
public const int XMLRPC_OLD_H;
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Version (since = "2.24")]
public static unowned GLib.TimeoutSource add_completion (GLib.MainContext? async_context, GLib.SourceFunc function);
[CCode (cheader_filename = "libsoup/soup.h")]
public static unowned GLib.TimeoutSource add_idle (GLib.MainContext? async_context, GLib.SourceFunc function);
@@ -1642,52 +1871,59 @@ namespace Soup {
[CCode (cheader_filename = "libsoup/soup.h")]
public static unowned GLib.TimeoutSource add_timeout (GLib.MainContext? async_context, uint interval, GLib.SourceFunc function);
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Version (since = "2.24")]
public static GLib.SList<Soup.Cookie> cookies_from_request (Soup.Message msg);
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Version (since = "2.24")]
public static GLib.SList<Soup.Cookie> cookies_from_response (Soup.Message msg);
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Version (since = "2.24")]
public static string cookies_to_cookie_header (GLib.SList<Soup.Cookie> cookies);
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Version (since = "2.24")]
public static void cookies_to_request (GLib.SList<Soup.Cookie> cookies, Soup.Message msg);
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Version (since = "2.24")]
public static void cookies_to_response (GLib.SList<Soup.Cookie> cookies, Soup.Message msg);
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated (replacement = "Form.decode", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Form.decode")]
public static GLib.HashTable<string,string> form_decode (string encoded_form);
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated (replacement = "Form.decode_multipart", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Form.decode_multipart")]
public static GLib.HashTable<string,string> form_decode_multipart (Soup.Message msg, string file_control_name, out string filename, out string content_type, out Soup.Buffer file);
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated (replacement = "Form.encode", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Form.encode")]
public static string form_encode (...);
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated (replacement = "Form.encode_datalist", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Form.encode_datalist")]
public static string form_encode_datalist (void* form_data_set);
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated (replacement = "Form.encode_hash", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Form.encode_hash")]
public static string form_encode_hash (GLib.HashTable<string,string> form_data_set);
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated (since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12")]
public static string form_encode_valist (string first_field, void* args);
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated (replacement = "Form.request_new", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Form.request_new")]
public static Soup.Message form_request_new (string method, string uri, ...);
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated (replacement = "Form.request_new_from_datalist", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Form.request_new_from_datalist")]
public static Soup.Message form_request_new_from_datalist (string method, string uri, void* form_data_set);
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated (replacement = "Form.request_new_from_hash", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Form.request_new_from_hash")]
public static Soup.Message form_request_new_from_hash (string method, string uri, GLib.HashTable<string,string> form_data_set);
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated (replacement = "Form.request_new_from_multipart", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Form.request_new_from_multipart")]
public static Soup.Message form_request_new_from_multipart (string uri, Soup.Multipart multipart);
[CCode (cheader_filename = "libsoup/soup.h")]
public static bool header_contains (string header, string token);
[CCode (cheader_filename = "libsoup/soup.h")]
public static void header_free_param_list (GLib.HashTable<string,string> param_list);
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Version (since = "2.26")]
public static void header_g_string_append_param (GLib.StringBuilder string, string name, string value);
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Version (since = "2.30")]
public static void header_g_string_append_param_quoted (GLib.StringBuilder string, string name, string value);
[CCode (cheader_filename = "libsoup/soup.h")]
public static GLib.SList<string> header_parse_list (string header);
@@ -1696,8 +1932,10 @@ namespace Soup {
[CCode (cheader_filename = "libsoup/soup.h")]
public static GLib.SList<string> header_parse_quality_list (string header, out GLib.SList<string> unacceptable);
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Version (since = "2.24")]
public static GLib.HashTable<string,string> header_parse_semi_param_list (string header);
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Version (since = "2.26")]
public static bool headers_parse (string str, int len, Soup.MessageHeaders dest);
[CCode (cheader_filename = "libsoup/soup.h")]
public static uint headers_parse_request (string str, int len, Soup.MessageHeaders req_headers, out string req_method, out string req_path, out Soup.HTTPVersion ver);
@@ -1708,111 +1946,117 @@ namespace Soup {
[CCode (cheader_filename = "libsoup/soup.h")]
public static GLib.Quark http_error_quark ();
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated (replacement = "SSLError.quark", since = "vala-0.14")]
+ [Version (deprecated_since = "vala-0.14", replacement = "SSLError.quark")]
public static GLib.Quark ssl_error_quark ();
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated (replacement = "Status.get_phrase", since = "vala-0.22")]
+ [Version (deprecated_since = "vala-0.22", replacement = "Status.get_phrase")]
public static unowned string status_get_phrase (uint status_code);
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated (replacement = "Status.proxify", since = "vala-0.22")]
+ [Version (deprecated_since = "vala-0.22", replacement = "Status.proxify")]
public static uint status_proxify (uint status_code);
[CCode (cheader_filename = "libsoup/soup.h")]
public static bool str_case_equal (void* v1, void* v2);
[CCode (cheader_filename = "libsoup/soup.h")]
public static uint str_case_hash (void* key);
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Version (since = "2.40")]
public static bool tld_domain_is_public_suffix (string domain);
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Version (since = "2.40")]
public static unowned string tld_get_base_domain (string hostname) throws GLib.Error;
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated]
+ [Version (deprecated = true)]
public static void value_array_append (GLib.ValueArray array, GLib.Type type, ...);
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated]
+ [Version (deprecated = true)]
public static void value_array_append_vals (GLib.ValueArray array, ...);
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated]
+ [Version (deprecated = true)]
public static GLib.ValueArray? value_array_from_args (va_list args);
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated]
+ [Version (deprecated = true)]
public static bool value_array_get_nth (GLib.ValueArray array, uint index_, GLib.Type type, ...);
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated]
+ [Version (deprecated = true)]
public static void value_array_insert (GLib.ValueArray array, uint index_, GLib.Type type, ...);
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated]
+ [Version (deprecated = true)]
public static GLib.ValueArray value_array_new ();
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated]
+ [Version (deprecated = true)]
public static GLib.ValueArray value_array_new_with_vals (...);
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated]
+ [Version (deprecated = true)]
public static bool value_array_to_args (GLib.ValueArray array, va_list args);
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated]
+ [Version (deprecated = true)]
public static void value_hash_insert (GLib.HashTable<string,GLib.Value?> hash, string key, GLib.Type type, ...);
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated]
+ [Version (deprecated = true)]
public static void value_hash_insert_vals (GLib.HashTable<string,GLib.Value?> hash, ...);
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated]
+ [Version (deprecated = true)]
public static void value_hash_insert_value (GLib.HashTable<string,GLib.Value?> hash, string key, GLib.Value value);
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated]
+ [Version (deprecated = true)]
public static bool value_hash_lookup (GLib.HashTable<string,GLib.Value?> hash, string key, GLib.Type type, ...);
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated]
+ [Version (deprecated = true)]
public static bool value_hash_lookup_vals (GLib.HashTable<string,GLib.Value?> hash, ...);
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated]
+ [Version (deprecated = true)]
public static GLib.HashTable<string,GLib.Value?> value_hash_new ();
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated]
+ [Version (deprecated = true)]
public static GLib.HashTable<string,GLib.Value?> value_hash_new_with_vals (...);
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Version (since = "2.50")]
public static void websocket_client_prepare_handshake (Soup.Message msg, string? origin, [CCode (array_length = false, array_null_terminated = true)] string[]? protocols);
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Version (since = "2.50")]
public static bool websocket_client_verify_handshake (Soup.Message msg) throws GLib.Error;
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Version (since = "2.50")]
public static bool websocket_server_check_handshake (Soup.Message msg, string? origin, [CCode (array_length = false, array_null_terminated = true)] string[]? protocols) throws GLib.Error;
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Version (since = "2.50")]
public static bool websocket_server_process_handshake (Soup.Message msg, string? expected_origin, [CCode (array_length = false, array_null_terminated = true)] string[]? protocols);
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated (replacement = "XMLRPC.build_fault", since = "vala-0.12")]
[PrintfFormat]
+ [Version (deprecated_since = "vala-0.12", replacement = "XMLRPC.build_fault")]
public static unowned string xmlrpc_build_fault (int fault_code, string fault_format, ...);
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated (replacement = "XMLRPC.build_method_call", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "XMLRPC.build_method_call")]
public static unowned string xmlrpc_build_method_call (string method_name, GLib.Value[] @params);
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated (replacement = "XMLRPC.build_method_response", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "XMLRPC.build_method_response")]
public static unowned string xmlrpc_build_method_response (GLib.Value value);
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated (replacement = "XMLRPC.error_quark", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "XMLRPC.error_quark")]
public static GLib.Quark xmlrpc_error_quark ();
[CCode (cheader_filename = "libsoup/soup.h", sentinel = "G_TYPE_INVALID")]
- [Deprecated (replacement = "XMLRPC.extract_method_call", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "XMLRPC.extract_method_call")]
public static bool xmlrpc_extract_method_call (string method_call, int length, out unowned string method_name, ...);
[CCode (cheader_filename = "libsoup/soup.h", sentinel = "G_TYPE_INVALID")]
- [Deprecated (replacement = "XMLRPC.extract_method_response", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "XMLRPC.extract_method_response")]
public static bool xmlrpc_extract_method_response (string method_response, int length, ...) throws GLib.Error;
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated (replacement = "XMLRPC.fault_quark", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "XMLRPC.fault_quark")]
public static GLib.Quark xmlrpc_fault_quark ();
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated (replacement = "XMLRPC.parse_method_call", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "XMLRPC.parse_method_call")]
public static bool xmlrpc_parse_method_call (string method_call, int length, out unowned string method_name, out unowned GLib.ValueArray @params);
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated (replacement = "XMLRPC.parse_method_response", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "XMLRPC.parse_method_response")]
public static bool xmlrpc_parse_method_response (string method_response, int length, GLib.Value value) throws GLib.Error;
[CCode (cheader_filename = "libsoup/soup.h", sentinel = "G_TYPE_INVALID")]
- [Deprecated (replacement = "XMLRPC.request_new", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "XMLRPC.request_new")]
public static unowned Soup.Message xmlrpc_request_new (string uri, string method_name, ...);
[CCode (cheader_filename = "libsoup/soup.h")]
- [Deprecated (replacement = "XMLRPC.set_fault", since = "vala-0.12")]
[PrintfFormat]
+ [Version (deprecated_since = "vala-0.12", replacement = "XMLRPC.set_fault")]
public static void xmlrpc_set_fault (Soup.Message msg, int fault_code, string fault_format, ...);
[CCode (cheader_filename = "libsoup/soup.h", sentinel = "G_TYPE_INVALID")]
- [Deprecated (replacement = "XMLRPC.set_response", since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12", replacement = "XMLRPC.set_response")]
public static void xmlrpc_set_response (Soup.Message msg, ...);
}
diff --git a/vapi/libwnck-1.0.vapi b/vapi/libwnck-1.0.vapi
index e374e03b3..6e57da1d5 100644
--- a/vapi/libwnck-1.0.vapi
+++ b/vapi/libwnck-1.0.vapi
@@ -1,6 +1,6 @@
/* libwnck-1.0.vapi generated by vapigen, do not modify. */
-[Deprecated (replacement = "libwnck-3.0")]
+[Version (replacement = "libwnck-3.0")]
namespace Wnck {
[CCode (cheader_filename = "libwnck/libwnck.h")]
public class ActionMenu : Gtk.Menu, Atk.Implementor, Gtk.Buildable {
diff --git a/vapi/libwnck-3.0.vapi b/vapi/libwnck-3.0.vapi
index bbe7193e9..4d57e41eb 100644
--- a/vapi/libwnck-3.0.vapi
+++ b/vapi/libwnck-3.0.vapi
@@ -4,15 +4,19 @@
namespace Wnck {
namespace Version {
[CCode (cheader_filename = "libwnck/libwnck.h", cname = "WNCK_MAJOR_VERSION")]
+ [Version (since = "3.0")]
public const int MAJOR_VERSION;
[CCode (cheader_filename = "libwnck/libwnck.h", cname = "WNCK_MICRO_VERSION")]
+ [Version (since = "3.0")]
public const int MICRO_VERSION;
[CCode (cheader_filename = "libwnck/libwnck.h", cname = "WNCK_MINOR_VERSION")]
+ [Version (since = "3.0")]
public const int MINOR_VERSION;
}
[CCode (cheader_filename = "libwnck/libwnck.h", type_id = "wnck_action_menu_get_type ()")]
public class ActionMenu : Gtk.Menu, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
+ [Version (since = "2.22")]
public ActionMenu (Wnck.Window window);
[NoAccessorMethod]
public void* window { get; construct; }
@@ -29,6 +33,7 @@ namespace Wnck {
public int get_n_windows ();
public unowned string get_name ();
public int get_pid ();
+ [Version (since = "2.2")]
public unowned string get_startup_id ();
public unowned GLib.List<Wnck.Window> get_windows ();
public ulong get_xid ();
@@ -39,13 +44,19 @@ namespace Wnck {
public class ClassGroup : GLib.Object {
[CCode (has_construct_function = false)]
protected ClassGroup ();
+ [Version (since = "2.2")]
public static unowned Wnck.ClassGroup @get (string id);
+ [Version (since = "2.2")]
public unowned Gdk.Pixbuf get_icon ();
+ [Version (since = "3.2")]
public unowned string get_id ();
+ [Version (since = "2.2")]
public unowned Gdk.Pixbuf get_mini_icon ();
+ [Version (since = "2.2")]
public unowned string get_name ();
- [Deprecated (since = "3.2")]
+ [Version (deprecated = true, deprecated_since = "3.2", since = "2.2")]
public unowned string get_res_class ();
+ [Version (since = "2.2")]
public unowned GLib.List<Wnck.Window> get_windows ();
public virtual signal void icon_changed ();
public virtual signal void name_changed ();
@@ -57,6 +68,7 @@ namespace Wnck {
public void set_display_mode (Wnck.PagerDisplayMode mode);
public bool set_n_rows (int n_rows);
public bool set_orientation (Gtk.Orientation orientation);
+ [Version (since = "2.2")]
public void set_shadow_type (Gtk.ShadowType shadow_type);
public void set_show_all (bool show_all_workspaces);
}
@@ -64,11 +76,12 @@ namespace Wnck {
public class Screen : GLib.Object {
[CCode (has_construct_function = false)]
protected Screen ();
- [Deprecated (since = "2.20")]
+ [Version (deprecated = true, deprecated_since = "2.20", since = "2.12")]
public void calc_workspace_layout (int num_workspaces, int space_index, Wnck.WorkspaceLayout layout);
+ [Version (since = "2.2")]
public void change_workspace_count (int count);
public void force_update ();
- [Deprecated (since = "2.20")]
+ [Version (deprecated = true, deprecated_since = "2.20", since = "2.12")]
public static void free_workspace_layout (Wnck.WorkspaceLayout layout);
public static unowned Wnck.Screen @get (int index);
public unowned Wnck.Window get_active_window ();
@@ -77,19 +90,26 @@ namespace Wnck {
public static unowned Wnck.Screen get_default ();
public static unowned Wnck.Screen get_for_root (ulong root_window_id);
public int get_height ();
+ [Version (since = "2.20")]
public int get_number ();
+ [Version (since = "2.8")]
public unowned Wnck.Window get_previously_active_window ();
+ [Version (since = "2.2")]
public bool get_showing_desktop ();
public int get_width ();
+ [Version (since = "2.20")]
public unowned string get_window_manager_name ();
public unowned GLib.List<Wnck.Window> get_windows ();
public unowned GLib.List<Wnck.Window> get_windows_stacked ();
public unowned Wnck.Workspace get_workspace (int workspace);
public int get_workspace_count ();
+ [Version (since = "2.20")]
public unowned GLib.List<Wnck.Workspace> get_workspaces ();
+ [Version (since = "2.4")]
public void move_viewport (int x, int y);
public bool net_wm_supports (string atom);
public void release_workspace_layout (int current_token);
+ [Version (since = "2.2")]
public void toggle_showing_desktop (bool show);
public int try_set_workspace_layout (int current_token, int rows, int columns);
public virtual signal void active_window_changed (Wnck.Window previous_window);
@@ -97,11 +117,16 @@ namespace Wnck {
public virtual signal void application_closed (Wnck.Application app);
public virtual signal void application_opened (Wnck.Application app);
public virtual signal void background_changed ();
+ [Version (since = "2.20")]
public virtual signal void class_group_closed (Wnck.ClassGroup class_group);
+ [Version (since = "2.20")]
public virtual signal void class_group_opened (Wnck.ClassGroup class_group);
+ [Version (since = "2.20")]
public virtual signal void showing_desktop_changed ();
+ [Version (since = "2.20")]
public virtual signal void viewports_changed ();
public virtual signal void window_closed (Wnck.Window window);
+ [Version (since = "2.20")]
public virtual signal void window_manager_changed ();
public virtual signal void window_opened (Wnck.Window window);
public virtual signal void window_stacking_changed ();
@@ -111,6 +136,7 @@ namespace Wnck {
[CCode (cheader_filename = "libwnck/libwnck.h", type_id = "wnck_selector_get_type ()")]
public class Selector : Gtk.MenuBar, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
+ [Version (since = "2.10")]
public Selector ();
}
[CCode (cheader_filename = "libwnck/libwnck.h", type_id = "wnck_tasklist_get_type ()")]
@@ -118,11 +144,14 @@ namespace Wnck {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public Tasklist ();
public int get_size_hint_list (int n_elements);
+ [Version (since = "2.12")]
public void set_button_relief (Gtk.ReliefStyle relief);
public void set_grouping (Wnck.TasklistGroupingType grouping);
public void set_grouping_limit (int limit);
public void set_include_all_workspaces (bool include_all_workspaces);
+ [Version (since = "3.4.6")]
public void set_middle_click_close (bool middle_click_close);
+ [Version (since = "3.4.6")]
public void set_orientation (Gtk.Orientation orient);
public void set_switch_workspace_on_unminimize (bool switch_workspace_on_unminimize);
}
@@ -130,15 +159,20 @@ namespace Wnck {
public class Window : GLib.Object {
[CCode (has_construct_function = false)]
protected Window ();
+ [Version (since = "2.10")]
public void activate (uint32 timestamp);
+ [Version (since = "2.10")]
public void activate_transient (uint32 timestamp);
+ [Version (since = "2.6")]
public void close (uint32 timestamp);
public static unowned Wnck.Window @get (ulong xwindow);
public Wnck.WindowActions get_actions ();
public unowned Wnck.Application get_application ();
+ [Version (since = "2.2")]
public unowned Wnck.ClassGroup get_class_group ();
public unowned string get_class_group_name ();
public unowned string get_class_instance_name ();
+ [Version (since = "2.20")]
public void get_client_window_geometry (out int xp, out int yp, out int widthp, out int heightp);
public void get_geometry (out int xp, out int yp, out int widthp, out int heightp);
public ulong get_group_leader ();
@@ -152,23 +186,32 @@ namespace Wnck {
public unowned Wnck.Screen get_screen ();
public unowned string get_session_id ();
public unowned string get_session_id_utf8 ();
+ [Version (since = "2.10")]
public int get_sort_order ();
public Wnck.WindowState get_state ();
+ [Version (since = "2.12")]
public unowned Wnck.Window get_transient ();
public Wnck.WindowType get_window_type ();
public unowned Wnck.Workspace get_workspace ();
public ulong get_xid ();
+ [Version (since = "2.16")]
public bool has_icon_name ();
+ [Version (since = "2.16")]
public bool has_name ();
+ [Version (since = "2.14")]
public bool is_above ();
public bool is_active ();
+ [Version (since = "2.20")]
public bool is_below ();
+ [Version (since = "2.8")]
public bool is_fullscreen ();
+ [Version (since = "2.4")]
public bool is_in_viewport (Wnck.Workspace workspace);
public bool is_maximized ();
public bool is_maximized_horizontally ();
public bool is_maximized_vertically ();
public bool is_minimized ();
+ [Version (since = "2.8")]
public bool is_most_recently_activated ();
public bool is_on_workspace (Wnck.Workspace workspace);
public bool is_pinned ();
@@ -179,27 +222,38 @@ namespace Wnck {
public bool is_visible_on_workspace (Wnck.Workspace workspace);
public void keyboard_move ();
public void keyboard_size ();
+ [Version (since = "2.14")]
public void make_above ();
+ [Version (since = "2.20")]
public void make_below ();
public void maximize ();
public void maximize_horizontally ();
public void maximize_vertically ();
public void minimize ();
public void move_to_workspace (Wnck.Workspace space);
+ [Version (since = "2.12")]
public bool needs_attention ();
+ [Version (since = "2.12")]
public bool or_transient_needs_attention ();
public void pin ();
+ [Version (since = "2.8")]
public void set_fullscreen (bool fullscreen);
+ [Version (since = "2.16")]
public void set_geometry (Wnck.WindowGravity gravity, Wnck.WindowMoveResizeMask geometry_mask, int x, int y, int width, int height);
public void set_icon_geometry (int x, int y, int width, int height);
public void set_skip_pager (bool skip);
public void set_skip_tasklist (bool skip);
+ [Version (since = "2.20")]
public void set_sort_order (int order);
+ [Version (since = "2.12")]
public void set_window_type (Wnck.WindowType wintype);
public void shade ();
public void stick ();
+ [Version (since = "2.12")]
public bool transient_is_most_recently_activated ();
+ [Version (since = "2.14")]
public void unmake_above ();
+ [Version (since = "2.20")]
public void unmake_below ();
public void unmaximize ();
public void unmaximize_horizontally ();
@@ -215,28 +269,41 @@ namespace Wnck {
public virtual signal void name_changed ();
public virtual signal void role_changed ();
public virtual signal void state_changed (Wnck.WindowState changed_mask, Wnck.WindowState new_state);
+ [Version (since = "3.20")]
+ public virtual signal void type_changed ();
public virtual signal void workspace_changed ();
}
[CCode (cheader_filename = "libwnck/libwnck.h", type_id = "wnck_workspace_get_type ()")]
public class Workspace : GLib.Object {
[CCode (has_construct_function = false)]
protected Workspace ();
+ [Version (since = "2.10")]
public void activate (uint32 timestamp);
+ [Version (since = "2.2")]
public void change_name (string name);
+ [Version (since = "2.4")]
public int get_height ();
+ [Version (since = "2.20")]
public int get_layout_column ();
+ [Version (since = "2.20")]
public int get_layout_row ();
public unowned string get_name ();
+ [Version (since = "2.20")]
public unowned Wnck.Workspace get_neighbor (Wnck.MotionDirection direction);
public int get_number ();
public unowned Wnck.Screen get_screen ();
+ [Version (since = "2.4")]
public int get_viewport_x ();
+ [Version (since = "2.4")]
public int get_viewport_y ();
+ [Version (since = "2.4")]
public int get_width ();
+ [Version (since = "2.4")]
public bool is_virtual ();
public virtual signal void name_changed ();
}
[CCode (cheader_filename = "libwnck/libwnck.h", has_type_id = false)]
+ [Version (since = "2.6")]
public struct ResourceUsage {
public ulong total_bytes_estimate;
public ulong pixmap_bytes;
@@ -256,7 +323,7 @@ namespace Wnck {
public static Wnck.ResourceUsage xid_read (Gdk.Display gdk_display, ulong xid);
}
[CCode (cheader_filename = "libwnck/libwnck.h", has_type_id = false)]
- [Deprecated (since = "2.20")]
+ [Version (deprecated = true, deprecated_since = "2.20", since = "2.12")]
public struct WorkspaceLayout {
public int rows;
public int cols;
@@ -266,11 +333,13 @@ namespace Wnck {
public int current_col;
}
[CCode (cheader_filename = "libwnck/libwnck.h", cprefix = "WNCK_CLIENT_TYPE_", type_id = "wnck_client_type_get_type ()")]
+ [Version (since = "2.14")]
public enum ClientType {
APPLICATION,
PAGER
}
[CCode (cheader_filename = "libwnck/libwnck.h", cprefix = "WNCK_MOTION_", type_id = "wnck_motion_direction_get_type ()")]
+ [Version (since = "2.14")]
public enum MotionDirection {
UP,
DOWN,
@@ -312,6 +381,7 @@ namespace Wnck {
BELOW
}
[CCode (cheader_filename = "libwnck/libwnck.h", cprefix = "WNCK_WINDOW_GRAVITY_", type_id = "wnck_window_gravity_get_type ()")]
+ [Version (since = "2.16")]
public enum WindowGravity {
CURRENT,
NORTHWEST,
@@ -327,6 +397,7 @@ namespace Wnck {
}
[CCode (cheader_filename = "libwnck/libwnck.h", cprefix = "WNCK_WINDOW_CHANGE_", type_id = "wnck_window_move_resize_mask_get_type ()")]
[Flags]
+ [Version (since = "2.16")]
public enum WindowMoveResizeMask {
X,
Y,
@@ -378,11 +449,15 @@ namespace Wnck {
[CCode (cheader_filename = "libwnck/libwnck.h", cname = "WNCK_DEFAULT_MINI_ICON_SIZE")]
public const int DEFAULT_MINI_ICON_SIZE;
[CCode (cheader_filename = "libwnck/libwnck.h")]
+ [Version (since = "2.14")]
public static void set_client_type (Wnck.ClientType ewmh_sourceindication_client_type);
[CCode (cheader_filename = "libwnck/libwnck.h")]
+ [Version (since = "2.4.6")]
public static void set_default_icon_size (size_t size);
[CCode (cheader_filename = "libwnck/libwnck.h")]
+ [Version (since = "2.4.6")]
public static void set_default_mini_icon_size (size_t size);
[CCode (cheader_filename = "libwnck/libwnck.h")]
+ [Version (since = "3.4")]
public static void shutdown ();
}
diff --git a/vapi/linux.vapi b/vapi/linux.vapi
index 6cdbd2c98..317674768 100644
--- a/vapi/linux.vapi
+++ b/vapi/linux.vapi
@@ -1025,13 +1025,13 @@ namespace Linux {
DT_WHT
}
- [Deprecated (since = "vala-0.26", replacement = "Backtrace.get"), CCode (cheader_filename = "execinfo.h")]
+ [Version (deprecated_since = "vala-0.26", replacement = "Backtrace.get"), CCode (cheader_filename = "execinfo.h")]
public int backtrace (void* buffer, int size);
- [Deprecated (since = "vala-0.26", replacement = "Backtrace.symbols"), CCode (cheader_filename = "execinfo.h", array_length = false)]
+ [Version (deprecated_since = "vala-0.26", replacement = "Backtrace.symbols"), CCode (cheader_filename = "execinfo.h", array_length = false)]
public (unowned string)[]? backtrace_symbols (void* buffer, int size);
- [Deprecated (since = "vala-0.26", replacement = "Backtrace.symbols_fd"), CCode (cheader_filename = "execinfo.h")]
+ [Version (deprecated_since = "vala-0.26", replacement = "Backtrace.symbols_fd"), CCode (cheader_filename = "execinfo.h")]
public void backtrace_symbols_fd (void* buffer, int size, int fd);
namespace Backtrace {
diff --git a/vapi/lua.vapi b/vapi/lua.vapi
index 1041a0b0f..dc2e8f5a6 100644
--- a/vapi/lua.vapi
+++ b/vapi/lua.vapi
@@ -397,7 +397,7 @@ namespace Lua {
public int load_buffer (char[] buffer, string? name = null);
[CCode (cname = "luaL_loadstring")]
public int load_string (string s);
- [CCode (cname = "luaL_loadfile")]
+ [CCode (cname = "luaL_loadfile", cheader_filename = "lauxlib.h")]
public int load_file (string filename);
[CCode (cname = "luaL_dofile", cheader_filename = "lauxlib.h")]
public bool do_file (string filename);
diff --git a/vapi/metadata/Atk-1.0-custom.vala b/vapi/metadata/Atk-1.0-custom.vala
index 58fb07a7a..65411e7ba 100644
--- a/vapi/metadata/Atk-1.0-custom.vala
+++ b/vapi/metadata/Atk-1.0-custom.vala
@@ -4,89 +4,90 @@ namespace Atk {
}
[CCode (cheader_filename = "atk/atk.h", type_id = "atk_document_get_type ()")]
public interface Document : GLib.Object {
- [Deprecated (replacement = "Document.get_locale", since = "vala-0.22")]
+ [Version (replacement = "Document.get_locale", deprecated_since = "vala-0.22")]
public virtual unowned string get_document_locale ();
}
public interface Implementor : GLib.Object {
public abstract unowned Atk.Object ref_accessible ();
}
public class Registry : GLib.Object {
- [Deprecated]
+ [Version (deprecated = true)]
public weak GLib.HashTable<GLib.Type,Atk.ObjectFactory> factory_singleton_cache;
- [Deprecated]
+ [Version (deprecated = true)]
public weak GLib.HashTable<GLib.Type,GLib.Type> factory_type_registry;
- }
+ }
public class Relation : GLib.Object {
- [Deprecated (replacement = "RelationType.for_name", since = "vala-0.16")]
+ [Version (replacement = "RelationType.for_name", deprecated_since = "vala-0.16")]
public static Atk.RelationType type_for_name (string name);
- [Deprecated (replacement = "RelationType.get_name", since = "vala-0.16")]
+ [Version (replacement = "RelationType.get_name", deprecated_since = "vala-0.16")]
public static unowned string type_get_name (Atk.RelationType type);
- [Deprecated (replacement = "RelationType.register", since = "vala-0.16")]
+ [Version (replacement = "RelationType.register", deprecated_since = "vala-0.16")]
public static Atk.RelationType type_register (string name);
}
[SimpleType]
public struct State : uint64 {
- [Deprecated (replacement = "StateType.for_name", since = "vala-0.16")]
+ [Version (replacement = "StateType.for_name", deprecated_since = "vala-0.16")]
public static Atk.StateType type_for_name (string name);
- [Deprecated (replacement = "StateType.get_name", since = "vala-0.16")]
+ [Version (replacement = "StateType.get_name", deprecated_since = "vala-0.16")]
public static unowned string type_get_name (Atk.StateType type);
- [Deprecated (replacement = "StateType.register", since = "vala-0.16")]
+ [Version (replacement = "StateType.register", deprecated_since = "vala-0.16")]
public static Atk.StateType type_register (string name);
}
public interface Text : GLib.Object {
- [CCode (array_length = false, array_null_terminated = true, cname = "atk_text_get_bounded_ranges")]
- public virtual Atk.TextRange[] get_bounded_ranges (Atk.TextRectangle rect, Atk.CoordType coord_type, Atk.TextClipType x_clip_type, Atk.TextClipType y_clip_type);
- [Deprecated (replacement = "TextAttribute.for_name", since = "vala-0.16")]
+ [Version (since = "1.3")]
+ [CCode (array_length = false, array_null_terminated = true, cname = "atk_text_get_bounded_ranges")]
+ public virtual Atk.TextRange[] get_bounded_ranges (Atk.TextRectangle rect, Atk.CoordType coord_type, Atk.TextClipType x_clip_type, Atk.TextClipType y_clip_type);
+ [Version (replacement = "TextAttribute.for_name", deprecated_since = "vala-0.16")]
public static Atk.TextAttribute attribute_for_name (string name);
- [Deprecated (replacement = "TextAttribute.get_name", since = "vala-0.16")]
+ [Version (replacement = "TextAttribute.get_name", deprecated_since = "vala-0.16")]
public static unowned string attribute_get_name (Atk.TextAttribute attr);
- [Deprecated (replacement = "TextAttribute.get_value", since = "vala-0.16")]
+ [Version (replacement = "TextAttribute.get_value", deprecated_since = "vala-0.16")]
public static unowned string attribute_get_value (Atk.TextAttribute attr, int index_);
- [Deprecated (replacement = "TextAttribute.register", since = "vala-0.16")]
+ [Version (replacement = "TextAttribute.register", deprecated_since = "vala-0.16")]
public static Atk.TextAttribute attribute_register (string name);
}
[CCode (cheader_filename = "atk/atk.h", cprefix = "ATK_ROLE_", type_id = "atk_role_get_type ()")]
public enum Role {
- [Deprecated (replacement = "Role.ACCELERATOR_LABEL", since = "vala-0.22")]
+ [Version (replacement = "Role.ACCELERATOR_LABEL", deprecated_since = "vala-0.22")]
ACCEL_LABEL
}
[CCode (cname = "GSignalEmissionHook", has_target = false)]
public delegate bool SignalEmissionHook (GLib.SignalInvocationHint ihint, [CCode (array_length_pos = 1.9)] Value[] param_values, void* data);
- [Deprecated (replacement = "Atk.Util.add_focus_tracker", since = "vala-0.16")]
+ [Version (replacement = "Atk.Util.add_focus_tracker", deprecated_since = "vala-0.16")]
public static uint add_focus_tracker (Atk.EventListener focus_tracker);
- [Deprecated (replacement = "Atk.Util.add_global_event_listener", since = "vala-0.16")]
+ [Version (replacement = "Atk.Util.add_global_event_listener", deprecated_since = "vala-0.16")]
public static uint add_global_event_listener (GLib.SignalEmissionHook listener, string event_type);
- [Deprecated (replacement = "Atk.Util.focus_tracker_init", since = "vala-0.16")]
+ [Version (replacement = "Atk.Util.focus_tracker_init", deprecated_since = "vala-0.16")]
public static void focus_tracker_init (Atk.EventListenerInit init);
- [Deprecated (replacement = "Atk.Util.focus_tracker_notify", since = "vala-0.16")]
+ [Version (replacement = "Atk.Util.focus_tracker_notify", deprecated_since = "vala-0.16")]
public static void focus_tracker_notify (Atk.Object object);
- [Deprecated (replacement = "Atk.Registry.get_default.", since = "vala-0.16")]
+ [Version (replacement = "Atk.Registry.get_default.", deprecated_since = "vala-0.16")]
public static unowned Atk.Registry get_default_registry ();
- [Deprecated (replacement = "Atk.Util.get_focus_object", since = "vala-0.16")]
+ [Version (replacement = "Atk.Util.get_focus_object", deprecated_since = "vala-0.16")]
public static unowned Atk.Object get_focus_object ();
- [Deprecated (replacement = "Atk.Util.get_root", since = "vala-0.16")]
+ [Version (replacement = "Atk.Util.get_root", deprecated_since = "vala-0.16")]
public static unowned Atk.Object get_root ();
- [Deprecated (replacement = "Atk.Util.get_toolkit_name", since = "vala-0.16")]
+ [Version (replacement = "Atk.Util.get_toolkit_name", deprecated_since = "vala-0.16")]
public static unowned string get_toolkit_name ();
- [Deprecated (replacement = "Atk.Util.get_toolkit_version", since = "vala-0.16")]
+ [Version (replacement = "Atk.Util.get_toolkit_version", deprecated_since = "vala-0.16")]
public static unowned string get_toolkit_version ();
- [Deprecated (replacement = "Atk.Util.get_version", since = "vala-0.16")]
+ [Version (replacement = "Atk.Util.get_version", deprecated_since = "vala-0.16")]
public static unowned string get_version ();
- [Deprecated (replacement = "Atk.Util.remove_focus_tracker", since = "vala-0.16")]
+ [Version (replacement = "Atk.Util.remove_focus_tracker", deprecated_since = "vala-0.16")]
public static void remove_focus_tracker (uint tracker_id);
- [Deprecated (replacement = "Atk.Util.remove_global_event_listener", since = "vala-0.16")]
+ [Version (replacement = "Atk.Util.remove_global_event_listener", deprecated_since = "vala-0.16")]
public static void remove_global_event_listener (uint listener_id);
- [Deprecated (replacement = "Atk.Util.remove_key_event_listener", since = "vala-0.16")]
+ [Version (replacement = "Atk.Util.remove_key_event_listener", deprecated_since = "vala-0.16")]
public static void remove_key_event_listener (uint listener_id);
- [Deprecated (replacement = "Atk.Role.for_name", since = "vala-0.16")]
+ [Version (replacement = "Atk.Role.for_name", deprecated_since = "vala-0.16")]
public static Atk.Role role_for_name (string name);
- [Deprecated (replacement = "Atk.Role.get_localized_name", since = "vala-0.16")]
+ [Version (replacement = "Atk.Role.get_localized_name", deprecated_since = "vala-0.16")]
public static unowned string role_get_localized_name (Atk.Role role);
- [Deprecated (replacement = "Atk.Role.get_name", since = "vala-0.16")]
+ [Version (replacement = "Atk.Role.get_name", deprecated_since = "vala-0.16")]
public static unowned string role_get_name (Atk.Role role);
- [Deprecated (replacement = "Atk.Role.register", since = "vala-0.16")]
+ [Version (replacement = "Atk.Role.register", deprecated_since = "vala-0.16")]
public static Atk.Role role_register (string name);
}
diff --git a/vapi/metadata/Clutter-1.0-custom.vala b/vapi/metadata/Clutter-1.0-custom.vala
index 4c65976b0..1edc02837 100644
--- a/vapi/metadata/Clutter-1.0-custom.vala
+++ b/vapi/metadata/Clutter-1.0-custom.vala
@@ -125,10 +125,10 @@ namespace Clutter {
}
[CCode (cheader_filename = "clutter/clutter.h")]
- [Deprecated (since = "vala-0.14", replacement = "Threads.add_repaint_func")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Threads.add_repaint_func")]
public static uint threads_add_repaint_func (GLib.SourceFunc func, void* data, GLib.DestroyNotify notify);
[CCode (cheader_filename = "clutter/clutter.h")]
- [Deprecated (since = "vala-0.14", replacement = "Threads.remove_repaint_func")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Threads.remove_repaint_func")]
public static void threads_remove_repaint_func (uint handle_id);
[CCode (cprefix = "CLUTTER_FEATURE_", cheader_filename = "clutter/clutter.h")]
diff --git a/vapi/metadata/Gdk-3.0-custom.vala b/vapi/metadata/Gdk-3.0-custom.vala
index c538139c0..c227ab5aa 100644
--- a/vapi/metadata/Gdk-3.0-custom.vala
+++ b/vapi/metadata/Gdk-3.0-custom.vala
@@ -64,21 +64,21 @@ namespace Gdk {
public const Gdk.Atom SELECTION_SECONDARY;
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (replacement = "Selection.convert", since = "vala-0.12")]
+ [Version (replacement = "Selection.convert", deprecated_since = "vala-0.12")]
public static void selection_convert (Gdk.Window requestor, Gdk.Atom selection, Gdk.Atom target, uint32 time_);
- [Deprecated (replacement = "Selection.owner_get", since = "vala-0.12")]
+ [Version (replacement = "Selection.owner_get", deprecated_since = "vala-0.12")]
public static unowned Gdk.Window selection_owner_get (Gdk.Atom selection);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Deprecated (replacement = "Selection.owner_get_for_display", since = "vala-0.12")]
+ [Version (replacement = "Selection.owner_get_for_display", deprecated_since = "vala-0.12")]
public static unowned Gdk.Window selection_owner_get_for_display (Gdk.Display display, Gdk.Atom selection);
- [Deprecated (replacement = "Selection.owner_set", since = "vala-0.12")]
+ [Version (replacement = "Selection.owner_set", deprecated_since = "vala-0.12")]
public static bool selection_owner_set (Gdk.Window owner, Gdk.Atom selection, uint32 time_, bool send_event);
- [Deprecated (replacement = "Selection.owner_set_for_display", since = "vala-0.12")]
+ [Version (replacement = "Selection.owner_set_for_display", deprecated_since = "vala-0.12")]
public static bool selection_owner_set_for_display (Gdk.Display display, Gdk.Window owner, Gdk.Atom selection, uint32 time_, bool send_event);
- [Deprecated (replacement = "Selection.property_get", since = "vala-0.12")]
+ [Version (replacement = "Selection.property_get", deprecated_since = "vala-0.12")]
public static int selection_property_get (Gdk.Window requestor, uchar[] data, out Gdk.Atom prop_type, int prop_format);
- [Deprecated (replacement = "Selection.send_notify", since = "vala-0.12")]
+ [Version (replacement = "Selection.send_notify", deprecated_since = "vala-0.12")]
public static void selection_send_notify (Gdk.Window requestor, Gdk.Atom selection, Gdk.Atom target, Gdk.Atom property, uint32 time_);
- [Deprecated (replacement = "Selection.send_notify_for_display", since = "vala-0.12")]
+ [Version (replacement = "Selection.send_notify_for_display", deprecated_since = "vala-0.12")]
public static void selection_send_notify_for_display (Gdk.Display display, Gdk.Window requestor, Gdk.Atom selection, Gdk.Atom target, Gdk.Atom property, uint32 time_);
}
diff --git a/vapi/metadata/GdkPixbuf-2.0-custom.vala b/vapi/metadata/GdkPixbuf-2.0-custom.vala
index b34ecdf64..fe5b3efb0 100644
--- a/vapi/metadata/GdkPixbuf-2.0-custom.vala
+++ b/vapi/metadata/GdkPixbuf-2.0-custom.vala
@@ -4,10 +4,10 @@ namespace Gdk {
public Pixbuf.from_data ([CCode (array_length = false)] owned uint8[] data, Gdk.Colorspace colorspace, bool has_alpha, int bits_per_sample, int width, int height, int rowstride, [CCode (type = "GdkPixbufDestroyNotify")] Gdk.PixbufDestroyNotify? destroy_fn = GLib.free);
[CCode (has_construct_function = false, cname = "gdk_pixbuf_new_from_data")]
public Pixbuf.with_unowned_data ([CCode (array_length = false)] uint8[] data, Gdk.Colorspace colorspace, bool has_alpha, int bits_per_sample, int width, int height, int rowstride, [CCode (type = "GdkPixbufDestroyNotify")] Gdk.PixbufDestroyNotify? destroy_fn = null);
- [Deprecated (since = "vala-0.18", replacement = "Pixbuf.from_stream_async")]
+ [Version (deprecated_since = "vala-0.18", replacement = "Pixbuf.from_stream_async")]
[CCode (cname = "gdk_pixbuf_new_from_stream_async", finish_name = "gdk_pixbuf_new_from_stream_finish")]
public static async Gdk.Pixbuf new_from_stream_async (GLib.InputStream stream, GLib.Cancellable? cancellable = null) throws GLib.Error;
- [Deprecated (since = "vala-0.18", replacement = "Pixbuf.from_stream_at_scale_async")]
+ [Version (deprecated_since = "vala-0.18", replacement = "Pixbuf.from_stream_at_scale_async")]
[CCode (cname = "gdk_pixbuf_new_from_stream_at_scale_async", finish_name = "gdk_pixbuf_new_from_stream_finish")]
public static async Gdk.Pixbuf new_from_stream_at_scale_async (GLib.InputStream stream, int width, int height, bool preserve_aspect_ratio, GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (cname = "gdk_pixbuf_new_from_stream_at_scale_async", finish_name = "gdk_pixbuf_new_from_stream_finish")]
diff --git a/vapi/metadata/GdkX11-3.0-custom.vala b/vapi/metadata/GdkX11-3.0-custom.vala
index 14fbd0db8..52dbaf55e 100644
--- a/vapi/metadata/GdkX11-3.0-custom.vala
+++ b/vapi/metadata/GdkX11-3.0-custom.vala
@@ -1,12 +1,12 @@
namespace Gdk {
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.AppLaunchContext", since = "vala-0.24")]
+ [Version (replacement = "Gdk.X11.AppLaunchContext", deprecated_since = "vala-0.24")]
public class X11AppLaunchContext : Gdk.AppLaunchContext {
[CCode (has_construct_function = false)]
protected X11AppLaunchContext ();
}
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.Cursor", since = "vala-0.24")]
+ [Version (replacement = "Gdk.X11.Cursor", deprecated_since = "vala-0.24")]
public class X11Cursor : Gdk.Cursor {
[CCode (has_construct_function = false)]
protected X11Cursor ();
@@ -14,7 +14,7 @@ namespace Gdk {
public static unowned X.Display get_xdisplay (Gdk.Cursor cursor);
}
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.Display", since = "vala-0.24")]
+ [Version (replacement = "Gdk.X11.Display", deprecated_since = "vala-0.24")]
public class X11Display : Gdk.Display {
[CCode (has_construct_function = false)]
protected X11Display ();
@@ -35,19 +35,19 @@ namespace Gdk {
public static bool utf8_to_compound_text (Gdk.Display display, string str, out Gdk.Atom encoding, int format, uchar[] ctext, int length);
}
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.DisplayManager", since = "vala-0.24")]
+ [Version (replacement = "Gdk.X11.DisplayManager", deprecated_since = "vala-0.24")]
public class X11DisplayManager : Gdk.DisplayManager {
[CCode (has_construct_function = false)]
protected X11DisplayManager ();
}
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.DragContext", since = "vala-0.24")]
+ [Version (replacement = "Gdk.X11.DragContext", deprecated_since = "vala-0.24")]
public class X11DragContext : Gdk.DragContext {
[CCode (has_construct_function = false)]
protected X11DragContext ();
}
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.Keymap", since = "vala-0.24")]
+ [Version (replacement = "Gdk.X11.Keymap", deprecated_since = "vala-0.24")]
public class X11Keymap : Gdk.Keymap {
[CCode (has_construct_function = false)]
protected X11Keymap ();
@@ -55,7 +55,7 @@ namespace Gdk {
public static bool key_is_modifier (Gdk.Keymap keymap, uint keycode);
}
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.Screen", since = "vala-0.24")]
+ [Version (replacement = "Gdk.X11.Screen", deprecated_since = "vala-0.24")]
public class X11Screen : Gdk.Screen {
[CCode (has_construct_function = false)]
protected X11Screen ();
@@ -70,14 +70,14 @@ namespace Gdk {
public virtual signal void window_manager_changed ();
}
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.Visual", since = "vala-0.24")]
+ [Version (replacement = "Gdk.X11.Visual", deprecated_since = "vala-0.24")]
public class X11Visual : Gdk.Visual {
[CCode (has_construct_function = false)]
protected X11Visual ();
public static unowned X.Visual get_xvisual (Gdk.Visual visual);
}
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.Window", since = "vala-0.24")]
+ [Version (replacement = "Gdk.X11.Window", deprecated_since = "vala-0.24")]
public class X11Window : Gdk.Window {
[CCode (has_construct_function = false)]
protected X11Window ();
@@ -95,61 +95,61 @@ namespace Gdk {
public static void set_utf8_property (Gdk.Window window, string name, string value);
}
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.atom_to_xatom", since = "vala-0.24")]
+ [Version (replacement = "Gdk.X11.atom_to_xatom", deprecated_since = "vala-0.24")]
public static X.Atom x11_atom_to_xatom (Gdk.Atom atom);
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.atom_to_xatom_for_display", since = "vala-0.24")]
+ [Version (replacement = "Gdk.X11.atom_to_xatom_for_display", deprecated_since = "vala-0.24")]
public static X.Atom x11_atom_to_xatom_for_display (Gdk.Display display, Gdk.Atom atom);
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.free_compound_text", since = "vala-0.24")]
+ [Version (replacement = "Gdk.X11.free_compound_text", deprecated_since = "vala-0.24")]
public static void x11_free_compound_text (uchar[] ctext);
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.free_text_list", since = "vala-0.24")]
+ [Version (replacement = "Gdk.X11.free_text_list", deprecated_since = "vala-0.24")]
public static void x11_free_text_list (string list);
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.get_default_root_xwindow", since = "vala-0.24")]
+ [Version (replacement = "Gdk.X11.get_default_root_xwindow", deprecated_since = "vala-0.24")]
public static X.Window x11_get_default_root_xwindow ();
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.get_default_scree", since = "vala-0.24")]
+ [Version (replacement = "Gdk.X11.get_default_scree", deprecated_since = "vala-0.24")]
public static int x11_get_default_screen ();
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.get_default_xdisplay", since = "vala-0.24")]
+ [Version (replacement = "Gdk.X11.get_default_xdisplay", deprecated_since = "vala-0.24")]
public static unowned X.Display x11_get_default_xdisplay ();
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.get_server_time", since = "vala-0.24")]
+ [Version (replacement = "Gdk.X11.get_server_time", deprecated_since = "vala-0.24")]
public static uint32 x11_get_server_time (Gdk.Window window);
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.get_xatom_by_name", since = "vala-0.24")]
+ [Version (replacement = "Gdk.X11.get_xatom_by_name", deprecated_since = "vala-0.24")]
public static X.Atom x11_get_xatom_by_name (string atom_name);
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.get_xatom_by_name_for_display", since = "vala-0.24")]
+ [Version (replacement = "Gdk.X11.get_xatom_by_name_for_display", deprecated_since = "vala-0.24")]
public static X.Atom x11_get_xatom_by_name_for_display (Gdk.Display display, string atom_name);
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.get_xatom_nam", since = "vala-0.24")]
+ [Version (replacement = "Gdk.X11.get_xatom_nam", deprecated_since = "vala-0.24")]
public static unowned string x11_get_xatom_name (X.Atom xatom);
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.get_xatom_name_for_display", since = "vala-0.24")]
+ [Version (replacement = "Gdk.X11.get_xatom_name_for_display", deprecated_since = "vala-0.24")]
public static unowned string x11_get_xatom_name_for_display (Gdk.Display display, X.Atom xatom);
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.grab_server", since = "vala-0.24")]
+ [Version (replacement = "Gdk.X11.grab_server", deprecated_since = "vala-0.24")]
public static void x11_grab_server ();
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.Display.lookup_for_xdisplay", since = "vala-0.24")]
+ [Version (replacement = "Gdk.X11.Display.lookup_for_xdisplay", deprecated_since = "vala-0.24")]
public static unowned Gdk.Display x11_lookup_xdisplay (X.Display xdisplay);
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.register_standard_event_type", since = "vala-0.24")]
+ [Version (replacement = "Gdk.X11.register_standard_event_type", deprecated_since = "vala-0.24")]
public static void x11_register_standard_event_type (Gdk.Display display, int event_base, int n_events);
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.set_sm_client_id", since = "vala-0.24")]
+ [Version (replacement = "Gdk.X11.set_sm_client_id", deprecated_since = "vala-0.24")]
public static void x11_set_sm_client_id (string sm_client_id);
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.ungrab_server", since = "vala-0.24")]
+ [Version (replacement = "Gdk.X11.ungrab_server", deprecated_since = "vala-0.24")]
public static void x11_ungrab_server ();
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.xatom_to_atom", since = "vala-0.24")]
+ [Version (replacement = "Gdk.X11.xatom_to_atom", deprecated_since = "vala-0.24")]
public static Gdk.Atom x11_xatom_to_atom (X.Atom xatom);
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Deprecated (replacement = "Gdk.X11.xatom_to_atom_for_display", since = "vala-0.24")]
+ [Version (replacement = "Gdk.X11.xatom_to_atom_for_display", deprecated_since = "vala-0.24")]
public static Gdk.Atom x11_xatom_to_atom_for_display (Gdk.Display display, X.Atom xatom);
}
diff --git a/vapi/metadata/Gio-2.0-custom.vala b/vapi/metadata/Gio-2.0-custom.vala
index 7c43724ac..7db0f5dc2 100644
--- a/vapi/metadata/Gio-2.0-custom.vala
+++ b/vapi/metadata/Gio-2.0-custom.vala
@@ -12,11 +12,11 @@ namespace GLib {
public struct ActionEntry {
public weak string name;
- [Deprecated (since = "vala-0.26", replacement = "activate_callback")]
+ [Version (deprecated = true, deprecated_since = "vala-0.26", replacement = "activate_callback")]
public GLib.SimpleActionActivateCallback? activate;
public weak string parameter_type;
public weak string state;
- [Deprecated (since = "vala-0.26", replacement = "change_state_callback")]
+ [Version (deprecated_since = "vala-0.26", replacement = "change_state_callback")]
public GLib.SimpleActionChangeStateCallback? change_state;
[CCode (cname = "activate")]
public GLib.SimpleActionActivateFunc activate_callback;
@@ -77,7 +77,7 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h", type_id = "g_file_monitor_get_type ()")]
public abstract class FileMonitor : GLib.Object {
- [Deprecated (since = "2.46")]
+ [Version (deprecated_since = "2.46")]
public GLib.MainContext context { construct; }
}
@@ -196,9 +196,9 @@ namespace GLib {
}
public interface File : GLib.Object {
- [NoWrapper, Deprecated (since = "vala-0.16", replacement = "has_prefix")]
+ [NoWrapper, Version (deprecated_since = "vala-0.16", replacement = "has_prefix")]
public abstract bool prefix_matches (GLib.File file);
- [NoWrapper, Deprecated (since = "vala-0.16", replacement = "read")]
+ [NoWrapper, Version (deprecated_since = "vala-0.16", replacement = "read")]
public abstract unowned GLib.FileInputStream read_fn (GLib.Cancellable? cancellable = null) throws GLib.Error;
}
@@ -215,7 +215,7 @@ namespace GLib {
[Flags]
public enum ConverterFlags {
- [Deprecated (since = "vala-0.16", replacement = "ConverterFlags.NONE")]
+ [Version (deprecated_since = "vala-0.16", replacement = "ConverterFlags.NONE")]
NO_FLAGS
}
@@ -223,359 +223,359 @@ namespace GLib {
public delegate void SimpleActionActivateFunc (SimpleAction action, Variant? parameter, void* user_data);
[CCode (has_target = false)]
public delegate void SimpleActionChangeStateFunc (SimpleAction action, Variant value, void* user_data);
- [Deprecated (since = "vala-0.26", replacement = "SimplActionActivateFunc")]
+ [Version (deprecated_since = "vala-0.26", replacement = "SimplActionActivateFunc")]
public delegate void SimpleActionActivateCallback (SimpleAction action, Variant? parameter);
- [Deprecated (since = "vala-0.26", replacement = "SimplActionChangeStateFunc")]
+ [Version (deprecated_since = "vala-0.26", replacement = "SimplActionChangeStateFunc")]
public delegate void SimpleActionChangeStateCallback (SimpleAction action, Variant value);
[CCode (cheader_filename = "gio/gio.h", instance_pos = 6.9)]
public delegate GLib.Variant DBusInterfaceGetPropertyFunc (GLib.DBusConnection connection, string sender, string object_path, string interface_name, string property_name) throws GLib.Error;
[CCode (cheader_filename = "gio/gio.h", instance_pos = 7.9)]
public delegate bool DBusInterfaceSetPropertyFunc (GLib.DBusConnection connection, string sender, string object_path, string interface_name, string property_name, GLib.Variant value) throws GLib.Error;
- [Deprecated (since = "vala-0.16", replacement = "File.equal")]
+ [Version (deprecated_since = "vala-0.16", replacement = "File.equal")]
public static GLib.EqualFunc file_equal;
- [Deprecated (since = "vala-0.16", replacement = "File.hash")]
+ [Version (deprecated_since = "vala-0.16", replacement = "File.hash")]
public static GLib.HashFunc file_hash;
- [Deprecated (since = "vala-0.12", replacement = "GLib.ContentType.can_be_executable")]
+ [Version (deprecated_since = "vala-0.12", replacement = "GLib.ContentType.can_be_executable")]
[CCode (cname = "g_content_type_can_be_executable", cheader_filename = "gio/gio.h")]
public static bool g_content_type_can_be_executable (string type);
- [Deprecated (since = "vala-0.12", replacement = "GLib.ContentType.equals")]
+ [Version (deprecated_since = "vala-0.12", replacement = "GLib.ContentType.equals")]
[CCode (cname = "g_content_type_equals", cheader_filename = "gio/gio.h")]
public static bool g_content_type_equals (string type1, string type2);
- [Deprecated (since = "vala-0.12", replacement = "GLib.ContentType.from_mime_type")]
+ [Version (deprecated_since = "vala-0.12", replacement = "GLib.ContentType.from_mime_type")]
[CCode (cname = "g_content_type_from_mime_type", cheader_filename = "gio/gio.h")]
public static string? g_content_type_from_mime_type (string mime_type);
- [Deprecated (since = "vala-0.12", replacement = "GLib.ContentType.get_description")]
+ [Version (deprecated_since = "vala-0.12", replacement = "GLib.ContentType.get_description")]
[CCode (cname = "g_content_type_get_description", cheader_filename = "gio/gio.h")]
public static string g_content_type_get_description (string type);
- [Deprecated (since = "vala-0.12", replacement = "GLib.ContentType.get_icon")]
+ [Version (deprecated_since = "vala-0.12", replacement = "GLib.ContentType.get_icon")]
[CCode (cname = "g_content_type_get_icon", cheader_filename = "gio/gio.h")]
public static GLib.Icon g_content_type_get_icon (string type);
- [Deprecated (since = "vala-0.12", replacement = "GLib.ContentType.get_mime_type")]
+ [Version (deprecated_since = "vala-0.12", replacement = "GLib.ContentType.get_mime_type")]
[CCode (cname = "g_content_type_get_mime_type", cheader_filename = "gio/gio.h")]
public static string? g_content_type_get_mime_type (string type);
- [Deprecated (since = "vala-0.12", replacement = "GLib.ContentType.guess")]
+ [Version (deprecated_since = "vala-0.12", replacement = "GLib.ContentType.guess")]
[CCode (cname = "g_content_type_guess", cheader_filename = "gio/gio.h")]
public static string g_content_type_guess (string filename, uchar[] data, out bool result_uncertain);
- [Deprecated (since = "vala-0.12", replacement = "GLib.ContentType.guess_for_tree")]
+ [Version (deprecated_since = "vala-0.12", replacement = "GLib.ContentType.guess_for_tree")]
[CCode (cname = "g_content_type_guess_for_tree", cheader_filename = "gio/gio.h")]
public static string g_content_type_guess_for_tree (GLib.File root);
- [Deprecated (since = "vala-0.12", replacement = "GLib.ContentType.is_a")]
+ [Version (deprecated_since = "vala-0.12", replacement = "GLib.ContentType.is_a")]
[CCode (cname = "g_content_type_is_a", cheader_filename = "gio/gio.h")]
public static bool g_content_type_is_a (string type, string supertype);
- [Deprecated (since = "vala-0.12", replacement = "GLib.ContentType.is_unknown")]
+ [Version (deprecated_since = "vala-0.12", replacement = "GLib.ContentType.is_unknown")]
[CCode (cname = "g_content_type_is_unknown", cheader_filename = "gio/gio.h")]
public static bool g_content_type_is_unknown (string type);
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.ACCESS_CAN_DELETE")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.ACCESS_CAN_DELETE")]
public const string FILE_ATTRIBUTE_ACCESS_CAN_DELETE;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.ACCESS_CAN_EXECUTE")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.ACCESS_CAN_EXECUTE")]
public const string FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.ACCESS_CAN_READ")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.ACCESS_CAN_READ")]
public const string FILE_ATTRIBUTE_ACCESS_CAN_READ;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.ACCESS_CAN_RENAME")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.ACCESS_CAN_RENAME")]
public const string FILE_ATTRIBUTE_ACCESS_CAN_RENAME;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.ACCESS_CAN_TRASH")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.ACCESS_CAN_TRASH")]
public const string FILE_ATTRIBUTE_ACCESS_CAN_TRASH;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.ACCESS_CAN_WRITE")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.ACCESS_CAN_WRITE")]
public const string FILE_ATTRIBUTE_ACCESS_CAN_WRITE;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.DOS_IS_ARCHIVE")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.DOS_IS_ARCHIVE")]
public const string FILE_ATTRIBUTE_DOS_IS_ARCHIVE;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.DOS_IS_SYSTEM")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.DOS_IS_SYSTEM")]
public const string FILE_ATTRIBUTE_DOS_IS_SYSTEM;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.ETAG_VALUE")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.ETAG_VALUE")]
public const string FILE_ATTRIBUTE_ETAG_VALUE;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.FILESYSTEM_FREE")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.FILESYSTEM_FREE")]
public const string FILE_ATTRIBUTE_FILESYSTEM_FREE;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.FILESYSTEM_READONLY")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.FILESYSTEM_READONLY")]
public const string FILE_ATTRIBUTE_FILESYSTEM_READONLY;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.FILESYSTEM_SIZE")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.FILESYSTEM_SIZE")]
public const string FILE_ATTRIBUTE_FILESYSTEM_SIZE;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.FILESYSTEM_TYPE")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.FILESYSTEM_TYPE")]
public const string FILE_ATTRIBUTE_FILESYSTEM_TYPE;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.FILESYSTEM_USE_PREVIEW")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.FILESYSTEM_USE_PREVIEW")]
public const string FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.GVFS_BACKEND")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.GVFS_BACKEND")]
public const string FILE_ATTRIBUTE_GVFS_BACKEND;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.ID_FILE")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.ID_FILE")]
public const string FILE_ATTRIBUTE_ID_FILE;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.ID_FILESYSTEM")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.ID_FILESYSTEM")]
public const string FILE_ATTRIBUTE_ID_FILESYSTEM;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_CAN_EJECT")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_CAN_EJECT")]
public const string FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_CAN_MOUNT")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_CAN_MOUNT")]
public const string FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_CAN_POLL")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_CAN_POLL")]
public const string FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_CAN_START")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_CAN_START")]
public const string FILE_ATTRIBUTE_MOUNTABLE_CAN_START;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_CAN_START_DEGRADED")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_CAN_START_DEGRADED")]
public const string FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_CAN_STOP")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_CAN_STOP")]
public const string FILE_ATTRIBUTE_MOUNTABLE_CAN_STOP;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_CAN_UNMOUNT")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_CAN_UNMOUNT")]
public const string FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_HAL_UDI")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_HAL_UDI")]
public const string FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC")]
public const string FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_START_STOP_TYPE")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_START_STOP_TYPE")]
public const string FILE_ATTRIBUTE_MOUNTABLE_START_STOP_TYPE;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_UNIX_DEVICE")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_UNIX_DEVICE")]
public const string FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_UNIX_DEVICE_FILE")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_UNIX_DEVICE_FILE")]
public const string FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.OWNER_GROUP")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.OWNER_GROUP")]
public const string FILE_ATTRIBUTE_OWNER_GROUP;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.OWNER_USER")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.OWNER_USER")]
public const string FILE_ATTRIBUTE_OWNER_USER;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.OWNER_USER_REAL")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.OWNER_USER_REAL")]
public const string FILE_ATTRIBUTE_OWNER_USER_REAL;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.PREVIEW_ICON")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.PREVIEW_ICON")]
public const string FILE_ATTRIBUTE_PREVIEW_ICON;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.SELINUX_CONTEXT")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.SELINUX_CONTEXT")]
public const string FILE_ATTRIBUTE_SELINUX_CONTEXT;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.STANDARD_ALLOCATED_SIZE")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_ALLOCATED_SIZE")]
public const string FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.STANDARD_CONTENT_TYPE")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_CONTENT_TYPE")]
public const string FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.STANDARD_COPY_NAME")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_COPY_NAME")]
public const string FILE_ATTRIBUTE_STANDARD_COPY_NAME;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.STANDARD_DESCRIPTION")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_DESCRIPTION")]
public const string FILE_ATTRIBUTE_STANDARD_DESCRIPTION;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.STANDARD_DISPLAY_NAME")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_DISPLAY_NAME")]
public const string FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.STANDARD_EDIT_NAME")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_EDIT_NAME")]
public const string FILE_ATTRIBUTE_STANDARD_EDIT_NAME;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.STANDARD_FAST_CONTENT_TYPE")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_FAST_CONTENT_TYPE")]
public const string FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.STANDARD_ICON")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_ICON")]
public const string FILE_ATTRIBUTE_STANDARD_ICON;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.STANDARD_IS_BACKUP")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_IS_BACKUP")]
public const string FILE_ATTRIBUTE_STANDARD_IS_BACKUP;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.STANDARD_IS_HIDDEN")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_IS_HIDDEN")]
public const string FILE_ATTRIBUTE_STANDARD_IS_HIDDEN;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.STANDARD_IS_SYMLINK")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_IS_SYMLINK")]
public const string FILE_ATTRIBUTE_STANDARD_IS_SYMLINK;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.STANDARD_IS_VIRTUAL")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_IS_VIRTUAL")]
public const string FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.STANDARD_NAME")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_NAME")]
public const string FILE_ATTRIBUTE_STANDARD_NAME;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.STANDARD_SIZE")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_SIZE")]
public const string FILE_ATTRIBUTE_STANDARD_SIZE;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.STANDARD_SORT_ORDER")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_SORT_ORDER")]
public const string FILE_ATTRIBUTE_STANDARD_SORT_ORDER;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.STANDARD_SYMLINK_TARGET")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_SYMLINK_TARGET")]
public const string FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.STANDARD_TARGET_URI")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_TARGET_URI")]
public const string FILE_ATTRIBUTE_STANDARD_TARGET_URI;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.STANDARD_TYPE")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_TYPE")]
public const string FILE_ATTRIBUTE_STANDARD_TYPE;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.THUMBNAILING_FAILED")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.THUMBNAILING_FAILED")]
public const string FILE_ATTRIBUTE_THUMBNAILING_FAILED;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.THUMBNAIL_PATH")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.THUMBNAIL_PATH")]
public const string FILE_ATTRIBUTE_THUMBNAIL_PATH;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.TIME_ACCESS")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.TIME_ACCESS")]
public const string FILE_ATTRIBUTE_TIME_ACCESS;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.TIME_ACCESS_USEC")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.TIME_ACCESS_USEC")]
public const string FILE_ATTRIBUTE_TIME_ACCESS_USEC;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.TIME_CHANGED")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.TIME_CHANGED")]
public const string FILE_ATTRIBUTE_TIME_CHANGED;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.TIME_CHANGED_USEC")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.TIME_CHANGED_USEC")]
public const string FILE_ATTRIBUTE_TIME_CHANGED_USEC;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.TIME_CREATED")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.TIME_CREATED")]
public const string FILE_ATTRIBUTE_TIME_CREATED;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.TIME_CREATED_USEC")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.TIME_CREATED_USEC")]
public const string FILE_ATTRIBUTE_TIME_CREATED_USEC;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.TIME_MODIFIED")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.TIME_MODIFIED")]
public const string FILE_ATTRIBUTE_TIME_MODIFIED;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.TIME_MODIFIED_USEC")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.TIME_MODIFIED_USEC")]
public const string FILE_ATTRIBUTE_TIME_MODIFIED_USEC;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.TRASH_DELETION_DATE")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.TRASH_DELETION_DATE")]
public const string FILE_ATTRIBUTE_TRASH_DELETION_DATE;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.TRASH_ITEM_COUNT")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.TRASH_ITEM_COUNT")]
public const string FILE_ATTRIBUTE_TRASH_ITEM_COUNT;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.TRASH_ORIG_PATH")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.TRASH_ORIG_PATH")]
public const string FILE_ATTRIBUTE_TRASH_ORIG_PATH;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.UNIX_BLOCKS")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.UNIX_BLOCKS")]
public const string FILE_ATTRIBUTE_UNIX_BLOCKS;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.UNIX_BLOCK_SIZE")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.UNIX_BLOCK_SIZE")]
public const string FILE_ATTRIBUTE_UNIX_BLOCK_SIZE;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.UNIX_DEVICE")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.UNIX_DEVICE")]
public const string FILE_ATTRIBUTE_UNIX_DEVICE;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.UNIX_GID")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.UNIX_GID")]
public const string FILE_ATTRIBUTE_UNIX_GID;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.UNIX_INODE")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.UNIX_INODE")]
public const string FILE_ATTRIBUTE_UNIX_INODE;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.UNIX_IS_MOUNTPOINT")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.UNIX_IS_MOUNTPOINT")]
public const string FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.UNIX_MODE")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.UNIX_MODE")]
public const string FILE_ATTRIBUTE_UNIX_MODE;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.UNIX_NLINK")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.UNIX_NLINK")]
public const string FILE_ATTRIBUTE_UNIX_NLINK;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.UNIX_RDEV")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.UNIX_RDEV")]
public const string FILE_ATTRIBUTE_UNIX_RDEV;
- [Deprecated (since = "vala-0.16", replacement = "FileAttribute.UNIX_UID")]
+ [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.UNIX_UID")]
public const string FILE_ATTRIBUTE_UNIX_UID;
- [Deprecated (since = "vala-0.16", replacement = "Menu.ATTRIBUTE_ACTION")]
+ [Version (deprecated_since = "vala-0.16", replacement = "Menu.ATTRIBUTE_ACTION")]
public const string MENU_ATTRIBUTE_ACTION;
- [Deprecated (since = "vala-0.16", replacement = "Menu.ATTRIBUTE_LABEL")]
+ [Version (deprecated_since = "vala-0.16", replacement = "Menu.ATTRIBUTE_LABEL")]
public const string MENU_ATTRIBUTE_LABEL;
- [Deprecated (since = "vala-0.16", replacement = "Menu.ATTRIBUTE_TARGET")]
+ [Version (deprecated_since = "vala-0.16", replacement = "Menu.ATTRIBUTE_TARGET")]
public const string MENU_ATTRIBUTE_TARGET;
- [Deprecated (since = "vala-0.16", replacement = "Menu.LINK_SECTION_SECTION")]
+ [Version (deprecated_since = "vala-0.16", replacement = "Menu.LINK_SECTION_SECTION")]
public const string MENU_LINK_SECTION;
- [Deprecated (since = "vala-0.16", replacement = "Menu.LINK_SUBMENU")]
+ [Version (deprecated_since = "vala-0.16", replacement = "Menu.LINK_SUBMENU")]
public const string MENU_LINK_SUBMENU;
- [Deprecated (since = "vala-0.16", replacement = "IOExtensionPoint.NETWORK_MONITOR")]
+ [Version (deprecated_since = "vala-0.16", replacement = "IOExtensionPoint.NETWORK_MONITOR")]
public const string NETWORK_MONITOR_EXTENSION_POINT_NAME;
- [Deprecated (since = "vala-0.16", replacement = "IOExtensionPoint.NATIVE_VOLUME_MONITOR")]
+ [Version (deprecated_since = "vala-0.16", replacement = "IOExtensionPoint.NATIVE_VOLUME_MONITOR")]
public const string NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME;
- [Deprecated (since = "vala-0.16", replacement = "IOExtensionPoint.PROXY")]
+ [Version (deprecated_since = "vala-0.16", replacement = "IOExtensionPoint.PROXY")]
public const string PROXY_EXTENSION_POINT_NAME;
- [Deprecated (since = "vala-0.16", replacement = "IOExtensionPoint.PROXY_RESOLVER")]
+ [Version (deprecated_since = "vala-0.16", replacement = "IOExtensionPoint.PROXY_RESOLVER")]
public const string PROXY_RESOLVER_EXTENSION_POINT_NAME;
- [Deprecated (since = "vala-0.16", replacement = "IOExtensionPoint.TLS_BACKEND")]
+ [Version (deprecated_since = "vala-0.16", replacement = "IOExtensionPoint.TLS_BACKEND")]
public const string TLS_BACKEND_EXTENSION_POINT_NAME;
- [Deprecated (since = "vala-0.16", replacement = "TlsDatabase.PURPOSE_AUTHENTICATE_CLIENT")]
+ [Version (deprecated_since = "vala-0.16", replacement = "TlsDatabase.PURPOSE_AUTHENTICATE_CLIENT")]
public const string TLS_DATABASE_PURPOSE_AUTHENTICATE_CLIENT;
- [Deprecated (since = "vala-0.16", replacement = "TlsDatabase.PURPOSE_AUTHENTICATE_SERVER")]
+ [Version (deprecated_since = "vala-0.16", replacement = "TlsDatabase.PURPOSE_AUTHENTICATE_SERVER")]
public const string TLS_DATABASE_PURPOSE_AUTHENTICATE_SERVER;
- [Deprecated (since = "vala-0.16", replacement = "IOExtensionPoint.VFS")]
+ [Version (deprecated_since = "vala-0.16", replacement = "IOExtensionPoint.VFS")]
public const string VFS_EXTENSION_POINT_NAME;
- [Deprecated (since = "vala-0.16", replacement = "GLib.VolumeIdentifier.HAL_UDI")]
+ [Version (deprecated_since = "vala-0.16", replacement = "GLib.VolumeIdentifier.HAL_UDI")]
public const string VOLUME_IDENTIFIER_KIND_HAL_UDI;
- [Deprecated (since = "vala-0.16", replacement = "GLib.VolumeIdentifier.LABEL")]
+ [Version (deprecated_since = "vala-0.16", replacement = "GLib.VolumeIdentifier.LABEL")]
public const string VOLUME_IDENTIFIER_KIND_LABEL;
- [Deprecated (since = "vala-0.16", replacement = "GLib.VolumeIdentifier.NFS_MOUNT")]
+ [Version (deprecated_since = "vala-0.16", replacement = "GLib.VolumeIdentifier.NFS_MOUNT")]
public const string VOLUME_IDENTIFIER_KIND_NFS_MOUNT;
- [Deprecated (since = "vala-0.16", replacement = "GLib.VolumeIdentifier.UNIX_DEVICE")]
+ [Version (deprecated_since = "vala-0.16", replacement = "GLib.VolumeIdentifier.UNIX_DEVICE")]
public const string VOLUME_IDENTIFIER_KIND_UNIX_DEVICE;
- [Deprecated (since = "vala-0.16", replacement = "GLib.VolumeIdentifier.UUID")]
+ [Version (deprecated_since = "vala-0.16", replacement = "GLib.VolumeIdentifier.UUID")]
public const string VOLUME_IDENTIFIER_KIND_UUID;
- [Deprecated (since = "vala-0.16", replacement = "IOExtensionPoint.VOLUME_MONITOR")]
+ [Version (deprecated_since = "vala-0.16", replacement = "IOExtensionPoint.VOLUME_MONITOR")]
public const string VOLUME_MONITOR_EXTENSION_POINT_NAME;
- [Deprecated (since = "vala-0.16", replacement = "ContentType.list_registered")]
+ [Version (deprecated_since = "vala-0.16", replacement = "ContentType.list_registered")]
[CCode (cheader_filename = "gio/gio.h", cname = "g_content_types_get_registered")]
public static GLib.List<string> g_content_types_get_registered ();
- [Deprecated (since = "vala-0.16", replacement = "BusType.get_address_sync")]
+ [Version (deprecated_since = "vala-0.16", replacement = "BusType.get_address_sync")]
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_address_get_for_bus_sync")]
public static unowned string g_dbus_address_get_for_bus_sync (GLib.BusType bus_type, GLib.Cancellable? cancellable = null) throws GLib.Error;
- [Deprecated (since = "vala-0.16", replacement = "DBus.address_get_stream")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBus.address_get_stream")]
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_address_get_stream")]
public static async void g_dbus_address_get_stream (string address, GLib.Cancellable? cancellable = null);
- [Deprecated (since = "vala-0.16", replacement = "DBus.address_get_stream_finish")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBus.address_get_stream_finish")]
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_address_get_stream_finish")]
public static unowned GLib.IOStream g_dbus_address_get_stream_finish (GLib.AsyncResult res, string out_guid) throws GLib.Error;
- [Deprecated (since = "vala-0.16", replacement = "DBus.address_get_stream_sync")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBus.address_get_stream_sync")]
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_address_get_stream_sync")]
public static unowned GLib.IOStream g_dbus_address_get_stream_sync (string address, string out_guid, GLib.Cancellable? cancellable = null) throws GLib.Error;
- [Deprecated (since = "vala-0.16", replacement = "DBusError.encode_gerror")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBusError.encode_gerror")]
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_error_encode_gerror")]
public static unowned string g_dbus_error_encode_gerror (GLib.Error error);
- [Deprecated (since = "vala-0.16", replacement = "DBusError.get_remote_error")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBusError.get_remote_error")]
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_error_get_remote_error")]
public static unowned string g_dbus_error_get_remote_error (GLib.Error error);
- [Deprecated (since = "vala-0.16", replacement = "DBusError.error_is_remote_error")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBusError.error_is_remote_error")]
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_error_is_remote_error")]
public static bool g_dbus_error_is_remote_error (GLib.Error error);
- [Deprecated (since = "vala-0.16", replacement = "DBusError.new_for_dbus_error")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBusError.new_for_dbus_error")]
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_error_new_for_dbus_error")]
public static unowned GLib.Error g_dbus_error_new_for_dbus_error (string dbus_error_name, string dbus_error_message);
- [Deprecated (since = "vala-0.16", replacement = "DBusError.quark")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBusError.quark")]
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_error_quark")]
public static GLib.Quark g_dbus_error_quark ();
- [Deprecated (since = "vala-0.16", replacement = "DBusError.register_error")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBusError.register_error")]
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_error_register_error")]
public static bool g_dbus_error_register_error (GLib.Quark error_domain, int error_code, string dbus_error_name);
- [Deprecated (since = "vala-0.16", replacement = "DBusError.register_error_domain")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBusError.register_error_domain")]
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_error_register_error_domain")]
public static void g_dbus_error_register_error_domain (string error_domain_quark_name, size_t quark_volatile, GLib.DBusErrorEntry entries, uint num_entries);
- [Deprecated (since = "vala-0.16", replacement = "DBusError.set_dbus_error")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBusError.set_dbus_error")]
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_error_set_dbus_error")]
public static void g_dbus_error_set_dbus_error (string dbus_error_name, string dbus_error_message, string format) throws GLib.Error;
- [Deprecated (since = "vala-0.16", replacement = "DBusError.set_dbus_error_valist")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBusError.set_dbus_error_valist")]
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_error_set_dbus_error_valist")]
public static void g_dbus_error_set_dbus_error_valist (string dbus_error_name, string dbus_error_message, string format, void* var_args) throws GLib.Error;
- [Deprecated (since = "vala-0.16", replacement = "DBusError.strip_remote_error")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBusError.strip_remote_error")]
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_error_strip_remote_error")]
public static bool g_dbus_error_strip_remote_error (GLib.Error error);
- [Deprecated (since = "vala-0.16", replacement = "DBusError.unregister_error")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBusError.unregister_error")]
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_error_unregister_error")]
public static bool g_dbus_error_unregister_error (GLib.Quark error_domain, int error_code, string dbus_error_name);
- [Deprecated (since = "vala-0.16", replacement = "DBus.generate_guid")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBus.generate_guid")]
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_generate_guid")]
public static unowned string g_dbus_generate_guid ();
- [Deprecated (since = "vala-0.16", replacement = "DBus.gvalue_to_gvariant")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBus.gvalue_to_gvariant")]
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_gvalue_to_gvariant")]
public static unowned GLib.Variant g_dbus_gvalue_to_gvariant (GLib.Value gvalue, GLib.VariantType type);
- [Deprecated (since = "vala-0.16", replacement = "DBus.gvariant_to_gvalue")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBus.gvariant_to_gvalue")]
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_gvariant_to_gvalue")]
public static void g_dbus_gvariant_to_gvalue (GLib.Variant value, GLib.Value out_gvalue);
- [Deprecated (since = "vala-0.16", replacement = "DBus.is_address")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBus.is_address")]
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_is_address")]
public static bool g_dbus_is_address (string str);
- [Deprecated (since = "vala-0.16", replacement = "DBus.is_guid")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBus.is_guid")]
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_is_guid")]
public static bool g_dbus_is_guid (string str);
- [Deprecated (since = "vala-0.16", replacement = "DBus.is_interface_name")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBus.is_interface_name")]
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_is_interface_name")]
public static bool g_dbus_is_interface_name (string str);
- [Deprecated (since = "vala-0.16", replacement = "DBus.is_member_name")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBus.is_member_name")]
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_is_member_name")]
public static bool g_dbus_is_member_name (string str);
- [Deprecated (since = "vala-0.16", replacement = "DBus.is_name")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBus.is_name")]
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_is_name")]
public static bool g_dbus_is_name (string str);
- [Deprecated (since = "vala-0.16", replacement = "DBus.is_supported_address")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBus.is_supported_address")]
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_is_supported_address")]
public static bool g_dbus_is_supported_address (string str) throws GLib.Error;
- [Deprecated (since = "vala-0.16", replacement = "DBus.is_unique_name")]
+ [Version (deprecated_since = "vala-0.16", replacement = "DBus.is_unique_name")]
[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_is_unique_name")]
public static bool g_dbus_is_unique_name (string str);
- [Deprecated (since = "vala-0.16", replacement = "IOError.from_errno")]
+ [Version (deprecated_since = "vala-0.16", replacement = "IOError.from_errno")]
[CCode (cheader_filename = "gio/gio.h", cname = "g_io_error_from_errno")]
public static unowned GLib.IOError g_io_error_from_errno (int err_no);
- [Deprecated (since = "vala-0.16", replacement = "IOError.quark")]
+ [Version (deprecated_since = "vala-0.16", replacement = "IOError.quark")]
[CCode (cheader_filename = "gio/gio.h", cname = "g_io_error_quark")]
public static GLib.Quark g_io_error_quark ();
- [Deprecated (since = "vala-0.16", replacement = "IOModule.load_all_in_directory")]
+ [Version (deprecated_since = "vala-0.16", replacement = "IOModule.load_all_in_directory")]
[CCode (cheader_filename = "gio/gio.h", cname = "g_io_modules_load_all_in_directory")]
public static GLib.List<weak GLib.TypeModule> g_io_modules_load_all_in_directory (string dirname);
- [Deprecated (since = "vala-0.16", replacement = "IOModule.load_all_in_directory_with_scope")]
+ [Version (deprecated_since = "vala-0.16", replacement = "IOModule.load_all_in_directory_with_scope")]
[CCode (cheader_filename = "gio/gio.h", cname = "g_io_modules_load_all_in_directory_with_scope")]
public static unowned GLib.List g_io_modules_load_all_in_directory_with_scope (string dirname, GLib.IOModuleScope scope);
- [Deprecated (since = "vala-0.16", replacement = "IOModule.scan_all_in_directory")]
+ [Version (deprecated_since = "vala-0.16", replacement = "IOModule.scan_all_in_directory")]
[CCode (cheader_filename = "gio/gio.h", cname = "g_io_modules_scan_all_in_directory")]
public static void g_io_modules_scan_all_in_directory (string dirname);
- [Deprecated (since = "vala-0.16", replacement = "IOModule.xscan_all_in_directory_with_scope")]
+ [Version (deprecated_since = "vala-0.16", replacement = "IOModule.xscan_all_in_directory_with_scope")]
[CCode (cheader_filename = "gio/gio.h", cname = "g_io_modules_scan_all_in_directory_with_scope")]
public static void g_io_modules_scan_all_in_directory_with_scope (string dirname, GLib.IOModuleScope scope);
- [Deprecated (since = "vala-0.16", replacement = "IOSchedulerJob.cancel_all")]
+ [Version (deprecated_since = "vala-0.16", replacement = "IOSchedulerJob.cancel_all")]
[CCode (cheader_filename = "gio/gio.h", cname = "g_io_scheduler_cancel_all_jobs")]
public static void g_io_scheduler_cancel_all_jobs ();
- [Deprecated (since = "vala-0.16", replacement = "IOSchedulerJob.push")]
+ [Version (deprecated_since = "vala-0.16", replacement = "IOSchedulerJob.push")]
[CCode (cheader_filename = "gio/gio.h", cname = "g_io_scheduler_push_job")]
public static void g_io_scheduler_push_job (owned GLib.IOSchedulerJobFunc job_func, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null);
- [Deprecated (since = "vala-0.16", replacement = "PollableSource")]
+ [Version (deprecated_since = "vala-0.16", replacement = "PollableSource")]
[CCode (cheader_filename = "gio/gio.h", cname = "g_pollable_source_new")]
public static unowned GLib.TimeoutSource g_pollable_source_new (GLib.Object pollable_stream);
- [Deprecated (since = "vala-0.16", replacement = "report_error_in_idle")]
+ [Version (deprecated_since = "vala-0.16", replacement = "report_error_in_idle")]
[CCode (cheader_filename = "gio/gio.h", cname = "g_simple_async_report_error_in_idle")]
public static void g_simple_async_report_error_in_idle (GLib.Object object, GLib.AsyncReadyCallback callback, GLib.Quark domain, int code, string format);
- [Deprecated (since = "vala-0.16", replacement = "report_gerror_in_idle")]
+ [Version (deprecated_since = "vala-0.16", replacement = "report_gerror_in_idle")]
[CCode (cheader_filename = "gio/gio.h", cname = "g_simple_async_report_gerror_in_idle")]
public static void g_simple_async_report_gerror_in_idle (GLib.Object object, GLib.AsyncReadyCallback callback, GLib.Error error);
- [Deprecated (since = "vala-0.16", replacement = "report_take_gerror_in_idle")]
+ [Version (deprecated_since = "vala-0.16", replacement = "report_take_gerror_in_idle")]
[CCode (cheader_filename = "gio/gio.h", cname = "g_simple_async_report_take_gerror_in_idle")]
public static void g_simple_async_report_take_gerror_in_idle (GLib.Object object, GLib.AsyncReadyCallback callback, GLib.Error error);
- [Deprecated (since = "vala-0.16", replacement = "TlsError.quark")]
+ [Version (deprecated_since = "vala-0.16", replacement = "TlsError.quark")]
[CCode (cheader_filename = "gio/gio.h", cname = "g_tls_error_quark")]
public static GLib.Quark g_tls_error_quark ();
diff --git a/vapi/metadata/Gio-2.0.metadata b/vapi/metadata/Gio-2.0.metadata
index 57dfa4e1b..c3dd438d5 100644
--- a/vapi/metadata/Gio-2.0.metadata
+++ b/vapi/metadata/Gio-2.0.metadata
@@ -369,6 +369,8 @@ ActionGroup
.get_action_enabled nullable=false
.get_action_state_type unowned
AsyncReadyCallback.source_object nullable
+Converter
+ .convert.inbuf nullable=false
DBusMessage
.get_body unowned
DBusSubtreeVTable.enumerate skip=false
diff --git a/vapi/metadata/GtkClutter-1.0-custom.vala b/vapi/metadata/GtkClutter-1.0-custom.vala
index 278590489..fbb53c0d2 100644
--- a/vapi/metadata/GtkClutter-1.0-custom.vala
+++ b/vapi/metadata/GtkClutter-1.0-custom.vala
@@ -1,6 +1,6 @@
namespace GtkClutter {
public errordomain TextureError {
- [Deprecated (since = "vala-0.16", replacement = "INVALID_STOCK_ID")]
+ [Version (deprecated_since = "vala-0.16", replacement = "INVALID_STOCK_ID")]
[CCode (cname = "GTK_CLUTTER_TEXTURE_ERROR_INVALID_STOCK_ID")]
ID
}
@@ -11,4 +11,4 @@ namespace GtkClutter {
public const int CLUTTER_GTK_VERSION_HEX;
public const string CLUTTER_GTK_VERSION_S;
public static bool check_version (uint major, uint minor, uint micro);
-} \ No newline at end of file
+}
diff --git a/vapi/metadata/Mx-1.0-custom.vala b/vapi/metadata/Mx-1.0-custom.vala
index 89032c7a9..68708f2ea 100644
--- a/vapi/metadata/Mx-1.0-custom.vala
+++ b/vapi/metadata/Mx-1.0-custom.vala
@@ -1,25 +1,25 @@
namespace Mx {
[CCode (cheader_filename = "mx/mx.h", type_id = "mx_box_layout_child_get_type ()")]
public class BoxLayoutChild : Clutter.ChildMeta {
- [Deprecated (since = "vala-0.14", replacement = "BoxLayout.child_get_expand")]
+ [Version (deprecated_since = "vala-0.14", replacement = "BoxLayout.child_get_expand")]
public static bool get_expand (Mx.BoxLayout box_layout, Clutter.Actor child);
- [Deprecated (since = "vala-0.14", replacement = "BoxLayout.child_get_x_align")]
+ [Version (deprecated_since = "vala-0.14", replacement = "BoxLayout.child_get_x_align")]
public static Mx.Align get_x_align (Mx.BoxLayout box_layout, Clutter.Actor child);
- [Deprecated (since = "vala-0.14", replacement = "BoxLayout.child_get_x_fill")]
+ [Version (deprecated_since = "vala-0.14", replacement = "BoxLayout.child_get_x_fill")]
public static bool get_x_fill (Mx.BoxLayout box_layout, Clutter.Actor child);
- [Deprecated (since = "vala-0.14", replacement = "BoxLayout.child_get_y_align")]
+ [Version (deprecated_since = "vala-0.14", replacement = "BoxLayout.child_get_y_align")]
public static Mx.Align get_y_align (Mx.BoxLayout box_layout, Clutter.Actor child);
- [Deprecated (since = "vala-0.14", replacement = "BoxLayout.child_get_y_fill")]
+ [Version (deprecated_since = "vala-0.14", replacement = "BoxLayout.child_get_y_fill")]
public static bool get_y_fill (Mx.BoxLayout box_layout, Clutter.Actor child);
- [Deprecated (since = "vala-0.14", replacement = "BoxLayout.child_set_expand")]
+ [Version (deprecated_since = "vala-0.14", replacement = "BoxLayout.child_set_expand")]
public static void set_expand (Mx.BoxLayout box_layout, Clutter.Actor child, bool expand);
- [Deprecated (since = "vala-0.14", replacement = "BoxLayout.child_set_x_align")]
+ [Version (deprecated_since = "vala-0.14", replacement = "BoxLayout.child_set_x_align")]
public static void set_x_align (Mx.BoxLayout box_layout, Clutter.Actor child, Mx.Align x_align);
- [Deprecated (since = "vala-0.14", replacement = "BoxLayout.child_set_x_fill")]
+ [Version (deprecated_since = "vala-0.14", replacement = "BoxLayout.child_set_x_fill")]
public static void set_x_fill (Mx.BoxLayout box_layout, Clutter.Actor child, bool x_fill);
- [Deprecated (since = "vala-0.14", replacement = "BoxLayout.child_set_y_align")]
+ [Version (deprecated_since = "vala-0.14", replacement = "BoxLayout.child_set_y_align")]
public static void set_y_align (Mx.BoxLayout box_layout, Clutter.Actor child, Mx.Align y_align);
- [Deprecated (since = "vala-0.14", replacement = "BoxLayout.child_set_y_fill")]
+ [Version (deprecated_since = "vala-0.14", replacement = "BoxLayout.child_set_y_fill")]
public static void set_y_fill (Mx.BoxLayout box_layout, Clutter.Actor child, bool y_fill);
}
@@ -33,55 +33,55 @@ namespace Mx {
[CCode (cheader_filename = "mx/mx.h", cprefix = "MX_STYLE_ERROR_INVALID_")]
public enum StyleError {
- [Deprecated (since = "vala-0.14", replacement = "StyleError.INVALID_FILE")]
+ [Version (deprecated_since = "vala-0.14", replacement = "StyleError.INVALID_FILE")]
FILE
}
[CCode (cheader_filename = "mx/mx.h", type_id = "mx_table_child_get_type ()")]
public class TableChild : Clutter.ChildMeta {
- [Deprecated (since = "vala-0.14", replacement = "Table.child_get_column")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_get_column")]
public static int get_column (Mx.Table table, Clutter.Actor child);
- [Deprecated (since = "vala-0.14", replacement = "Table.child_get_column_span")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_get_column_span")]
public static int get_column_span (Mx.Table table, Clutter.Actor child);
- [Deprecated (since = "vala-0.14", replacement = "Table.child_get_row")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_get_row")]
public static int get_row (Mx.Table table, Clutter.Actor child);
- [Deprecated (since = "vala-0.14", replacement = "Table.child_get_row_span")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_get_row_span")]
public static int get_row_span (Mx.Table table, Clutter.Actor child);
- [Deprecated (since = "vala-0.14", replacement = "Table.child_get_x_align")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_get_x_align")]
public static Mx.Align get_x_align (Mx.Table table, Clutter.Actor child);
- [Deprecated (since = "vala-0.14", replacement = "Table.child_get_x_expand")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_get_x_expand")]
public static bool get_x_expand (Mx.Table table, Clutter.Actor child);
- [Deprecated (since = "vala-0.14", replacement = "Table.child_get_x_fill")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_get_x_fill")]
public static bool get_x_fill (Mx.Table table, Clutter.Actor child);
- [Deprecated (since = "vala-0.14", replacement = "Table.child_get_y_align")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_get_y_align")]
public static Mx.Align get_y_align (Mx.Table table, Clutter.Actor child);
- [Deprecated (since = "vala-0.14", replacement = "Table.child_get_y_expand")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_get_y_expand")]
public static bool get_y_expand (Mx.Table table, Clutter.Actor child);
- [Deprecated (since = "vala-0.14", replacement = "Table.child_get_y_fill")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_get_y_fill")]
public static bool get_y_fill (Mx.Table table, Clutter.Actor child);
- [Deprecated (since = "vala-0.14", replacement = "Table.child_set_column")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_set_column")]
public static void set_column (Mx.Table table, Clutter.Actor child, int col);
- [Deprecated (since = "vala-0.14", replacement = "Table.child_set_column_span")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_set_column_span")]
public static void set_column_span (Mx.Table table, Clutter.Actor child, int span);
- [Deprecated (since = "vala-0.14", replacement = "Table.child_set_row")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_set_row")]
public static void set_row (Mx.Table table, Clutter.Actor child, int row);
- [Deprecated (since = "vala-0.14", replacement = "Table.child_set_row_span")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_set_row_span")]
public static void set_row_span (Mx.Table table, Clutter.Actor child, int span);
- [Deprecated (since = "vala-0.14", replacement = "Table.child_set_x_align")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_set_x_align")]
public static void set_x_align (Mx.Table table, Clutter.Actor child, Mx.Align align);
- [Deprecated (since = "vala-0.14", replacement = "Table.child_set_x_expand")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_set_x_expand")]
public static void set_x_expand (Mx.Table table, Clutter.Actor child, bool expand);
- [Deprecated (since = "vala-0.14", replacement = "Table.child_set_x_fill")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_set_x_fill")]
public static void set_x_fill (Mx.Table table, Clutter.Actor child, bool fill);
- [Deprecated (since = "vala-0.14", replacement = "Table.child_set_y_align")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_set_y_align")]
public static void set_y_align (Mx.Table table, Clutter.Actor child, Mx.Align align);
- [Deprecated (since = "vala-0.14", replacement = "Table.child_set_y_expand")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_set_y_expand")]
public static void set_y_expand (Mx.Table table, Clutter.Actor child, bool expand);
- [Deprecated (since = "vala-0.14", replacement = "Table.child_set_y_fill")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_set_y_fill")]
public static void set_y_fill (Mx.Table table, Clutter.Actor child, bool fill);
}
- [Deprecated (since = "vala-0.14", replacement = "FontWeight.set_from_string")]
+ [Version (deprecated_since = "vala-0.14", replacement = "FontWeight.set_from_string")]
public static void font_weight_set_from_string (GLib.Value value, string str);
}
diff --git a/vapi/metadata/Pango-1.0-custom.vala b/vapi/metadata/Pango-1.0-custom.vala
index e0b3267bc..067ff3043 100644
--- a/vapi/metadata/Pango-1.0-custom.vala
+++ b/vapi/metadata/Pango-1.0-custom.vala
@@ -83,22 +83,22 @@ namespace Pango {
[CCode (cheader_filename = "pango/pango.h")]
public const string VERSION_STRING;
- [Deprecated (since = "vala-0.18", replacement = "Pango.AttrType.get_name")]
+ [Version (deprecated_since = "vala-0.18", replacement = "Pango.AttrType.get_name")]
public static unowned string attr_type_get_name (Pango.AttrType type);
- [Deprecated (since = "vala-0.18", replacement = "Pango.AttrType.get_name")]
+ [Version (deprecated_since = "vala-0.18", replacement = "Pango.AttrType.get_name")]
public static Pango.AttrType attr_type_register (string name);
- [Deprecated (since = "vala-0.18", replacement = "Pango.BidiType.for_unichar")]
+ [Version (deprecated_since = "vala-0.18", replacement = "Pango.BidiType.for_unichar")]
public static Pango.BidiType bidi_type_for_unichar (unichar ch);
- [Deprecated (since = "vala-0.18", replacement = "Pango.Gravity.get_for_matrix")]
+ [Version (deprecated_since = "vala-0.18", replacement = "Pango.Gravity.get_for_matrix")]
public static Pango.Gravity gravity_get_for_matrix (Pango.Matrix matrix);
- [Deprecated (since = "vala-0.18", replacement = "Pango.Gravity.get_for_script")]
+ [Version (deprecated_since = "vala-0.18", replacement = "Pango.Gravity.get_for_script")]
public static Pango.Gravity gravity_get_for_script (Pango.Script script, Pango.Gravity base_gravity, Pango.GravityHint hint);
- [Deprecated (since = "vala-0.18", replacement = "Pango.Gravity.get_for_script_and_width")]
+ [Version (deprecated_since = "vala-0.18", replacement = "Pango.Gravity.get_for_script_and_width")]
public static Pango.Gravity gravity_get_for_script_and_width (Pango.Script script, bool wide, Pango.Gravity base_gravity, Pango.GravityHint hint);
- [Deprecated (since = "vala-0.18", replacement = "Pango.Gravity.get_to_rotation")]
+ [Version (deprecated_since = "vala-0.18", replacement = "Pango.Gravity.get_to_rotation")]
public static double gravity_to_rotation (Pango.Gravity gravity);
- [Deprecated (since = "vala-0.18", replacement = "Pango.Script.for_unichar")]
+ [Version (deprecated_since = "vala-0.18", replacement = "Pango.Script.for_unichar")]
public static Pango.Script script_for_unichar (unichar ch);
- [Deprecated (since = "vala-0.18", replacement = "Pango.Script.get_sample_language")]
+ [Version (deprecated_since = "vala-0.18", replacement = "Pango.Script.get_sample_language")]
public static Pango.Language script_get_sample_language (Pango.Script script);
-} \ No newline at end of file
+}
diff --git a/vapi/metadata/Rsvg-2.0-custom.vala b/vapi/metadata/Rsvg-2.0-custom.vala
index 46f1a6fa1..9210a1113 100644
--- a/vapi/metadata/Rsvg-2.0-custom.vala
+++ b/vapi/metadata/Rsvg-2.0-custom.vala
@@ -1,14 +1,14 @@
namespace Rsvg {
public class Handle : GLib.Object {
- [Deprecated (since = "2.36")]
+ [Version (deprecated_since = "2.36")]
public unowned string get_desc ();
- [Deprecated (replacement = "GLib.Object.unref")]
+ [Version (replacement = "GLib.Object.unref")]
public void free ();
- [Deprecated (replacement = "render_cairo")]
+ [Version (replacement = "render_cairo")]
public void set_size_callback (owned Rsvg.SizeFunc size_func);
- [Deprecated (since = "2.36")]
+ [Version (deprecated_since = "2.36")]
public unowned string get_title ();
- [Deprecated (since = "2.36")]
+ [Version (deprecated_since = "2.36")]
public unowned string get_metadata ();
}
@@ -17,21 +17,21 @@ namespace Rsvg {
public static bool check (int major, int minor, int micro);
}
- [Deprecated]
+ [Version (deprecated = true)]
public delegate void SizeFunc (ref int width, ref int height);
- [Deprecated (since = "2.36")]
+ [Version (deprecated_since = "2.36")]
public static void init ();
- [Deprecated]
+ [Version (deprecated = true)]
public static Gdk.Pixbuf pixbuf_from_file (string file_name) throws GLib.Error;
- [Deprecated]
+ [Version (deprecated = true)]
public static Gdk.Pixbuf pixbuf_from_file_at_max_size (string file_name, int max_width, int max_height) throws GLib.Error;
- [Deprecated]
+ [Version (deprecated = true)]
public static Gdk.Pixbuf pixbuf_from_file_at_size (string file_name, int width, int height) throws GLib.Error;
- [Deprecated]
+ [Version (deprecated = true)]
public static Gdk.Pixbuf pixbuf_from_file_at_zoom (string file_name, double x_zoom, double y_zoom) throws GLib.Error;
- [Deprecated]
+ [Version (deprecated = true)]
public static Gdk.Pixbuf pixbuf_from_file_at_zoom_with_max (string file_name, double x_zoom, double y_zoom, int max_width, int max_height) throws GLib.Error;
- [Deprecated (since = "2.36")]
+ [Version (deprecated_since = "2.36")]
public static void term ();
}
diff --git a/vapi/metadata/Soup-2.4-custom.vala b/vapi/metadata/Soup-2.4-custom.vala
index 35449e905..95c2ad937 100644
--- a/vapi/metadata/Soup-2.4-custom.vala
+++ b/vapi/metadata/Soup-2.4-custom.vala
@@ -16,7 +16,7 @@ namespace Soup {
public Buffer.subbuffer (Soup.Buffer parent, size_t offset, size_t length);
}
- [Deprecated (replacement = "Soup.ProxyURIResolver")]
+ [Version (replacement = "Soup.ProxyURIResolver")]
[CCode (cheader_filename = "libsoup/soup.h", type_cname = "SoupProxyResolverInterface", type_id = "soup_proxy_resolver_get_type ()")]
public interface ProxyResolver : Soup.SessionFeature, GLib.Object {
public abstract void get_proxy_async (Soup.Message msg, GLib.MainContext async_context, GLib.Cancellable? cancellable, Soup.ProxyResolverCallback callback);
@@ -38,65 +38,65 @@ namespace Soup {
public URI.with_base (Soup.URI @base, string uri_string);
}
- [Deprecated (since = "vala-0.12", replacement = "XMLRPC.build_fault")]
+ [Version (deprecated_since = "vala-0.12", replacement = "XMLRPC.build_fault")]
[PrintfFormat]
public static unowned string xmlrpc_build_fault (int fault_code, string fault_format, ...);
- [Deprecated (since = "vala-0.12", replacement = "XMLRPC.build_method_call")]
+ [Version (deprecated_since = "vala-0.12", replacement = "XMLRPC.build_method_call")]
public static unowned string xmlrpc_build_method_call (string method_name, GLib.Value[] @params);
- [Deprecated (since = "vala-0.12", replacement = "XMLRPC.build_method_response")]
+ [Version (deprecated_since = "vala-0.12", replacement = "XMLRPC.build_method_response")]
public static unowned string xmlrpc_build_method_response (GLib.Value value);
- [Deprecated (since = "vala-0.12", replacement = "XMLRPC.error_quark")]
+ [Version (deprecated_since = "vala-0.12", replacement = "XMLRPC.error_quark")]
public static GLib.Quark xmlrpc_error_quark ();
- [Deprecated (since = "vala-0.12", replacement = "XMLRPC.extract_method_call")]
+ [Version (deprecated_since = "vala-0.12", replacement = "XMLRPC.extract_method_call")]
[CCode (sentinel = "G_TYPE_INVALID")]
public static bool xmlrpc_extract_method_call (string method_call, int length, out unowned string method_name, ...);
- [Deprecated (since = "vala-0.12", replacement = "XMLRPC.extract_method_response")]
+ [Version (deprecated_since = "vala-0.12", replacement = "XMLRPC.extract_method_response")]
[CCode (sentinel = "G_TYPE_INVALID")]
public static bool xmlrpc_extract_method_response (string method_response, int length, ...) throws GLib.Error;
- [Deprecated (since = "vala-0.12", replacement = "XMLRPC.fault_quark")]
+ [Version (deprecated_since = "vala-0.12", replacement = "XMLRPC.fault_quark")]
public static GLib.Quark xmlrpc_fault_quark ();
- [Deprecated (since = "vala-0.12", replacement = "XMLRPC.parse_method_call")]
+ [Version (deprecated_since = "vala-0.12", replacement = "XMLRPC.parse_method_call")]
public static bool xmlrpc_parse_method_call (string method_call, int length, out unowned string method_name, out unowned GLib.ValueArray @params);
- [Deprecated (since = "vala-0.12", replacement = "XMLRPC.parse_method_response")]
+ [Version (deprecated_since = "vala-0.12", replacement = "XMLRPC.parse_method_response")]
public static bool xmlrpc_parse_method_response (string method_response, int length, GLib.Value value) throws GLib.Error;
- [Deprecated (since = "vala-0.12", replacement = "XMLRPC.request_new")]
+ [Version (deprecated_since = "vala-0.12", replacement = "XMLRPC.request_new")]
[CCode (sentinel = "G_TYPE_INVALID")]
public static unowned Soup.Message xmlrpc_request_new (string uri, string method_name, ...);
- [Deprecated (since = "vala-0.12", replacement = "XMLRPC.set_fault")]
+ [Version (deprecated_since = "vala-0.12", replacement = "XMLRPC.set_fault")]
[PrintfFormat]
public static void xmlrpc_set_fault (Soup.Message msg, int fault_code, string fault_format, ...);
- [Deprecated (since = "vala-0.12", replacement = "XMLRPC.set_response")]
+ [Version (deprecated_since = "vala-0.12", replacement = "XMLRPC.set_response")]
[CCode (sentinel = "G_TYPE_INVALID")]
public static void xmlrpc_set_response (Soup.Message msg, ...);
- [Deprecated (since = "vala-0.12", replacement = "Form.decode")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Form.decode")]
public static GLib.HashTable<string,string> form_decode (string encoded_form);
- [Deprecated (since = "vala-0.12", replacement = "Form.decode_multipart")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Form.decode_multipart")]
public static GLib.HashTable<string,string> form_decode_multipart (Soup.Message msg, string file_control_name, out string filename, out string content_type, out Soup.Buffer file);
- [Deprecated (since = "vala-0.12", replacement = "Form.encode")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Form.encode")]
public static string form_encode (...);
- [Deprecated (since = "vala-0.12", replacement = "Form.encode_datalist")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Form.encode_datalist")]
public static string form_encode_datalist (void* form_data_set);
- [Deprecated (since = "vala-0.12", replacement = "Form.encode_hash")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Form.encode_hash")]
public static string form_encode_hash (GLib.HashTable<string,string> form_data_set);
- [Deprecated (since = "vala-0.12")]
+ [Version (deprecated_since = "vala-0.12")]
public static string form_encode_valist (string first_field, void* args);
- [Deprecated (since = "vala-0.12", replacement = "Form.request_new")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Form.request_new")]
public static Soup.Message form_request_new (string method, string uri, ...);
- [Deprecated (since = "vala-0.12", replacement = "Form.request_new_from_datalist")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Form.request_new_from_datalist")]
public static Soup.Message form_request_new_from_datalist (string method, string uri, void* form_data_set);
- [Deprecated (since = "vala-0.12", replacement = "Form.request_new_from_hash")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Form.request_new_from_hash")]
public static Soup.Message form_request_new_from_hash (string method, string uri, GLib.HashTable<string,string> form_data_set);
- [Deprecated (since = "vala-0.12", replacement = "Form.request_new_from_multipart")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Form.request_new_from_multipart")]
public static Soup.Message form_request_new_from_multipart (string uri, Soup.Multipart multipart);
- [Deprecated (since = "vala-0.14", replacement = "SSLError.quark")]
+ [Version (deprecated_since = "vala-0.14", replacement = "SSLError.quark")]
public static GLib.Quark ssl_error_quark ();
- [Deprecated (since = "vala-0.22", replacement = "Status.get_phrase")]
+ [Version (deprecated_since = "vala-0.22", replacement = "Status.get_phrase")]
public static unowned string status_get_phrase (uint status_code);
- [Deprecated (since = "vala-0.22", replacement = "Status.proxify")]
+ [Version (deprecated_since = "vala-0.22", replacement = "Status.proxify")]
public static uint status_proxify (uint status_code);
- [Deprecated (since = "vala-0.22", replacement = "Status")]
+ [Version (deprecated_since = "vala-0.22", replacement = "Status")]
[CCode (cheader_filename = "libsoup/soup.h", cprefix = "SOUP_STATUS_", type_id = "soup_known_status_code_get_type ()")]
public enum KnownStatusCode {
NONE,
diff --git a/vapi/mx-1.0.vapi b/vapi/mx-1.0.vapi
index 14662b166..b56f3bd92 100644
--- a/vapi/mx-1.0.vapi
+++ b/vapi/mx-1.0.vapi
@@ -7,7 +7,7 @@ namespace Mx {
[CCode (has_construct_function = false)]
public Action ();
[CCode (has_construct_function = false)]
- public Action.full (string name, string display_name, [CCode (scope = "async")] owned Mx.ActionCallbackFunc? activated_cb);
+ public Action.full (string name, string display_name, [CCode (scope = "async")] Mx.ActionCallbackFunc? activated_cb);
public bool get_active ();
public unowned string get_display_name ();
public unowned string get_icon ();
@@ -16,46 +16,68 @@ namespace Mx {
public void set_icon (string name);
public void set_name (string name);
[CCode (has_construct_function = false)]
+ [Version (since = "1.4")]
public Action.stateful (string name, GLib.VariantType? parameter_type, GLib.Variant state);
[CCode (has_construct_function = false)]
+ [Version (since = "1.4")]
public Action.with_parameter (string name, GLib.VariantType? parameter_type);
- [Deprecated (since = "1.4")]
+ [Version (deprecated = true, deprecated_since = "1.4")]
public bool active { get; set; }
public string display_name { get; set; }
public string icon { get; set; }
+ [Version (since = "1.4")]
public signal void activate (GLib.Variant? parameter);
- [Deprecated (since = "1.4")]
+ [Version (deprecated = true, deprecated_since = "1.4")]
public virtual signal void activated ();
}
[CCode (cheader_filename = "mx/mx.h", type_id = "mx_actor_manager_get_type ()")]
public class ActorManager : GLib.Object {
[CCode (has_construct_function = false)]
+ [Version (since = "1.2")]
public ActorManager (Clutter.Stage stage);
+ [Version (since = "1.2")]
public ulong add_actor (Clutter.Container container, Clutter.Actor actor);
+ [Version (since = "1.2")]
public void cancel_operation (ulong id);
+ [Version (since = "1.2")]
public void cancel_operations (Clutter.Actor actor);
+ [Version (since = "1.2")]
public static unowned Mx.ActorManager get_for_stage (Clutter.Stage stage);
+ [Version (since = "1.2")]
public uint get_n_operations ();
+ [Version (since = "1.2")]
public unowned Clutter.Stage get_stage ();
+ [Version (since = "1.2")]
public uint get_time_slice ();
+ [Version (since = "1.2")]
public ulong remove_actor (Clutter.Container container, Clutter.Actor actor);
+ [Version (since = "1.2")]
public void remove_container (Clutter.Container container);
+ [Version (since = "1.2")]
public void set_time_slice (uint msecs);
public uint n_operations { get; }
public Clutter.Stage stage { get; construct; }
public uint time_slice { get; set; }
+ [Version (since = "1.2")]
public virtual signal void actor_added (ulong id, Clutter.Actor container, Clutter.Actor actor);
+ [Version (since = "1.2")]
public virtual signal void actor_created (ulong id, Clutter.Actor actor);
+ [Version (since = "1.2")]
public virtual signal void actor_finished (Clutter.Actor actor);
+ [Version (since = "1.2")]
public virtual signal void actor_removed (ulong id, Clutter.Actor container, Clutter.Actor actor);
+ [Version (since = "1.2")]
public virtual signal void operation_cancelled (ulong id);
+ [Version (since = "1.2")]
public virtual signal void operation_completed (ulong id);
+ [Version (since = "1.2")]
public virtual signal void operation_failed (ulong id, GLib.Error error);
}
[CCode (cheader_filename = "mx/mx.h", type_id = "mx_adjustment_get_type ()")]
public class Adjustment : GLib.Object {
[CCode (has_construct_function = false)]
public Adjustment ();
+ [Version (since = "1.2")]
public bool get_clamp_value ();
public bool get_elastic ();
public double get_lower ();
@@ -67,6 +89,7 @@ namespace Mx {
public void get_values (double value, double lower, double upper, double step_increment, double page_increment, double page_size);
public void interpolate (double value, uint duration, ulong mode);
public void interpolate_relative (double offset, uint duration, ulong mode);
+ [Version (since = "1.2")]
public void set_clamp_value (bool clamp);
public void set_elastic (bool elastic);
public void set_lower (double lower);
@@ -100,6 +123,7 @@ namespace Mx {
public Mx.ApplicationFlags get_flags ();
public unowned GLib.List<Mx.Window> get_windows ();
public void invoke_action (string name);
+ [Version (since = "1.4")]
public void invoke_action_with_parameter (string name, GLib.Variant variant);
public bool is_running ();
public void quit ();
@@ -163,10 +187,12 @@ namespace Mx {
public void child_set_y_fill (Clutter.Actor child, bool y_fill);
public bool get_enable_animations ();
public Mx.Orientation get_orientation ();
+ [Version (since = "1.2")]
public bool get_scroll_to_focused ();
public uint get_spacing ();
public void set_enable_animations (bool enable_animations);
public void set_orientation (Mx.Orientation orientation);
+ [Version (since = "1.2")]
public void set_scroll_to_focused (bool scroll_to_focused);
public void set_spacing (uint spacing);
public bool enable_animations { get; set; }
@@ -178,25 +204,25 @@ namespace Mx {
public class BoxLayoutChild : Clutter.ChildMeta {
[CCode (has_construct_function = false)]
protected BoxLayoutChild ();
- [Deprecated (replacement = "BoxLayout.child_get_expand", since = "vala-0.14")]
+ [Version (deprecated_since = "vala-0.14", replacement = "BoxLayout.child_get_expand")]
public static bool get_expand (Mx.BoxLayout box_layout, Clutter.Actor child);
- [Deprecated (replacement = "BoxLayout.child_get_x_align", since = "vala-0.14")]
+ [Version (deprecated_since = "vala-0.14", replacement = "BoxLayout.child_get_x_align")]
public static Mx.Align get_x_align (Mx.BoxLayout box_layout, Clutter.Actor child);
- [Deprecated (replacement = "BoxLayout.child_get_x_fill", since = "vala-0.14")]
+ [Version (deprecated_since = "vala-0.14", replacement = "BoxLayout.child_get_x_fill")]
public static bool get_x_fill (Mx.BoxLayout box_layout, Clutter.Actor child);
- [Deprecated (replacement = "BoxLayout.child_get_y_align", since = "vala-0.14")]
+ [Version (deprecated_since = "vala-0.14", replacement = "BoxLayout.child_get_y_align")]
public static Mx.Align get_y_align (Mx.BoxLayout box_layout, Clutter.Actor child);
- [Deprecated (replacement = "BoxLayout.child_get_y_fill", since = "vala-0.14")]
+ [Version (deprecated_since = "vala-0.14", replacement = "BoxLayout.child_get_y_fill")]
public static bool get_y_fill (Mx.BoxLayout box_layout, Clutter.Actor child);
- [Deprecated (replacement = "BoxLayout.child_set_expand", since = "vala-0.14")]
+ [Version (deprecated_since = "vala-0.14", replacement = "BoxLayout.child_set_expand")]
public static void set_expand (Mx.BoxLayout box_layout, Clutter.Actor child, bool expand);
- [Deprecated (replacement = "BoxLayout.child_set_x_align", since = "vala-0.14")]
+ [Version (deprecated_since = "vala-0.14", replacement = "BoxLayout.child_set_x_align")]
public static void set_x_align (Mx.BoxLayout box_layout, Clutter.Actor child, Mx.Align x_align);
- [Deprecated (replacement = "BoxLayout.child_set_x_fill", since = "vala-0.14")]
+ [Version (deprecated_since = "vala-0.14", replacement = "BoxLayout.child_set_x_fill")]
public static void set_x_fill (Mx.BoxLayout box_layout, Clutter.Actor child, bool x_fill);
- [Deprecated (replacement = "BoxLayout.child_set_y_align", since = "vala-0.14")]
+ [Version (deprecated_since = "vala-0.14", replacement = "BoxLayout.child_set_y_align")]
public static void set_y_align (Mx.BoxLayout box_layout, Clutter.Actor child, Mx.Align y_align);
- [Deprecated (replacement = "BoxLayout.child_set_y_fill", since = "vala-0.14")]
+ [Version (deprecated_since = "vala-0.14", replacement = "BoxLayout.child_set_y_fill")]
public static void set_y_fill (Mx.BoxLayout box_layout, Clutter.Actor child, bool y_fill);
[NoAccessorMethod]
public bool expand { get; set; }
@@ -213,22 +239,34 @@ namespace Mx {
public class Button : Mx.Bin, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
[CCode (has_construct_function = false, type = "ClutterActor*")]
public Button ();
+ [Version (since = "1.2")]
public unowned Mx.Action get_action ();
+ [Version (since = "1.2")]
public unowned string get_icon_name ();
+ [Version (since = "1.2")]
public Mx.Position get_icon_position ();
+ [Version (since = "1.2")]
public uint get_icon_size ();
+ [Version (since = "1.2")]
public bool get_icon_visible ();
public bool get_is_toggle ();
public unowned string get_label ();
+ [Version (since = "1.2")]
public bool get_label_visible ();
public bool get_toggled ();
+ [Version (since = "1.2")]
public void set_action (Mx.Action action);
+ [Version (since = "1.2")]
public void set_icon_name (string? icon_name);
+ [Version (since = "1.2")]
public void set_icon_position (Mx.Position position);
+ [Version (since = "1.2")]
public void set_icon_size (uint icon_size);
+ [Version (since = "1.2")]
public void set_icon_visible (bool visible);
public void set_is_toggle (bool toggle);
public void set_label (string text);
+ [Version (since = "1.2")]
public void set_label_visible (bool visible);
public void set_toggled (bool toggled);
[CCode (has_construct_function = false, type = "ClutterActor*")]
@@ -264,7 +302,7 @@ namespace Mx {
[CCode (has_construct_function = false)]
protected Clipboard ();
public static unowned Mx.Clipboard get_default ();
- public void get_text ([CCode (scope = "async")] owned Mx.ClipboardCallbackFunc callback);
+ public void get_text ([CCode (scope = "async")] Mx.ClipboardCallbackFunc callback);
public void set_text (string text);
}
[CCode (cheader_filename = "mx/mx.h", type_id = "mx_combo_box_get_type ()")]
@@ -278,6 +316,7 @@ namespace Mx {
public void insert_text (int position, string text);
public void insert_text_with_icon (int position, string text, string icon);
public void prepend_text (string text);
+ [Version (since = "1.4")]
public void remove_all ();
public void remove_text (int position);
public void set_active_icon_name (string? icon_name);
@@ -352,10 +391,15 @@ namespace Mx {
[CCode (cheader_filename = "mx/mx.h", type_id = "mx_dialog_get_type ()")]
public class Dialog : Mx.Bin, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
[CCode (has_construct_function = false, type = "ClutterActor*")]
+ [Version (since = "1.2")]
public Dialog ();
+ [Version (since = "1.2")]
public void add_action (Mx.Action action);
+ [Version (since = "1.2")]
public GLib.List<weak Mx.Action> get_actions ();
+ [Version (since = "1.2")]
public void remove_action (Mx.Action action);
+ [Version (since = "1.2")]
public void set_transient_parent (Clutter.Actor actor);
}
[CCode (cheader_filename = "mx/mx.h", type_id = "mx_entry_get_type ()")]
@@ -404,12 +448,19 @@ namespace Mx {
[CCode (cheader_filename = "mx/mx.h", type_id = "mx_fade_effect_get_type ()")]
public class FadeEffect : Clutter.OffscreenEffect {
[CCode (has_construct_function = false, type = "ClutterEffect*")]
+ [Version (since = "1.2")]
public FadeEffect ();
+ [Version (since = "1.2")]
public void get_border (out uint top, out uint right, out uint bottom, out uint left);
+ [Version (since = "1.2")]
public void get_bounds (out int x, out int y, out uint width, out uint height);
+ [Version (since = "1.2")]
public Clutter.Color get_color ();
+ [Version (since = "1.2")]
public void set_border (uint top, uint right, uint bottom, uint left);
+ [Version (since = "1.2")]
public void set_bounds (int x, int y, uint width, uint height);
+ [Version (since = "1.2")]
public void set_color (Clutter.Color color);
[NoAccessorMethod]
public uint border_bottom { get; set; }
@@ -449,6 +500,7 @@ namespace Mx {
public unowned Clutter.Stage get_stage ();
public void move_focus (Mx.FocusDirection direction);
public void push_focus (Mx.Focusable focusable);
+ [Version (since = "1.2")]
public void push_focus_with_hint (Mx.Focusable focusable, Mx.FocusHint hint);
public Clutter.Actor focused { get; }
public Clutter.Stage stage { get; }
@@ -518,28 +570,51 @@ namespace Mx {
[CCode (cheader_filename = "mx/mx.h", type_id = "mx_image_get_type ()")]
public class Image : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
[CCode (has_construct_function = false, type = "ClutterActor*")]
+ [Version (since = "1.2")]
public Image ();
+ [Version (since = "1.2")]
public void animate_scale_mode (ulong mode, uint duration, Mx.ImageScaleMode scale_mode);
+ [Version (since = "1.2")]
public void clear ();
+ [Version (since = "1.2")]
public bool get_allow_upscale ();
+ [Version (since = "1.2")]
public float get_image_rotation ();
+ [Version (since = "1.2")]
public bool get_load_async ();
+ [Version (since = "1.2")]
public uint get_scale_height_threshold ();
+ [Version (since = "1.2")]
public Mx.ImageScaleMode get_scale_mode ();
+ [Version (since = "1.2")]
public uint get_scale_width_threshold ();
+ [Version (since = "1.2")]
public uint get_transition_duration ();
+ [Version (since = "1.2")]
public void set_allow_upscale (bool allow);
+ [Version (since = "1.2")]
public bool set_from_buffer ([CCode (array_length_cname = "buffer_size", array_length_pos = 1.5, array_length_type = "gsize")] owned uint8[]? buffer, GLib.DestroyNotify? buffer_free_func) throws GLib.Error;
+ [Version (since = "1.2")]
public bool set_from_buffer_at_size ([CCode (array_length_cname = "buffer_size", array_length_pos = 1.5, array_length_type = "gsize")] owned uint8[]? buffer, GLib.DestroyNotify? buffer_free_func, int width, int height) throws GLib.Error;
+ [Version (since = "1.2")]
public bool set_from_cogl_texture (Cogl.Handle texture);
+ [Version (since = "1.2")]
public bool set_from_data ([CCode (array_length = false)] uint8[]? data, Cogl.PixelFormat pixel_format, int width, int height, int rowstride) throws GLib.Error;
+ [Version (since = "1.2")]
public bool set_from_file (string filename) throws GLib.Error;
+ [Version (since = "1.2")]
public bool set_from_file_at_size (string filename, int width, int height) throws GLib.Error;
+ [Version (since = "1.2")]
public void set_image_rotation (float rotation);
+ [Version (since = "1.2")]
public void set_load_async (bool load_async);
+ [Version (since = "1.2")]
public void set_scale_height_threshold (uint pixels);
+ [Version (since = "1.2")]
public void set_scale_mode (Mx.ImageScaleMode mode);
+ [Version (since = "1.2")]
public void set_scale_width_threshold (uint pixels);
+ [Version (since = "1.2")]
public void set_transition_duration (uint duration);
public bool allow_upscale { get; set; }
public float image_rotation { get; set; }
@@ -548,7 +623,9 @@ namespace Mx {
public Mx.ImageScaleMode scale_mode { get; set; }
public uint scale_width_threshold { get; set; }
public uint transition_duration { get; set; }
+ [Version (since = "1.2")]
public virtual signal void image_load_error (GLib.Error error);
+ [Version (since = "1.2")]
public virtual signal void image_loaded ();
}
[CCode (cheader_filename = "mx/mx.h", type_id = "mx_item_view_get_type ()")]
@@ -571,25 +648,43 @@ namespace Mx {
[CCode (cheader_filename = "mx/mx.h", type_id = "mx_kinetic_scroll_view_get_type ()")]
public class KineticScrollView : Mx.Bin, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Scrollable, Mx.Stylable {
[CCode (has_construct_function = false, type = "ClutterActor*")]
+ [Version (since = "1.2")]
public KineticScrollView ();
+ [Version (since = "1.4")]
public double get_acceleration_factor ();
+ [Version (since = "1.4")]
public uint get_clamp_duration ();
+ [Version (since = "1.4")]
public ulong get_clamp_mode ();
+ [Version (since = "1.4")]
public bool get_clamp_to_center ();
+ [Version (since = "1.2")]
public double get_deceleration ();
+ [Version (since = "1.2")]
public uint32 get_mouse_button ();
+ [Version (since = "1.2")]
public double get_overshoot ();
public Mx.ScrollPolicy get_scroll_policy ();
+ [Version (since = "1.2")]
public bool get_use_captured ();
+ [Version (since = "1.4")]
public void set_acceleration_factor (double acceleration_factor);
+ [Version (since = "1.4")]
public void set_clamp_duration (uint clamp_duration);
+ [Version (since = "1.4")]
public void set_clamp_mode (ulong clamp_mode);
+ [Version (since = "1.4")]
public void set_clamp_to_center (bool clamp_to_center);
+ [Version (since = "1.2")]
public void set_deceleration (double rate);
+ [Version (since = "1.2")]
public void set_mouse_button (uint32 button);
+ [Version (since = "1.2")]
public void set_overshoot (double overshoot);
public void set_scroll_policy (Mx.ScrollPolicy policy);
+ [Version (since = "1.2")]
public void set_use_captured (bool use_captured);
+ [Version (since = "1.2")]
public void stop ();
public double acceleration_factor { get; set; }
public uint clamp_duration { get; set; }
@@ -608,15 +703,22 @@ namespace Mx {
[CCode (has_construct_function = false, type = "ClutterActor*")]
public Label ();
public unowned Clutter.Actor get_clutter_text ();
+ [Version (since = "1.2")]
public bool get_fade_out ();
+ [Version (since = "1.2")]
public bool get_line_wrap ();
+ [Version (since = "1.4")]
public bool get_show_tooltip ();
public unowned string get_text ();
+ [Version (since = "1.2")]
public bool get_use_markup ();
public Mx.Align get_x_align ();
public Mx.Align get_y_align ();
+ [Version (since = "1.2")]
public void set_fade_out (bool fade);
+ [Version (since = "1.2")]
public void set_line_wrap (bool line_wrap);
+ [Version (since = "1.4")]
public void set_show_tooltip (bool show_tooltip);
public void set_text (string text);
public void set_use_markup (bool use_markup);
@@ -626,7 +728,9 @@ namespace Mx {
public Label.with_text (string text);
public Clutter.Text clutter_text { get; }
public bool fade_out { get; set; }
+ [Version (since = "1.2")]
public bool line_wrap { get; set; }
+ [Version (since = "1.4")]
public bool show_tooltip { get; set; }
public string text { get; set; }
public bool use_markup { get; set; }
@@ -675,19 +779,25 @@ namespace Mx {
public class Offscreen : Clutter.Texture, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable {
[CCode (has_construct_function = false, type = "ClutterActor*")]
public Offscreen ();
+ [Version (since = "1.2")]
public bool get_accumulation_enabled ();
+ [Version (since = "1.2")]
public unowned Cogl.Handle get_accumulation_material ();
public bool get_auto_update ();
+ [Version (since = "1.2")]
public unowned Cogl.Handle get_buffer ();
public unowned Clutter.Actor get_child ();
public bool get_pick_child ();
+ [Version (since = "1.2")]
public bool get_redirect_enabled ();
[NoWrapper]
public virtual void paint_child ();
+ [Version (since = "1.2")]
public void set_accumulation_enabled (bool enable);
public void set_auto_update (bool auto_update);
public void set_child (Clutter.Actor actor);
public void set_pick_child (bool pick);
+ [Version (since = "1.2")]
public void set_redirect_enabled (bool enabled);
public void update ();
public bool accumulation_enabled { get; set; }
@@ -782,8 +892,10 @@ namespace Mx {
public class Slider : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
[CCode (has_construct_function = false, type = "ClutterActor*")]
public Slider ();
+ [Version (since = "1.2")]
public double get_buffer_value ();
public double get_value ();
+ [Version (since = "1.2")]
public void set_buffer_value (double value);
public void set_value (double value);
public double buffer_value { get; set; }
@@ -792,27 +904,44 @@ namespace Mx {
[CCode (cheader_filename = "mx/mx.h", type_id = "mx_spinner_get_type ()")]
public class Spinner : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
[CCode (has_construct_function = false, type = "ClutterActor*")]
+ [Version (since = "1.2")]
public Spinner ();
+ [Version (since = "1.2")]
public bool get_animating ();
+ [Version (since = "1.2")]
public void set_animating (bool animating);
public bool animating { get; set; }
+ [Version (since = "1.2")]
public virtual signal void looped ();
}
[CCode (cheader_filename = "mx/mx.h", type_id = "mx_stack_get_type ()")]
public class Stack : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
[CCode (has_construct_function = false, type = "ClutterActor*")]
+ [Version (since = "1.2")]
public Stack ();
+ [Version (since = "1.4")]
public bool child_get_crop (Clutter.Actor child);
+ [Version (since = "1.2")]
public bool child_get_fit (Clutter.Actor child);
+ [Version (since = "1.2")]
public Mx.Align child_get_x_align (Clutter.Actor child);
+ [Version (since = "1.2")]
public bool child_get_x_fill (Clutter.Actor child);
+ [Version (since = "1.2")]
public Mx.Align child_get_y_align (Clutter.Actor child);
+ [Version (since = "1.2")]
public bool child_get_y_fill (Clutter.Actor child);
+ [Version (since = "1.4")]
public void child_set_crop (Clutter.Actor child, bool crop);
+ [Version (since = "1.2")]
public void child_set_fit (Clutter.Actor child, bool fit);
+ [Version (since = "1.2")]
public void child_set_x_align (Clutter.Actor child, Mx.Align x_align);
+ [Version (since = "1.2")]
public void child_set_x_fill (Clutter.Actor child, bool x_fill);
+ [Version (since = "1.2")]
public void child_set_y_align (Clutter.Actor child, Mx.Align y_align);
+ [Version (since = "1.2")]
public void child_set_y_fill (Clutter.Actor child, bool y_fill);
}
[CCode (cheader_filename = "mx/mx.h", type_id = "mx_stack_child_get_type ()")]
@@ -885,45 +1014,45 @@ namespace Mx {
public class TableChild : Clutter.ChildMeta {
[CCode (has_construct_function = false)]
protected TableChild ();
- [Deprecated (replacement = "Table.child_get_column", since = "vala-0.14")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_get_column")]
public static int get_column (Mx.Table table, Clutter.Actor child);
- [Deprecated (replacement = "Table.child_get_column_span", since = "vala-0.14")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_get_column_span")]
public static int get_column_span (Mx.Table table, Clutter.Actor child);
- [Deprecated (replacement = "Table.child_get_row", since = "vala-0.14")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_get_row")]
public static int get_row (Mx.Table table, Clutter.Actor child);
- [Deprecated (replacement = "Table.child_get_row_span", since = "vala-0.14")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_get_row_span")]
public static int get_row_span (Mx.Table table, Clutter.Actor child);
- [Deprecated (replacement = "Table.child_get_x_align", since = "vala-0.14")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_get_x_align")]
public static Mx.Align get_x_align (Mx.Table table, Clutter.Actor child);
- [Deprecated (replacement = "Table.child_get_x_expand", since = "vala-0.14")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_get_x_expand")]
public static bool get_x_expand (Mx.Table table, Clutter.Actor child);
- [Deprecated (replacement = "Table.child_get_x_fill", since = "vala-0.14")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_get_x_fill")]
public static bool get_x_fill (Mx.Table table, Clutter.Actor child);
- [Deprecated (replacement = "Table.child_get_y_align", since = "vala-0.14")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_get_y_align")]
public static Mx.Align get_y_align (Mx.Table table, Clutter.Actor child);
- [Deprecated (replacement = "Table.child_get_y_expand", since = "vala-0.14")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_get_y_expand")]
public static bool get_y_expand (Mx.Table table, Clutter.Actor child);
- [Deprecated (replacement = "Table.child_get_y_fill", since = "vala-0.14")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_get_y_fill")]
public static bool get_y_fill (Mx.Table table, Clutter.Actor child);
- [Deprecated (replacement = "Table.child_set_column", since = "vala-0.14")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_set_column")]
public static void set_column (Mx.Table table, Clutter.Actor child, int col);
- [Deprecated (replacement = "Table.child_set_column_span", since = "vala-0.14")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_set_column_span")]
public static void set_column_span (Mx.Table table, Clutter.Actor child, int span);
- [Deprecated (replacement = "Table.child_set_row", since = "vala-0.14")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_set_row")]
public static void set_row (Mx.Table table, Clutter.Actor child, int row);
- [Deprecated (replacement = "Table.child_set_row_span", since = "vala-0.14")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_set_row_span")]
public static void set_row_span (Mx.Table table, Clutter.Actor child, int span);
- [Deprecated (replacement = "Table.child_set_x_align", since = "vala-0.14")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_set_x_align")]
public static void set_x_align (Mx.Table table, Clutter.Actor child, Mx.Align align);
- [Deprecated (replacement = "Table.child_set_x_expand", since = "vala-0.14")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_set_x_expand")]
public static void set_x_expand (Mx.Table table, Clutter.Actor child, bool expand);
- [Deprecated (replacement = "Table.child_set_x_fill", since = "vala-0.14")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_set_x_fill")]
public static void set_x_fill (Mx.Table table, Clutter.Actor child, bool fill);
- [Deprecated (replacement = "Table.child_set_y_align", since = "vala-0.14")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_set_y_align")]
public static void set_y_align (Mx.Table table, Clutter.Actor child, Mx.Align align);
- [Deprecated (replacement = "Table.child_set_y_expand", since = "vala-0.14")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_set_y_expand")]
public static void set_y_expand (Mx.Table table, Clutter.Actor child, bool expand);
- [Deprecated (replacement = "Table.child_set_y_fill", since = "vala-0.14")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Table.child_set_y_fill")]
public static void set_y_fill (Mx.Table table, Clutter.Actor child, bool fill);
[NoAccessorMethod]
public int column { get; set; }
@@ -950,18 +1079,24 @@ namespace Mx {
public class TextureCache : GLib.Object {
[CCode (has_construct_function = false)]
protected TextureCache ();
+ [Version (since = "1.2")]
public bool contains (string uri);
+ [Version (since = "1.2")]
public bool contains_meta (string uri, void* ident);
[NoWrapper]
public virtual void error_loading (GLib.Error error);
public unowned Clutter.Actor get_actor (string uri);
public unowned Cogl.Handle get_cogl_texture (string uri);
public static unowned Mx.TextureCache get_default ();
+ [Version (since = "1.2")]
public Cogl.Handle get_meta_cogl_texture (string uri, void* ident);
+ [Version (since = "1.2")]
public Clutter.Texture get_meta_texture (string uri, void* ident);
public int get_size ();
public unowned Clutter.Texture get_texture (string uri);
+ [Version (since = "1.2")]
public void insert (string uri, Cogl.Handle texture);
+ [Version (since = "1.2")]
public void insert_meta (string uri, void* ident, Cogl.Handle texture, GLib.DestroyNotify destroy_func);
public void load_cache (string filename);
[NoWrapper]
@@ -1009,6 +1144,7 @@ namespace Mx {
public unowned string get_text ();
public unowned Clutter.Geometry? get_tip_area ();
public void hide ();
+ [Version (since = "1.2")]
public static bool is_in_browse_mode ();
public void set_text (string text);
public void set_tip_area (Clutter.Geometry area);
@@ -1037,6 +1173,7 @@ namespace Mx {
public abstract class Widget : Clutter.Actor, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
[CCode (has_construct_function = false)]
protected Widget ();
+ [Version (since = "1.2")]
public virtual void apply_style (Mx.Style style);
public void get_available_area (Clutter.ActorBox allocation, Clutter.ActorBox area);
public unowned Clutter.Actor get_background_image ();
@@ -1071,28 +1208,40 @@ namespace Mx {
public unowned Clutter.Actor get_child ();
public unowned Clutter.Stage get_clutter_stage ();
public static unowned Mx.Window get_for_stage (Clutter.Stage stage);
+ [Version (since = "1.2")]
public bool get_fullscreen ();
public bool get_has_toolbar ();
public unowned string get_icon_name ();
public bool get_small_screen ();
+ [Version (since = "1.2")]
public unowned string get_title ();
public unowned Mx.Toolbar get_toolbar ();
public void get_window_position (out int x, out int y);
+ [Version (since = "1.2")]
public Mx.WindowRotation get_window_rotation ();
+ [Version (since = "1.2")]
public void get_window_size (out int width, out int height);
+ [Version (since = "1.2")]
public void hide ();
+ [Version (since = "1.2")]
public void present ();
public void set_child (Clutter.Actor actor);
+ [Version (since = "1.2")]
public void set_fullscreen (bool fullscreen);
public void set_has_toolbar (bool toolbar);
public void set_icon_from_cogl_texture (Cogl.Handle texture);
public void set_icon_name (string? icon_name);
public void set_small_screen (bool small_screen);
+ [Version (since = "1.2")]
public void set_title (string title);
+ [Version (since = "1.2")]
public void set_toolbar (Mx.Toolbar toolbar);
public void set_window_position (int x, int y);
+ [Version (since = "1.2")]
public void set_window_rotation (Mx.WindowRotation rotation);
+ [Version (since = "1.2")]
public void set_window_size (int width, int height);
+ [Version (since = "1.2")]
public void show ();
[CCode (has_construct_function = false)]
public Window.with_clutter_stage (Clutter.Stage stage);
@@ -1182,8 +1331,11 @@ namespace Mx {
public abstract void set_style (Mx.Style style);
public abstract void set_style_class (string style_class);
public abstract void set_style_pseudo_class (string pseudo_class);
+ [Version (since = "1.2")]
public void style_pseudo_class_add (string new_class);
+ [Version (since = "1.2")]
public bool style_pseudo_class_contains (string pseudo_class);
+ [Version (since = "1.2")]
public void style_pseudo_class_remove (string remove_class);
public abstract Mx.Style style { get; set; }
public abstract string style_class { get; set; }
@@ -1245,6 +1397,7 @@ namespace Mx {
FROM_BELOW,
FROM_LEFT,
FROM_RIGHT;
+ [Version (since = "1.2")]
public static Mx.FocusHint from_direction (Mx.FocusDirection direction);
}
[CCode (cheader_filename = "mx/mx.h", cprefix = "MX_FONT_WEIGHT_", type_id = "mx_font_weight_get_type ()")]
@@ -1280,6 +1433,7 @@ namespace Mx {
VERTICAL
}
[CCode (cheader_filename = "mx/mx.h", cprefix = "MX_POSITION_", type_id = "mx_position_get_type ()")]
+ [Version (since = "1.2")]
public enum Position {
TOP,
RIGHT,
@@ -1302,17 +1456,19 @@ namespace Mx {
}
[CCode (cheader_filename = "mx/mx.h", cprefix = "MX_STYLE_ERROR_INVALID_")]
public enum StyleError {
- [Deprecated (replacement = "StyleError.INVALID_FILE", since = "vala-0.14")]
+ [Version (deprecated_since = "vala-0.14", replacement = "StyleError.INVALID_FILE")]
FILE,
[CCode (cname = "MX_STYLE_ERROR_INVALID_FILE")]
INVALID_FILE
}
[CCode (cheader_filename = "mx/mx.h", cprefix = "MX_TOOLTIP_ANIMATION_", type_id = "mx_tooltip_animation_get_type ()")]
+ [Version (since = "1.2")]
public enum TooltipAnimation {
BOUNCE,
FADE
}
[CCode (cheader_filename = "mx/mx.h", cprefix = "MX_WINDOW_", type_id = "mx_window_rotation_get_type ()")]
+ [Version (since = "1.2")]
public enum WindowRotation {
[CCode (cname = "MX_WINDOW_ROTATION_0")]
@0,
@@ -1352,7 +1508,7 @@ namespace Mx {
[CCode (cheader_filename = "mx/mx.h")]
public static void allocate_align_fill (Clutter.Actor child, Clutter.ActorBox childbox, Mx.Align x_alignment, Mx.Align y_alignment, bool x_fill, bool y_fill);
[CCode (cheader_filename = "mx/mx.h")]
- [Deprecated (replacement = "FontWeight.set_from_string", since = "vala-0.14")]
+ [Version (deprecated_since = "vala-0.14", replacement = "FontWeight.set_from_string")]
public static void font_weight_set_from_string (GLib.Value value, string str);
[CCode (cheader_filename = "mx/mx.h")]
public static void set_locale ();
diff --git a/vapi/packagekit-glib2.vapi b/vapi/packagekit-glib2.vapi
index 58f31d95a..97ad8af05 100644
--- a/vapi/packagekit-glib2.vapi
+++ b/vapi/packagekit-glib2.vapi
@@ -5,208 +5,340 @@ namespace Pk {
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", type_id = "pk_category_get_type ()")]
public class Category : Pk.Source {
[CCode (has_construct_function = false)]
+ [Version (since = "0.5.4")]
public Category ();
+ [Version (since = "0.6.2")]
public unowned string get_icon ();
+ [Version (since = "0.6.2")]
public unowned string get_id ();
+ [Version (since = "0.6.2")]
public unowned string get_name ();
+ [Version (since = "0.6.2")]
public unowned string get_parent_id ();
+ [Version (since = "0.6.2")]
public unowned string get_summary ();
+ [Version (since = "0.6.2")]
public void set_icon (string icon);
+ [Version (since = "0.6.2")]
public void set_id (string cat_id);
+ [Version (since = "0.6.2")]
public void set_name (string name);
+ [Version (since = "0.6.2")]
public void set_parent_id (string parent_id);
+ [Version (since = "0.6.2")]
public void set_summary (string summary);
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string cat_id { owned get; set; }
+ [Version (since = "0.5.4")]
public string icon { get; set; }
+ [Version (since = "0.5.4")]
public string name { get; set; }
+ [Version (since = "0.5.4")]
public string parent_id { get; set; }
+ [Version (since = "0.5.4")]
public string summary { get; set; }
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", type_id = "pk_client_get_type ()")]
public class Client : GLib.Object {
[CCode (has_construct_function = false)]
+ [Version (since = "0.5.2")]
public Client ();
+ [Version (since = "0.5.3")]
public Pk.Results accept_eula (string eula_id, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_client_generic_finish")]
+ [Version (since = "0.5.2")]
public async Pk.Results accept_eula_async (string eula_id, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.5.3")]
public Pk.Results adopt (string transaction_id, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_client_generic_finish")]
+ [Version (since = "0.5.2")]
public async Pk.Results adopt_async (string transaction_id, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[NoWrapper]
public virtual void changed ();
+ [Version (since = "0.5.3")]
public Pk.Results depends_on (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] package_ids, bool recursive, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_client_generic_finish")]
+ [Version (since = "0.5.2")]
public async Pk.Results depends_on_async (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] package_ids, bool recursive, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.5.3")]
public Pk.Results download_packages ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, string directory, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_client_generic_finish")]
+ [Version (since = "0.5.2")]
public async Pk.Results download_packages_async ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, string directory, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.6.10")]
public bool get_background ();
+ [Version (since = "0.6.10")]
public uint get_cache_age ();
+ [Version (since = "0.5.3")]
public Pk.Results get_categories (GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_client_generic_finish")]
+ [Version (since = "0.5.2")]
public async Pk.Results get_categories_async (GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.5.3")]
public Pk.Results get_details ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_client_generic_finish")]
+ [Version (since = "0.5.2")]
public async Pk.Results get_details_async ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.8.17")]
public Pk.Results get_details_local ([CCode (array_length = false, array_null_terminated = true)] string[] files, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_client_generic_finish")]
+ [Version (since = "0.8.17")]
public async Pk.Results get_details_local_async ([CCode (array_length = false, array_null_terminated = true)] string[] files, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.5.3")]
public Pk.Results get_distro_upgrades (GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_client_generic_finish")]
+ [Version (since = "0.5.2")]
public async Pk.Results get_distro_upgrades_async (GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.5.3")]
public Pk.Results get_files ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_client_generic_finish")]
+ [Version (since = "0.5.2")]
public async Pk.Results get_files_async ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.9.1")]
public Pk.Results get_files_local ([CCode (array_length = false, array_null_terminated = true)] string[] files, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_client_generic_finish")]
+ [Version (since = "0.9.1")]
public async Pk.Results get_files_local_async ([CCode (array_length = false, array_null_terminated = true)] string[] files, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.6.10")]
public bool get_idle ();
+ [Version (since = "0.6.10")]
public bool get_interactive ();
+ [Version (since = "0.6.10")]
public unowned string get_locale ();
+ [Version (since = "0.5.3")]
public Pk.Results get_old_transactions (uint number, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_client_generic_finish")]
+ [Version (since = "0.5.2")]
public async Pk.Results get_old_transactions_async (uint number, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.5.3")]
public Pk.Results get_packages (Pk.Bitfield filters, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_client_generic_finish")]
+ [Version (since = "0.5.2")]
public async Pk.Results get_packages_async (Pk.Bitfield filters, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.5.3")]
public Pk.Progress get_progress (string transaction_id, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "0.5.2")]
public async Pk.Progress get_progress_async (string transaction_id, GLib.Cancellable? cancellable) throws GLib.Error;
+ [Version (since = "0.5.3")]
public Pk.Results get_repo_list (Pk.Bitfield filters, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_client_generic_finish")]
+ [Version (since = "0.5.2")]
public async Pk.Results get_repo_list_async (Pk.Bitfield filters, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.5.3")]
public Pk.Results get_update_detail ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_client_generic_finish")]
+ [Version (since = "0.5.2")]
public async Pk.Results get_update_detail_async ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.5.3")]
public Pk.Results get_updates (Pk.Bitfield filters, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_client_generic_finish")]
+ [Version (since = "0.5.2")]
public async Pk.Results get_updates_async (Pk.Bitfield filters, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.8.1")]
public Pk.Results install_files (Pk.Bitfield transaction_flags, [CCode (array_length = false, array_null_terminated = true)] string[] files, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_client_generic_finish")]
+ [Version (since = "0.8.1")]
public async Pk.Results install_files_async (Pk.Bitfield transaction_flags, [CCode (array_length = false, array_null_terminated = true)] string[] files, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.8.1")]
public Pk.Results install_packages (Pk.Bitfield transaction_flags, [CCode (array_length = false, array_null_terminated = true)] string[] package_ids, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_client_generic_finish")]
+ [Version (since = "0.8.1")]
public async Pk.Results install_packages_async (Pk.Bitfield transaction_flags, [CCode (array_length = false, array_null_terminated = true)] string[] package_ids, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.5.3")]
public Pk.Results install_signature (Pk.SigType type, string key_id, string package_id, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_client_generic_finish")]
+ [Version (since = "0.5.2")]
public async Pk.Results install_signature_async (Pk.SigType type, string key_id, string package_id, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.5.3")]
public Pk.Results refresh_cache (bool force, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_client_generic_finish")]
+ [Version (since = "0.5.2")]
public async Pk.Results refresh_cache_async (bool force, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.8.1")]
public Pk.Results remove_packages (Pk.Bitfield transaction_flags, [CCode (array_length = false, array_null_terminated = true)] string[] package_ids, bool allow_deps, bool autoremove, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_client_generic_finish")]
+ [Version (since = "0.8.1")]
public async Pk.Results remove_packages_async (Pk.Bitfield transaction_flags, [CCode (array_length = false, array_null_terminated = true)] string[] package_ids, bool allow_deps, bool autoremove, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.8.1")]
public Pk.Results repair_system (Pk.Bitfield transaction_flags, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_client_generic_finish")]
+ [Version (since = "0.8.1")]
public async Pk.Results repair_system_async (Pk.Bitfield transaction_flags, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.5.3")]
public Pk.Results repo_enable (string repo_id, bool enabled, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_client_generic_finish")]
+ [Version (since = "0.5.2")]
public async Pk.Results repo_enable_async (string repo_id, bool enabled, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.9.1")]
public Pk.Results repo_remove (Pk.Bitfield transaction_flags, string repo_id, bool autoremove, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_client_generic_finish")]
+ [Version (since = "0.9.1")]
public async Pk.Results repo_remove_async (Pk.Bitfield transaction_flags, string repo_id, bool autoremove, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.5.3")]
public Pk.Results repo_set_data (string repo_id, string parameter, string value, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_client_generic_finish")]
+ [Version (since = "0.5.2")]
public async Pk.Results repo_set_data_async (string repo_id, string parameter, string value, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.5.3")]
public Pk.Results required_by (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] package_ids, bool recursive, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_client_generic_finish")]
+ [Version (since = "0.5.2")]
public async Pk.Results required_by_async (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] package_ids, bool recursive, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.5.3")]
public Pk.Results resolve (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] packages, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_client_generic_finish")]
+ [Version (since = "0.5.2")]
public async Pk.Results resolve_async (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] packages, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.5.5")]
public Pk.Results search_details (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] values, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_client_generic_finish")]
+ [Version (since = "0.5.5")]
public async Pk.Results search_details_async (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] values, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.5.5")]
public Pk.Results search_files (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] values, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_client_generic_finish")]
+ [Version (since = "0.5.5")]
public async Pk.Results search_files_async (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] values, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.5.5")]
public Pk.Results search_groups (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] values, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_client_generic_finish")]
+ [Version (since = "0.5.5")]
public async Pk.Results search_groups_async (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] values, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.5.5")]
public Pk.Results search_names (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] values, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_client_generic_finish")]
+ [Version (since = "0.5.5")]
public async Pk.Results search_names_async (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] values, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.6.10")]
public void set_background (bool background);
+ [Version (since = "0.6.10")]
public void set_cache_age (uint cache_age);
+ [Version (since = "0.6.10")]
public void set_interactive (bool interactive);
+ [Version (since = "0.6.10")]
public void set_locale (string locale);
public static void test (void* user_data);
+ [Version (since = "0.8.1")]
public Pk.Results update_packages (Pk.Bitfield transaction_flags, [CCode (array_length = false, array_null_terminated = true)] string[] package_ids, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_client_generic_finish")]
+ [Version (since = "0.8.1")]
public async Pk.Results update_packages_async (Pk.Bitfield transaction_flags, [CCode (array_length = false, array_null_terminated = true)] string[] package_ids, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "1.0.10")]
public Pk.Results upgrade_system (Pk.Bitfield transaction_flags, string distro_id, Pk.UpgradeKind upgrade_kind, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "1.0.10")]
public async void upgrade_system_async (Pk.Bitfield transaction_flags, string distro_id, Pk.UpgradeKind upgrade_kind, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
+ [Version (since = "0.5.3")]
public Pk.Results what_provides (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] values, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_client_generic_finish")]
+ [Version (since = "0.5.2")]
public async Pk.Results what_provides_async (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] values, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.5.3")]
public bool background { get; set; }
+ [Version (since = "0.6.10")]
public uint cache_age { get; set; }
+ [Version (since = "0.5.4")]
public bool idle { get; }
+ [Version (since = "0.5.4")]
public bool interactive { get; set; }
+ [Version (since = "0.5.3")]
public string locale { get; set; }
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", type_id = "pk_client_helper_get_type ()")]
public class ClientHelper : GLib.Object {
[CCode (has_construct_function = false)]
+ [Version (since = "0.6.10")]
public ClientHelper ();
+ [Version (since = "0.6.10")]
public bool start (string socket_filename, string argv, string envp) throws GLib.Error;
+ [Version (since = "0.6.10")]
public bool stop () throws GLib.Error;
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", type_id = "pk_control_get_type ()")]
public class Control : GLib.Object {
[CCode (has_construct_function = false)]
+ [Version (since = "0.5.2")]
public Control ();
+ [Version (since = "0.5.2")]
public async Pk.Authorize can_authorize_async (string action_id, GLib.Cancellable? cancellable) throws GLib.Error;
[NoWrapper]
public virtual void connection_changed (bool connected);
+ [Version (since = "0.5.2")]
public async string get_daemon_state_async (GLib.Cancellable? cancellable) throws GLib.Error;
+ [Version (since = "0.5.3")]
public bool get_properties (GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "0.5.2")]
public async bool get_properties_async (GLib.Cancellable? cancellable) throws GLib.Error;
+ [Version (since = "0.5.2")]
public async string get_tid_async (GLib.Cancellable? cancellable) throws GLib.Error;
+ [Version (since = "0.5.2")]
public async uint get_time_since_action_async (Pk.Role role, GLib.Cancellable? cancellable) throws GLib.Error;
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "0.5.3")]
public string[] get_transaction_list (GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "0.5.2")]
public async string[] get_transaction_list_async (GLib.Cancellable? cancellable) throws GLib.Error;
[NoWrapper]
public virtual void network_state_changed ();
+ [Version (since = "0.6.3")]
public bool set_proxy (string proxy_http, string proxy_ftp, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "0.6.13")]
public bool set_proxy2 (string proxy_http, string proxy_https, string proxy_ftp, string proxy_socks, string no_proxy, string pac, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "0.6.13")]
public async void set_proxy2_async (string proxy_http, string proxy_https, string proxy_ftp, string proxy_socks, string no_proxy, string pac, GLib.Cancellable? cancellable);
+ [Version (since = "0.5.2")]
public async bool set_proxy_async (string proxy_http, string proxy_ftp, GLib.Cancellable? cancellable) throws GLib.Error;
+ [Version (since = "0.6.2")]
public bool suggest_daemon_quit (GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "0.6.2")]
public async bool suggest_daemon_quit_async (GLib.Cancellable? cancellable) throws GLib.Error;
public static void test (void* user_data);
[NoAccessorMethod]
+ [Version (since = "0.5.2")]
public string backend_author { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.2")]
public string backend_description { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.2")]
public string backend_name { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.3")]
public bool connected { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.5")]
public string distro_id { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.2")]
public uint64 filters { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.2")]
public uint64 groups { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.3")]
public virtual bool locked { get; set; }
[CCode (array_length = false, array_null_terminated = true)]
[NoAccessorMethod]
+ [Version (since = "0.8.1")]
public string[] mime_types { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.3")]
public Pk.Network network_state { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.8.8")]
public uint64 provides { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.2")]
public uint64 roles { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.2")]
public uint version_major { get; }
[NoAccessorMethod]
+ [Version (since = "0.5.2")]
public uint version_micro { get; }
[NoAccessorMethod]
+ [Version (since = "0.5.2")]
public uint version_minor { get; }
public virtual signal void repo_list_changed ();
public virtual signal void restart_schedule ();
@@ -216,229 +348,347 @@ namespace Pk {
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", type_id = "pk_desktop_get_type ()")]
public class Desktop : GLib.Object {
[CCode (has_construct_function = false)]
+ [Version (since = "0.5.3")]
public Desktop ();
+ [Version (since = "0.5.3")]
public GLib.GenericArray<weak string> get_files_for_package (string package) throws GLib.Error;
+ [Version (since = "0.5.3")]
public string get_package_for_file (string filename) throws GLib.Error;
+ [Version (since = "0.5.3")]
public GLib.GenericArray<weak string> get_shown_for_package (string package) throws GLib.Error;
+ [Version (since = "0.5.3")]
public bool open_database () throws GLib.Error;
public static void test (void* user_data);
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", type_id = "pk_details_get_type ()")]
public class Details : Pk.Source {
[CCode (has_construct_function = false)]
+ [Version (since = "0.5.4")]
public Details ();
+ [Version (since = "0.8.12")]
public unowned string get_description ();
+ [Version (since = "0.8.12")]
public Pk.Group get_group ();
+ [Version (since = "0.8.12")]
public unowned string get_license ();
+ [Version (since = "0.8.12")]
public unowned string get_package_id ();
+ [Version (since = "0.8.12")]
public uint64 get_size ();
+ [Version (since = "0.9.1")]
public unowned string get_summary ();
+ [Version (since = "0.8.12")]
public unowned string get_url ();
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string description { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public Pk.Group group { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string license { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string package_id { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public uint64 size { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.9.1")]
public string summary { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string url { owned get; set; }
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", type_id = "pk_distro_upgrade_get_type ()")]
public class DistroUpgrade : Pk.Source {
[CCode (has_construct_function = false)]
+ [Version (since = "0.5.4")]
public DistroUpgrade ();
+ [Version (since = "0.6.11")]
public unowned string get_id ();
+ [Version (since = "0.6.11")]
public Pk.DistroUpgradeEnum get_state ();
+ [Version (since = "0.6.11")]
public unowned string get_summary ();
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string name { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public Pk.DistroUpgradeEnum state { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string summary { owned get; set; }
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", type_id = "pk_error_get_type ()")]
public class Error : Pk.Source {
[CCode (has_construct_function = false)]
+ [Version (since = "0.5.5")]
public Error ();
+ [Version (since = "0.5.5")]
public Pk.ErrorEnum get_code ();
+ [Version (since = "0.5.5")]
public unowned string get_details ();
[NoAccessorMethod]
+ [Version (since = "0.5.5")]
public Pk.ErrorEnum code { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.5")]
public string details { owned get; set; }
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", type_id = "pk_eula_required_get_type ()")]
public class EulaRequired : Pk.Source {
[CCode (has_construct_function = false)]
+ [Version (since = "0.5.4")]
public EulaRequired ();
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string eula_id { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string license_agreement { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string package_id { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string vendor_name { owned get; set; }
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", type_id = "pk_files_get_type ()")]
public class Files : Pk.Source {
[CCode (has_construct_function = false)]
+ [Version (since = "0.5.4")]
public Files ();
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "0.9.1")]
public unowned string[] get_files ();
+ [Version (since = "0.9.1")]
public unowned string get_package_id ();
[CCode (array_length = false, array_null_terminated = true)]
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string[] files { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string package_id { owned get; set; }
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", type_id = "pk_item_progress_get_type ()")]
public class ItemProgress : Pk.Source {
[CCode (has_construct_function = false)]
+ [Version (since = "0.8.1")]
public ItemProgress ();
public unowned string get_package_id ();
public uint get_percentage ();
public Pk.Status get_status ();
[NoAccessorMethod]
+ [Version (since = "0.8.1")]
public string package_id { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.8.1")]
public uint percentage { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.8.2")]
public uint status { get; set; }
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", type_id = "pk_media_change_required_get_type ()")]
public class MediaChangeRequired : Pk.Source {
[CCode (has_construct_function = false)]
+ [Version (since = "0.5.4")]
public MediaChangeRequired ();
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string media_id { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string media_text { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public Pk.MediaType media_type { get; set; }
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", type_id = "pk_package_get_type ()")]
public class Package : Pk.Source {
[CCode (has_construct_function = false)]
+ [Version (since = "0.5.4")]
public Package ();
+ [Version (since = "0.5.4")]
public bool equal (Pk.Package package2);
+ [Version (since = "0.5.4")]
public bool equal_id (Pk.Package package2);
+ [Version (since = "0.6.4")]
public unowned string get_arch ();
+ [Version (since = "0.6.4")]
public unowned string get_data ();
+ [Version (since = "0.5.4")]
public unowned string get_id ();
+ [Version (since = "0.5.4")]
public Pk.Info get_info ();
+ [Version (since = "0.6.4")]
public unowned string get_name ();
+ [Version (since = "0.5.4")]
public unowned string get_summary ();
+ [Version (since = "0.6.4")]
public unowned string get_version ();
+ [Version (since = "0.5.0")]
public static string id_build (string name, string version, string arch, string data);
+ [Version (since = "0.5.0")]
public static bool id_check (string package_id);
+ [Version (since = "0.5.0")]
public static bool id_equal_fuzzy_arch (string package_id1, string package_id2);
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "0.5.3")]
public static string[] id_split (string package_id);
public static void id_test (void* user_data);
+ [Version (since = "0.5.2")]
public static string id_to_printable (string package_id);
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "0.5.2")]
public static string[] ids_add_id (string package_ids, string package_id);
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "0.5.2")]
public static string[] ids_add_ids (string package_ids, string package_ids_new);
+ [Version (since = "0.5.2")]
public static bool ids_check (string package_ids);
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "0.5.2")]
public static string[] ids_from_id (string package_id);
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "0.5.2")]
public static string[] ids_from_string (string package_id);
+ [Version (since = "0.5.2")]
public static bool ids_present_id (string package_ids, string package_id);
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "0.5.2")]
public static string[] ids_remove_id (string package_ids, string package_id);
public static void ids_test (void* user_data);
+ [Version (since = "0.5.2")]
public static string ids_to_string (string package_ids);
+ [Version (since = "0.8.11")]
public bool parse (string data) throws GLib.Error;
+ [Version (since = "0.5.4")]
public void print ();
+ [Version (since = "0.5.4")]
public bool set_id (string package_id) throws GLib.Error;
+ [Version (since = "0.8.14")]
public void set_info (Pk.Info info);
+ [Version (since = "0.8.14")]
public void set_summary (string summary);
public static void test (void* user_data);
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string description { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public Pk.Group group { get; set; }
+ [Version (since = "0.5.4")]
public Pk.Info info { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string license { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string package_id { owned get; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public uint64 size { get; set; }
+ [Version (since = "0.5.4")]
public string summary { get; set; }
[CCode (array_length = false, array_null_terminated = true)]
[NoAccessorMethod]
+ [Version (since = "0.8.1")]
public string[] update_bugzilla_urls { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string update_changelog { owned get; set; }
[CCode (array_length = false, array_null_terminated = true)]
[NoAccessorMethod]
+ [Version (since = "0.8.1")]
public string[] update_cve_urls { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string update_issued { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string update_obsoletes { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public Pk.Restart update_restart { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public Pk.UpdateState update_state { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string update_text { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string update_updated { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string update_updates { owned get; set; }
[CCode (array_length = false, array_null_terminated = true)]
[NoAccessorMethod]
+ [Version (since = "0.8.1")]
public string[] update_vendor_urls { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string url { owned get; set; }
public virtual signal void changed ();
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", type_id = "pk_package_sack_get_type ()")]
public class PackageSack : GLib.Object {
[CCode (has_construct_function = false)]
+ [Version (since = "0.5.2")]
public PackageSack ();
+ [Version (since = "0.5.2")]
public bool add_package (Pk.Package package);
+ [Version (since = "0.5.2")]
public bool add_package_by_id (string package_id) throws GLib.Error;
public bool add_packages_from_file (GLib.File file) throws GLib.Error;
[NoWrapper]
public virtual void changed ();
+ [Version (since = "0.5.2")]
public void clear ();
+ [Version (since = "0.6.3")]
public Pk.PackageSack filter (Pk.PackageSackFilterFunc filter_cb);
+ [Version (since = "0.6.2")]
public Pk.PackageSack filter_by_info (Pk.Info info);
+ [Version (since = "0.5.2")]
public Pk.Package find_by_id (string package_id);
+ [Version (since = "0.8.16")]
public Pk.Package find_by_id_name_arch (string package_id);
+ [Version (since = "0.6.1")]
public GLib.GenericArray<weak Pk.Package> get_array ();
+ [Version (since = "0.6.0")]
public bool get_details (GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (finish_name = "pk_package_sack_merge_generic_finish")]
public async bool get_details_async (GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "0.5.3")]
public string[] get_ids ();
+ [Version (since = "0.5.2")]
public uint get_size ();
+ [Version (since = "0.5.2")]
public uint64 get_total_bytes ();
+ [Version (since = "0.6.0")]
public bool get_update_detail (GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (finish_name = "pk_package_sack_merge_generic_finish")]
+ [Version (since = "0.5.2")]
public async bool get_update_detail_async (GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.6.3")]
public bool remove_by_filter (Pk.PackageSackFilterFunc filter_cb);
+ [Version (since = "0.5.2")]
public bool remove_package (Pk.Package package);
+ [Version (since = "0.5.2")]
public bool remove_package_by_id (string package_id);
+ [Version (since = "0.6.0")]
public bool resolve (GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (finish_name = "pk_package_sack_merge_generic_finish")]
+ [Version (since = "0.5.2")]
public async bool resolve_async (GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
public void sort (Pk.PackageSackSortType type);
public static void test (void* user_data);
+ [Version (since = "0.8.6")]
public bool to_file (GLib.File file) throws GLib.Error;
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
@@ -448,239 +698,412 @@ namespace Pk {
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", type_id = "pk_progress_get_type ()")]
public class Progress : GLib.Object {
[CCode (has_construct_function = false)]
+ [Version (since = "0.5.2")]
public Progress ();
+ [Version (since = "1.0.12")]
+ public bool get_allow_cancel ();
+ [Version (since = "1.0.12")]
+ public bool get_caller_active ();
+ [Version (since = "1.0.12")]
+ public uint64 get_download_size_remaining ();
+ [Version (since = "1.0.12")]
+ public uint get_elapsed_time ();
+ [Version (since = "1.0.12")]
+ public unowned Pk.ItemProgress get_item_progress ();
+ [Version (since = "1.0.12")]
+ public unowned Pk.Package get_package ();
+ [Version (since = "1.0.12")]
+ public unowned string get_package_id ();
+ [Version (since = "1.0.12")]
+ public int get_percentage ();
+ [Version (since = "1.0.12")]
+ public uint get_remaining_time ();
+ [Version (since = "1.0.12")]
+ public Pk.Role get_role ();
+ [Version (since = "1.0.12")]
+ public uint get_speed ();
+ [Version (since = "1.0.12")]
+ public Pk.Status get_status ();
+ [Version (since = "1.0.12")]
+ public uint64 get_transaction_flags ();
+ [Version (since = "1.0.12")]
+ public unowned string get_transaction_id ();
+ [Version (since = "1.0.12")]
+ public uint get_uid ();
+ [Version (since = "0.5.2")]
public bool set_allow_cancel (bool allow_cancel);
+ [Version (since = "0.5.2")]
public bool set_caller_active (bool caller_active);
+ [Version (since = "0.8.0")]
public bool set_download_size_remaining (uint64 download_size_remaining);
+ [Version (since = "0.5.2")]
public bool set_elapsed_time (uint elapsed_time);
+ [Version (since = "0.8.1")]
public bool set_item_progress (Pk.ItemProgress item_progress);
+ [Version (since = "0.5.2")]
public bool set_package (Pk.Package package);
+ [Version (since = "0.5.2")]
public bool set_package_id (string package_id);
+ [Version (since = "0.5.2")]
public bool set_percentage (int percentage);
+ [Version (since = "0.5.2")]
public bool set_remaining_time (uint remaining_time);
+ [Version (since = "0.5.2")]
public bool set_role (Pk.Role role);
+ [Version (since = "0.5.2")]
public bool set_speed (uint speed);
+ [Version (since = "0.5.2")]
public bool set_status (Pk.Status status);
+ [Version (since = "0.8.8")]
public bool set_transaction_flags (uint64 transaction_flags);
+ [Version (since = "0.5.3")]
public bool set_transaction_id (string package_id);
+ [Version (since = "0.5.2")]
public bool set_uid (uint uid);
public static void test (void* user_data);
[NoAccessorMethod]
+ [Version (since = "0.5.2")]
public bool allow_cancel { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.2")]
public bool caller_active { get; set; }
[NoAccessorMethod]
- public uint download_size_remaining { get; set; }
+ [Version (since = "0.8.0")]
+ public uint64 download_size_remaining { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.2")]
public uint elapsed_time { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.8.1")]
public Pk.ItemProgress item_progress { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.3")]
public Pk.Package package { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.2")]
public string package_id { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.2")]
public int percentage { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.2")]
public uint remaining_time { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.2")]
public uint role { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.2")]
public uint speed { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.2")]
public uint status { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.8.8")]
public uint64 transaction_flags { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.2")]
public string transaction_id { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.2")]
public uint uid { get; set; }
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", type_id = "pk_repo_detail_get_type ()")]
public class RepoDetail : Pk.Source {
[CCode (has_construct_function = false)]
+ [Version (since = "0.5.4")]
public RepoDetail ();
+ [Version (since = "0.9.1")]
public unowned string get_description ();
+ [Version (since = "0.9.1")]
public bool get_enabled ();
+ [Version (since = "0.9.1")]
public unowned string get_id ();
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string description { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public bool enabled { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string repo_id { owned get; set; }
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", type_id = "pk_repo_signature_required_get_type ()")]
public class RepoSignatureRequired : Pk.Source {
[CCode (has_construct_function = false)]
+ [Version (since = "0.5.4")]
public RepoSignatureRequired ();
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string key_fingerprint { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string key_id { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string key_timestamp { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string key_url { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string key_userid { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string package_id { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string repository_name { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public Pk.SigType type { get; set; }
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", type_id = "pk_require_restart_get_type ()")]
public class RequireRestart : Pk.Source {
[CCode (has_construct_function = false)]
+ [Version (since = "0.5.4")]
public RequireRestart ();
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string package_id { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public Pk.Restart restart { get; set; }
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", type_id = "pk_results_get_type ()")]
public class Results : GLib.Object {
[CCode (has_construct_function = false)]
+ [Version (since = "0.5.2")]
public Results ();
+ [Version (since = "0.5.2")]
public bool add_category (Pk.Category item);
+ [Version (since = "0.5.2")]
public bool add_details (Pk.Details item);
+ [Version (since = "0.5.2")]
public bool add_distro_upgrade (Pk.DistroUpgrade item);
+ [Version (since = "0.5.2")]
public bool add_eula_required (Pk.EulaRequired item);
+ [Version (since = "0.5.2")]
public bool add_files (Pk.Files item);
+ [Version (since = "0.5.2")]
public bool add_media_change_required (Pk.MediaChangeRequired item);
+ [Version (since = "0.5.3")]
public bool add_package (Pk.Package item);
+ [Version (since = "0.5.2")]
public bool add_repo_detail (Pk.RepoDetail item);
+ [Version (since = "0.5.2")]
public bool add_repo_signature_required (Pk.RepoSignatureRequired item);
+ [Version (since = "0.5.2")]
public bool add_require_restart (Pk.RequireRestart item);
+ [Version (since = "0.5.2")]
public bool add_transaction (Pk.TransactionPast item);
+ [Version (since = "0.5.2")]
public bool add_update_detail (Pk.UpdateDetail item);
+ [Version (since = "0.5.2")]
public GLib.GenericArray<weak Pk.Category> get_category_array ();
+ [Version (since = "0.5.2")]
public GLib.GenericArray<weak Pk.Details> get_details_array ();
+ [Version (since = "0.5.2")]
public GLib.GenericArray<weak Pk.DistroUpgrade> get_distro_upgrade_array ();
+ [Version (since = "0.5.2")]
public Pk.Error get_error_code ();
+ [Version (since = "0.5.2")]
public GLib.GenericArray<weak Pk.EulaRequired> get_eula_required_array ();
+ [Version (since = "0.5.2")]
public Pk.Exit get_exit_code ();
+ [Version (since = "0.5.2")]
public GLib.GenericArray<weak Pk.Files> get_files_array ();
+ [Version (since = "0.5.2")]
public GLib.GenericArray<weak Pk.MediaChangeRequired> get_media_change_required_array ();
+ [Version (since = "0.5.2")]
public GLib.GenericArray<weak Pk.Package> get_package_array ();
+ [Version (since = "0.5.2")]
public Pk.PackageSack get_package_sack ();
+ [Version (since = "0.5.2")]
public GLib.GenericArray<weak Pk.RepoDetail> get_repo_detail_array ();
+ [Version (since = "0.5.2")]
public GLib.GenericArray<weak Pk.RepoSignatureRequired> get_repo_signature_required_array ();
+ [Version (since = "0.5.2")]
public GLib.GenericArray<weak Pk.RequireRestart> get_require_restart_array ();
+ [Version (since = "0.5.2")]
public Pk.Restart get_require_restart_worst ();
+ [Version (since = "0.7.5")]
public Pk.Role get_role ();
+ [Version (since = "0.5.2")]
public GLib.GenericArray<weak Pk.TransactionPast> get_transaction_array ();
+ [Version (since = "0.8.1")]
public Pk.Bitfield get_transaction_flags ();
+ [Version (since = "0.5.2")]
public GLib.GenericArray<weak Pk.UpdateDetail> get_update_detail_array ();
+ [Version (since = "0.5.2")]
public bool set_error_code (Pk.Error item);
+ [Version (since = "0.5.2")]
public bool set_exit_code (Pk.Exit exit_enum);
public static void test (void* user_data);
[NoAccessorMethod]
+ [Version (since = "0.5.3")]
public uint inputs { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.3")]
public Pk.Progress progress { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.2")]
public Pk.Role role { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.8.1")]
public uint64 transaction_flags { get; set; }
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", type_id = "pk_source_get_type ()")]
public class Source : GLib.Object {
[CCode (has_construct_function = false)]
+ [Version (since = "0.6.0")]
public Source ();
[NoAccessorMethod]
+ [Version (since = "0.6.0")]
public Pk.Role role { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.6.0")]
public string transaction_id { owned get; set; }
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", type_id = "pk_task_get_type ()")]
public class Task : Pk.Client {
[CCode (has_construct_function = false)]
+ [Version (since = "0.5.2")]
public Task ();
[CCode (finish_name = "pk_task_generic_finish")]
+ [Version (since = "0.6.5")]
public async Pk.Results depends_on_async (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] package_ids, bool recursive, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.6.5")]
public Pk.Results depends_on_sync (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] package_ids, bool recursive, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_task_generic_finish")]
+ [Version (since = "0.6.5")]
public async Pk.Results download_packages_async ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, string directory, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.6.5")]
public Pk.Results download_packages_sync ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, string directory, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[NoWrapper]
public virtual void eula_question (uint request, Pk.Results results);
+ [Version (since = "1.0.2")]
public bool get_allow_downgrade ();
+ [Version (since = "1.0.2")]
public bool get_allow_reinstall ();
[CCode (finish_name = "pk_task_generic_finish")]
+ [Version (since = "0.6.5")]
public async Pk.Results get_categories_async (GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.6.5")]
public Pk.Results get_categories_sync (GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_task_generic_finish")]
+ [Version (since = "0.6.5")]
public async Pk.Results get_details_async ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.6.5")]
public Pk.Results get_details_sync ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_task_generic_finish")]
+ [Version (since = "0.6.5")]
public async Pk.Results get_files_async ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.6.5")]
public Pk.Results get_files_sync ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
public bool get_interactive ();
+ [Version (since = "0.8.1")]
public bool get_only_download ();
+ [Version (since = "0.9.5")]
public bool get_only_trusted ();
[CCode (finish_name = "pk_task_generic_finish")]
+ [Version (since = "0.6.5")]
public async Pk.Results get_packages_async (Pk.Bitfield filters, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.6.5")]
public Pk.Results get_packages_sync (Pk.Bitfield filters, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_task_generic_finish")]
+ [Version (since = "0.6.5")]
public async Pk.Results get_repo_list_async (Pk.Bitfield filters, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.6.5")]
public Pk.Results get_repo_list_sync (Pk.Bitfield filters, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.6.10")]
public bool get_simulate ();
[CCode (finish_name = "pk_task_generic_finish")]
+ [Version (since = "0.6.5")]
public async Pk.Results get_update_detail_async ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.6.5")]
public Pk.Results get_update_detail_sync ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_task_generic_finish")]
+ [Version (since = "0.6.5")]
public async Pk.Results get_updates_async (Pk.Bitfield filters, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.6.5")]
public Pk.Results get_updates_sync (Pk.Bitfield filters, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_task_generic_finish")]
+ [Version (since = "0.5.2")]
public async Pk.Results install_files_async ([CCode (array_length = false, array_null_terminated = true)] string[] files, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.5.3")]
public Pk.Results install_files_sync ([CCode (array_length = false, array_null_terminated = true)] string[] files, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_task_generic_finish")]
+ [Version (since = "0.5.2")]
public async Pk.Results install_packages_async ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.5.3")]
public Pk.Results install_packages_sync ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[NoWrapper]
public virtual void key_question (uint request, Pk.Results results);
[NoWrapper]
public virtual void media_change_question (uint request, Pk.Results results);
[CCode (finish_name = "pk_task_generic_finish")]
+ [Version (since = "0.6.5")]
public async Pk.Results refresh_cache_async (bool force, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.6.5")]
public Pk.Results refresh_cache_sync (bool force, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_task_generic_finish")]
+ [Version (since = "0.5.2")]
public async Pk.Results remove_packages_async ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, bool allow_deps, bool autoremove, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.5.3")]
public Pk.Results remove_packages_sync ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, bool allow_deps, bool autoremove, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[NoWrapper]
public virtual void repair_question (uint request, Pk.Results results);
[CCode (finish_name = "pk_task_generic_finish")]
+ [Version (since = "0.7.2")]
public async Pk.Results repair_system_async (GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.7.2")]
public Pk.Results repair_system_sync (GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_task_generic_finish")]
+ [Version (since = "0.6.5")]
public async Pk.Results repo_enable_async (string repo_id, bool enabled, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.6.5")]
public Pk.Results repo_enable_sync (string repo_id, bool enabled, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_task_generic_finish")]
+ [Version (since = "0.6.5")]
public async Pk.Results required_by_async (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] package_ids, bool recursive, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.6.5")]
public Pk.Results required_by_sync (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] package_ids, bool recursive, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_task_generic_finish")]
+ [Version (since = "0.6.5")]
public async Pk.Results resolve_async (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] packages, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.6.5")]
public Pk.Results resolve_sync (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] packages, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_task_generic_finish")]
+ [Version (since = "0.6.5")]
public async Pk.Results search_details_async (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] values, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.6.5")]
public Pk.Results search_details_sync (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] values, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_task_generic_finish")]
+ [Version (since = "0.6.5")]
public async Pk.Results search_files_async (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] values, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.6.5")]
public Pk.Results search_files_sync (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] values, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_task_generic_finish")]
+ [Version (since = "0.6.5")]
public async Pk.Results search_groups_async (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] values, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.6.5")]
public Pk.Results search_groups_sync (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] values, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[CCode (finish_name = "pk_task_generic_finish")]
+ [Version (since = "0.6.5")]
public async Pk.Results search_names_async (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] values, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.6.5")]
public Pk.Results search_names_sync (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] values, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "1.0.2")]
public void set_allow_downgrade (bool allow_downgrade);
+ [Version (since = "1.0.2")]
public void set_allow_reinstall (bool allow_reinstall);
public void set_interactive (bool interactive);
+ [Version (since = "0.8.1")]
public void set_only_download (bool only_download);
+ [Version (since = "0.9.5")]
public void set_only_trusted (bool only_trusted);
+ [Version (since = "0.6.10")]
public void set_simulate (bool simulate);
[NoWrapper]
public virtual void simulate_question (uint request, Pk.Results results);
@@ -688,24 +1111,41 @@ namespace Pk {
[NoWrapper]
public virtual void untrusted_question (uint request, Pk.Results results);
[CCode (finish_name = "pk_task_generic_finish")]
+ [Version (since = "0.5.2")]
public async Pk.Results update_packages_async ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.5.3")]
public Pk.Results update_packages_sync ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "1.0.12")]
+ public async void upgrade_system_async (string distro_id, Pk.UpgradeKind upgrade_kind, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
+ [Version (since = "1.0.12")]
+ public Pk.Results upgrade_system_sync (string distro_id, Pk.UpgradeKind upgrade_kind, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.5.2")]
public bool user_accepted (uint request);
+ [Version (since = "0.5.2")]
public bool user_declined (uint request);
[CCode (finish_name = "pk_task_generic_finish")]
+ [Version (since = "0.6.5")]
public async Pk.Results what_provides_async (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] values, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "0.6.5")]
public Pk.Results what_provides_sync (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] values, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [Version (since = "1.0.2")]
public bool allow_downgrade { get; set; }
+ [Version (since = "1.0.2")]
public bool allow_reinstall { get; set; }
+ [Version (since = "0.8.1")]
public bool only_download { get; set; }
+ [Version (since = "0.9.5")]
public bool only_trusted { get; set; }
+ [Version (since = "0.5.2")]
public bool simulate { get; set; }
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", type_id = "pk_transaction_list_get_type ()")]
public class TransactionList : GLib.Object {
[CCode (has_construct_function = false)]
+ [Version (since = "0.5.3")]
public TransactionList ();
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "0.5.3")]
public string[] get_ids ();
public static void test (void* user_data);
public virtual signal void added (string tid);
@@ -714,91 +1154,137 @@ namespace Pk {
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", type_id = "pk_transaction_past_get_type ()")]
public class TransactionPast : Pk.Source {
[CCode (has_construct_function = false)]
+ [Version (since = "0.5.4")]
public TransactionPast ();
+ [Version (since = "0.8.11")]
public unowned string get_cmdline ();
+ [Version (since = "0.8.11")]
public unowned string get_data ();
+ [Version (since = "0.8.11")]
public GLib.DateTime get_datetime ();
+ [Version (since = "0.8.11")]
public uint get_duration ();
+ [Version (since = "0.8.11")]
public unowned string get_id ();
+ [Version (since = "0.8.11")]
public Pk.Role get_role ();
+ [Version (since = "0.8.11")]
public bool get_succeeded ();
+ [Version (since = "0.8.11")]
public unowned string get_timespec ();
+ [Version (since = "0.8.11")]
public int64 get_timestamp ();
+ [Version (since = "0.8.11")]
public uint get_uid ();
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string cmdline { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string data { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public uint duration { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public Pk.Role role { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public bool succeeded { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string tid { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string timespec { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public uint uid { get; set; }
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", type_id = "pk_update_detail_get_type ()")]
public class UpdateDetail : Pk.Source {
[CCode (has_construct_function = false)]
+ [Version (since = "0.5.4")]
public UpdateDetail ();
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "0.8.8")]
public unowned string[] get_bugzilla_urls ();
+ [Version (since = "0.8.8")]
public unowned string get_changelog ();
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "0.8.8")]
public unowned string[] get_cve_urls ();
+ [Version (since = "0.8.8")]
public unowned string get_issued ();
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "0.8.8")]
public unowned string[] get_obsoletes ();
+ [Version (since = "0.8.8")]
public unowned string get_package_id ();
+ [Version (since = "0.8.8")]
public Pk.Restart get_restart ();
+ [Version (since = "0.8.8")]
public Pk.UpdateState get_state ();
+ [Version (since = "0.8.8")]
public unowned string get_update_text ();
+ [Version (since = "0.8.8")]
public unowned string get_updated ();
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "0.8.8")]
public unowned string[] get_updates ();
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "0.8.8")]
public unowned string[] get_vendor_urls ();
[CCode (array_length = false, array_null_terminated = true)]
[NoAccessorMethod]
+ [Version (since = "0.8.1")]
public string[] bugzilla_urls { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string changelog { owned get; set; }
[CCode (array_length = false, array_null_terminated = true)]
[NoAccessorMethod]
+ [Version (since = "0.8.1")]
public string[] cve_urls { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string issued { owned get; set; }
[CCode (array_length = false, array_null_terminated = true)]
[NoAccessorMethod]
+ [Version (since = "0.8.1")]
public string[] obsoletes { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string package_id { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public Pk.Restart restart { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public Pk.UpdateState state { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string update_text { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.5.4")]
public string updated { owned get; set; }
[CCode (array_length = false, array_null_terminated = true)]
[NoAccessorMethod]
+ [Version (since = "0.8.1")]
public string[] updates { owned get; set; }
[CCode (array_length = false, array_null_terminated = true)]
[NoAccessorMethod]
+ [Version (since = "0.8.1")]
public string[] vendor_urls { owned get; set; }
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
[SimpleType]
public struct Bitfield : uint64 {
[CCode (sentinel = "-1")]
+ [Version (since = "0.5.2")]
public static int contain_priority (Pk.Bitfield values, int value, ...);
[CCode (sentinel = "-1")]
+ [Version (since = "0.5.2")]
public static Pk.Bitfield from_enums (int value, ...);
public static void test (void* user_data);
}
@@ -815,7 +1301,9 @@ namespace Pk {
NO,
INTERACTIVE,
LAST;
+ [Version (since = "0.5.0")]
public static Pk.Authorize type_enum_from_string (string authorize_type);
+ [Version (since = "0.5.0")]
public static unowned string type_enum_to_string (Pk.Authorize authorize_type);
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", cprefix = "PK_DISTRO_UPGRADE_ENUM_", type_id = "pk_distro_upgrade_enum_get_type ()")]
@@ -824,7 +1312,9 @@ namespace Pk {
STABLE,
UNSTABLE,
LAST;
+ [Version (since = "0.5.0")]
public static Pk.DistroUpgradeEnum from_string (string upgrade);
+ [Version (since = "0.5.0")]
public static unowned string to_string (Pk.DistroUpgradeEnum upgrade);
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", cprefix = "PK_ERROR_ENUM_", type_id = "pk_error_enum_get_type ()")]
@@ -898,7 +1388,9 @@ namespace Pk {
UNFINISHED_TRANSACTION,
LOCK_REQUIRED,
LAST;
+ [Version (since = "0.5.0")]
public static Pk.ErrorEnum from_string (string code);
+ [Version (since = "0.5.0")]
public static unowned string to_string (Pk.ErrorEnum code);
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "PkExitEnum", cprefix = "PK_EXIT_ENUM_", type_id = "pk_exit_enum_get_type ()")]
@@ -917,7 +1409,9 @@ namespace Pk {
SKIP_TRANSACTION,
REPAIR_REQUIRED,
LAST;
+ [Version (since = "0.5.0")]
public static Pk.Exit enum_from_string (string exit);
+ [Version (since = "0.5.0")]
public static unowned string enum_to_string (Pk.Exit exit);
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "PkFilterEnum", cprefix = "PK_FILTER_ENUM_", type_id = "pk_filter_enum_get_type ()")]
@@ -952,9 +1446,13 @@ namespace Pk {
DOWNLOADED,
NOT_DOWNLOADED,
LAST;
+ [Version (since = "0.5.2")]
public static Pk.Bitfield bitfield_from_string (string filters);
+ [Version (since = "0.5.2")]
public static string bitfield_to_string (Pk.Bitfield filters);
+ [Version (since = "0.5.0")]
public static Pk.Filter enum_from_string (string filter);
+ [Version (since = "0.5.0")]
public static unowned string enum_to_string (Pk.Filter filter);
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "PkGroupEnum", cprefix = "PK_GROUP_ENUM_", type_id = "pk_group_enum_get_type ()")]
@@ -996,9 +1494,12 @@ namespace Pk {
VENDOR,
NEWEST,
LAST;
+ [Version (since = "0.5.2")]
public static Pk.Bitfield bitfield_from_string (string groups);
public static string bitfield_to_string (Pk.Bitfield groups);
+ [Version (since = "0.5.0")]
public static Pk.Group enum_from_string (string group);
+ [Version (since = "0.5.0")]
public static unowned string enum_to_string (Pk.Group group);
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "PkInfoEnum", cprefix = "PK_INFO_ENUM_", type_id = "pk_info_enum_get_type ()")]
@@ -1031,9 +1532,13 @@ namespace Pk {
TRUSTED,
UNAVAILABLE,
LAST;
+ [Version (since = "0.5.0")]
public static Pk.Info enum_from_string (string info);
+ [Version (since = "0.7.2")]
public static unowned string enum_to_localised_past (Pk.Info info);
+ [Version (since = "0.7.2")]
public static unowned string enum_to_localised_present (Pk.Info info);
+ [Version (since = "0.5.0")]
public static unowned string enum_to_string (Pk.Info info);
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "PkMediaTypeEnum", cprefix = "PK_MEDIA_TYPE_ENUM_", type_id = "pk_media_type_enum_get_type ()")]
@@ -1044,7 +1549,9 @@ namespace Pk {
DVD,
DISC,
LAST;
+ [Version (since = "0.5.0")]
public static Pk.MediaType enum_from_string (string media_type);
+ [Version (since = "0.5.0")]
public static unowned string enum_to_string (Pk.MediaType media_type);
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "PkNetworkEnum", cprefix = "PK_NETWORK_ENUM_", type_id = "pk_network_enum_get_type ()")]
@@ -1057,7 +1564,9 @@ namespace Pk {
WIFI,
MOBILE,
LAST;
+ [Version (since = "0.5.0")]
public static Pk.Network enum_from_string (string network);
+ [Version (since = "0.5.0")]
public static unowned string enum_to_string (Pk.Network network);
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", cprefix = "PK_OFFLINE_ACTION_", type_id = "pk_offline_action_get_type ()")]
@@ -1067,7 +1576,9 @@ namespace Pk {
POWER_OFF,
UNSET,
LAST;
+ [Version (since = "0.9.6")]
public static Pk.OfflineAction from_string (string action);
+ [Version (since = "0.9.6")]
public static unowned string to_string (Pk.OfflineAction action);
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", cprefix = "PK_PACKAGE_SACK_SORT_TYPE_", type_id = "pk_package_sack_sort_type_get_type ()")]
@@ -1108,7 +1619,9 @@ namespace Pk {
SECURITY_SESSION,
SECURITY_SYSTEM,
LAST;
+ [Version (since = "0.5.0")]
public static Pk.Restart enum_from_string (string restart);
+ [Version (since = "0.5.0")]
public static unowned string enum_to_string (Pk.Restart restart);
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "PkRoleEnum", cprefix = "PK_ROLE_ENUM_", type_id = "pk_role_enum_get_type ()")]
@@ -1149,10 +1662,15 @@ namespace Pk {
REPO_REMOVE,
UPGRADE_SYSTEM,
LAST;
+ [Version (since = "0.5.2")]
public static Pk.Bitfield bitfield_from_string (string roles);
+ [Version (since = "0.5.2")]
public static string bitfield_to_string (Pk.Bitfield roles);
+ [Version (since = "0.5.0")]
public static Pk.Role enum_from_string (string role);
+ [Version (since = "0.7.2")]
public static unowned string enum_to_localised_present (Pk.Role role);
+ [Version (since = "0.5.0")]
public static unowned string enum_to_string (Pk.Role role);
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "PkSigTypeEnum", cprefix = "PK_SIGTYPE_ENUM_", type_id = "pk_sig_type_enum_get_type ()")]
@@ -1162,6 +1680,7 @@ namespace Pk {
GPG,
LAST;
public static Pk.SigType enum_from_string (string sig_type);
+ [Version (since = "0.5.0")]
public static unowned string enum_to_string (Pk.SigType sig_type);
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "PkStatusEnum", cprefix = "PK_STATUS_ENUM_", type_id = "pk_status_enum_get_type ()")]
@@ -1204,8 +1723,10 @@ namespace Pk {
CHECK_LIBRARIES,
COPY_FILES,
LAST;
+ [Version (since = "0.5.0")]
public static Pk.Status enum_from_string (string status);
public static unowned string enum_to_localised_text (Pk.Status status);
+ [Version (since = "0.5.0")]
public static unowned string enum_to_string (Pk.Status status);
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "PkTransactionFlagEnum", cprefix = "PK_TRANSACTION_FLAG_ENUM_", type_id = "pk_transaction_flag_enum_get_type ()")]
@@ -1219,9 +1740,13 @@ namespace Pk {
JUST_REINSTALL,
ALLOW_DOWNGRADE,
LAST;
+ [Version (since = "0.8.1")]
public static Pk.Bitfield bitfield_from_string (string transaction_flags);
+ [Version (since = "0.8.1")]
public static string bitfield_to_string (Pk.Bitfield transaction_flags);
+ [Version (since = "0.8.1")]
public static Pk.TransactionFlag enum_from_string (string transaction_flag);
+ [Version (since = "0.8.1")]
public static unowned string enum_to_string (Pk.TransactionFlag transaction_flag);
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "PkUpdateStateEnum", cprefix = "PK_UPDATE_STATE_ENUM_", type_id = "pk_update_state_enum_get_type ()")]
@@ -1232,7 +1757,9 @@ namespace Pk {
UNSTABLE,
TESTING,
LAST;
+ [Version (since = "0.5.0")]
public static Pk.UpdateState enum_from_string (string update_state);
+ [Version (since = "0.5.0")]
public static unowned string enum_to_string (Pk.UpdateState update_state);
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "PkUpgradeKindEnum", cprefix = "PK_UPGRADE_KIND_ENUM_", type_id = "pk_upgrade_kind_enum_get_type ()")]
@@ -1243,7 +1770,9 @@ namespace Pk {
DEFAULT,
COMPLETE,
LAST;
+ [Version (since = "0.6.11")]
public static Pk.UpgradeKind enum_from_string (string upgrade_kind);
+ [Version (since = "0.6.11")]
public static unowned string enum_to_string (Pk.UpgradeKind upgrade_kind);
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", cprefix = "PK_CLIENT_ERROR_")]
@@ -1259,12 +1788,14 @@ namespace Pk {
NOT_SUPPORTED,
DECLINED_SIMULATION,
LAST;
+ [Version (since = "0.5.2")]
public static GLib.Quark quark ();
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", cprefix = "PK_CONTROL_ERROR_")]
public errordomain ControlError {
FAILED,
CANNOT_START_DAEMON;
+ [Version (since = "0.5.2")]
public static GLib.Quark quark ();
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", cprefix = "PK_OFFLINE_ERROR_")]
@@ -1273,6 +1804,7 @@ namespace Pk {
INVALID_VALUE,
NO_DATA,
LAST;
+ [Version (since = "0.9.6")]
public static GLib.Quark quark ();
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", instance_pos = 1.9)]
@@ -1332,47 +1864,82 @@ namespace Pk {
[CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
public static string get_distro_id ();
[CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
+ [Version (since = "0.5.2")]
public static string iso8601_from_date (GLib.Date date);
[CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
+ [Version (since = "0.5.2")]
public static string iso8601_present ();
[CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
+ [Version (since = "0.9.6")]
public static bool offline_auth_cancel () throws GLib.Error;
[CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
+ [Version (since = "0.9.6")]
public static bool offline_auth_clear_results () throws GLib.Error;
[CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
+ [Version (since = "0.9.6")]
public static bool offline_auth_invalidate () throws GLib.Error;
[CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
+ [Version (since = "0.9.6")]
public static bool offline_auth_set_action (Pk.OfflineAction action) throws GLib.Error;
[CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
+ [Version (since = "0.9.6")]
public static bool offline_auth_set_prepared_ids (string package_ids) throws GLib.Error;
[CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
+ [Version (since = "1.0.12")]
+ public static bool offline_auth_set_prepared_upgrade_version (string release_ver) throws GLib.Error;
+ [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
+ [Version (since = "0.9.6")]
public static bool offline_auth_set_results (Pk.Results results) throws GLib.Error;
[CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
+ [Version (since = "0.9.6")]
public static bool offline_auth_trigger (Pk.OfflineAction action) throws GLib.Error;
[CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
+ [Version (since = "1.0.12")]
+ public static bool offline_auth_trigger_upgrade (Pk.OfflineAction action) throws GLib.Error;
+ [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
+ [Version (since = "0.9.6")]
public static bool offline_cancel (GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
+ [Version (since = "0.9.6")]
public static bool offline_clear_results (GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
+ [Version (since = "0.9.6")]
public static Pk.OfflineAction offline_get_action () throws GLib.Error;
[CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
+ [Version (since = "0.9.6")]
public static GLib.FileMonitor offline_get_action_monitor (GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (array_length = false, array_null_terminated = true, cheader_filename = "packagekit-glib2/packagekit.h")]
+ [Version (since = "0.9.6")]
public static string[] offline_get_prepared_ids () throws GLib.Error;
[CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
+ [Version (since = "0.9.6")]
public static GLib.FileMonitor offline_get_prepared_monitor (GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
+ [Version (since = "0.9.6")]
public static Pk.PackageSack offline_get_prepared_sack () throws GLib.Error;
[CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
+ [Version (since = "1.0.12")]
+ public static GLib.FileMonitor offline_get_prepared_upgrade_monitor (GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
+ [Version (since = "1.0.12")]
+ public static string offline_get_prepared_upgrade_version () throws GLib.Error;
+ [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
+ [Version (since = "0.9.6")]
public static Pk.Results offline_get_results () throws GLib.Error;
[CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
+ [Version (since = "0.9.6")]
public static uint64 offline_get_results_mtime () throws GLib.Error;
[CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
+ [Version (since = "0.9.6")]
public static bool offline_trigger (Pk.OfflineAction action, GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
+ [Version (since = "1.0.12")]
+ public static bool offline_trigger_upgrade (Pk.OfflineAction action, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
public static void polkit_agent_close ();
[CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
public static int polkit_agent_open ();
[CCode (array_length = false, array_null_terminated = true, cheader_filename = "packagekit-glib2/packagekit.h")]
+ [Version (since = "0.5.2")]
public static string[] ptr_array_to_strv (GLib.GenericArray<string> array);
}
diff --git a/vapi/packages/gdk-2.0/gdk-2.0-custom.vala b/vapi/packages/gdk-2.0/gdk-2.0-custom.vala
index c1b09e927..44e2504d3 100644
--- a/vapi/packages/gdk-2.0/gdk-2.0-custom.vala
+++ b/vapi/packages/gdk-2.0/gdk-2.0-custom.vala
@@ -79,20 +79,20 @@ namespace Gdk {
public static void send_notify_for_display (Gdk.Display display, Gdk.NativeWindow requestor, Gdk.Atom selection, Gdk.Atom target, Gdk.Atom property, uint32 time_);
}
- [Deprecated (since = "vala-0.12", replacement = "Selection.convert")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Selection.convert")]
public static void selection_convert (Gdk.Window requestor, Gdk.Atom selection, Gdk.Atom target, uint32 time_);
- [Deprecated (since = "vala-0.12", replacement = "Selection.owner_get")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Selection.owner_get")]
public static unowned Gdk.Window selection_owner_get (Gdk.Atom selection);
- [Deprecated (since = "vala-0.12", replacement = "Selection.owner_get_for_display")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Selection.owner_get_for_display")]
public static unowned Gdk.Window selection_owner_get_for_display (Gdk.Display display, Gdk.Atom selection);
- [Deprecated (since = "vala-0.12", replacement = "Selection.owner_set")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Selection.owner_set")]
public static bool selection_owner_set (Gdk.Window owner, Gdk.Atom selection, uint32 time_, bool send_event);
- [Deprecated (since = "vala-0.12", replacement = "Selection.owner_set_for_display")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Selection.owner_set_for_display")]
public static bool selection_owner_set_for_display (Gdk.Display display, Gdk.Window owner, Gdk.Atom selection, uint32 time_, bool send_event);
- [Deprecated (since = "vala-0.12", replacement = "Selection.property_get")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Selection.property_get")]
public static int selection_property_get (Gdk.Window requestor, uchar[] data, out Gdk.Atom prop_type, int prop_format);
- [Deprecated (since = "vala-0.12", replacement = "Selection.send_notify")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Selection.send_notify")]
public static void selection_send_notify (Gdk.NativeWindow requestor, Gdk.Atom selection, Gdk.Atom target, Gdk.Atom property, uint32 time_);
- [Deprecated (since = "vala-0.12", replacement = "Selection.send_notify_for_display")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Selection.send_notify_for_display")]
public static void selection_send_notify_for_display (Gdk.Display display, Gdk.NativeWindow requestor, Gdk.Atom selection, Gdk.Atom target, Gdk.Atom property, uint32 time_);
}
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala b/vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala
index 9d018ec88..729466b5c 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala
@@ -297,223 +297,223 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public static unowned string set_locale ();
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ABOUT")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ABOUT")]
public const string STOCK_ABOUT;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ADD")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ADD")]
public const string STOCK_ADD;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.APPLY")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.APPLY")]
public const string STOCK_APPLY;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.BOLD")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.BOLD")]
public const string STOCK_BOLD;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.CANCEL")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CANCEL")]
public const string STOCK_CANCEL;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.CAPS_LOCK_WARNING")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CAPS_LOCK_WARNING")]
public const string STOCK_CAPS_LOCK_WARNING;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.CDROM")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CDROM")]
public const string STOCK_CDROM;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.CLEAR")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CLEAR")]
public const string STOCK_CLEAR;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.CLOSE")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CLOSE")]
public const string STOCK_CLOSE;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.COLOR_PICKER")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.COLOR_PICKER")]
public const string STOCK_COLOR_PICKER;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.CONNECT")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CONNECT")]
public const string STOCK_CONNECT;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.CONVERT")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CONVERT")]
public const string STOCK_CONVERT;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.COPY")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.COPY")]
public const string STOCK_COPY;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.CUT")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CUT")]
public const string STOCK_CUT;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DELETE")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DELETE")]
public const string STOCK_DELETE;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_AUTHENTICATION")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_AUTHENTICATION")]
public const string STOCK_DIALOG_AUTHENTICATION;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_ERROR")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_ERROR")]
public const string STOCK_DIALOG_ERROR;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_INFO")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_INFO")]
public const string STOCK_DIALOG_INFO;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_QUESTION")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_QUESTION")]
public const string STOCK_DIALOG_QUESTION;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_WARNING")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_WARNING")]
public const string STOCK_DIALOG_WARNING;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DIRECTORY")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIRECTORY")]
public const string STOCK_DIRECTORY;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DISCARD")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DISCARD")]
public const string STOCK_DISCARD;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DISCONNECT")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DISCONNECT")]
public const string STOCK_DISCONNECT;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DND")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DND")]
public const string STOCK_DND;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DND_MULTIPLE")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DND_MULTIPLE")]
public const string STOCK_DND_MULTIPLE;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.EDIT")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.EDIT")]
public const string STOCK_EDIT;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.EXECUTE")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.EXECUTE")]
public const string STOCK_EXECUTE;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.FILE")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FILE")]
public const string STOCK_FILE;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.FIND")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FIND")]
public const string STOCK_FIND;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.FIND_AND_REPLACE")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FIND_AND_REPLACE")]
public const string STOCK_FIND_AND_REPLACE;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.FLOPPY")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FLOPPY")]
public const string STOCK_FLOPPY;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.FULLSCREEN")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FULLSCREEN")]
public const string STOCK_FULLSCREEN;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.GOTO_BOTTOM")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GOTO_BOTTOM")]
public const string STOCK_GOTO_BOTTOM;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.GOTO_FIRST")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GOTO_FIRST")]
public const string STOCK_GOTO_FIRST;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.GOTO_LAST")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GOTO_LAST")]
public const string STOCK_GOTO_LAST;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.GOTO_TOP")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GOTO_TOP")]
public const string STOCK_GOTO_TOP;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.GO_BACK")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GO_BACK")]
public const string STOCK_GO_BACK;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.GO_DOWN")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GO_DOWN")]
public const string STOCK_GO_DOWN;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.GO_FORWARD")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GO_FORWARD")]
public const string STOCK_GO_FORWARD;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.GO_UP")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GO_UP")]
public const string STOCK_GO_UP;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.HARDDISK")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.HARDDISK")]
public const string STOCK_HARDDISK;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.HELP")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.HELP")]
public const string STOCK_HELP;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.HOME")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.HOME")]
public const string STOCK_HOME;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.INDENT")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.INDENT")]
public const string STOCK_INDENT;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.INDEX")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.INDEX")]
public const string STOCK_INDEX;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.INFO")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.INFO")]
public const string STOCK_INFO;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ITALIC")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ITALIC")]
public const string STOCK_ITALIC;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.JUMP_TO")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUMP_TO")]
public const string STOCK_JUMP_TO;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_CENTER")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_CENTER")]
public const string STOCK_JUSTIFY_CENTER;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_FILL")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_FILL")]
public const string STOCK_JUSTIFY_FILL;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_LEFT")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_LEFT")]
public const string STOCK_JUSTIFY_LEFT;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_RIGHT")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_RIGHT")]
public const string STOCK_JUSTIFY_RIGHT;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.FULLSCREEN")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FULLSCREEN")]
public const string STOCK_LEAVE_FULLSCREEN;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_FORWARD")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_FORWARD")]
public const string STOCK_MEDIA_FORWARD;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_NEXT")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_NEXT")]
public const string STOCK_MEDIA_NEXT;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_PAUSE")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_PAUSE")]
public const string STOCK_MEDIA_PAUSE;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_PLAY")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_PLAY")]
public const string STOCK_MEDIA_PLAY;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_PREVIOUS")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_PREVIOUS")]
public const string STOCK_MEDIA_PREVIOUS;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_RECORD")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_RECORD")]
public const string STOCK_MEDIA_RECORD;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_REWIND")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_REWIND")]
public const string STOCK_MEDIA_REWIND;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_STOP")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_STOP")]
public const string STOCK_MEDIA_STOP;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.MISSING_IMAGE")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MISSING_IMAGE")]
public const string STOCK_MISSING_IMAGE;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.NETWORK")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.NETWORK")]
public const string STOCK_NETWORK;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.NEW")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.NEW")]
public const string STOCK_NEW;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.NO")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.NO")]
public const string STOCK_NO;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.OK")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.OK")]
public const string STOCK_OK;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.OPEN")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.OPEN")]
public const string STOCK_OPEN;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_LANDSCAPE")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_LANDSCAPE")]
public const string STOCK_ORIENTATION_LANDSCAPE;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_PORTRAIT")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_PORTRAIT")]
public const string STOCK_ORIENTATION_PORTRAIT;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_REVERSE_LANDSCAPE")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_REVERSE_LANDSCAPE")]
public const string STOCK_ORIENTATION_REVERSE_LANDSCAPE;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_REVERSE_PORTRAIT")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_REVERSE_PORTRAIT")]
public const string STOCK_ORIENTATION_REVERSE_PORTRAIT;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PAGE_SETUP")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PAGE_SETUP")]
public const string STOCK_PAGE_SETUP;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PASTE")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PASTE")]
public const string STOCK_PASTE;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PREFERENCES")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PREFERENCES")]
public const string STOCK_PREFERENCES;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PRINT")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT")]
public const string STOCK_PRINT;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PRINT_ERROR")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_ERROR")]
public const string STOCK_PRINT_ERROR;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PRINT_PAUSED")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_PAUSED")]
public const string STOCK_PRINT_PAUSED;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PRINT_PREVIEW")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_PREVIEW")]
public const string STOCK_PRINT_PREVIEW;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PRINT_REPORT")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_REPORT")]
public const string STOCK_PRINT_REPORT;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PRINT_WARNING")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_WARNING")]
public const string STOCK_PRINT_WARNING;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PROPERTIES")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PROPERTIES")]
public const string STOCK_PROPERTIES;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.QUIT")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.QUIT")]
public const string STOCK_QUIT;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.REDO")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.REDO")]
public const string STOCK_REDO;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.REFRESH")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.REFRESH")]
public const string STOCK_REFRESH;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.REMOVE")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.REMOVE")]
public const string STOCK_REMOVE;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.REVERT_TO_SAVED")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.REVERT_TO_SAVED")]
public const string STOCK_REVERT_TO_SAVED;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.SAVE")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SAVE")]
public const string STOCK_SAVE;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.SAVE_AS")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SAVE_AS")]
public const string STOCK_SAVE_AS;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.SELECT_ALL")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SELECT_ALL")]
public const string STOCK_SELECT_ALL;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.SELECT_COLOR")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SELECT_COLOR")]
public const string STOCK_SELECT_COLOR;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.SELECT_FONT")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SELECT_FONT")]
public const string STOCK_SELECT_FONT;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.SORT_ASCENDING")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SORT_ASCENDING")]
public const string STOCK_SORT_ASCENDING;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.SORT_DESCENDING")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SORT_DESCENDING")]
public const string STOCK_SORT_DESCENDING;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.SPELL_CHECK")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SPELL_CHECK")]
public const string STOCK_SPELL_CHECK;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.STOP")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.STOP")]
public const string STOCK_STOP;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.STRIKETHROUGH")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.STRIKETHROUGH")]
public const string STOCK_STRIKETHROUGH;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.UNDELETE")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.UNDELETE")]
public const string STOCK_UNDELETE;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.UNDERLINE")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.UNDERLINE")]
public const string STOCK_UNDERLINE;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.UNDO")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.UNDO")]
public const string STOCK_UNDO;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.UNINDENT")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.UNINDENT")]
public const string STOCK_UNINDENT;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.YES")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.YES")]
public const string STOCK_YES;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_100")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_100")]
public const string STOCK_ZOOM_100;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_FIT")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_FIT")]
public const string STOCK_ZOOM_FIT;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_IN")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_IN")]
public const string STOCK_ZOOM_IN;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_OUT")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_OUT")]
public const string STOCK_ZOOM_OUT;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.add")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.add")]
public static void stock_add (Gtk.StockItem[] items);
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.add_static")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.add_static")]
public static void stock_add_static (Gtk.StockItem[] items);
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.list_ids")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.list_ids")]
public static GLib.SList<string> stock_list_ids ();
- [Deprecated (since = "vala-0.26", replacement = "Gtk.Stock.set_translate_func")]
+ [Version (deprecated_since = "vala-0.26", replacement = "Gtk.Stock.set_translate_func")]
public static void stock_set_translate_func (string domain, owned Gtk.TranslateFunc func);
}
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0-custom.vala b/vapi/packages/gtk+-3.0/gtk+-3.0-custom.vala
index 10093b173..85b10cba3 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0-custom.vala
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0-custom.vala
@@ -48,6 +48,8 @@ namespace Gtk {
[CCode (vfunc_name = "forall")]
[NoWrapper]
public virtual void forall_internal(bool include_internal, Gtk.Callback callback);
+ public class unowned GLib.ParamSpec? class_find_child_property (string property_name);
+ public class (unowned GLib.ParamSpec)[] class_list_child_properties ();
}
public class CssProvider {
@@ -126,7 +128,7 @@ namespace Gtk {
UNSORTED
}
- [Deprecated (since = "3.0", replacement = "StyleContext")]
+ [Version (deprecated_since = "3.0", replacement = "StyleContext")]
[CCode (cheader_filename = "gtk/gtk.h")]
public class Style {
[NoWrapper]
@@ -142,6 +144,8 @@ namespace Gtk {
public void render_arrow (Cairo.Context cr, double angle, double x, double y, double size);
[CCode (cname = "gtk_render_background")]
public void render_background (Cairo.Context cr, double x, double y, double width, double height);
+ [CCode (cname = "gtk_render_background_get_clip")]
+ public Gdk.Rectangle render_background_get_clip (double x, double y, double width, double height);
[CCode (cname = "gtk_render_check")]
public void render_check (Cairo.Context cr, double x, double y, double width, double height);
[CCode (cname = "gtk_render_expander")]
@@ -176,228 +180,228 @@ namespace Gtk {
[CCode (type_cname = "GCallback")]
public delegate void RadioActionCallback (Action action, Action current);
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ABOUT")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ABOUT")]
public const string STOCK_ABOUT;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ADD")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ADD")]
public const string STOCK_ADD;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.APPLY")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.APPLY")]
public const string STOCK_APPLY;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.BOLD")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.BOLD")]
public const string STOCK_BOLD;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.CANCEL")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CANCEL")]
public const string STOCK_CANCEL;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.CAPS_LOCK_WARNING")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CAPS_LOCK_WARNING")]
public const string STOCK_CAPS_LOCK_WARNING;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.CDROM")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CDROM")]
public const string STOCK_CDROM;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.CLEAR")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CLEAR")]
public const string STOCK_CLEAR;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.CLOSE")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CLOSE")]
public const string STOCK_CLOSE;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.COLOR_PICKER")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.COLOR_PICKER")]
public const string STOCK_COLOR_PICKER;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.CONNECT")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CONNECT")]
public const string STOCK_CONNECT;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.CONVERT")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CONVERT")]
public const string STOCK_CONVERT;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.COPY")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.COPY")]
public const string STOCK_COPY;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.CUT")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CUT")]
public const string STOCK_CUT;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DELETE")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DELETE")]
public const string STOCK_DELETE;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_AUTHENTICATION")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_AUTHENTICATION")]
public const string STOCK_DIALOG_AUTHENTICATION;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_ERROR")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_ERROR")]
public const string STOCK_DIALOG_ERROR;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_INFO")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_INFO")]
public const string STOCK_DIALOG_INFO;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_QUESTION")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_QUESTION")]
public const string STOCK_DIALOG_QUESTION;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_WARNING")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_WARNING")]
public const string STOCK_DIALOG_WARNING;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DIRECTORY")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIRECTORY")]
public const string STOCK_DIRECTORY;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DISCARD")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DISCARD")]
public const string STOCK_DISCARD;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DISCONNECT")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DISCONNECT")]
public const string STOCK_DISCONNECT;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DND")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DND")]
public const string STOCK_DND;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DND_MULTIPLE")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DND_MULTIPLE")]
public const string STOCK_DND_MULTIPLE;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.EDIT")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.EDIT")]
public const string STOCK_EDIT;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.EXECUTE")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.EXECUTE")]
public const string STOCK_EXECUTE;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.FILE")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FILE")]
public const string STOCK_FILE;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.FIND")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FIND")]
public const string STOCK_FIND;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.FIND_AND_REPLACE")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FIND_AND_REPLACE")]
public const string STOCK_FIND_AND_REPLACE;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.FLOPPY")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FLOPPY")]
public const string STOCK_FLOPPY;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.FULLSCREEN")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FULLSCREEN")]
public const string STOCK_FULLSCREEN;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.GOTO_BOTTOM")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GOTO_BOTTOM")]
public const string STOCK_GOTO_BOTTOM;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.GOTO_FIRST")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GOTO_FIRST")]
public const string STOCK_GOTO_FIRST;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.GOTO_LAST")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GOTO_LAST")]
public const string STOCK_GOTO_LAST;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.GOTO_TOP")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GOTO_TOP")]
public const string STOCK_GOTO_TOP;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.GO_BACK")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GO_BACK")]
public const string STOCK_GO_BACK;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.GO_DOWN")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GO_DOWN")]
public const string STOCK_GO_DOWN;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.GO_FORWARD")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GO_FORWARD")]
public const string STOCK_GO_FORWARD;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.GO_UP")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GO_UP")]
public const string STOCK_GO_UP;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.HARDDISK")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.HARDDISK")]
public const string STOCK_HARDDISK;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.HELP")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.HELP")]
public const string STOCK_HELP;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.HOME")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.HOME")]
public const string STOCK_HOME;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.INDENT")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.INDENT")]
public const string STOCK_INDENT;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.INDEX")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.INDEX")]
public const string STOCK_INDEX;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.INFO")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.INFO")]
public const string STOCK_INFO;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ITALIC")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ITALIC")]
public const string STOCK_ITALIC;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.JUMP_TO")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUMP_TO")]
public const string STOCK_JUMP_TO;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_CENTER")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_CENTER")]
public const string STOCK_JUSTIFY_CENTER;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_FILL")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_FILL")]
public const string STOCK_JUSTIFY_FILL;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_LEFT")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_LEFT")]
public const string STOCK_JUSTIFY_LEFT;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_RIGHT")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_RIGHT")]
public const string STOCK_JUSTIFY_RIGHT;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.FULLSCREEN")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FULLSCREEN")]
public const string STOCK_LEAVE_FULLSCREEN;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_FORWARD")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_FORWARD")]
public const string STOCK_MEDIA_FORWARD;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_NEXT")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_NEXT")]
public const string STOCK_MEDIA_NEXT;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_PAUSE")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_PAUSE")]
public const string STOCK_MEDIA_PAUSE;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_PLAY")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_PLAY")]
public const string STOCK_MEDIA_PLAY;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_PREVIOUS")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_PREVIOUS")]
public const string STOCK_MEDIA_PREVIOUS;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_RECORD")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_RECORD")]
public const string STOCK_MEDIA_RECORD;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_REWIND")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_REWIND")]
public const string STOCK_MEDIA_REWIND;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_STOP")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_STOP")]
public const string STOCK_MEDIA_STOP;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.MISSING_IMAGE")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MISSING_IMAGE")]
public const string STOCK_MISSING_IMAGE;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.NETWORK")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.NETWORK")]
public const string STOCK_NETWORK;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.NEW")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.NEW")]
public const string STOCK_NEW;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.NO")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.NO")]
public const string STOCK_NO;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.OK")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.OK")]
public const string STOCK_OK;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.OPEN")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.OPEN")]
public const string STOCK_OPEN;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_LANDSCAPE")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_LANDSCAPE")]
public const string STOCK_ORIENTATION_LANDSCAPE;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_PORTRAIT")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_PORTRAIT")]
public const string STOCK_ORIENTATION_PORTRAIT;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_REVERSE_LANDSCAPE")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_REVERSE_LANDSCAPE")]
public const string STOCK_ORIENTATION_REVERSE_LANDSCAPE;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_REVERSE_PORTRAIT")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_REVERSE_PORTRAIT")]
public const string STOCK_ORIENTATION_REVERSE_PORTRAIT;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PAGE_SETUP")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PAGE_SETUP")]
public const string STOCK_PAGE_SETUP;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PASTE")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PASTE")]
public const string STOCK_PASTE;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PREFERENCES")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PREFERENCES")]
public const string STOCK_PREFERENCES;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PRINT")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT")]
public const string STOCK_PRINT;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PRINT_ERROR")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_ERROR")]
public const string STOCK_PRINT_ERROR;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PRINT_PAUSED")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_PAUSED")]
public const string STOCK_PRINT_PAUSED;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PRINT_PREVIEW")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_PREVIEW")]
public const string STOCK_PRINT_PREVIEW;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PRINT_REPORT")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_REPORT")]
public const string STOCK_PRINT_REPORT;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PRINT_WARNING")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_WARNING")]
public const string STOCK_PRINT_WARNING;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PROPERTIES")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PROPERTIES")]
public const string STOCK_PROPERTIES;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.QUIT")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.QUIT")]
public const string STOCK_QUIT;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.REDO")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.REDO")]
public const string STOCK_REDO;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.REFRESH")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.REFRESH")]
public const string STOCK_REFRESH;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.REMOVE")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.REMOVE")]
public const string STOCK_REMOVE;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.REVERT_TO_SAVED")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.REVERT_TO_SAVED")]
public const string STOCK_REVERT_TO_SAVED;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.SAVE")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SAVE")]
public const string STOCK_SAVE;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.SAVE_AS")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SAVE_AS")]
public const string STOCK_SAVE_AS;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.SELECT_ALL")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SELECT_ALL")]
public const string STOCK_SELECT_ALL;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.SELECT_COLOR")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SELECT_COLOR")]
public const string STOCK_SELECT_COLOR;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.SELECT_FONT")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SELECT_FONT")]
public const string STOCK_SELECT_FONT;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.SORT_ASCENDING")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SORT_ASCENDING")]
public const string STOCK_SORT_ASCENDING;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.SORT_DESCENDING")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SORT_DESCENDING")]
public const string STOCK_SORT_DESCENDING;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.SPELL_CHECK")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SPELL_CHECK")]
public const string STOCK_SPELL_CHECK;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.STOP")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.STOP")]
public const string STOCK_STOP;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.STRIKETHROUGH")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.STRIKETHROUGH")]
public const string STOCK_STRIKETHROUGH;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.UNDELETE")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.UNDELETE")]
public const string STOCK_UNDELETE;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.UNDERLINE")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.UNDERLINE")]
public const string STOCK_UNDERLINE;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.UNDO")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.UNDO")]
public const string STOCK_UNDO;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.UNINDENT")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.UNINDENT")]
public const string STOCK_UNINDENT;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.YES")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.YES")]
public const string STOCK_YES;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_100")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_100")]
public const string STOCK_ZOOM_100;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_FIT")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_FIT")]
public const string STOCK_ZOOM_FIT;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_IN")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_IN")]
public const string STOCK_ZOOM_IN;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_OUT")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_OUT")]
public const string STOCK_ZOOM_OUT;
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.add")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.add")]
public static void stock_add (Gtk.StockItem[] items);
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.add_static")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.add_static")]
public static void stock_add_static (Gtk.StockItem[] items);
- [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.list_ids")]
+ [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.list_ids")]
public static GLib.SList<string> stock_list_ids ();
- [Deprecated (since = "vala-0.22", replacement = "Gtk.Stock.set_translate_func")]
+ [Version (deprecated_since = "vala-0.22", replacement = "Gtk.Stock.set_translate_func")]
public static void stock_set_translate_func (string domain, owned Gtk.TranslateFunc func);
- [Deprecated (since = "3.10")]
+ [Version (deprecated_since = "3.10")]
[CCode (cheader_filename = "gtk/gtk.h")]
namespace Stock {
public static void add (Gtk.StockItem[] items);
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.gi b/vapi/packages/gtk+-3.0/gtk+-3.0.gi
index 7a94aef72..bf3a70afa 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.gi
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.gi
@@ -1110,6 +1110,17 @@
<parameter name="height" type="gdouble"/>
</parameters>
</function>
+ <function name="render_background_get_clip" symbol="gtk_render_background_get_clip">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="context" type="GtkStyleContext*"/>
+ <parameter name="x" type="gdouble"/>
+ <parameter name="y" type="gdouble"/>
+ <parameter name="width" type="gdouble"/>
+ <parameter name="height" type="gdouble"/>
+ <parameter name="out_clip" type="GdkRectangle*"/>
+ </parameters>
+ </function>
<function name="render_check" symbol="gtk_render_check">
<return-type type="void"/>
<parameters>
@@ -2333,8 +2344,6 @@
<field name="origin" type="gchar*"/>
<field name="value" type="GValue"/>
</struct>
- <struct name="GtkShortcutsGestureClass">
- </struct>
<struct name="GtkShortcutsGroupClass">
</struct>
<struct name="GtkShortcutsSectionClass">
@@ -4112,6 +4121,13 @@
<parameter name="iter" type="GtkTextIter*"/>
</parameters>
</method>
+ <method name="starts_tag" symbol="gtk_text_iter_starts_tag">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="iter" type="GtkTextIter*"/>
+ <parameter name="tag" type="GtkTextTag*"/>
+ </parameters>
+ </method>
<method name="starts_word" symbol="gtk_text_iter_starts_word">
<return-type type="gboolean"/>
<parameters>
@@ -4414,14 +4430,6 @@
<parameter name="name" type="gchar*"/>
</parameters>
</method>
- <method name="iter_add_qclass" symbol="gtk_widget_path_iter_add_qclass">
- <return-type type="void"/>
- <parameters>
- <parameter name="path" type="GtkWidgetPath*"/>
- <parameter name="pos" type="gint"/>
- <parameter name="qname" type="GQuark"/>
- </parameters>
- </method>
<method name="iter_add_region" symbol="gtk_widget_path_iter_add_region">
<return-type type="void"/>
<parameters>
@@ -4974,6 +4982,10 @@
<member name="GTK_POLICY_NEVER" value="2"/>
<member name="GTK_POLICY_EXTERNAL" value="3"/>
</enum>
+ <enum name="GtkPopoverConstraint" type-name="GtkPopoverConstraint" get-type="gtk_popover_constraint_get_type">
+ <member name="GTK_POPOVER_CONSTRAINT_NONE" value="0"/>
+ <member name="GTK_POPOVER_CONSTRAINT_WINDOW" value="1"/>
+ </enum>
<enum name="GtkPositionType" type-name="GtkPositionType" get-type="gtk_position_type_get_type">
<member name="GTK_POS_LEFT" value="0"/>
<member name="GTK_POS_RIGHT" value="1"/>
@@ -5377,6 +5389,7 @@
<member name="GTK_DEBUG_INTERACTIVE" value="131072"/>
<member name="GTK_DEBUG_TOUCHSCREEN" value="262144"/>
<member name="GTK_DEBUG_ACTIONS" value="524288"/>
+ <member name="GTK_DEBUG_RESIZE" value="1048576"/>
</flags>
<flags name="GtkDestDefaults" type-name="GtkDestDefaults" get-type="gtk_dest_defaults_get_type">
<member name="GTK_DEST_DEFAULT_MOTION" value="1"/>
@@ -5470,6 +5483,12 @@
<member name="GTK_STATE_FLAG_LINK" value="512"/>
<member name="GTK_STATE_FLAG_VISITED" value="1024"/>
<member name="GTK_STATE_FLAG_CHECKED" value="2048"/>
+ <member name="GTK_STATE_FLAG_DROP_ACTIVE" value="4096"/>
+ </flags>
+ <flags name="GtkStyleContextPrintFlags" type-name="GtkStyleContextPrintFlags" get-type="gtk_style_context_print_flags_get_type">
+ <member name="GTK_STYLE_CONTEXT_PRINT_NONE" value="0"/>
+ <member name="GTK_STYLE_CONTEXT_PRINT_RECURSE" value="1"/>
+ <member name="GTK_STYLE_CONTEXT_PRINT_SHOW_STYLE" value="2"/>
</flags>
<flags name="GtkTargetFlags" type-name="GtkTargetFlags" get-type="gtk_target_flags_get_type">
<member name="GTK_TARGET_SAME_APP" value="1"/>
@@ -10294,6 +10313,7 @@
<property name="alpha" type="guint" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="color" type="GdkColor*" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="rgba" type="GdkRGBA*" readable="1" writable="1" construct="0" construct-only="0"/>
+ <property name="show-editor" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="title" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="use-alpha" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
<signal name="color-set" when="FIRST">
@@ -20037,6 +20057,12 @@
<parameter name="action_namespace" type="gchar*"/>
</parameters>
</method>
+ <method name="get_constrain_to" symbol="gtk_popover_get_constrain_to">
+ <return-type type="GtkPopoverConstraint"/>
+ <parameters>
+ <parameter name="popover" type="GtkPopover*"/>
+ </parameters>
+ </method>
<method name="get_default_widget" symbol="gtk_popover_get_default_widget">
<return-type type="GtkWidget*"/>
<parameters>
@@ -20087,6 +20113,13 @@
<parameter name="model" type="GMenuModel*"/>
</parameters>
</constructor>
+ <method name="set_constrain_to" symbol="gtk_popover_set_constrain_to">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="popover" type="GtkPopover*"/>
+ <parameter name="constraint" type="GtkPopoverConstraint"/>
+ </parameters>
+ </method>
<method name="set_default_widget" symbol="gtk_popover_set_default_widget">
<return-type type="void"/>
<parameters>
@@ -20129,9 +20162,10 @@
<parameter name="transitions_enabled" type="gboolean"/>
</parameters>
</method>
+ <property name="constrain-to" type="GtkPopoverConstraint" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="modal" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="pointing-to" type="GdkRectangle*" readable="1" writable="1" construct="0" construct-only="0"/>
- <property name="position" type="GtkPositionType" readable="1" writable="1" construct="1" construct-only="0"/>
+ <property name="position" type="GtkPositionType" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="relative-to" type="GtkWidget*" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="transitions-enabled" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
<signal name="closed" when="LAST">
@@ -22839,18 +22873,6 @@
<property name="gtk-xft-hintstyle" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="gtk-xft-rgba" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
</object>
- <object name="GtkShortcutsGesture" parent="GtkBox" type-name="GtkShortcutsGesture" get-type="gtk_shortcuts_gesture_get_type">
- <implements>
- <interface name="AtkImplementor"/>
- <interface name="GtkBuildable"/>
- <interface name="GtkOrientable"/>
- </implements>
- <property name="icon" type="GIcon*" readable="1" writable="1" construct="0" construct-only="0"/>
- <property name="icon-size-group" type="GtkSizeGroup*" readable="0" writable="1" construct="0" construct-only="0"/>
- <property name="subtitle" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
- <property name="title" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
- <property name="title-size-group" type="GtkSizeGroup*" readable="0" writable="1" construct="0" construct-only="0"/>
- </object>
<object name="GtkShortcutsGroup" parent="GtkBox" type-name="GtkShortcutsGroup" get-type="gtk_shortcuts_group_get_type">
<implements>
<interface name="AtkImplementor"/>
@@ -24716,6 +24738,13 @@
<parameter name="progress" type="gdouble*"/>
</parameters>
</method>
+ <method name="to_string" symbol="gtk_style_context_to_string">
+ <return-type type="char*"/>
+ <parameters>
+ <parameter name="context" type="GtkStyleContext*"/>
+ <parameter name="flags" type="GtkStyleContextPrintFlags"/>
+ </parameters>
+ </method>
<property name="direction" type="GtkTextDirection" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="paint-clock" type="GdkFrameClock*" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="parent" type="GtkStyleContext*" readable="1" writable="1" construct="0" construct-only="0"/>
@@ -26124,7 +26153,7 @@
</parameters>
</method>
<method name="get_iter_at_location" symbol="gtk_text_view_get_iter_at_location">
- <return-type type="void"/>
+ <return-type type="gboolean"/>
<parameters>
<parameter name="text_view" type="GtkTextView*"/>
<parameter name="iter" type="GtkTextIter*"/>
@@ -26133,7 +26162,7 @@
</parameters>
</method>
<method name="get_iter_at_position" symbol="gtk_text_view_get_iter_at_position">
- <return-type type="void"/>
+ <return-type type="gboolean"/>
<parameters>
<parameter name="text_view" type="GtkTextView*"/>
<parameter name="iter" type="GtkTextIter*"/>
@@ -26307,6 +26336,12 @@
<parameter name="text_view" type="GtkTextView*"/>
</parameters>
</method>
+ <method name="reset_cursor_blink" symbol="gtk_text_view_reset_cursor_blink">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="text_view" type="GtkTextView*"/>
+ </parameters>
+ </method>
<method name="reset_im_context" symbol="gtk_text_view_reset_im_context">
<return-type type="void"/>
<parameters>
@@ -36102,14 +36137,15 @@
</parameters>
</vfunc>
</interface>
- <constant name="GTK_BINARY_AGE" type="int" value="1903"/>
+ <constant name="GTK_BINARY_AGE" type="int" value="1908"/>
<constant name="GTK_INPUT_ERROR" type="int" value="-1"/>
<constant name="GTK_INTERFACE_AGE" type="int" value="0"/>
+ <constant name="GTK_LEVEL_BAR_OFFSET_FULL" type="char*" value="full"/>
<constant name="GTK_LEVEL_BAR_OFFSET_HIGH" type="char*" value="high"/>
<constant name="GTK_LEVEL_BAR_OFFSET_LOW" type="char*" value="low"/>
<constant name="GTK_MAJOR_VERSION" type="int" value="3"/>
<constant name="GTK_MAX_COMPOSE_LEN" type="int" value="7"/>
- <constant name="GTK_MICRO_VERSION" type="int" value="3"/>
+ <constant name="GTK_MICRO_VERSION" type="int" value="8"/>
<constant name="GTK_MINOR_VERSION" type="int" value="19"/>
<constant name="GTK_PAPER_NAME_A3" type="char*" value="iso_a3"/>
<constant name="GTK_PAPER_NAME_A4" type="char*" value="iso_a4"/>
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index 36583d791..d8c34efae 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -12,6 +12,7 @@ gtk_about_dialog_set_email_hook.func transfer_ownership="1"
gtk_about_dialog_set_email_hook.data hidden="1"
gtk_about_dialog_set_email_hook.destroy hidden="1"
gtk_about_dialog_set_email_hook type_name="void"
+gtk_about_dialog_set_license.license nullable="1"
gtk_about_dialog_set_logo.logo nullable="1"
gtk_about_dialog_set_logo_icon_name.icon_name nullable="1"
gtk_about_dialog_set_translator_credits.translator_credits nullable="1"
@@ -27,12 +28,14 @@ gtk_accel_group_connect.closure type_name="AccelGroupActivate" transfer_ownershi
gtk_accel_group_connect_by_path.closure type_name="AccelGroupActivate" transfer_ownership="1" ctype="GClosure*"
gtk_accel_group_disconnect.closure nullable="1"
gtk_accel_group_find hidden="1"
-gtk_accel_group_query is_array="1" array_length_pos="2.1" array_length_type="guint"
+gtk_accel_group_from_accel_closure nullable="1"
+gtk_accel_group_query is_array="1" array_length_pos="2.1" array_length_type="guint" nullable="1"
gtk_accel_group_query.n_entries hidden="1"
GtkAccelGroupEntry is_value_type="1"
GtkAccelKey is_value_type="1"
gtk_accel_label_get_accel.accelerator_key is_out="1"
gtk_accel_label_get_accel.accelerator_mods is_out="1"
+gtk_accel_label_get_accel_widget nullable="1"
gtk_accel_label_set_accel_closure.accel_closure type_name="AccelGroupActivate" transfer_ownership="1" ctype="GClosure*"
gtk_accel_map_lookup_entry.key is_out="1"
gtk_accelerator_get_label transfer_ownership="1"
@@ -45,6 +48,7 @@ gtk_accelerator_parse_with_keycode.accelerator_key is_out="1"
gtk_accelerator_parse_with_keycode.accelerator_codes is_out="1" is_array="1" no_array_length="1" array_null_terminated="1" transfer_ownership="1"
gtk_accelerator_parse_with_keycode.accelerator_mods is_out="1"
gtk_accessible_connect_widget_destroyed deprecated_since="3.4" replacement="Accessible.set_widget"
+gtk_accessible_get_widget.widget nullable="1"
gtk_accessible_set_widget.widget nullable="1"
gtk_action_get_proxies type_arguments="Widget"
gtk_action_new.label nullable="1"
@@ -52,6 +56,7 @@ gtk_action_new.tooltip nullable="1"
gtk_action_new.stock_id nullable="1"
gtk_action_set_accel_group.accel_group nullable="1"
GtkAction::activate has_emitter="1"
+gtk_action_bar_get_center_widget.center_widget nullable="1"
gtk_action_bar_set_center_widget.center_widget nullable="1"
GtkActionEntry is_value_type="1"
GtkActionEntry.callback type_name="ActionCallback" ctype="GCallback" no_delegate_target="1" value_owned="0"
@@ -60,8 +65,8 @@ gtk_action_group_add_actions.user_data hidden="0"
gtk_action_group_add_actions_full.user_data hidden="0"
gtk_action_group_add_actions_full.destroy nullable="1"
gtk_action_group_add_radio_actions.on_change type_name="RadioActionCallback" ctype="GCallback"
-gtk_action_group_add_radio_actions_full.on_change type_name="RadioActionCallback" ctype="GCallback"
-gtk_action_group_add_radio_actions_full.destroy nullable="1"
+gtk_action_group_add_radio_actions_full.on_change type_name="RadioActionCallback" ctype="GCallback" transfer_ownership="1"
+gtk_action_group_add_radio_actions_full.destroy hidden="1"
gtk_action_group_add_toggle_actions.user_data hidden="0"
gtk_action_group_add_toggle_actions_full.user_data hidden="0"
gtk_action_group_add_toggle_actions_full.destroy nullable="1"
@@ -72,6 +77,7 @@ gtk_action_group_set_translate_func.notify hidden="1"
gtk_action_group_set_translation_domain.domain nullable="1"
gtk_action_group_list_actions transfer_ownership="1" type_arguments="unowned Action"
GtkActionable type_cname="GtkActionableInterface"
+gtk_actionable_get_action_name nullable="1"
gtk_actionable_set_action_target ellipsis="1"
GtkActivatable deprecated_since="3.10"
GtkAdjustment::changed has_emitter="1"
@@ -83,12 +89,15 @@ gtk_alignment_get_padding.padding_right is_out="1"
GtkAllocation is_value_type="1"
gtk_app_chooser_get_app_info transfer_ownership="1"
gtk_app_chooser_get_content_type transfer_ownership="1"
+gtk_app_chooser_button_get_heading nullable="1"
gtk_app_chooser_dialog_new.parent nullable="1"
gtk_app_chooser_dialog_new_for_content_type.parent nullable="1"
+gtk_app_chooser_dialog_get_heading nullable="1"
GtkAppChooser:content-type owned_get="1"
gtk_application_add_accelerator.parameter nullable="1"
gtk_application_get_accels_for_action is_array="1" no_array_length="1" array_null_terminated="1" transfer_ownership="1"
gtk_application_get_actions_for_accel is_array="1" no_array_length="1" array_null_terminated="1" transfer_ownership="1"
+gtk_application_get_window_by_id nullable="1"
gtk_application_get_windows type_arguments="unowned Window"
gtk_application_inhibit.window nullable="1"
gtk_application_inhibit.reason nullable="1"
@@ -98,17 +107,21 @@ gtk_application_remove_accelerator.parameter nullable="1"
gtk_application_set_accels_for_action.accels is_array="1" no_array_length="1" array_null_terminated="1"
gtk_application_set_app_menu.app_menu nullable="1"
gtk_application_set_menubar.menubar nullable="1"
+gtk_application_window_get_help_overlay nullable="1"
+gtk_application_window_set_help_overlay.help_overlay nullable="1"
GtkArg.d hidden="1"
gtk_aspect_frame_new.label nullable="1"
GtkAssistant.apply hidden="1"
GtkAssistant.cancel hidden="1"
GtkAssistant.close hidden="1"
+gtk_assistant_get_nth_page nullable="1"
gtk_assistant_get_page_header_image deprecated_since="3.2"
gtk_assistant_get_page_side_image deprecated_since="3.2"
gtk_assistant_set_forward_page_func.page_func transfer_ownership="1" nullable="1"
gtk_assistant_set_forward_page_func.data hidden="1"
gtk_assistant_set_forward_page_func.destroy hidden="1"
gtk_assistant_set_page_header_image deprecated_since="3.2"
+gtk_assistant_set_page_header_image.pixbuf nullable="1"
gtk_assistant_set_page_side_image deprecated_since="3.2"
gtk_assistant_set_page_side_image.pixbuf nullable="1"
GtkBindingArg is_value_type="1"
@@ -117,17 +130,19 @@ gtk_binding_entry_add_signal ellipsis="1"
gtk_binding_entry_add_signall.binding_args type_arguments="BindingArg?"
gtk_binding_set_add_path deprecated_since="3.0"
gtk_binding_set_by_class.object_class type_name="GLib.ObjectClass"
+gtk_binding_set_find nullable="1"
gtk_binding_set_new hidden="1"
GtkBindingSet compact="1"
GtkBindingSet.class_branch_pspecs hidden="1"
GtkBindingSet.widget_class_pspecs hidden="1"
GtkBindingSet.widget_path_pspecs hidden="1"
-GtkBindingSignal.args is_array="1" array_length_cname="n_args"
+GtkBindingSignal.args is_array="1" array_length_cname="n_args" array_length_type="guint"
GtkBorder is_value_type="1"
gtk_border_copy hidden="1"
gtk_border_free hidden="1"
gtk_border_new hidden="1"
GtkBox.children type_arguments="Widget"
+gtk_box_get_center_widget nullable="1"
gtk_box_pack_start.expand default_value="true"
gtk_box_pack_start.fill default_value="true"
gtk_box_pack_start.padding default_value="0"
@@ -143,7 +158,6 @@ gtk_buildable_add_child.type nullable="1"
gtk_buildable_construct_child transfer_ownership="1"
gtk_buildable_custom_finished.child nullable="1"
gtk_buildable_custom_tag_end.child nullable="1"
-gtk_buildable_custom_tag_end.data is_out="1"
gtk_buildable_custom_tag_start.child nullable="1"
gtk_buildable_custom_tag_start.parser is_out="1"
gtk_buildable_custom_tag_start.data is_out="1"
@@ -151,12 +165,16 @@ gtk_builder_add_callback_symbol.callback_symbol scope="async"
gtk_builder_add_objects_from_file.object_ids no_array_length="1" array_null_terminated="1" is_array="1"
gtk_builder_add_objects_from_resource.object_ids no_array_length="1" array_null_terminated="1" is_array="1"
gtk_builder_add_objects_from_string.object_ids no_array_length="1" array_null_terminated="1" is_array="1"
+gtk_builder_get_application nullable="1"
+gtk_builder_get_object nullable="1"
gtk_builder_get_objects transfer_ownership="1" type_arguments="unowned GLib.Object"
+gtk_builder_lookup_callback_symbol nullable="1
gtk_builder_value_from_string.value is_out="1"
gtk_builder_value_from_string_type.value is_out="1"
GtkBuilderConnectFunc.connect_object nullable="1"
gtk_button_get_alignment.xalign is_out="1"
gtk_button_get_alignment.yalign is_out="1"
+gtk_button_get_image nullable="1"
gtk_button_set_label.label nullable="1"
gtk_button_new_from_icon_name.size default_value="Gtk.IconSize.BUTTON"
GtkButton::clicked has_emitter="1"
@@ -173,6 +191,8 @@ gtk_calendar_set_detail_func.destroy hidden="1"
GtkCalendarDetailFunc transfer_ownership="1"
GtkCallbackMarshal hidden="1"
GtkCell.u hidden="1"
+gtk_cell_area_class_list_cell_properties is_array="1" transfer_container="1"
+gtk_cell_area_class_list_cell_properties.n_properties hidden="1"
GtkCellArea::apply_attributes has_emitter="1"
gtk_cell_area_box_pack_start hidden="1"
gtk_cell_area_box_pack_end hidden="1"
@@ -185,6 +205,7 @@ gtk_cell_area_foreach_alloc.callback_data hidden="1"
gtk_cell_area_get_cell_allocation type_name="Gdk.Rectangle"
gtk_cell_area_get_cell_allocation.allocation hidden="1"
gtk_cell_area_get_cell_at_position.alloc_area is_out="1"
+gtk_cell_area_get_focus_from_sibling nullable="1"
gtk_cell_area_get_focus_siblings type_name="GLib.List<Gtk.CellRenderer>"
gtk_cell_area_get_preferred_height.minimum_height is_out="1"
gtk_cell_area_get_preferred_height.natural_height is_out="1"
@@ -241,11 +262,13 @@ gtk_cell_renderer_get_size.y_offset is_out="1"
gtk_cell_renderer_get_size.width is_out="1"
gtk_cell_renderer_get_size.height is_out="1"
gtk_cell_renderer_render abstract="1"
+gtk_cell_renderer_start_editing nullable="1"
GtkCellRenderer::editing_canceled has_emitter="1"
GtkCellRendererText:background-gdk deprecated_since="3.4" replacement="background_rgba"
GtkCellRendererText:foreground-gdk deprecated_since="3.4" replacement="foreground_rgba"
GtkCellView:background-gdk deprecated_since="3.4" replacement="background_rgba"
-gtk_cell_view_get_displayed_row transfer_ownership="1"
+gtk_cell_view_get_displayed_row transfer_ownership="1" nullable="1"
+gtk_cell_view_get_model nullable="1"
gtk_cell_view_get_size_of_row.requisition is_out="1"
gtk_cell_view_set_background_color deprecated_since="3.4" replacement="set_background_rgba"
gtk_cell_view_set_displayed_row.path nullable="1"
@@ -256,6 +279,7 @@ GtkCList::select_row has_emitter="1"
GtkCList::undo_selection has_emitter="1"
GtkCList::unselect_all has_emitter="1"
GtkCList::unselect_row has_emitter="1"
+gtk_clipboard_get_owner nullable="1"
gtk_clipboard_request_*.callback scope="async"
gtk_clipboard_set_with_*.*_func scope="async"
gtk_clipboard_set_can_store.targets type_name="Gtk.TargetEntry[]?"
@@ -299,6 +323,7 @@ gtk_color_selection_set_current_color deprecated_since="3.4" replacement="set_cu
gtk_color_selection_dialog_get_color_selection type_name="Gtk.ColorSelection"
gtk_color_selection_palette_from_string.colors is_out="1" is_array="1" transfer_ownership="1"
gtk_color_selection_palette_to_string transfer_ownership="1"
+gtk_combo_box_get_active_id nullable="1"
gtk_combo_box_get_active_iter.iter is_out="1"
gtk_combo_box_set_active_id.active_id nullable="1"
gtk_combo_box_set_active_iter.iter nullable="1"
@@ -306,6 +331,7 @@ gtk_combo_box_set_model.model nullable="1"
gtk_combo_box_set_row_separator_func.func transfer_ownership="1"
gtk_combo_box_set_row_separator_func.data hidden="1"
gtk_combo_box_set_row_separator_func.destroy hidden="1"
+GtkComboBox:active-id nullable="1"
GtkComboBox::format_entry_text transfer_ownership="1"
GtkComboBox::popdown has_emitter="1"
GtkComboBox::popup has_emitter="1"
@@ -321,23 +347,31 @@ GtkContainer::set_focus_child has_emitter="1"
GtkContainer::set_focus_child.child nullable="1"
gtk_container_child_get_valist.var_args type_name="va_list"
gtk_container_child_set_valist.var_args type_name="va_list"
+gtk_container_composite_name transfer_ownership="1"
gtk_container_forall virtual="0"
gtk_container_forall.callback_data hidden="1"
gtk_container_foreach.callback_data hidden="1"
gtk_container_get_children transfer_ownership="1" type_arguments="unowned Widget"
gtk_container_get_focus_chain.focusable_widgets is_out="1" takes_ownership="1" type_arguments="unowned Widget"
+gtk_container_get_focus_child nullable="1"
+gtk_container_get_focus_hadjustment nullable="1"
+gtk_container_get_focus_vadjustment nullable="1"
gtk_container_get_path_for_child transfer_ownership="1"
gtk_container_set_focus_chain.focusable_widgets type_arguments="Widget"
gtk_container_cell_accessible_get_children type_arguments="CellAccessible"
+gtk_container_class_find_child_property hidden="1"
+gtk_container_class_list_child_properties hidden="1"
gtk_container_class_install_child_properties.n_pspecs hidden="1"
gtk_container_class_install_child_properties.pspecs is_array="1" array_length_pos="0.5"
gtk_css_provider_get_named.variant nullable="1"
+gtk_css_provider_load_from_data.length default_value="-1"
gtk_css_provider_to_string transfer_ownership="1"
gtk_css_section_get_parent nullable="1"
GtkDestroyNotify has_target="0"
gtk_dialog_get_content_area type_name="Box" ctype="GtkWidget*"
gtk_dialog_new_with_buttons.title nullable="1"
gtk_dialog_new_with_buttons.parent nullable="1"
+gtk_dialog_get_widget_for_response nullable="1"
gtk_dialog_set_alternative_button_order sentinel="-1"
gtk_dialog_set_alternative_button_order_from_array.n_params hidden="1"
gtk_dialog_set_alternative_button_order_from_array.new_order is_array="1" array_length_pos="0.5" array_length_cname="n_params"
@@ -369,16 +403,22 @@ gtk_entry_buffer_emit_inserted_text.chars type_name="uint8"
gtk_entry_buffer_insert_text.chars type_name="uint8"
gtk_entry_buffer_set_text.chars type_name="uint8"
GtkEntryCompletion::insert_prefix has_emitter="1"
-gtk_entry_completion_compute_prefix transfer_ownership="1"
-gtk_entry_completion_set_model.model nullable="1"
+gtk_entry_completion_compute_prefix transfer_ownership="1" nullable="1"
+gtk_entry_completion_get_model nullable="1"
gtk_entry_completion.func transfer_ownership="1"
gtk_entry_completion.func_data hidden="1"
gtk_entry_completion.func_notify hidden="1"
gtk_entry_completion_set_match_func.func transfer_ownership="1"
gtk_entry_completion_set_match_func.func_data hidden="1"
gtk_entry_completion_set_match_func.func_notify hidden="1"
+gtk_entry_completion_set_model.model nullable="1"
+gtk_entry_get_attributes nullable="1"
+gtk_entry_get_cursor_hadjustment nullable="1"
gtk_entry_get_icon_area type_name="Gdk.Rectangle"
gtk_entry_get_icon_area.icon_area hidden="1"
+gtk_entry_get_icon_gicon nullable="1"
+gtk_entry_get_icon_name nullable="1"
+gtk_entry_get_icon_pixbuf nullable="1"
gtk_entry_get_icon_tooltip_markup transfer_ownership="1" nullable="1"
gtk_entry_get_icon_tooltip_text transfer_ownership="1" nullable="1"
gtk_entry_get_inner_border nullable="1"
@@ -388,6 +428,7 @@ gtk_entry_get_tabs nullable="1"
gtk_entry_get_text_area.text_area is_out="1"
gtk_entry_get_text_area_size.* is_out="1"
gtk_entry_set_completion.completion nullable="1"
+gtk_entry_set_cursor_hadjustment.adjustment nullable="1"
gtk_entry_set_icon_from_pixbuf.pixbuf nullable="1"
gtk_entry_set_icon_from_stock.stock_id nullable="1"
gtk_entry_set_icon_from_icon_name.icon_name nullable="1"
@@ -395,8 +436,10 @@ gtk_entry_set_icon_from_gicon.icon nullable="1"
gtk_entry_set_icon_tooltip_markup.tooltip nullable="1"
gtk_entry_set_icon_tooltip_text.tooltip nullable="1"
gtk_entry_set_inner_border.border nullable="1"
+gtk_entry_set_placeholder_text.text nullable="1"
GtkEventControllerClass hidden="1"
gtk_expander_new_with_mnemonic.label nullable="1"
+gtk_expander_get_label nullable="1"
gtk_expander_set_label.label nullable="1"
gtk_expander_set_label_widget.label_widget nullable="1"
gtk_false hidden="1"
@@ -429,7 +472,7 @@ gtk_file_filter_add_custom.data hidden="1"
gtk_file_filter_add_custom.notify hidden="1"
gtk_file_filter_set_name.name nullable="1"
gtk_file_filter_set_name name="set_filter_name"
-gtk_file_filter_get_name name="get_filter_name"
+gtk_file_filter_get_name name="get_filter_name" nullable="1"
gtk_file_chooser_list_filters transfer_ownership="1" type_arguments="unowned FileFilter"
gtk_file_chooser_list_shortcut_folder_uris nullable="1" transfer_ownership="1" type_arguments="string"
gtk_file_chooser_list_shortcut_folders nullable="1" transfer_ownership="1" type_arguments="string"
@@ -437,6 +480,7 @@ GtkFixed.children type_arguments="Widget"
gtk_flow_box_bind_model.create_widget_func transfer_ownership="1" nullable="1"
gtk_flow_box_bind_model.model type_name="GLib.ListModel" nullable="1"
gtk_flow_box_bind_model.user_data_free_func hidden="1"
+gtk_flow_box_get_child_at_index nullable="1"
gtk_flow_box_get_selected_children transfer_ownership="1" type_arguments="unowned FlowBoxChild"
gtk_flow_box_selected_foreach.data hidden="1"
gtk_flow_box_set_filter_func.filter_func transfer_ownership="1" nullable="1"
@@ -465,6 +509,7 @@ gtk_font_selection_get_font_name transfer_ownership="1"
GtkFontSelection:font-name owned_get="1"
gtk_font_selection_dialog_get_font_name transfer_ownership="1"
gtk_frame_new.label nullable="1"
+gtk_frame_get_label nullable="1"
gtk_frame_get_label_align.xalign is_out="1"
gtk_frame_get_label_align.yalign is_out="1"
gtk_frame_get_label_widget nullable="1"
@@ -473,9 +518,13 @@ gtk_frame_set_label_widget.label_widget nullable="1"
gtk_grid_attach_next_to.sibling nullable="1"
gtk_grid_attach*.width default_value="1"
gtk_grid_attach*.height default_value="1"
+gtk_grid_get_child_at nullable="1"
GtkHandleBox.child_detached hidden="1"
GtkHandleBox::child_detached hidden="1"
gtk_hscale_new.adjustment nullable="1"
+gtk_header_bar_get_custom_title nullable="1"
+gtk_header_bar_get_subtitle nullable="1"
+gtk_header_bar_get_title nullable="1"
gtk_header_bar_set_custom_title.title_widget nullable="1"
gtk_header_bar_set_decoration_layout.layout nullable="1"
gtk_header_bar_set_subtitle.subtitle nullable="1"
@@ -491,18 +540,21 @@ gtk_gesture_get_bounding_box_center.x is_out="1"
gtk_gesture_get_bounding_box_center.y is_out="1"
gtk_gesture_get_device nullable="1"
gtk_gesture_get_group transfer_ownership="1" type_arguments="unowned Gtk.Gesture"
+gtk_gesture_get_last_event nullable="1"
+gtk_gesture_get_last_updated_sequence nullable="1"
gtk_gesture_get_point.sequence nullable="1"
gtk_gesture_get_point.x is_out="1" nullable="1" default_value="null" transfer_ownership="1"
gtk_gesture_get_point.y is_out="1" nullable="1" default_value="null" transfer_ownership="1"
gtk_gesture_get_sequences transfer_ownership="1" type_arguments="unowned Gdk.EventSequence"
gtk_gesture_get_window nullable="1"
gtk_gesture_set_window.window nullable="1"
-gtk_gesture_drag_get_offset.x is_out="1"
-gtk_gesture_drag_get_offset.y is_out="1"
-gtk_gesture_drag_get_start_point.x is_out="1"
-gtk_gesture_drag_get_start_point.y is_out="1"
+gtk_gesture_drag_get_offset.x is_out="1" nullable="1" transfer_ownership="1"
+gtk_gesture_drag_get_offset.y is_out="1" nullable="1" transfer_ownership="1"
+gtk_gesture_drag_get_start_point.x is_out="1" nullable="1" transfer_ownership="1"
+gtk_gesture_drag_get_start_point.y is_out="1" nullable="1" transfer_ownership="1"
gtk_gesture_multi_press_get_area.rect is_out="1"
-gtk_gesture_single_get_current_sequence transfer_ownership="1"
+gtk_gesture_multi_press_set_area.rect nullable="1"
+gtk_gesture_single_get_current_sequence transfer_ownership="1" nullable="1"
gtk_gesture_swipe_get_velocity.velocity_x is_out="1"
gtk_gesture_swipe_get_velocity.velocity_y is_out="1"
gtk_gl_area_get_error nullable="1"
@@ -522,6 +574,7 @@ GtkIconInfoClass hidden="1"
gtk_icon_info_copy transfer_ownership="1"
gtk_icon_info_get_attach_points.points is_array="1" is_out="1" transfer_ownership="1"
gtk_icon_info_get_embedded_rect.rectangle is_out="1"
+gtk_icon_info_get_filename nullable="1"
gtk_icon_info_load_icon transfer_ownership="1"
gtk_icon_info_load_icon_async.cancellable nullable="1" default_value="null"
gtk_icon_info_load_icon_finish transfer_ownership="1"
@@ -537,13 +590,17 @@ gtk_icon_info_load_symbolic_async.success_color nullable="1" default_value="null
gtk_icon_info_load_symbolic_async.warning_color nullable="1" default_value="null"
gtk_icon_info_load_symbolic_async.error_color nullable="1" default_value="null"
gtk_icon_info_load_symbolic_finish transfer_ownership="1"
+gtk_icon_info_load_symbolic_finish.was_symbolic is_out="1" default_value="null"
gtk_icon_info_load_symbolic_for_context transfer_ownership="1"
gtk_icon_info_load_symbolic_for_context.was_symbolic is_out="1" default_value="null"
gtk_icon_info_load_symbolic_for_context_async.cancellable nullable="1" default_value="null"
gtk_icon_info_load_symbolic_for_context_finish transfer_ownership="1"
+gtk_icon_info_load_symbolic_for_context_finish.was_symbolic is_out="1" default_value="null"
gtk_icon_info_load_symbolic_for_style transfer_ownership="1" deprecated_since="3.0" replacement="load_symbolic_for_context"
gtk_icon_info_load_symbolic_for_style.was_symbolic is_out="1" default_value="null"
gtk_icon_view_get_cursor.path transfer_ownership="1"
+gtk_icon_view_get_dest_item_at_pos.pos is_out="1"
+gtk_icon_view_get_drag_dest_item.pos is_out="1"
gtk_icon_view_get_tooltip_context.iter is_out="1"
gtk_icon_view_get_tooltip_context.x is_ref="1"
gtk_icon_view_get_tooltip_context.y is_ref="1"
@@ -583,30 +640,38 @@ gtk_icon_theme_load_surface.for_window nullable="1"
gtk_icon_theme_choose_icon transfer_ownership="1" nullable="1"
gtk_icon_theme_choose_icon.icon_names no_array_length="1" array_null_terminated="1"
gtk_icon_theme_choose_icon_for_scale transfer_ownership="1" nullable="1"
+gtk_icon_theme_choose_icon_for_scale.icon_names no_array_length="1" array_null_terminated="1"
gtk_icon_theme_lookup_by_gicon transfer_ownership="1" nullable="1"
gtk_icon_theme_lookup_by_gicon_for_scale transfer_ownership="1" nullable="1"
gtk_icon_theme_lookup_icon transfer_ownership="1" nullable="1"
gtk_icon_theme_lookup_icon_for_scale transfer_ownership="1" nullable="1"
-gtk_icon_theme_set_custom_theme.theme nullable="1"
+gtk_icon_theme_set_custom_theme.theme_name nullable="1"
gtk_icon_theme_set_search_path.n_elements hidden="1"
GtkIconView::item_activated has_emitter="1"
gtk_icon_view_create_drag_icon transfer_ownership="1"
-gtk_icon_view_get_path_at_pos transfer_ownership="1"
+gtk_icon_view_get_model nullable="1"
+gtk_icon_view_get_path_at_pos transfer_ownership="1" nullable="1"
gtk_icon_view_select_all hidden="1" experimental="1"
gtk_icon_view_selected_foreach.data hidden="1"
gtk_icon_view_set_cursor.cell nullable="1"
gtk_icon_view_set_model.model nullable="1"
gtk_icon_view_unselect_all hidden="1" experimental="1"
GtkImage.data hidden="1"
+gtk_image_get_animation nullable="1"
gtk_image_get_gicon.size is_out="1"
gtk_image_get_icon_name.icon_name is_out="1"
gtk_image_get_icon_name.size is_out="1"
gtk_image_get_icon_set.size is_out="1"
+gtk_image_get_pixbuf nullable="1"
gtk_image_get_stock.stock_id is_out="1" transfer_ownership="1"
gtk_image_get_stock.size is_out="1"
gtk_image_menu_item_new_from_stock.accel_group nullable="1"
+gtk_image_set_from_file.filename nullable="1"
+gtk_image_set_from_pixbuf.pixbuf nullable="1"
gtk_image_set_from_pixmap.pixmap nullable="1"
gtk_image_set_from_pixmap.mask nullable="1"
+gtk_image_set_from_resource.resource_path nullable="1"
+gtk_image_menu_item_set_image.image nullable="1"
GtkIMContext::delete_surrounding has_emitter="1"
gtk_im_context_get_preedit_string.str is_out="1" transfer_ownership="1"
gtk_im_context_get_preedit_string.attrs transfer_ownership="1"
@@ -644,8 +709,10 @@ GtkKeySnoopFunc has_target="1" instance_pos="2.9"
GtkKeySnoopFunc.func_data hidden="1"
GtkLabel.text hidden="1"
gtk_label_new.str nullable="1"
+gtk_label_get_attributes nullable="1"
gtk_label_get_layout_offsets.x is_out="1"
gtk_label_get_layout_offsets.y is_out="1"
+gtk_label_get_mnemonic_widget nullable="1"
gtk_label_get_selection_bounds.start is_out="1"
gtk_label_get_selection_bounds.end is_out="1"
gtk_label_set_attributes.attrs nullable="1"
@@ -668,7 +735,10 @@ gtk_list_box_bind_model.create_widget_func transfer_ownership="1"
gtk_list_box_bind_model.model type_name="GLib.ListModel" nullable="1"
gtk_list_box_bind_model.user_data_free_func hidden="1"
gtk_list_box_get_selected_rows transfer_ownership="1" type_arguments="unowned ListBoxRow"
+gtk_list_box_get_row_at_index nullable="1"
+gtk_list_box_get_row_at_y nullable="1"
gtk_list_box_selected_foreach.data hidden="1"
+gtk_list_box_row_get_header nullable="1"
gtk_list_box_row_set_header.header nullable="1"
gtk_list_box_select_row.row nullable="1"
gtk_list_box_set_adjustment.adjustment nullable="1"
@@ -704,7 +774,7 @@ gtk_list_store_move_after.position nullable="1"
gtk_list_store_move_before.iter is_ref="1"
gtk_list_store_move_before.position nullable="1"
gtk_list_store_prepend.iter is_out="1"
-gtk_list_store_reorder.new_order is_array="1" array_null_terminated="1"
+gtk_list_store_reorder.new_order is_array="1" no_array_length="1"
gtk_list_store_set_column_types.n_columns hidden="1"
gtk_list_store_set_column_types.types array_length_pos="0.9"
gtk_list_store_set ellipsis="1" sentinel="-1"
@@ -727,11 +797,19 @@ gtk_menu_popup.data hidden="1"
gtk_menu_popup.func nullable="1" scope="async"
gtk_menu_popup.parent_menu_shell nullable="1"
gtk_menu_popup.parent_menu_item nullable="1"
+gtk_menu_popup_for_device.device nullable="1"
+gtk_menu_popup_for_device.func transfer_ownership="1" nullable="1"
+gtk_menu_popup_for_device.data hidden="1"
+gtk_menu_popup_for_device.destroy hidden="1"
gtk_menu_set_accel_group.accel_group nullable="1"
gtk_menu_set_accel_path.accel_path nullable="1"
GtkMenuPositionFunc.x is_ref="1"
GtkMenuPositionFunc.y is_ref="1"
GtkMenuPositionFunc.push_in is_out="1"
+gtk_menu_button_get_align_widget nullable="1"
+gtk_menu_button_get_menu_model nullable="1"
+gtk_menu_button_get_popover nullable="1"
+gtk_menu_button_get_popup nullable="1"
gtk_menu_button_set_align_widget.align_widget nullable="1"
gtk_menu_button_set_menu_model.menu_model nullable="1"
gtk_menu_button_set_popover.popover nullable="1"
@@ -740,6 +818,8 @@ gtk_menu_item_deselect hidden="1"
gtk_menu_item_set_right_justified deprecated_since="3.2" replacement="Widget.set_hexpand and Widget.set_halign"
gtk_menu_item_get_right_justified deprecated_since="3.2" replacement="Widget.get_hexpand and Widget.get_halign"
gtk_menu_item_select hidden="1"
+gtk_menu_item_get_accel_path nullable="1"
+gtk_menu_item_get_submenu nullable="1"
gtk_menu_item_set_accel_path.accel_path nullable="1"
gtk_menu_item_set_submenu.submenu nullable="1"
GtkMenuItem::activate has_emitter="1"
@@ -771,6 +851,7 @@ GtkModuleInitFunc.argv is_array="1" nullable="1" transfer_ownership="1" array_le
gtk_mount_operation_is_showing hidden="1"
gtk_mount_operation_new.parent nullable="1"
gtk_mount_operation_set_parent.parent nullable="1"
+GtkNativeDialog abstract="1"
GtkNativeDialog:title nullable="1"
GtkNativeDialog:transient-for nullable="1"
gtk_native_dialog_get_title nullable"1"
@@ -781,6 +862,12 @@ GtkNotebook.focus_tab hidden="1"
gtk_notebook_append_page.tab_label nullable="1" default_value="null"
gtk_notebook_append_page_menu.tab_label nullable="1"
gtk_notebook_append_page_menu.menu_label nullable="1"
+gtk_notebook_get_action_widget nullable="1"
+gtk_notebook_get_group_name nullable="1"
+gtk_notebook_get_menu_label nullable="1"
+gtk_notebook_get_menu_label_text nullable="1"
+gtk_notebook_get_nth_page nullable="1"
+gtk_notebook_get_tab_label_text nullable="1"
gtk_notebook_get_tab_hborder deprecated_since="3.4"
gtk_notebook_get_tab_vborder deprecated_since="3.4"
gtk_notebook_prepend_page.tab_label nullable="1" default_value="null"
@@ -804,7 +891,8 @@ gtk_notebook_page_num hidden="1"
gtk_numerable_icon_set_background_gicon.icon nullable="1"
gtk_numerable_icon_set_background_icon_name.icon_name nullable="1"
gtk_numerable_icon_set_label.label nullable="1"
-gtk_offscreen_window_get_pixbuf transfer_ownership="1"
+gtk_offscreen_window_get_pixbuf transfer_ownership="1" nullable="1"
+gtk_offscreen_window_get_surface nullable="1"
GtkOverlay::get_child_position.allocation is_out="1"
gtk_page_setup_copy transfer_ownership="1"
gtk_page_setup_new_from_key_file.group_name nullable="1"
@@ -882,13 +970,16 @@ gtk_paint_tab.detail nullable="1"
gtk_paint_vline.area nullable="1"
gtk_paint_vline.widget nullable="1"
gtk_paint_vline.detail nullable="1"
+gtk_paned_get_child1 nullable="1"
+gtk_paned_get_child2 nullable="1"
gtk_paper_size_copy transfer_ownership="1"
gtk_paper_size_get_paper_sizes transfer_ownership="1" type_arguments="PaperSize"
gtk_parse_args.argc hidden="1"
gtk_parse_args.argv is_array="1" is_ref="1" transfer_ownership="0" array_length_cname="argc" array_length_pos="0.5"
-gtk_places_sidebar_get_location transfer_ownership="1"
-gtk_places_sidebar_get_nth_bookmark transfer_ownership="1"
+gtk_places_sidebar_get_location transfer_ownership="1" nullable="1"
+gtk_places_sidebar_get_nth_bookmark transfer_ownership="1" nullable="1"
gtk_places_sidebar_list_shortcuts transfer_ownership="1" type_arguments="GLib.File"
+gtk_places_sidebar_set_location.location nullable="1"
GtkPlacesSidebarClass hidden="1"
GtkPlacesSidebar:location owned_get="1"
GtkPlacesSidebar::drag_action_requested.p1 type_name="GLib.File"
@@ -902,6 +993,7 @@ GtkPlacesSidebar::populate_popup.p2 type_name="GLib.Volume?"
GtkPlacesSidebar::show_enter_location hidden="1"
GtkPlacesSidebar::show_connect_to_server hidden="1"
GtkPlacesSidebar::show_other_locations name="show_other_locations_requested" experimental="1"
+gtk_plug_get_socket_window nullable="1"
GtkPlug::embedded hidden="1"
gtk_popover_get_pointing_to.rect is_out="1"
gtk_popover_bind_model.model nullable="1"
@@ -939,6 +1031,7 @@ gtk_printer_accepts_ps hidden="1" experimental="1"
gtk_printer_is_virtual hidden="1" experimental="1"
GtkProgress hidden="1"
GtkProgressBar base_class="GtkWidget"
+gtk_progress_bar_get_text nullable="1"
gtk_progress_bar_set_text.text nullable="1"
GtkProgressClass hidden="1"
gtk_quit_add.data hidden="1"
@@ -968,12 +1061,12 @@ gtk_radio_menu_item_new_with_label_from_widget.group nullable="1"
gtk_radio_menu_item_new_with_mnemonic.group type_arguments="RadioMenuItem" nullable="1"
gtk_radio_menu_item_new_with_mnemonic_from_widget.group nullable="1"
gtk_radio_menu_item_set_group.group type_arguments="RadioMenuItem" nullable="1"
-gtk_radio_tool_button_get_group type_arguments="RadioToolButton"
+gtk_radio_tool_button_get_group type_arguments="RadioToolButton" nullable="1"
gtk_radio_tool_button_new.group nullable="1" type_arguments="RadioToolButton"
gtk_radio_tool_button_new_from_stock.group nullable="1" type_arguments="RadioToolButton"
gtk_radio_tool_button_new_from_widget.group nullable="1"
gtk_radio_tool_button_new_with_stock_from_widget.group nullable="1"
-gtk_radio_tool_button_set_group.group type_arguments="RadioToolButton"
+gtk_radio_tool_button_set_group.group type_arguments="RadioToolButton" nullable="1"
gtk_range_get_slider_range.slider_start is_out="1"
gtk_range_get_slider_range.slider_end is_out="1"
gtk_range_get_range_rect type_name="Gdk.Rectangle"
@@ -1014,12 +1107,13 @@ gtk_recent_info_get_applications is_array="1" array_length_type="gsize" transfer
gtk_recent_info_get_applications.length hidden="1"
gtk_recent_info_get_groups is_array="1" array_length_type="gsize" transfer_ownership="1"
gtk_recent_info_get_groups.length hidden="1"
+gtk_recent_info_get_gicon transfer_ownership="1" nullable="1"
gtk_recent_info_get_icon transfer_ownership="1" nullable="1"
gtk_recent_info_get_short_name transfer_ownership="1"
gtk_recent_info_get_uri_display transfer_ownership="1" nullable="1"
gtk_recent_info_last_application transfer_ownership="1"
gtk_recent_manager_get_items transfer_ownership="1" type_arguments="RecentInfo"
-gtk_recent_manager_lookup_item transfer_ownership="1"
+gtk_recent_manager_lookup_item transfer_ownership="1" nullable="1"
gtk_recent_manager_move_item.new_uri nullable="1"
GtkRecentData is_value_type="1" has_copy_function="0" has_destroy_function="0"
GtkRecentData.display_name weak="0"
@@ -1052,6 +1146,7 @@ gtk_scale_button_new.step default_value="2.0"
gtk_scale_button_new.icons is_array="1" no_array_length="1" array_null_terminated="1" nullable="1" default_value="null"
gtk_scale_button_set_icons.icons is_array="1" no_array_length="1" array_null_terminated="1"
gtk_scale_draw_value hidden="1"
+gtk_scale_get_layout nullable="1"
gtk_scale_get_layout_offsets.x is_out="1"
gtk_scale_get_layout_offsets.y is_out="1"
GtkScale::format_value transfer_ownership="1"
@@ -1084,6 +1179,7 @@ gtk_show_about_dialog ellipsis="1"
gtk_show_about_dialog.parent nullable="1"
gtk_show_uri.screen nullable="1"
gtk_size_group_get_widgets type_arguments="Widget"
+gtk_socket_get_plug_window nullable="1"
GtkSpinButton::input.new_value type_name="double" is_out="1"
gtk_spin_button_configure.adjustment nullable="1"
gtk_spin_button_get_increments.step is_out="1"
@@ -1091,6 +1187,11 @@ gtk_spin_button_get_increments.page is_out="1"
gtk_spin_button_get_range.min is_out="1"
gtk_spin_button_get_range.max is_out="1"
gtk_spin_button_new.adjustment nullable="1"
+gtk_stack_get_child_by_name nullable="1"
+gtk_stack_get_visible_child nullable="1"
+gtk_stack_get_visible_child_name nullable="1"
+gtk_stack_switcher_get_stack nullable="1"
+gtk_stack_switcher_set_stack.stack nullable="1"
GtkStatusIcon::button_press_event.event namespace_name="Gdk" type_name="EventButton"
GtkStatusIcon::button_release_event.event namespace_name="Gdk" type_name="EventButton"
gtk_statusbar_get_message_area type_name="Gtk.Container"
@@ -1141,13 +1242,14 @@ gtk_style_context_get_border_color type_name="Gdk.RGBA"
gtk_style_context_get_border_color.color hidden="1"
gtk_style_context_get_color type_name="Gdk.RGBA"
gtk_style_context_get_color.color hidden="1"
+gtk_style_context_get_frame_clock nullable="1"
gtk_style_context_get_margin type_name="Gtk.Border"
gtk_style_context_get_margin.margin hidden="1"
gtk_style_context_get_padding type_name="Gtk.Border"
gtk_style_context_get_padding.padding hidden="1"
+gtk_style_context_get_parent nullable="1"
gtk_style_context_get_property type_name="GLib.Value"
gtk_style_context_get_property.value hidden="1"
-gtk_style_context_get_section transfer_ownership="1"
gtk_style_context_get_style ellipsis="1"
gtk_style_context_get_style_valist.args type_name="va_list"
gtk_style_context_get_valist.args type_name="va_list"
@@ -1157,6 +1259,7 @@ gtk_style_context_list_regions transfer_ownership="1" type_arguments="unowned st
gtk_style_context_lookup_color.color is_out="1"
gtk_style_context_set_parent.parent nullable="1"
gtk_style_context_state_is_running.progress is_out="1"
+gtk_style_context_to_string transfer_ownership="1"
gtk_style_lookup_color.color is_out="1"
gtk_style_get_style_property.value is_out="1"
gtk_style_properties_register_property.parse_func nullable="1"
@@ -1212,6 +1315,7 @@ gtk_text_buffer_delete_interactive.start_iter is_ref="1"
gtk_text_buffer_delete_interactive.end_iter is_ref="1"
gtk_text_buffer_deserialize.data type_name="uint8" is_array="1" array_length_type="gsize"
gtk_text_buffer_deserialize.length hidden="1"
+gtk_text_buffer_get_mark nullable="1"
gtk_text_buffer_insert.iter is_ref="1"
gtk_text_buffer_insert_interactive.iter is_ref="1"
gtk_text_buffer_insert_markup.iter is_ref="1"
@@ -1235,6 +1339,7 @@ GtkTextTag:foreground-gdk deprecated_since="3.4" replacement="foreground_rgba"
GtkTextTag:paragraph-background-gdk deprecated_since="3.4" replacement="paragraph_background_rgba"
gtk_text_tag_new.name nullable="1" default_value="null"
gtk_text_tag_table_foreach.data hidden="1"
+gtk_text_tag_table_lookup nullable="1"
GtkTextBuffer::apply_tag has_emitter="1"
GtkTextBuffer::begin_user_action has_emitter="1"
GtkTextBuffer::end_user_action has_emitter="1"
@@ -1308,8 +1413,9 @@ gtk_text_view_get_line_at_y.target_iter is_out="1"
gtk_text_view_get_line_at_y.line_top is_out="1"
gtk_text_view_get_line_yrange.y is_out="1"
gtk_text_view_get_line_yrange.height is_out="1"
-gtk_text_view_get_tabs transfer_ownership="1"
+gtk_text_view_get_tabs transfer_ownership="1" nullable="1"
gtk_text_view_get_visible_rect.visible_rect is_out="1"
+gtk_text_view_get_window nullable="1"
gtk_text_view_window_to_buffer_coords.buffer_x is_out="1"
gtk_text_view_window_to_buffer_coords.buffer_y is_out="1"
gtk_text_view_buffer_to_window_coords.window_x is_out="1"
@@ -1356,6 +1462,10 @@ GtkToolbar.gpointer hidden="1"
GtkToolbar:internal-padding deprecated_since="3.6"
GtkToolbar:shadow-type deprecated_since="3.6"
gtk_toolbar_set_drop_highlight_item.tool_item nullable="1"
+gtk_tool_button_get_icon_name nullable="1"
+gtk_tool_button_get_icon_widget nullable="1"
+gtk_tool_button_get_label nullable="1"
+gtk_tool_button_get_label_widget nullable="1"
gtk_tool_button_new.icon_widget nullable="1"
gtk_tool_button_new.label nullable="1"
gtk_tool_button_set_icon_name.icon_name nullable="1"
@@ -1367,6 +1477,9 @@ gtk_tool_item_toolbar_reconfigured hidden="1"
GtkToolItem::set_tooltip hidden="1"
gtk_tool_palette_get_drag_target_group transfer_ownership="0"
gtk_tool_palette_get_drag_target_item transfer_ownership="0"
+gtk_tool_palette_get_drop_group nullable="1"
+gtk_tool_palette_get_drop_item nullable="1"
+gtk_toolbar_get_nth_item nullable="1"
gtk_tooltip_set_custom.custom_widget nullable="1"
gtk_tooltip_set_icon.pixbuf nullable="1"
gtk_tooltip_set_icon_from_gicon.gicon nullable="1"
@@ -1374,6 +1487,7 @@ gtk_tooltip_set_icon_from_icon_name.icon_name nullable="1"
gtk_tooltip_set_icon_from_stock.stock_id nullable="1"
gtk_tooltip_set_markup.markup nullable="1"
gtk_tooltip_set_text.text nullable="1"
+gtk_toplevel_accessible_get_children type_name="unowned GLib.List<Gtk.Window>"
GtkTranslateFunc has_target="1" transfer_ownership="1"
GtkTranslateFunc.func_data hidden="1"
gtk_tree_get_row_drag_data.path transfer_ownership="1"
@@ -1388,6 +1502,7 @@ gtk_tree_model_get_iter_first.iter is_out="1"
gtk_tree_model_get_iter_from_string.iter is_out="1"
gtk_tree_model_get_path transfer_ownership="1" nullable="1"
gtk_tree_model_get_string_from_iter transfer_ownership="1"
+gtk_tree_model_get_valist.var_args type_name="va_list"
gtk_tree_model_get_value.value is_out="1"
gtk_tree_model_iter_children.iter is_out="1"
gtk_tree_model_iter_children.parent nullable="1"
@@ -1409,10 +1524,11 @@ GtkTreeModel::row_has_child_toggled has_emitter="1"
GtkTreeModel::row_inserted has_emitter="1"
GtkTreeModel::rows_reordered has_emitter="1"
GtkTreeModel::rows_reordered.iter nullable="1"
-gtk_tree_model_filter_convert_child_path_to_path transfer_ownership="1"
+GtkTreeModel::rows_reordered.new_order is_array="1" no_array_length="1" type_name="int[]"
+gtk_tree_model_filter_convert_child_path_to_path transfer_ownership="1" nullable="1"
gtk_tree_model_filter_convert_child_iter_to_iter.filter_iter is_out="1"
gtk_tree_model_filter_convert_iter_to_child_iter.child_iter is_out="1"
-gtk_tree_model_filter_convert_path_to_child_path transfer_ownership="1"
+gtk_tree_model_filter_convert_path_to_child_path transfer_ownership="1" nullable="1"
gtk_tree_model_filter_set_modify_func.n_columns hidden="1"
gtk_tree_model_filter_set_modify_func.types array_length_pos="0.9"
gtk_tree_model_filter_set_modify_func.func transfer_ownership="1"
@@ -1423,9 +1539,9 @@ gtk_tree_model_filter_set_visible_func.data hidden="1"
gtk_tree_model_filter_set_visible_func.destroy hidden="1"
GtkTreeModelFilterModifyFunc.value is_out="1"
gtk_tree_model_sort_convert_child_iter_to_iter.sort_iter is_out="1"
-gtk_tree_model_sort_convert_child_path_to_path transfer_ownership="1"
+gtk_tree_model_sort_convert_child_path_to_path transfer_ownership="1" nullable="1"
gtk_tree_model_sort_convert_iter_to_child_iter.child_iter is_out="1"
-gtk_tree_model_sort_convert_path_to_child_path transfer_ownership="1"
+gtk_tree_model_sort_convert_path_to_child_path transfer_ownership="1" nullable="1"
gtk_tree_path_get_indices hidden="1"
gtk_tree_path_get_indices_with_depth is_array="1" name="get_indices"
gtk_tree_path_get_indices_with_depth.depth hidden="1"
@@ -1469,13 +1585,13 @@ gtk_tree_store_move_before.position nullable="1"
gtk_tree_store_prepend.iter is_out="1"
gtk_tree_store_prepend.parent nullable="1"
gtk_tree_store_reorder.parent nullable="1"
-gtk_list_store_reorder.new_order is_array="1" array_null_terminated="1"
+gtk_tree_store_reorder.new_order is_array="1" no_array_length="1"
gtk_tree_store_set ellipsis="1" sentinel="-1"
gtk_tree_store_set_column_types.n_columns hidden="1"
gtk_tree_store_set_column_types.types array_length_pos="0.9"
-gtk_list_store_set_valist.var_args type_name="va_list"
-gtk_list_store_set_valuesv.columns is_array="1" array_length_pos="3.1" array_length_cname="n_values"
-gtk_list_store_set_valuesv.values is_array="1" array_length_pos="3.1" array_length_cname="n_values"
+gtk_tree_store_set_valist.var_args type_name="va_list"
+gtk_tree_store_set_valuesv.columns is_array="1" array_length_pos="3.1" array_length_cname="n_values"
+gtk_tree_store_set_valuesv.values is_array="1" array_length_pos="3.1" array_length_cname="n_values"
gtk_tree_store_remove.iter is_ref="1"
gtk_tree_sortable_get_sort_column_id.sort_column_id is_out="1"
gtk_tree_sortable_get_sort_column_id.order is_out="1"
@@ -1510,9 +1626,11 @@ gtk_tree_view_convert_widget_to_tree_coords.ty is_out="1"
gtk_tree_view_get_background_area.rect is_out="1"
gtk_tree_view_get_background_area.path nullable="1"
gtk_tree_view_get_background_area.column nullable="1"
+gtk_tree_view_get_bin_window nullable="1"
gtk_tree_view_get_cell_area.rect is_out="1"
gtk_tree_view_get_cell_area.path nullable="1"
gtk_tree_view_get_cell_area.column nullable="1"
+gtk_tree_view_get_column nullable="1"
gtk_tree_view_get_columns transfer_ownership="1" type_arguments="unowned TreeViewColumn"
gtk_tree_view_get_cursor.path value_owned="1" nullable="1"
gtk_tree_view_get_cursor.focus_column nullable="1"
@@ -1575,6 +1693,8 @@ GtkTreeView::row_activated has_emitter="1"
GtkTreeViewColumn::clicked has_emitter="1"
gtk_tree_view_column_new_with_attributes ellipsis="1"
gtk_tree_view_column_new_with_attributes.title nullable="1"
+gtk_tree_view_column_get_tree_view nullable="1"
+gtk_tree_view_column_get_widget nullable="1"
gtk_tree_view_column_set_attributes ellipsis="1"
gtk_tree_view_column_set_model.model nullable="1"
gtk_tree_view_column_set_widget.widget nullable="1"
@@ -1590,8 +1710,12 @@ gtk_ui_manager_get_toplevels transfer_ownership="1" type_arguments="unowned Widg
gtk_ui_manager_get_ui transfer_ownership="1"
gtk_ui_manager_new_merge_id hidden="1"
gtk_ui_manager_set_add_tearoffs deprecated_since="3.4"
+gtk_viewport_get_hadjustment nullable="1"
+gtk_viewport_get_vadjustment nullable="1"
gtk_viewport_new.hadjustment nullable="1"
gtk_viewport_new.vadjustment nullable="1"
+gtk_viewport_set_hadjustment.adjustment nullable="1"
+gtk_viewport_set_vadjustment.adjustment nullable="1"
gtk_vscale_new.adjustment nullable="1"
gtk_vscrollbar_new.adjustment nullable="1"
gtk_widget_add_tick_callback.callback transfer_ownership="1"
@@ -1613,6 +1737,9 @@ gtk_widget_class_path deprecated_since="3.0" replacement="get_path"
gtk_widget_class_path.path_length is_out="1"
gtk_widget_class_path.path is_out="1" transfer_ownership="1"
gtk_widget_class_path.path_reversed is_out="1" transfer_ownership="1"
+gtk_widget_class_set_connect_func.connect_func transfer_ownership="1"
+gtk_widget_class_set_connect_func.connect_data hidden="1"
+gtk_widget_class_set_connect_func.connect_data_destroy hidden="1"
gtk_widget_compute_expand type_name="bool"
gtk_widget_create_pango_context transfer_ownership="1"
gtk_widget_create_pango_layout transfer_ownership="1"
@@ -1620,18 +1747,22 @@ gtk_widget_create_pango_layout.text nullable="1"
GtkWidget::destroy has_emitter="1"
gtk_widget_destroy hidden="1"
gtk_widget_dispatch_child_properties_changed.n_pspecs hidden="1"
-gtk_widget_dispatch_child_properties_changed.pspecs is_array="1" array_length_pos="0.5" array_length_cname="n_pspecs" is_out="1" transfer_ownership="1"
+gtk_widget_dispatch_child_properties_changed.pspecs is_array="1" array_length_pos="0.5" array_length_cname="n_pspecs"
gtk_widget_ensure_style deprecated_since="3.0" replacement="StyleContext"
GtkWidget::event has_emitter="1"
gtk_widget_get_action_group nullable="1"
gtk_widget_get_allocated_size.allocation is_out="1"
gtk_widget_get_allocated_size.baseline is_out="1"
gtk_widget_get_allocation.allocation is_out="1"
+gtk_widget_get_ancestor nullable="1"
gtk_widget_get_child_requisition deprecated_since="3.0" replacement="get_preferred_size"
gtk_widget_get_child_requisition.requisition is_out="1"
gtk_widget_get_clip.clip is_out="1"
gtk_widget_get_composite_name transfer_ownership="1"
gtk_widget_get_default_style deprecated_since="3.0" replacement="StyleContext, and CssProvider.get_default() to obtain a Gtk.StyleProvider with the default widget style information"
+gtk_widget_get_font_map nullable="1"
+gtk_widget_get_font_options nullable="1"
+gtk_widget_get_frame_clock nullable="1"
gtk_widget_get_modifier_style deprecated_since="3.0" replacement="StyleContext with a custom StyleProvider"
gtk_widget_get_requisition deprecated_since="3.0"
gtk_widget_get_requisition.requisition hidden="1"
@@ -1648,8 +1779,9 @@ gtk_widget_get_size_request.width is_out="1"
gtk_widget_get_size_request.height is_out="1"
gtk_widget_get_state deprecated_since="3.0" replacement="get_state_flags"
gtk_widget_get_style deprecated_since="3.0" replacement="StyleContext"
-gtk_widget_get_tooltip_markup transfer_ownership="1"
-gtk_widget_get_tooltip_text transfer_ownership="1"
+gtk_widget_get_tooltip_markup transfer_ownership="1" nullable="1"
+gtk_widget_get_tooltip_text transfer_ownership="1" nullable="1"
+gtk_widget_get_window nullable="1"
gtk_widget_has_rc_style deprecated_since="3.0" replacement="StyleContext"
gtk_widget_input_shape_combine_mask.shape_mask nullable="1"
gtk_widget_input_shape_combine_region.region nullable="1"
@@ -1692,6 +1824,7 @@ gtk_widget_render_icon transfer_ownership="1"
gtk_widget_render_icon_pixbuf transfer_ownership="1"
gtk_widget_reset_rc_styles deprecated_since="3.0" replacement="reset_style"
gtk_widget_set_accel_path.* nullable="1"
+gtk_widget_set_font_map.font_map nullable="1"
gtk_widget_set_font_options.options nullable="1"
gtk_widget_set_parent.parent type_name="Gtk.Container" ctype="GtkWidget*"
gtk_widget_set_scroll_adjustments.hadjustment nullable="1"
@@ -1724,6 +1857,7 @@ GtkWidget::keynav_failed has_emitter="1"
GtkWidget::map has_emitter="1"
GtkWidget::mnemonic_activate has_emitter="1"
GtkWidget::realize has_emitter="1"
+GtkWidget::screen_changed.previous_screen nullable="1"
GtkWidget::size_allocate has_emitter="1"
GtkWidget::size_allocate.allocation namespace_name="Gtk" type_name="Allocation"
GtkWidget::size_request has_emitter="1"
@@ -1733,14 +1867,23 @@ GtkWidget::style_set.previous_style nullable="1"
GtkWidget::unmap has_emitter="1"
GtkWidget::unrealize has_emitter="1"
GtkWidgetClass name="pointer"
+gtk_window_get_application nullable="1"
+gtk_window_get_attached_to nullable="1"
gtk_window_get_default_icon_list transfer_ownership="1" type_arguments="unowned Gdk.Pixbuf"
gtk_window_get_default_size.width is_out="1"
gtk_window_get_default_size.height is_out="1"
+gtk_window_get_default_widget nullable="1"
+gtk_window_get_focus nullable="1"
gtk_window_get_icon_list transfer_ownership="1" type_arguments="unowned Gdk.Pixbuf"
+gtk_window_get_icon_name nullable="1"
gtk_window_get_position.root_x is_out="1"
gtk_window_get_position.root_y is_out="1"
+gtk_window_get_role nullable="1"
gtk_window_get_size.width is_out="1"
gtk_window_get_size.height is_out="1"
+gtk_window_get_title nullable="1"
+gtk_window_get_titlebar nullable="1"
+gtk_window_get_transient_for nullable="1"
gtk_window_has_toplevel_focus hidden="1" experimental="1"
gtk_window_is_active hidden="1" experimental="1"
gtk_window_is_maximized hidden="1" experimental="1"
@@ -1772,6 +1915,7 @@ GtkWindow::activate_default name="default_activated" experimental="1"
GtkWindow::activate_focus name="focus_activated" experimental="1"
GtkWindow::set_focus has_emitter="1"
GtkWindow::set_focus.focus nullable="1"
+gtk_window_group_get_current_device_grab nullable="1"
gtk_window_group_list_windows transfer_ownership="1" type_arguments="unowned Window"
gtk_window_get_resize_grip_area.rect is_out="1"
gtk_window_set_default_icon_list.list takes_ownership="1" type_arguments="unowned Gdk.Pixbuf"
@@ -1818,6 +1962,7 @@ gtk_widget_path_to_string transfer_ownership="1"
gtk_render_activity deprecated_since="vala-0.16" replacement="StyleContext.render_activity"
gtk_render_arrow deprecated_since="vala-0.16" replacement="StyleContext.render_arrow"
gtk_render_background deprecated_since="vala-0.16" replacement="StyleContext.render_background"
+gtk_render_background_get_clip hidden="1"
gtk_render_check deprecated_since="vala-0.16" replacement="StyleContext.render_check"
gtk_render_expander deprecated_since="vala-0.16" replacement="StyleContext.render_expander"
gtk_render_extension deprecated_since="vala-0.16" replacement="StyleContext.render_extension"
diff --git a/vapi/pango.vapi b/vapi/pango.vapi
index 96d093fe5..9fb90e971 100644
--- a/vapi/pango.vapi
+++ b/vapi/pango.vapi
@@ -54,6 +54,7 @@ namespace Pango {
public Pango.AttrIterator copy ();
public void destroy ();
public unowned Pango.Attribute? @get (Pango.AttrType type);
+ [Version (since = "1.2")]
public GLib.SList<Pango.Attribute> get_attrs ();
public void get_font (Pango.FontDescription desc, Pango.Language? language, owned GLib.SList<Pango.Attribute>? extra_attrs);
public bool next ();
@@ -73,10 +74,12 @@ namespace Pango {
public AttrList ();
public void change (owned Pango.Attribute attr);
public Pango.AttrList? copy ();
+ [Version (since = "1.2")]
public Pango.AttrList? filter (Pango.AttrFilterFunc func);
public Pango.AttrIterator get_iterator ();
public void insert (owned Pango.Attribute attr);
public void insert_before (owned Pango.Attribute attr);
+ [Version (since = "1.10")]
public Pango.AttrList @ref ();
public void splice (Pango.AttrList other, int pos, int len);
public void unref ();
@@ -116,32 +119,43 @@ namespace Pango {
public Pango.Attribute copy ();
public void destroy ();
public bool equal (Pango.Attribute attr2);
+ [Version (since = "1.20")]
public void init (Pango.AttrClass klass);
}
[CCode (cheader_filename = "pango/pango.h", type_id = "pango_context_get_type ()")]
public class Context : GLib.Object {
[CCode (has_construct_function = false)]
public Context ();
+ [Version (since = "1.32.4")]
public void changed ();
public Pango.Direction get_base_dir ();
+ [Version (since = "1.16")]
public Pango.Gravity get_base_gravity ();
public unowned Pango.FontDescription get_font_description ();
+ [Version (since = "1.6")]
public unowned Pango.FontMap get_font_map ();
+ [Version (since = "1.16")]
public Pango.Gravity get_gravity ();
+ [Version (since = "1.16")]
public Pango.GravityHint get_gravity_hint ();
public Pango.Language get_language ();
+ [Version (since = "1.6")]
public unowned Pango.Matrix? get_matrix ();
public Pango.FontMetrics get_metrics (Pango.FontDescription? desc, Pango.Language? language);
+ [Version (since = "1.32.4")]
public uint get_serial ();
public void list_families ([CCode (array_length_cname = "n_families", array_length_pos = 1.1)] out Pango.FontFamily[] families);
public Pango.Font? load_font (Pango.FontDescription desc);
public Pango.Fontset? load_fontset (Pango.FontDescription desc, Pango.Language language);
public void set_base_dir (Pango.Direction direction);
+ [Version (since = "1.16")]
public void set_base_gravity (Pango.Gravity gravity);
public void set_font_description (Pango.FontDescription desc);
public void set_font_map (Pango.FontMap font_map);
+ [Version (since = "1.16")]
public void set_gravity_hint (Pango.GravityHint hint);
public void set_language (Pango.Language language);
+ [Version (since = "1.6")]
public void set_matrix (Pango.Matrix? matrix);
}
[CCode (cheader_filename = "pango/pango.h", ref_function = "pango_coverage_ref", unref_function = "pango_coverage_unref")]
@@ -158,13 +172,13 @@ namespace Pango {
public void unref ();
}
[CCode (cheader_filename = "pango/pango.h", type_id = "pango_engine_get_type ()")]
- [Deprecated (since = "1.38")]
+ [Version (deprecated = true, deprecated_since = "1.38")]
public abstract class Engine : GLib.Object {
[CCode (has_construct_function = false)]
protected Engine ();
}
[CCode (cheader_filename = "pango/pango.h", type_id = "pango_engine_lang_get_type ()")]
- [Deprecated (since = "1.38")]
+ [Version (deprecated = true, deprecated_since = "1.38")]
public abstract class EngineLang : Pango.Engine {
[CCode (has_construct_function = false)]
protected EngineLang ();
@@ -172,7 +186,7 @@ namespace Pango {
public virtual void script_break (string text, int len, Pango.Analysis analysis, Pango.LogAttr attrs, int attrs_len);
}
[CCode (cheader_filename = "pango/pango.h", type_id = "pango_engine_shape_get_type ()")]
- [Deprecated (since = "1.38")]
+ [Version (deprecated = true, deprecated_since = "1.38")]
public abstract class EngineShape : Pango.Engine {
[CCode (has_construct_function = false)]
protected EngineShape ();
@@ -188,10 +202,12 @@ namespace Pango {
public virtual Pango.FontDescription describe ();
[NoWrapper]
public virtual Pango.FontDescription describe_absolute ();
+ [Version (since = "1.14")]
public Pango.FontDescription describe_with_absolute_size ();
public static void descriptions_free ([CCode (array_length_cname = "n_descs", array_length_pos = 1.1)] owned Pango.FontDescription[]? descs);
public virtual unowned Pango.EngineShape find_shaper (Pango.Language lang, uint32 ch);
public virtual Pango.Coverage get_coverage (Pango.Language lang);
+ [Version (since = "1.10")]
public virtual unowned Pango.FontMap? get_font_map ();
public virtual void get_glyph_extents (Pango.Glyph glyph, out Pango.Rectangle ink_rect, out Pango.Rectangle logical_rect);
public virtual Pango.FontMetrics get_metrics (Pango.Language? language);
@@ -208,9 +224,11 @@ namespace Pango {
public void free ();
public static Pango.FontDescription from_string (string str);
public unowned string? get_family ();
+ [Version (since = "1.16")]
public Pango.Gravity get_gravity ();
public Pango.FontMask get_set_fields ();
public int get_size ();
+ [Version (since = "1.8")]
public bool get_size_is_absolute ();
public Pango.Stretch get_stretch ();
public Pango.Style get_style ();
@@ -219,9 +237,11 @@ namespace Pango {
public uint hash ();
public void merge (Pango.FontDescription? desc_to_merge, bool replace_existing);
public void merge_static (Pango.FontDescription desc_to_merge, bool replace_existing);
+ [Version (since = "1.8")]
public void set_absolute_size (double size);
public void set_family (string family);
public void set_family_static (string family);
+ [Version (since = "1.16")]
public void set_gravity (Pango.Gravity gravity);
public void set_size (int size);
public void set_stretch (Pango.Stretch stretch);
@@ -238,7 +258,9 @@ namespace Pango {
protected FontFace ();
public virtual Pango.FontDescription describe ();
public virtual unowned string get_face_name ();
+ [Version (since = "1.18")]
public virtual bool is_synthesized ();
+ [Version (since = "1.4")]
public virtual void list_sizes ([CCode (array_length_cname = "n_sizes", array_length_pos = 1.1)] out int[]? sizes);
}
[CCode (cheader_filename = "pango/pango.h", type_id = "pango_font_family_get_type ()")]
@@ -246,6 +268,7 @@ namespace Pango {
[CCode (has_construct_function = false)]
protected FontFamily ();
public virtual unowned string get_name ();
+ [Version (since = "1.4")]
public virtual bool is_monospace ();
public virtual void list_faces ([CCode (array_length_cname = "n_faces", array_length_pos = 1.1)] out Pango.FontFace[] faces);
}
@@ -253,10 +276,13 @@ namespace Pango {
public abstract class FontMap : GLib.Object {
[CCode (has_construct_function = false)]
protected FontMap ();
+ [Version (since = "1.34")]
public virtual void changed ();
+ [Version (since = "1.22")]
public Pango.Context create_context ();
+ [Version (since = "1.32.4")]
public virtual uint get_serial ();
- [Deprecated (since = "1.38")]
+ [Version (deprecated = true, deprecated_since = "1.38", since = "1.4")]
public unowned string get_shape_engine_type ();
public virtual void list_families ([CCode (array_length_cname = "n_families", array_length_pos = 1.1)] out Pango.FontFamily[] families);
public virtual Pango.Font? load_font (Pango.Context context, Pango.FontDescription desc);
@@ -271,9 +297,13 @@ namespace Pango {
public int get_approximate_digit_width ();
public int get_ascent ();
public int get_descent ();
+ [Version (since = "1.6")]
public int get_strikethrough_position ();
+ [Version (since = "1.6")]
public int get_strikethrough_thickness ();
+ [Version (since = "1.6")]
public int get_underline_position ();
+ [Version (since = "1.6")]
public int get_underline_thickness ();
public Pango.FontMetrics? @ref ();
public void unref ();
@@ -282,6 +312,7 @@ namespace Pango {
public abstract class Fontset : GLib.Object {
[CCode (has_construct_function = false)]
protected Fontset ();
+ [Version (since = "1.4")]
public virtual void @foreach (Pango.FontsetForeachFunc func);
public virtual Pango.Font get_font (uint wc);
[NoWrapper]
@@ -300,11 +331,17 @@ namespace Pango {
public class GlyphItem {
public weak Pango.GlyphString glyphs;
public weak Pango.Item item;
+ [Version (since = "1.2")]
public GLib.SList<Pango.GlyphItem> apply_attrs (string text, Pango.AttrList list);
+ [Version (since = "1.20")]
public Pango.GlyphItem? copy ();
+ [Version (since = "1.6")]
public void free ();
+ [Version (since = "1.26")]
public void get_logical_widths (string text, [CCode (array_length = false)] int[] logical_widths);
+ [Version (since = "1.6")]
public void letter_space (string text, [CCode (array_length = false)] Pango.LogAttr[] log_attrs, int letter_spacing);
+ [Version (since = "1.2")]
public Pango.GlyphItem split (string text, int split_index);
}
[CCode (cheader_filename = "pango/pango.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "pango_glyph_string_get_type ()")]
@@ -322,6 +359,7 @@ namespace Pango {
public void extents_range (int start, int end, Pango.Font font, out Pango.Rectangle ink_rect, out Pango.Rectangle logical_rect);
public void free ();
public void get_logical_widths (string text, int length, int embedding_level, [CCode (array_length = false)] int[] logical_widths);
+ [Version (since = "1.14")]
public int get_width ();
public void index_to_x (string text, int length, Pango.Analysis analysis, int index_, bool trailing, out int x_pos);
public void set_size (int new_len);
@@ -344,10 +382,13 @@ namespace Pango {
[Compact]
public class Language {
public static unowned Pango.Language? from_string (string? language);
+ [Version (since = "1.16")]
public static unowned Pango.Language get_default ();
public unowned string get_sample_string ();
[CCode (array_length_pos = 0.1)]
+ [Version (since = "1.22")]
public unowned Pango.Script[]? get_scripts ();
+ [Version (since = "1.4")]
public bool includes_script (Pango.Script script);
public bool matches (string range_list);
public unowned string to_string ();
@@ -360,47 +401,63 @@ namespace Pango {
public Pango.Layout copy ();
public Pango.Alignment get_alignment ();
public unowned Pango.AttrList get_attributes ();
+ [Version (since = "1.4")]
public bool get_auto_dir ();
+ [Version (since = "1.22")]
public int get_baseline ();
+ [Version (since = "1.30")]
public int get_character_count ();
public unowned Pango.Context get_context ();
public void get_cursor_pos (int index_, out Pango.Rectangle strong_pos, out Pango.Rectangle weak_pos);
+ [Version (since = "1.6")]
public Pango.EllipsizeMode get_ellipsize ();
public void get_extents (out Pango.Rectangle ink_rect, out Pango.Rectangle logical_rect);
+ [Version (since = "1.8")]
public unowned Pango.FontDescription? get_font_description ();
+ [Version (since = "1.20")]
public int get_height ();
public int get_indent ();
public Pango.LayoutIter get_iter ();
public bool get_justify ();
public unowned Pango.LayoutLine? get_line (int line);
public int get_line_count ();
+ [Version (since = "1.16")]
public unowned Pango.LayoutLine? get_line_readonly (int line);
public unowned GLib.SList<Pango.LayoutLine> get_lines ();
+ [Version (since = "1.16")]
public unowned GLib.SList<Pango.LayoutLine> get_lines_readonly ();
public void get_log_attrs ([CCode (array_length_cname = "n_attrs", array_length_pos = 1.1)] out Pango.LogAttr[] attrs);
[CCode (array_length_pos = 0.1)]
+ [Version (since = "1.30")]
public unowned Pango.LogAttr[] get_log_attrs_readonly ();
public void get_pixel_extents (out Pango.Rectangle ink_rect, out Pango.Rectangle logical_rect);
public void get_pixel_size (out int width, out int height);
+ [Version (since = "1.32.4")]
public uint get_serial ();
public bool get_single_paragraph_mode ();
public void get_size (out int width, out int height);
public int get_spacing ();
public Pango.TabArray? get_tabs ();
public unowned string get_text ();
+ [Version (since = "1.16")]
public int get_unknown_glyphs_count ();
public int get_width ();
public Pango.WrapMode get_wrap ();
public void index_to_line_x (int index_, bool trailing, out int line, out int x_pos);
public Pango.Rectangle index_to_pos (int index_);
+ [Version (since = "1.16")]
public bool is_ellipsized ();
+ [Version (since = "1.16")]
public bool is_wrapped ();
public void move_cursor_visually (bool strong, int old_index, int old_trailing, int direction, out int new_index, out int new_trailing);
public void set_alignment (Pango.Alignment alignment);
public void set_attributes (Pango.AttrList? attrs);
+ [Version (since = "1.4")]
public void set_auto_dir (bool auto_dir);
+ [Version (since = "1.6")]
public void set_ellipsize (Pango.EllipsizeMode ellipsize);
public void set_font_description (Pango.FontDescription? desc);
+ [Version (since = "1.20")]
public void set_height (int height);
public void set_indent (int indent);
public void set_justify (bool justify);
@@ -418,20 +475,24 @@ namespace Pango {
[Compact]
public class LayoutIter {
public bool at_last_line ();
+ [Version (since = "1.20")]
public Pango.LayoutIter? copy ();
public void free ();
public int get_baseline ();
public Pango.Rectangle get_char_extents ();
public void get_cluster_extents (out Pango.Rectangle ink_rect, out Pango.Rectangle logical_rect);
public int get_index ();
+ [Version (since = "1.20")]
public unowned Pango.Layout get_layout ();
public void get_layout_extents (out Pango.Rectangle ink_rect, out Pango.Rectangle logical_rect);
public Pango.LayoutLine get_line ();
public void get_line_extents (out Pango.Rectangle ink_rect, out Pango.Rectangle logical_rect);
+ [Version (since = "1.16")]
public unowned Pango.LayoutLine get_line_readonly ();
public void get_line_yrange (out int y0_, out int y1_);
public unowned Pango.LayoutRun? get_run ();
public void get_run_extents (out Pango.Rectangle ink_rect, out Pango.Rectangle logical_rect);
+ [Version (since = "1.16")]
public unowned Pango.LayoutRun? get_run_readonly ();
public bool next_char ();
public bool next_cluster ();
@@ -451,6 +512,7 @@ namespace Pango {
public void get_pixel_extents (out Pango.Rectangle ink_rect, out Pango.Rectangle logical_rect);
public void get_x_ranges (int start_index, int end_index, [CCode (array_length_cname = "n_ranges", array_length_pos = 3.1)] out int[] ranges);
public void index_to_x (int index_, bool trailing, out int x_pos);
+ [Version (since = "1.10")]
public Pango.LayoutLine @ref ();
public void unref ();
public bool x_to_index (int x_pos, out int index_, out int trailing);
@@ -469,6 +531,7 @@ namespace Pango {
public class MapEntry {
}
[CCode (cheader_filename = "pango/pango.h", type_id = "pango_renderer_get_type ()")]
+ [Version (since = "1.8")]
public abstract class Renderer : GLib.Object {
public Pango.Matrix matrix;
[CCode (has_construct_function = false)]
@@ -479,6 +542,7 @@ namespace Pango {
public void deactivate ();
public virtual void draw_error_underline (int x, int y, int width, int height);
public virtual void draw_glyph (Pango.Font font, Pango.Glyph glyph, double x, double y);
+ [Version (since = "1.22")]
public virtual void draw_glyph_item (string? text, Pango.GlyphItem glyph_item, int x, int y);
public virtual void draw_glyphs (Pango.Font font, Pango.GlyphString glyphs, int x, int y);
public void draw_layout (Pango.Layout layout, int x, int y);
@@ -489,14 +553,18 @@ namespace Pango {
public virtual void draw_trapezoid (Pango.RenderPart part, double y1_, double x11, double x21, double y2, double x12, double x22);
[NoWrapper]
public virtual void end ();
+ [Version (since = "1.38")]
public uint16 get_alpha (Pango.RenderPart part);
public unowned Pango.Color? get_color (Pango.RenderPart part);
+ [Version (since = "1.20")]
public unowned Pango.Layout? get_layout ();
+ [Version (since = "1.20")]
public unowned Pango.LayoutLine? get_layout_line ();
public unowned Pango.Matrix? get_matrix ();
public virtual void part_changed (Pango.RenderPart part);
[NoWrapper]
public virtual void prepare_run (Pango.LayoutRun run);
+ [Version (since = "1.38")]
public void set_alpha (Pango.RenderPart part, uint16 alpha);
public void set_color (Pango.RenderPart part, Pango.Color? color);
public void set_matrix (Pango.Matrix? matrix);
@@ -506,8 +574,11 @@ namespace Pango {
public class ScriptIter {
[CCode (has_construct_function = false)]
public ScriptIter (string text, int length);
+ [Version (since = "1.4")]
public void free ();
+ [Version (since = "1.4")]
public void get_range (out string start, out string end, out Pango.Script script);
+ [Version (since = "1.4")]
public bool next ();
}
[CCode (cheader_filename = "pango/pango.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "pango_tab_array_get_type ()")]
@@ -539,6 +610,7 @@ namespace Pango {
public weak GLib.SList<void*> extra_attrs;
}
[CCode (cheader_filename = "pango/pango.h", has_type_id = false)]
+ [Version (since = "1.38")]
public struct AttrFontFeatures {
public weak string features;
}
@@ -550,10 +622,11 @@ namespace Pango {
public Pango.Color? copy ();
public void free ();
public bool parse (string spec);
+ [Version (since = "1.16")]
public string to_string ();
}
[CCode (cheader_filename = "pango/pango.h", has_type_id = false)]
- [Deprecated (since = "1.38")]
+ [Version (deprecated = true, deprecated_since = "1.38")]
public struct EngineInfo {
public weak string id;
public weak string engine_type;
@@ -562,7 +635,7 @@ namespace Pango {
public int n_scripts;
}
[CCode (cheader_filename = "pango/pango.h", has_type_id = false)]
- [Deprecated (since = "1.38")]
+ [Version (deprecated = true, deprecated_since = "1.38")]
public struct EngineScriptInfo {
public Pango.Script script;
public weak string langs;
@@ -584,6 +657,7 @@ namespace Pango {
public Pango.GlyphVisAttr attr;
}
[CCode (cheader_filename = "pango/pango.h", type_id = "pango_glyph_item_iter_get_type ()")]
+ [Version (since = "1.22")]
public struct GlyphItemIter {
public weak Pango.GlyphItem glyph_item;
public weak string text;
@@ -625,6 +699,7 @@ namespace Pango {
public uint is_word_boundary;
}
[CCode (cheader_filename = "pango/pango.h", type_id = "pango_matrix_get_type ()")]
+ [Version (since = "1.6")]
public struct Matrix {
public double xx;
public double xy;
@@ -635,13 +710,19 @@ namespace Pango {
public void concat (Pango.Matrix new_matrix);
public Pango.Matrix? copy ();
public void free ();
+ [Version (since = "1.12")]
public double get_font_scale_factor ();
+ [Version (since = "1.38")]
public void get_font_scale_factors (out double xscale, out double yscale);
public void rotate (double degrees);
public void scale (double scale_x, double scale_y);
+ [Version (since = "1.16")]
public void transform_distance (ref double dx, ref double dy);
+ [Version (since = "1.16")]
public void transform_pixel_rectangle (ref Pango.Rectangle? rect);
+ [Version (since = "1.16")]
public void transform_point (ref double x, ref double y);
+ [Version (since = "1.16")]
public void transform_rectangle (ref Pango.Rectangle? rect);
public void translate (double tx, double ty);
}
@@ -693,10 +774,12 @@ namespace Pango {
FONT_FEATURES,
FOREGROUND_ALPHA,
BACKGROUND_ALPHA;
+ [Version (since = "1.22")]
public static unowned string? get_name (Pango.AttrType type);
public static Pango.AttrType register (string name);
}
[CCode (cheader_filename = "pango/pango.h", cprefix = "PANGO_BIDI_TYPE_", type_id = "pango_bidi_type_get_type ()")]
+ [Version (since = "1.22")]
public enum BidiType {
L,
LRE,
@@ -755,6 +838,7 @@ namespace Pango {
GRAVITY
}
[CCode (cheader_filename = "pango/pango.h", cprefix = "PANGO_GRAVITY_", type_id = "pango_gravity_get_type ()")]
+ [Version (since = "1.16")]
public enum Gravity {
SOUTH,
EAST,
@@ -763,16 +847,19 @@ namespace Pango {
AUTO;
public static Pango.Gravity get_for_matrix (Pango.Matrix? matrix);
public static Pango.Gravity get_for_script (Pango.Script script, Pango.Gravity base_gravity, Pango.GravityHint hint);
+ [Version (since = "1.26")]
public static Pango.Gravity get_for_script_and_width (Pango.Script script, bool wide, Pango.Gravity base_gravity, Pango.GravityHint hint);
public static double to_rotation (Pango.Gravity gravity);
}
[CCode (cheader_filename = "pango/pango.h", cprefix = "PANGO_GRAVITY_HINT_", type_id = "pango_gravity_hint_get_type ()")]
+ [Version (since = "1.16")]
public enum GravityHint {
NATURAL,
STRONG,
LINE
}
[CCode (cheader_filename = "pango/pango.h", cprefix = "PANGO_RENDER_PART_", type_id = "pango_render_part_get_type ()")]
+ [Version (since = "1.8")]
public enum RenderPart {
FOREGROUND,
BACKGROUND,
@@ -869,8 +956,39 @@ namespace Pango {
MIAO,
SHARADA,
SORA_SOMPENG,
- TAKRI;
+ TAKRI,
+ BASSA_VAH,
+ CAUCASIAN_ALBANIAN,
+ DUPLOYAN,
+ ELBASAN,
+ GRANTHA,
+ KHOJKI,
+ KHUDAWADI,
+ LINEAR_A,
+ MAHAJANI,
+ MANICHAEAN,
+ MENDE_KIKAKUI,
+ MODI,
+ MRO,
+ NABATAEAN,
+ OLD_NORTH_ARABIAN,
+ OLD_PERMIC,
+ PAHAWH_HMONG,
+ PALMYRENE,
+ PAU_CIN_HAU,
+ PSALTER_PAHLAVI,
+ SIDDHAM,
+ TIRHUTA,
+ WARANG_CITI,
+ AHOM,
+ ANATOLIAN_HIEROGLYPHS,
+ HATRAN,
+ MULTANI,
+ OLD_HUNGARIAN,
+ SIGNWRITING;
+ [Version (since = "1.4")]
public static Pango.Script for_unichar (unichar ch);
+ [Version (since = "1.4")]
public static Pango.Language? get_sample_language (Pango.Script script);
}
[CCode (cheader_filename = "pango/pango.h", cprefix = "PANGO_STRETCH_", type_id = "pango_stretch_get_type ()")]
@@ -934,27 +1052,32 @@ namespace Pango {
[CCode (cheader_filename = "pango/pango.h", instance_pos = 1.9)]
public delegate bool AttrFilterFunc (Pango.Attribute attribute);
[CCode (cheader_filename = "pango/pango.h", instance_pos = 2.9)]
+ [Version (since = "1.4")]
public delegate bool FontsetForeachFunc (Pango.Fontset fontset, Pango.Font font);
[CCode (cheader_filename = "pango/pango.h", cname = "PANGO_ANALYSIS_FLAG_CENTERED_BASELINE")]
+ [Version (since = "1.16")]
public const int ANALYSIS_FLAG_CENTERED_BASELINE;
[CCode (cheader_filename = "pango/pango.h", cname = "PANGO_ANALYSIS_FLAG_IS_ELLIPSIS")]
+ [Version (since = "1.36.7")]
public const int ANALYSIS_FLAG_IS_ELLIPSIS;
[CCode (cheader_filename = "pango/pango.h", cname = "PANGO_ATTR_INDEX_FROM_TEXT_BEGINNING")]
+ [Version (since = "1.24")]
public const int ATTR_INDEX_FROM_TEXT_BEGINNING;
[CCode (cheader_filename = "pango/pango.h", cname = "PANGO_ENGINE_TYPE_LANG")]
- [Deprecated (since = "1.38")]
+ [Version (deprecated = true, deprecated_since = "1.38")]
public const string ENGINE_TYPE_LANG;
[CCode (cheader_filename = "pango/pango.h", cname = "PANGO_ENGINE_TYPE_SHAPE")]
- [Deprecated (since = "1.38")]
+ [Version (deprecated = true, deprecated_since = "1.38")]
public const string ENGINE_TYPE_SHAPE;
[CCode (cheader_filename = "pango/pango.h", cname = "PANGO_GLYPH_EMPTY")]
public const Pango.Glyph GLYPH_EMPTY;
[CCode (cheader_filename = "pango/pango.h", cname = "PANGO_GLYPH_INVALID_INPUT")]
+ [Version (since = "1.20")]
public const Pango.Glyph GLYPH_INVALID_INPUT;
[CCode (cheader_filename = "pango/pango.h", cname = "PANGO_GLYPH_UNKNOWN_FLAG")]
public const Pango.Glyph GLYPH_UNKNOWN_FLAG;
[CCode (cheader_filename = "pango/pango.h", cname = "PANGO_RENDER_TYPE_NONE")]
- [Deprecated (since = "1.38")]
+ [Version (deprecated = true, deprecated_since = "1.38")]
public const string RENDER_TYPE_NONE;
[CCode (cheader_filename = "pango/pango.h", cname = "PANGO_SCALE")]
public const int SCALE;
@@ -971,22 +1094,28 @@ namespace Pango {
[CCode (cheader_filename = "pango/pango.h")]
public const string VERSION_STRING;
[CCode (cheader_filename = "pango/pango.h")]
+ [Version (since = "1.38")]
public static Pango.Attribute attr_background_alpha_new (uint16 alpha);
[CCode (cheader_filename = "pango/pango.h")]
public static Pango.Attribute attr_background_new (uint16 red, uint16 green, uint16 blue);
[CCode (cheader_filename = "pango/pango.h")]
+ [Version (since = "1.4")]
public static Pango.Attribute attr_fallback_new (bool enable_fallback);
[CCode (cheader_filename = "pango/pango.h")]
public static Pango.Attribute attr_family_new (string family);
[CCode (cheader_filename = "pango/pango.h")]
+ [Version (since = "1.38")]
public static Pango.Attribute attr_foreground_alpha_new (uint16 alpha);
[CCode (cheader_filename = "pango/pango.h")]
public static Pango.Attribute attr_foreground_new (uint16 red, uint16 green, uint16 blue);
[CCode (cheader_filename = "pango/pango.h")]
+ [Version (since = "1.16")]
public static Pango.Attribute attr_gravity_hint_new (Pango.GravityHint hint);
[CCode (cheader_filename = "pango/pango.h")]
+ [Version (since = "1.16")]
public static Pango.Attribute attr_gravity_new (Pango.Gravity gravity);
[CCode (cheader_filename = "pango/pango.h")]
+ [Version (since = "1.6")]
public static Pango.Attribute attr_letter_spacing_new (int letter_spacing);
[CCode (cheader_filename = "pango/pango.h")]
public static Pango.Attribute attr_rise_new (int rise);
@@ -995,18 +1124,20 @@ namespace Pango {
[CCode (cheader_filename = "pango/pango.h")]
public static Pango.Attribute attr_stretch_new (Pango.Stretch stretch);
[CCode (cheader_filename = "pango/pango.h")]
+ [Version (since = "1.8")]
public static Pango.Attribute attr_strikethrough_color_new (uint16 red, uint16 green, uint16 blue);
[CCode (cheader_filename = "pango/pango.h")]
public static Pango.Attribute attr_strikethrough_new (bool strikethrough);
[CCode (cheader_filename = "pango/pango.h")]
public static Pango.Attribute attr_style_new (Pango.Style style);
[CCode (cheader_filename = "pango/pango.h")]
- [Deprecated (replacement = "Pango.AttrType.get_name", since = "vala-0.18")]
+ [Version (deprecated_since = "vala-0.18", replacement = "Pango.AttrType.get_name")]
public static unowned string attr_type_get_name (Pango.AttrType type);
[CCode (cheader_filename = "pango/pango.h")]
- [Deprecated (replacement = "Pango.AttrType.get_name", since = "vala-0.18")]
+ [Version (deprecated_since = "vala-0.18", replacement = "Pango.AttrType.get_name")]
public static Pango.AttrType attr_type_register (string name);
[CCode (cheader_filename = "pango/pango.h")]
+ [Version (since = "1.8")]
public static Pango.Attribute attr_underline_color_new (uint16 red, uint16 green, uint16 blue);
[CCode (cheader_filename = "pango/pango.h")]
public static Pango.Attribute attr_underline_new (Pango.Underline underline);
@@ -1015,63 +1146,70 @@ namespace Pango {
[CCode (cheader_filename = "pango/pango.h")]
public static Pango.Attribute attr_weight_new (Pango.Weight weight);
[CCode (cheader_filename = "pango/pango.h")]
- [Deprecated (replacement = "Pango.BidiType.for_unichar", since = "vala-0.18")]
+ [Version (deprecated_since = "vala-0.18", replacement = "Pango.BidiType.for_unichar")]
public static Pango.BidiType bidi_type_for_unichar (unichar ch);
[CCode (cheader_filename = "pango/pango.h")]
public static void @break (string text, int length, Pango.Analysis analysis, [CCode (array_length_cname = "attrs_len", array_length_pos = 4.1)] Pango.LogAttr[] attrs);
[CCode (cheader_filename = "pango/pango.h")]
- [Deprecated (since = "1.38")]
+ [Version (deprecated = true, deprecated_since = "1.38")]
public static string? config_key_get (string key);
[CCode (cheader_filename = "pango/pango.h")]
- [Deprecated (since = "1.38")]
+ [Version (deprecated = true, deprecated_since = "1.38")]
public static string? config_key_get_system (string key);
[CCode (cheader_filename = "pango/pango.h")]
public static void default_break (string text, int length, Pango.Analysis? analysis, Pango.LogAttr attrs, int attrs_len);
[CCode (cheader_filename = "pango/pango.h")]
+ [Version (since = "1.16")]
public static void extents_to_pixels (Pango.Rectangle? inclusive, Pango.Rectangle? nearest);
[CCode (cheader_filename = "pango/pango.h")]
+ [Version (since = "1.4")]
public static Pango.Direction find_base_dir (string text, int length);
[CCode (cheader_filename = "pango/pango.h")]
public static void find_paragraph_boundary (string text, int length, out int paragraph_delimiter_index, out int next_paragraph_start);
[CCode (cheader_filename = "pango/pango.h")]
- [Deprecated (since = "1.38")]
+ [Version (deprecated = true, deprecated_since = "1.38")]
public static unowned string get_lib_subdirectory ();
[CCode (cheader_filename = "pango/pango.h")]
public static void get_log_attrs (string text, int length, int level, Pango.Language language, [CCode (array_length_cname = "attrs_len", array_length_pos = 5.1)] Pango.LogAttr[] log_attrs);
[CCode (cheader_filename = "pango/pango.h")]
public static bool get_mirror_char (unichar ch, unichar mirrored_ch);
[CCode (cheader_filename = "pango/pango.h")]
- [Deprecated (since = "1.38")]
+ [Version (deprecated = true, deprecated_since = "1.38")]
public static unowned string get_sysconf_subdirectory ();
[CCode (cheader_filename = "pango/pango.h")]
- [Deprecated (replacement = "Pango.Gravity.get_for_matrix", since = "vala-0.18")]
+ [Version (deprecated_since = "vala-0.18", replacement = "Pango.Gravity.get_for_matrix")]
public static Pango.Gravity gravity_get_for_matrix (Pango.Matrix matrix);
[CCode (cheader_filename = "pango/pango.h")]
- [Deprecated (replacement = "Pango.Gravity.get_for_script", since = "vala-0.18")]
+ [Version (deprecated_since = "vala-0.18", replacement = "Pango.Gravity.get_for_script")]
public static Pango.Gravity gravity_get_for_script (Pango.Script script, Pango.Gravity base_gravity, Pango.GravityHint hint);
[CCode (cheader_filename = "pango/pango.h")]
- [Deprecated (replacement = "Pango.Gravity.get_for_script_and_width", since = "vala-0.18")]
+ [Version (deprecated_since = "vala-0.18", replacement = "Pango.Gravity.get_for_script_and_width")]
public static Pango.Gravity gravity_get_for_script_and_width (Pango.Script script, bool wide, Pango.Gravity base_gravity, Pango.GravityHint hint);
[CCode (cheader_filename = "pango/pango.h")]
- [Deprecated (replacement = "Pango.Gravity.get_to_rotation", since = "vala-0.18")]
+ [Version (deprecated_since = "vala-0.18", replacement = "Pango.Gravity.get_to_rotation")]
public static double gravity_to_rotation (Pango.Gravity gravity);
[CCode (cheader_filename = "pango/pango.h")]
+ [Version (since = "1.10")]
public static bool is_zero_width (unichar ch);
[CCode (cheader_filename = "pango/pango.h")]
public static GLib.List<Pango.Item> itemize (Pango.Context context, string text, int start_index, int length, Pango.AttrList attrs, Pango.AttrIterator? cached_iter);
[CCode (cheader_filename = "pango/pango.h")]
+ [Version (since = "1.4")]
public static GLib.List<Pango.Item> 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);
[CCode (cheader_filename = "pango/pango.h")]
+ [Version (since = "1.4")]
public static uint8 log2vis_get_embedding_levels (string text, int length, Pango.Direction pbase_dir);
[CCode (cheader_filename = "pango/pango.h")]
- [Deprecated (since = "1.32")]
+ [Version (deprecated = true, deprecated_since = "1.32")]
public static void lookup_aliases (string fontname, [CCode (array_length_cname = "n_families", array_length_pos = 2.1)] out string[] families);
[CCode (cheader_filename = "pango/pango.h")]
+ [Version (since = "1.31.0")]
public static bool markup_parser_finish (GLib.MarkupParseContext context, out Pango.AttrList attr_list, out string text, out unichar accel_char) throws GLib.Error;
[CCode (cheader_filename = "pango/pango.h")]
+ [Version (since = "1.31.0")]
public static unowned GLib.MarkupParseContext markup_parser_new (unichar accel_marker);
[CCode (cheader_filename = "pango/pango.h")]
- [Deprecated (since = "1.38")]
+ [Version (deprecated = true, deprecated_since = "1.38", since = "1.16")]
public static bool parse_enum (GLib.Type type, string? str, out int value, bool warn, out string possible_values);
[CCode (cheader_filename = "pango/pango.h")]
public static bool parse_markup (string markup_text, int length, unichar accel_marker, out Pango.AttrList attr_list, out string text, out unichar accel_char) throws GLib.Error;
@@ -1084,50 +1222,57 @@ namespace Pango {
[CCode (cheader_filename = "pango/pango.h")]
public static bool parse_weight (string str, out Pango.Weight weight, bool warn);
[CCode (cheader_filename = "pango/pango.h")]
+ [Version (since = "1.12")]
public static void quantize_line_geometry (ref int thickness, ref int position);
[CCode (cheader_filename = "pango/pango.h")]
- [Deprecated (since = "1.38")]
+ [Version (deprecated = true, deprecated_since = "1.38")]
public static int read_line ([CCode (type = "FILE*")] GLib.FileStream stream, GLib.StringBuilder str);
[CCode (cheader_filename = "pango/pango.h")]
public static GLib.List<Pango.Item> reorder_items (GLib.List<Pango.Item> logical_items);
[CCode (cheader_filename = "pango/pango.h")]
- [Deprecated (since = "1.38")]
+ [Version (deprecated = true, deprecated_since = "1.38")]
public static bool scan_int (ref string pos, out int @out);
[CCode (cheader_filename = "pango/pango.h")]
- [Deprecated (since = "1.38")]
+ [Version (deprecated = true, deprecated_since = "1.38")]
public static bool scan_string (ref string pos, GLib.StringBuilder @out);
[CCode (cheader_filename = "pango/pango.h")]
- [Deprecated (since = "1.38")]
+ [Version (deprecated = true, deprecated_since = "1.38")]
public static bool scan_word (ref string pos, out unowned GLib.StringBuilder @out);
[CCode (cheader_filename = "pango/pango.h")]
- [Deprecated (replacement = "Pango.Script.for_unichar", since = "vala-0.18")]
+ [Version (deprecated_since = "vala-0.18", replacement = "Pango.Script.for_unichar")]
public static Pango.Script script_for_unichar (unichar ch);
[CCode (cheader_filename = "pango/pango.h")]
- [Deprecated (replacement = "Pango.Script.get_sample_language", since = "vala-0.18")]
+ [Version (deprecated_since = "vala-0.18", replacement = "Pango.Script.get_sample_language")]
public static Pango.Language script_get_sample_language (Pango.Script script);
[CCode (cheader_filename = "pango/pango.h")]
public static void shape (string text, int length, Pango.Analysis analysis, Pango.GlyphString glyphs);
[CCode (cheader_filename = "pango/pango.h")]
+ [Version (since = "1.32")]
public static void shape_full (string item_text, int item_length, string? paragraph_text, int paragraph_length, Pango.Analysis analysis, Pango.GlyphString glyphs);
[CCode (cheader_filename = "pango/pango.h")]
- [Deprecated (since = "1.38")]
+ [Version (deprecated = true, deprecated_since = "1.38")]
public static bool skip_space (ref string pos);
[CCode (array_length = false, array_null_terminated = true, cheader_filename = "pango/pango.h")]
- [Deprecated (since = "1.38")]
+ [Version (deprecated = true, deprecated_since = "1.38")]
public static string[] split_file_list (string str);
[CCode (cheader_filename = "pango/pango.h")]
- [Deprecated (since = "1.38")]
+ [Version (deprecated = true, deprecated_since = "1.38")]
public static string trim_string (string str);
[CCode (cheader_filename = "pango/pango.h")]
public static Pango.Direction unichar_direction (unichar ch);
[CCode (cheader_filename = "pango/pango.h")]
+ [Version (since = "1.16")]
public static int units_from_double (double d);
[CCode (cheader_filename = "pango/pango.h")]
+ [Version (since = "1.16")]
public static double units_to_double (int i);
[CCode (cheader_filename = "pango/pango.h")]
+ [Version (since = "1.16")]
public static int version ();
[CCode (cheader_filename = "pango/pango.h")]
+ [Version (since = "1.16")]
public static unowned string? version_check (int required_major, int required_minor, int required_micro);
[CCode (cheader_filename = "pango/pango.h")]
+ [Version (since = "1.16")]
public static unowned string version_string ();
}
diff --git a/vapi/pangocairo.vapi b/vapi/pangocairo.vapi
index 11230463a..d8d914e23 100644
--- a/vapi/pangocairo.vapi
+++ b/vapi/pangocairo.vapi
@@ -4,66 +4,93 @@
namespace Pango {
[CCode (cheader_filename = "pango/pangocairo.h", type_id = "pango_cairo_font_get_type ()")]
[GIR (name = "Font")]
+ [Version (since = "1.18")]
public interface CairoFont : Pango.Font {
public unowned Cairo.ScaledFont? get_scaled_font ();
}
[CCode (cheader_filename = "pango/pangocairo.h", type_id = "pango_cairo_font_map_get_type ()")]
[GIR (name = "FontMap")]
+ [Version (since = "1.10")]
public interface CairoFontMap : Pango.FontMap {
- [Deprecated (since = "1.22")]
+ [Version (deprecated = true, deprecated_since = "1.22", since = "1.10")]
public unowned Pango.Context create_context ();
public static unowned Pango.FontMap get_default ();
+ [Version (since = "1.18")]
public Cairo.FontType get_font_type ();
public double get_resolution ();
public static Pango.FontMap @new ();
+ [Version (since = "1.18")]
public static Pango.FontMap? new_for_font_type (Cairo.FontType fonttype);
+ [Version (since = "1.22")]
public void set_default ();
public void set_resolution (double dpi);
}
[CCode (cheader_filename = "pango/pangocairo.h", instance_pos = 3.9)]
public delegate void CairoShapeRendererFunc (Cairo.Context cr, Pango.AttrShape attr, bool do_path);
[CCode (cheader_filename = "pango/pangocairo.h")]
+ [Version (since = "1.10")]
public static unowned Cairo.FontOptions? cairo_context_get_font_options (Pango.Context context);
[CCode (cheader_filename = "pango/pangocairo.h")]
+ [Version (since = "1.10")]
public static double cairo_context_get_resolution (Pango.Context context);
[CCode (cheader_filename = "pango/pangocairo.h")]
+ [Version (since = "1.18")]
public static unowned Pango.CairoShapeRendererFunc? cairo_context_get_shape_renderer (Pango.Context context);
[CCode (cheader_filename = "pango/pangocairo.h")]
+ [Version (since = "1.10")]
public static void cairo_context_set_font_options (Pango.Context context, Cairo.FontOptions? options);
[CCode (cheader_filename = "pango/pangocairo.h")]
+ [Version (since = "1.10")]
public static void cairo_context_set_resolution (Pango.Context context, double dpi);
[CCode (cheader_filename = "pango/pangocairo.h")]
+ [Version (since = "1.18")]
public static void cairo_context_set_shape_renderer (Pango.Context context, owned Pango.CairoShapeRendererFunc? func);
[CCode (cheader_filename = "pango/pangocairo.h")]
+ [Version (since = "1.22")]
public static Pango.Context cairo_create_context (Cairo.Context cr);
[CCode (cheader_filename = "pango/pangocairo.h")]
+ [Version (since = "1.10")]
public static Pango.Layout cairo_create_layout (Cairo.Context cr);
[CCode (cheader_filename = "pango/pangocairo.h")]
+ [Version (since = "1.14")]
public static void cairo_error_underline_path (Cairo.Context cr, double x, double y, double width, double height);
[CCode (cheader_filename = "pango/pangocairo.h")]
+ [Version (since = "1.10")]
public static unowned Pango.FontMap cairo_font_map_get_default ();
[CCode (cheader_filename = "pango/pangocairo.h")]
+ [Version (since = "1.10")]
public static Pango.FontMap cairo_font_map_new ();
[CCode (cheader_filename = "pango/pangocairo.h")]
+ [Version (since = "1.18")]
public static Pango.FontMap? cairo_font_map_new_for_font_type (Cairo.FontType fonttype);
[CCode (cheader_filename = "pango/pangocairo.h")]
+ [Version (since = "1.10")]
public static void cairo_glyph_string_path (Cairo.Context cr, Pango.Font font, Pango.GlyphString glyphs);
[CCode (cheader_filename = "pango/pangocairo.h")]
+ [Version (since = "1.10")]
public static void cairo_layout_line_path (Cairo.Context cr, Pango.LayoutLine line);
[CCode (cheader_filename = "pango/pangocairo.h")]
+ [Version (since = "1.10")]
public static void cairo_layout_path (Cairo.Context cr, Pango.Layout layout);
[CCode (cheader_filename = "pango/pangocairo.h")]
+ [Version (since = "1.14")]
public static void cairo_show_error_underline (Cairo.Context cr, double x, double y, double width, double height);
[CCode (cheader_filename = "pango/pangocairo.h")]
+ [Version (since = "1.22")]
public static void cairo_show_glyph_item (Cairo.Context cr, string text, Pango.GlyphItem glyph_item);
[CCode (cheader_filename = "pango/pangocairo.h")]
+ [Version (since = "1.10")]
public static void cairo_show_glyph_string (Cairo.Context cr, Pango.Font font, Pango.GlyphString glyphs);
[CCode (cheader_filename = "pango/pangocairo.h")]
+ [Version (since = "1.10")]
public static void cairo_show_layout (Cairo.Context cr, Pango.Layout layout);
[CCode (cheader_filename = "pango/pangocairo.h")]
+ [Version (since = "1.10")]
public static void cairo_show_layout_line (Cairo.Context cr, Pango.LayoutLine line);
[CCode (cheader_filename = "pango/pangocairo.h")]
+ [Version (since = "1.10")]
public static void cairo_update_context (Cairo.Context cr, Pango.Context context);
[CCode (cheader_filename = "pango/pangocairo.h")]
+ [Version (since = "1.10")]
public static void cairo_update_layout (Cairo.Context cr, Pango.Layout layout);
}
diff --git a/vapi/poppler-glib.vapi b/vapi/poppler-glib.vapi
index 863d0fa64..7ec7092de 100644
--- a/vapi/poppler-glib.vapi
+++ b/vapi/poppler-glib.vapi
@@ -49,11 +49,17 @@ namespace Poppler {
public Poppler.AnnotFlag get_flags ();
public string get_modified ();
public string get_name ();
+ [Version (since = "0.14")]
public int get_page_index ();
+ [Version (since = "0.26")]
public Poppler.Rectangle get_rectangle ();
+ [Version (since = "0.16")]
public void set_color (Poppler.Color? poppler_color);
+ [Version (since = "0.12")]
public void set_contents (string contents);
+ [Version (since = "0.22")]
public void set_flags (Poppler.AnnotFlag flags);
+ [Version (since = "0.26")]
public void set_rectangle (Poppler.Rectangle poppler_rect);
}
[CCode (cheader_filename = "poppler.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "poppler_annot_callout_line_get_type ()")]
@@ -74,15 +80,20 @@ namespace Poppler {
[CCode (cheader_filename = "poppler.h", type_id = "poppler_annot_circle_get_type ()")]
public class AnnotCircle : Poppler.AnnotMarkup {
[CCode (has_construct_function = false, type = "PopplerAnnot*")]
+ [Version (since = "0.26")]
public AnnotCircle (Poppler.Document doc, Poppler.Rectangle rect);
+ [Version (since = "0.26")]
public Poppler.Color get_interior_color ();
+ [Version (since = "0.26")]
public void set_interior_color (Poppler.Color? poppler_color);
}
[CCode (cheader_filename = "poppler.h", type_id = "poppler_annot_file_attachment_get_type ()")]
public class AnnotFileAttachment : Poppler.AnnotMarkup {
[CCode (has_construct_function = false)]
protected AnnotFileAttachment ();
+ [Version (since = "0.14")]
public Poppler.Attachment get_attachment ();
+ [Version (since = "0.14")]
public string get_name ();
}
[CCode (cheader_filename = "poppler.h", type_id = "poppler_annot_free_text_get_type ()")]
@@ -95,7 +106,9 @@ namespace Poppler {
[CCode (cheader_filename = "poppler.h", type_id = "poppler_annot_line_get_type ()")]
public class AnnotLine : Poppler.AnnotMarkup {
[CCode (has_construct_function = false, type = "PopplerAnnot*")]
+ [Version (since = "0.26")]
public AnnotLine (Poppler.Document doc, Poppler.Rectangle rect, Poppler.Point start, Poppler.Point end);
+ [Version (since = "0.26")]
public void set_vertices (Poppler.Point start, Poppler.Point end);
}
[CCode (cheader_filename = "poppler.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "poppler_annot_mapping_get_type ()")]
@@ -117,59 +130,81 @@ namespace Poppler {
public string get_label ();
public double get_opacity ();
public bool get_popup_is_open ();
+ [Version (since = "0.12")]
public bool get_popup_rectangle (out Poppler.Rectangle poppler_rect);
public Poppler.AnnotMarkupReplyType get_reply_to ();
public string get_subject ();
+ [Version (since = "0.12")]
public bool has_popup ();
+ [Version (since = "0.16")]
public void set_label (string? label);
+ [Version (since = "0.16")]
public void set_opacity (double opacity);
+ [Version (since = "0.16")]
public void set_popup (Poppler.Rectangle popup_rect);
+ [Version (since = "0.16")]
public void set_popup_is_open (bool is_open);
+ [Version (since = "0.33")]
public void set_popup_rectangle (Poppler.Rectangle poppler_rect);
}
[CCode (cheader_filename = "poppler.h", type_id = "poppler_annot_movie_get_type ()")]
public class AnnotMovie : Poppler.Annot {
[CCode (has_construct_function = false)]
protected AnnotMovie ();
+ [Version (since = "0.14")]
public unowned Poppler.Movie get_movie ();
+ [Version (since = "0.14")]
public string get_title ();
}
[CCode (cheader_filename = "poppler.h", type_id = "poppler_annot_screen_get_type ()")]
public class AnnotScreen : Poppler.Annot {
[CCode (has_construct_function = false)]
protected AnnotScreen ();
+ [Version (since = "0.14")]
public unowned Poppler.Action get_action ();
}
[CCode (cheader_filename = "poppler.h", type_id = "poppler_annot_square_get_type ()")]
public class AnnotSquare : Poppler.AnnotMarkup {
[CCode (has_construct_function = false, type = "PopplerAnnot*")]
+ [Version (since = "0.26")]
public AnnotSquare (Poppler.Document doc, Poppler.Rectangle rect);
+ [Version (since = "0.26")]
public Poppler.Color get_interior_color ();
+ [Version (since = "0.26")]
public void set_interior_color (Poppler.Color? poppler_color);
}
[CCode (cheader_filename = "poppler.h", type_id = "poppler_annot_text_get_type ()")]
public class AnnotText : Poppler.AnnotMarkup {
[CCode (has_construct_function = false, type = "PopplerAnnot*")]
+ [Version (since = "0.16")]
public AnnotText (Poppler.Document doc, Poppler.Rectangle rect);
public string get_icon ();
public bool get_is_open ();
public Poppler.AnnotTextState get_state ();
+ [Version (since = "0.16")]
public void set_icon (string icon);
+ [Version (since = "0.16")]
public void set_is_open (bool is_open);
}
[CCode (cheader_filename = "poppler.h", type_id = "poppler_annot_text_markup_get_type ()")]
public class AnnotTextMarkup : Poppler.AnnotMarkup {
[CCode (has_construct_function = false)]
protected AnnotTextMarkup ();
+ [Version (since = "0.26")]
public GLib.Array<Poppler.Quadrilateral> get_quadrilaterals ();
[CCode (has_construct_function = false, type = "PopplerAnnot*")]
+ [Version (since = "0.26")]
public AnnotTextMarkup.highlight (Poppler.Document doc, Poppler.Rectangle rect, GLib.Array<Poppler.Quadrilateral> quadrilaterals);
+ [Version (since = "0.26")]
public void set_quadrilaterals (GLib.Array<Poppler.Quadrilateral> quadrilaterals);
[CCode (has_construct_function = false, type = "PopplerAnnot*")]
+ [Version (since = "0.26")]
public AnnotTextMarkup.squiggly (Poppler.Document doc, Poppler.Rectangle rect, GLib.Array<Poppler.Quadrilateral> quadrilaterals);
[CCode (has_construct_function = false, type = "PopplerAnnot*")]
+ [Version (since = "0.26")]
public AnnotTextMarkup.strikeout (Poppler.Document doc, Poppler.Rectangle rect, GLib.Array<Poppler.Quadrilateral> quadrilaterals);
[CCode (has_construct_function = false, type = "PopplerAnnot*")]
+ [Version (since = "0.26")]
public AnnotTextMarkup.underline (Poppler.Document doc, Poppler.Rectangle rect, GLib.Array<Poppler.Quadrilateral> quadrilaterals);
}
[CCode (cheader_filename = "poppler.h", type_id = "poppler_attachment_get_type ()")]
@@ -223,31 +258,50 @@ namespace Poppler {
[CCode (has_construct_function = false)]
public Document.from_file (string uri, string? password) throws GLib.Error;
[CCode (has_construct_function = false)]
+ [Version (since = "0.22")]
public Document.from_gfile (GLib.File file, string? password, GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (has_construct_function = false)]
+ [Version (since = "0.22")]
public Document.from_stream (GLib.InputStream stream, int64 length, string? password, GLib.Cancellable? cancellable = null) throws GLib.Error;
public GLib.List<Poppler.Attachment> get_attachments ();
+ [Version (since = "0.16")]
public string get_author ();
+ [Version (since = "0.16")]
public long get_creation_date ();
+ [Version (since = "0.16")]
public string get_creator ();
public Poppler.FormField get_form_field (int id);
+ [Version (since = "0.16")]
public bool get_id (out string permanent_id, out string update_id);
+ [Version (since = "0.16")]
public string get_keywords ();
+ [Version (since = "0.16")]
public string get_metadata ();
+ [Version (since = "0.16")]
public long get_modification_date ();
+ [Version (since = "0.18")]
public uint get_n_attachments ();
public int get_n_pages ();
public Poppler.Page get_page (int index);
public Poppler.Page get_page_by_label (string label);
+ [Version (since = "0.16")]
public Poppler.PageLayout get_page_layout ();
+ [Version (since = "0.16")]
public Poppler.PageMode get_page_mode ();
+ [Version (since = "0.16")]
public void get_pdf_version (out uint major_version, out uint minor_version);
+ [Version (since = "0.16")]
public string get_pdf_version_string ();
+ [Version (since = "0.16")]
public Poppler.Permissions get_permissions ();
+ [Version (since = "0.16")]
public string get_producer ();
+ [Version (since = "0.16")]
public string get_subject ();
+ [Version (since = "0.16")]
public string get_title ();
public bool has_attachments ();
+ [Version (since = "0.16")]
public bool is_linearized ();
public bool save (string uri) throws GLib.Error;
public bool save_a_copy (string uri) throws GLib.Error;
@@ -287,11 +341,13 @@ namespace Poppler {
public class FontsIter {
public Poppler.FontsIter copy ();
public void free ();
+ [Version (since = "0.20")]
public unowned string get_encoding ();
public unowned string get_file_name ();
public Poppler.FontType get_font_type ();
public unowned string get_full_name ();
public unowned string get_name ();
+ [Version (since = "0.20")]
public unowned string get_substitute_name ();
public bool is_embedded ();
public bool is_subset ();
@@ -317,12 +373,16 @@ namespace Poppler {
public void choice_set_text (string text);
public void choice_toggle_item (int index);
public void choice_unselect_all ();
+ [Version (since = "0.18")]
public unowned Poppler.Action get_action ();
public Poppler.FormFieldType get_field_type ();
public double get_font_size ();
public int get_id ();
+ [Version (since = "0.16")]
public string get_mapping_name ();
+ [Version (since = "0.16")]
public string get_name ();
+ [Version (since = "0.16")]
public string get_partial_name ();
public bool is_read_only ();
public bool text_do_scroll ();
@@ -370,23 +430,35 @@ namespace Poppler {
public class Layer : GLib.Object {
[CCode (has_construct_function = false)]
protected Layer ();
+ [Version (since = "0.12")]
public int get_radio_button_group_id ();
+ [Version (since = "0.12")]
public unowned string get_title ();
+ [Version (since = "0.12")]
public void hide ();
+ [Version (since = "0.12")]
public bool is_parent ();
+ [Version (since = "0.12")]
public bool is_visible ();
+ [Version (since = "0.12")]
public void show ();
}
[CCode (cheader_filename = "poppler.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "poppler_layers_iter_get_type ()")]
[Compact]
public class LayersIter {
[CCode (has_construct_function = false)]
+ [Version (since = "0.12")]
public LayersIter (Poppler.Document document);
public Poppler.LayersIter copy ();
+ [Version (since = "0.12")]
public void free ();
+ [Version (since = "0.12")]
public Poppler.LayersIter get_child ();
+ [Version (since = "0.12")]
public Poppler.Layer get_layer ();
+ [Version (since = "0.12")]
public string get_title ();
+ [Version (since = "0.12")]
public bool next ();
}
[CCode (cheader_filename = "poppler.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "poppler_link_mapping_get_type ()")]
@@ -403,18 +475,26 @@ namespace Poppler {
public class Media : GLib.Object {
[CCode (has_construct_function = false)]
protected Media ();
+ [Version (since = "0.14")]
public unowned string get_filename ();
+ [Version (since = "0.14")]
public unowned string get_mime_type ();
+ [Version (since = "0.14")]
public bool is_embedded ();
+ [Version (since = "0.14")]
public bool save (string filename) throws GLib.Error;
+ [Version (since = "0.14")]
public bool save_to_callback (Poppler.MediaSaveFunc save_func) throws GLib.Error;
}
[CCode (cheader_filename = "poppler.h", type_id = "poppler_movie_get_type ()")]
public class Movie : GLib.Object {
[CCode (has_construct_function = false)]
protected Movie ();
+ [Version (since = "0.14")]
public unowned string get_filename ();
+ [Version (since = "0.14")]
public bool need_poster ();
+ [Version (since = "0.14")]
public bool show_controls ();
}
[CCode (cheader_filename = "poppler.h", type_id = "poppler_ps_file_get_type ()")]
@@ -429,13 +509,16 @@ namespace Poppler {
public class Page : GLib.Object {
[CCode (has_construct_function = false)]
protected Page ();
+ [Version (since = "0.16")]
public void add_annot (Poppler.Annot annot);
public GLib.List<Poppler.Rectangle> find_text (string text);
+ [Version (since = "0.22")]
public GLib.List<Poppler.Rectangle> find_text_with_options (string text, Poppler.FindFlags options);
public static void free_annot_mapping (GLib.List<Poppler.AnnotMapping> list);
public static void free_form_field_mapping (GLib.List<Poppler.FormFieldMapping> list);
public static void free_image_mapping (GLib.List<Poppler.ImageMapping> list);
public static void free_link_mapping (GLib.List<Poppler.LinkMapping> list);
+ [Version (since = "0.18")]
public static void free_text_attributes (GLib.List<Poppler.TextAttributes> list);
public GLib.List<Poppler.AnnotMapping> get_annot_mapping ();
public Poppler.Rectangle get_crop_box ();
@@ -444,29 +527,40 @@ namespace Poppler {
public Cairo.Surface get_image (int image_id);
public GLib.List<Poppler.ImageMapping> get_image_mapping ();
public int get_index ();
+ [Version (since = "0.16")]
public string get_label ();
public GLib.List<Poppler.LinkMapping> get_link_mapping ();
+ [Version (since = "0.16")]
public Cairo.Region get_selected_region (double scale, Poppler.SelectionStyle style, Poppler.Rectangle selection);
+ [Version (since = "0.16")]
public string get_selected_text (Poppler.SelectionStyle style, Poppler.Rectangle selection);
- [Deprecated (since = "0.16")]
+ [Version (deprecated = true, deprecated_since = "0.16")]
public GLib.List<Poppler.Rectangle> get_selection_region (double scale, Poppler.SelectionStyle style, Poppler.Rectangle selection);
public void get_size (out double width, out double height);
+ [Version (since = "0.16")]
public string get_text ();
+ [Version (since = "0.18")]
public GLib.List<Poppler.TextAttributes> get_text_attributes ();
+ [Version (since = "0.26")]
public GLib.List<Poppler.TextAttributes> get_text_attributes_for_area (Poppler.Rectangle area);
+ [Version (since = "0.26")]
public string get_text_for_area (Poppler.Rectangle area);
+ [Version (since = "0.16")]
public bool get_text_layout ([CCode (array_length_cname = "n_rectangles", array_length_pos = 1.1, array_length_type = "guint")] out Poppler.Rectangle[] rectangles);
+ [Version (since = "0.26")]
public bool get_text_layout_for_area (Poppler.Rectangle area, [CCode (array_length_cname = "n_rectangles", array_length_pos = 2.1, array_length_type = "guint")] out Poppler.Rectangle[] rectangles);
public Cairo.Surface get_thumbnail ();
public bool get_thumbnail_size (out int width, out int height);
public Poppler.PageTransition get_transition ();
+ [Version (since = "0.22")]
public void remove_annot (Poppler.Annot annot);
public void render ([CCode (type = "cairo_t*")] Cairo.Context cairo);
public void render_for_printing ([CCode (type = "cairo_t*")] Cairo.Context cairo);
+ [Version (since = "0.16")]
public void render_for_printing_with_options ([CCode (type = "cairo_t*")] Cairo.Context cairo, Poppler.PrintFlags options);
public void render_selection ([CCode (type = "cairo_t*")] Cairo.Context cairo, Poppler.Rectangle selection, Poppler.Rectangle old_selection, Poppler.SelectionStyle style, Poppler.Color glyph_color, Poppler.Color background_color);
public void render_to_ps (Poppler.PSFile ps_file);
- [Deprecated (since = "0.16")]
+ [Version (deprecated = true, deprecated_since = "0.16")]
public static void selection_region_free (GLib.List<Poppler.Rectangle> region);
public string label { owned get; }
}
@@ -491,8 +585,11 @@ namespace Poppler {
public double x;
public double y;
[CCode (has_construct_function = false)]
+ [Version (since = "0.26")]
public Point ();
+ [Version (since = "0.26")]
public Poppler.Point copy ();
+ [Version (since = "0.26")]
public void free ();
}
[CCode (cheader_filename = "poppler.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "poppler_quadrilateral_get_type ()")]
@@ -503,8 +600,11 @@ namespace Poppler {
public Poppler.Point p3;
public Poppler.Point p4;
[CCode (has_construct_function = false)]
+ [Version (since = "0.26")]
public Quadrilateral ();
+ [Version (since = "0.26")]
public Poppler.Quadrilateral copy ();
+ [Version (since = "0.26")]
public void free ();
}
[CCode (cheader_filename = "poppler.h", type_id = "poppler_structure_element_get_type ()")]
@@ -512,78 +612,139 @@ namespace Poppler {
[CCode (has_construct_function = false)]
protected StructureElement ();
public string get_abbreviation ();
+ [Version (since = "0.26")]
public string get_actual_text ();
+ [Version (since = "0.26")]
public string get_alt_text ();
+ [Version (since = "0.26")]
public bool get_background_color (out unowned Poppler.Color color);
+ [Version (since = "0.26")]
public double get_baseline_shift ();
+ [Version (since = "0.26")]
public Poppler.StructureBlockAlign get_block_align ();
+ [Version (since = "0.26")]
public bool get_border_color ([CCode (array_length = false)] out unowned Poppler.Color[] colors);
+ [Version (since = "0.26")]
public void get_border_style ([CCode (array_length = false)] out Poppler.StructureBorderStyle[] border_styles);
+ [Version (since = "0.26")]
public bool get_border_thickness ([CCode (array_length = false)] out double[] border_thicknesses);
+ [Version (since = "0.26")]
public bool get_bounding_box (out Poppler.Rectangle bounding_box);
+ [Version (since = "0.26")]
public bool get_color (out unowned Poppler.Color color);
+ [Version (since = "0.26")]
public uint get_column_count ();
[CCode (array_length_pos = 0.1, array_length_type = "guint")]
+ [Version (since = "0.26")]
public double[] get_column_gaps ();
[CCode (array_length_pos = 0.1, array_length_type = "guint")]
+ [Version (since = "0.26")]
public double[] get_column_widths ();
+ [Version (since = "0.26")]
public double get_end_indent ();
+ [Version (since = "0.26")]
public string get_form_description ();
+ [Version (since = "0.26")]
public Poppler.StructureFormRole get_form_role ();
+ [Version (since = "0.26")]
public Poppler.StructureFormState get_form_state ();
+ [Version (since = "0.26")]
public Poppler.StructureGlyphOrientation get_glyph_orientation ();
+ [Version (since = "0.26")]
public double get_height ();
+ [Version (since = "0.26")]
public string get_id ();
+ [Version (since = "0.26")]
public Poppler.StructureInlineAlign get_inline_align ();
+ [Version (since = "0.26")]
public Poppler.StructureElementKind get_kind ();
+ [Version (since = "0.26")]
public string get_language ();
+ [Version (since = "0.26")]
public double get_line_height ();
+ [Version (since = "0.26")]
public Poppler.StructureListNumbering get_list_numbering ();
+ [Version (since = "0.26")]
public void get_padding ([CCode (array_length = false)] out double[] paddings);
+ [Version (since = "0.26")]
public int get_page ();
+ [Version (since = "0.26")]
public Poppler.StructurePlacement get_placement ();
+ [Version (since = "0.26")]
public Poppler.StructureRubyAlign get_ruby_align ();
+ [Version (since = "0.26")]
public Poppler.StructureRubyPosition get_ruby_position ();
+ [Version (since = "0.26")]
public double get_space_after ();
+ [Version (since = "0.26")]
public double get_space_before ();
+ [Version (since = "0.26")]
public double get_start_indent ();
+ [Version (since = "0.26")]
public void get_table_border_style ([CCode (array_length = false)] out Poppler.StructureBorderStyle[] border_styles);
+ [Version (since = "0.26")]
public uint get_table_column_span ();
[CCode (array_length = false, array_null_terminated = true)]
+ [Version (since = "0.26")]
public string[] get_table_headers ();
+ [Version (since = "0.26")]
public void get_table_padding ([CCode (array_length = false)] out double[] paddings);
+ [Version (since = "0.26")]
public uint get_table_row_span ();
+ [Version (since = "0.26")]
public Poppler.StructureTableScope get_table_scope ();
+ [Version (since = "0.26")]
public string get_table_summary ();
+ [Version (since = "0.26")]
public string get_text (Poppler.StructureGetTextFlags flags);
+ [Version (since = "0.26")]
public Poppler.StructureTextAlign get_text_align ();
+ [Version (since = "0.26")]
public bool get_text_decoration_color (out unowned Poppler.Color color);
+ [Version (since = "0.26")]
public double get_text_decoration_thickness ();
+ [Version (since = "0.26")]
public Poppler.StructureTextDecoration get_text_decoration_type ();
+ [Version (since = "0.26")]
public double get_text_indent ();
[CCode (array_length_pos = 0.1, array_length_type = "guint")]
+ [Version (since = "0.26")]
public Poppler.TextSpan[] get_text_spans ();
+ [Version (since = "0.26")]
public string get_title ();
+ [Version (since = "0.26")]
public double get_width ();
+ [Version (since = "0.26")]
public Poppler.StructureWritingMode get_writing_mode ();
+ [Version (since = "0.26")]
public bool is_block ();
+ [Version (since = "0.26")]
public bool is_content ();
+ [Version (since = "0.26")]
public bool is_grouping ();
+ [Version (since = "0.26")]
public bool is_inline ();
}
[CCode (cheader_filename = "poppler.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "poppler_structure_element_iter_get_type ()")]
[Compact]
public class StructureElementIter {
[CCode (has_construct_function = false)]
+ [Version (since = "0.26")]
public StructureElementIter (Poppler.Document poppler_document);
+ [Version (since = "0.26")]
public Poppler.StructureElementIter copy ();
+ [Version (since = "0.26")]
public void free ();
+ [Version (since = "0.26")]
public Poppler.StructureElementIter get_child ();
+ [Version (since = "0.26")]
public Poppler.StructureElement get_element ();
+ [Version (since = "0.26")]
public bool next ();
}
[CCode (cheader_filename = "poppler.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "poppler_text_attributes_get_type ()")]
[Compact]
+ [Version (since = "0.18")]
public class TextAttributes {
public Poppler.Color color;
public int end_index;
@@ -599,13 +760,21 @@ namespace Poppler {
[CCode (cheader_filename = "poppler.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "poppler_text_span_get_type ()")]
[Compact]
public class TextSpan {
+ [Version (since = "0.26")]
public Poppler.TextSpan copy ();
+ [Version (since = "0.26")]
public void free ();
+ [Version (since = "0.26")]
public void get_color (out unowned Poppler.Color color);
+ [Version (since = "0.26")]
public unowned string get_font_name ();
+ [Version (since = "0.26")]
public unowned string get_text ();
+ [Version (since = "0.26")]
public bool is_bold_font ();
+ [Version (since = "0.26")]
public bool is_fixed_width_font ();
+ [Version (since = "0.26")]
public bool is_serif_font ();
}
[CCode (cheader_filename = "poppler.h", has_type_id = false)]
@@ -688,12 +857,14 @@ namespace Poppler {
public void free ();
}
[CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_ACTION_LAYER_", type_id = "poppler_action_layer_action_get_type ()")]
+ [Version (since = "0.14")]
public enum ActionLayerAction {
ON,
OFF,
TOGGLE
}
[CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_ACTION_MOVIE_", type_id = "poppler_action_movie_operation_get_type ()")]
+ [Version (since = "0.14")]
public enum ActionMovieOperation {
PLAY,
PAUSE,
@@ -806,6 +977,7 @@ namespace Poppler {
}
[CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_FIND_", type_id = "poppler_find_flags_get_type ()")]
[Flags]
+ [Version (since = "0.22")]
public enum FindFlags {
DEFAULT,
CASE_SENSITIVE,
@@ -919,6 +1091,7 @@ namespace Poppler {
}
[CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_PRINT_", type_id = "poppler_print_flags_get_type ()")]
[Flags]
+ [Version (since = "0.16")]
public enum PrintFlags {
DOCUMENT,
MARKUP_ANNOTS,
@@ -1128,16 +1301,21 @@ namespace Poppler {
[CCode (cheader_filename = "poppler.h", instance_pos = 1.9)]
public delegate bool AttachmentSaveFunc ([CCode (array_length_cname = "count", array_length_pos = 1.1, array_length_type = "gsize")] uint8[] buf) throws GLib.Error;
[CCode (cheader_filename = "poppler.h", instance_pos = 1.9)]
+ [Version (since = "0.14")]
public delegate bool MediaSaveFunc ([CCode (array_length_cname = "count", array_length_pos = 1.1, array_length_type = "gsize")] uint8[] buf) throws GLib.Error;
[CCode (cheader_filename = "poppler.h", cname = "POPPLER_HAS_CAIRO")]
public const int HAS_CAIRO;
[CCode (cheader_filename = "poppler.h", cname = "POPPLER_MAJOR_VERSION")]
+ [Version (since = "0.12")]
public const int MAJOR_VERSION;
[CCode (cheader_filename = "poppler.h", cname = "POPPLER_MICRO_VERSION")]
+ [Version (since = "0.12")]
public const int MICRO_VERSION;
[CCode (cheader_filename = "poppler.h", cname = "POPPLER_MINOR_VERSION")]
+ [Version (since = "0.12")]
public const int MINOR_VERSION;
[CCode (cheader_filename = "poppler.h")]
+ [Version (since = "0.12")]
public static bool date_parse (string date, long timet);
[CCode (cheader_filename = "poppler.h")]
public static Poppler.Backend get_backend ();
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index d39e394f8..b142a36a0 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -1913,7 +1913,7 @@ namespace Posix {
public void setusershell ();
[CCode (cheader_filename = "unistd.h")]
public int chroot (string path);
- [Deprecated (since = "POSIX.2", replacement = "termios ECHO flag")]
+ [Version (deprecated_since = "POSIX.2", replacement = "termios ECHO flag")]
[CCode (cheader_filename = "unistd.h")]
public unowned string getpass (string promt);
/** To expose Posix crypt() GNU's libc and others require the feature test
diff --git a/vapi/rest-0.6.vapi b/vapi/rest-0.6.vapi
index 961e9507b..073b2d5f1 100644
--- a/vapi/rest-0.6.vapi
+++ b/vapi/rest-0.6.vapi
@@ -10,10 +10,10 @@ namespace Rest {
[CCode (cname = "oauth_proxy_access_token_async")]
public bool access_token_async (string function, string verifier, [CCode (delegate_target_pos = 4.9)] Rest.OAuthProxyAuthCallback callback, GLib.Object? weak_object) throws GLib.Error;
[CCode (cname = "oauth_proxy_auth_step")]
- [Deprecated]
+ [Version (deprecated = true)]
public bool auth_step (string function) throws GLib.Error;
[CCode (cname = "oauth_proxy_auth_step_async")]
- [Deprecated]
+ [Version (deprecated = true)]
public bool auth_step_async (string function, [CCode (delegate_target_pos = 3.9)] Rest.OAuthProxyAuthCallback callback, GLib.Object? weak_object) throws GLib.Error;
[CCode (cname = "oauth_proxy_get_token")]
public unowned string get_token ();
diff --git a/vapi/rest-0.7.vapi b/vapi/rest-0.7.vapi
index 5b385650d..feb975d5c 100644
--- a/vapi/rest-0.7.vapi
+++ b/vapi/rest-0.7.vapi
@@ -29,16 +29,16 @@ namespace Rest {
[CCode (has_construct_function = false, type = "RestProxy*")]
public OAuthProxy (string consumer_key, string consumer_secret, string url_format, bool binding_required);
public bool access_token (string function, string verifier) throws GLib.Error;
- public bool access_token_async (string function, string verifier, [CCode (delegate_target_pos = 4.1, scope = "async")] owned Rest.OAuthProxyAuthCallback callback, GLib.Object weak_object) throws GLib.Error;
+ public bool access_token_async (string function, string verifier, [CCode (delegate_target_pos = 4.1, scope = "async")] Rest.OAuthProxyAuthCallback callback, GLib.Object weak_object) throws GLib.Error;
public bool auth_step (string function) throws GLib.Error;
- public bool auth_step_async (string function, [CCode (delegate_target_pos = 3.1, scope = "async")] owned Rest.OAuthProxyAuthCallback callback, GLib.Object weak_object) throws GLib.Error;
+ public bool auth_step_async (string function, [CCode (delegate_target_pos = 3.1, scope = "async")] Rest.OAuthProxyAuthCallback callback, GLib.Object weak_object) throws GLib.Error;
public unowned string get_signature_host ();
public unowned string get_token ();
public unowned string get_token_secret ();
public bool is_oauth10a ();
public Rest.Proxy new_echo_proxy (string service_url, string url_format, bool binding_required);
public bool request_token (string function, string callback_uri) throws GLib.Error;
- public bool request_token_async (string function, string callback_uri, [CCode (delegate_target_pos = 4.1, scope = "async")] owned Rest.OAuthProxyAuthCallback callback, GLib.Object weak_object) throws GLib.Error;
+ public bool request_token_async (string function, string callback_uri, [CCode (delegate_target_pos = 4.1, scope = "async")] Rest.OAuthProxyAuthCallback callback, GLib.Object weak_object) throws GLib.Error;
public void set_signature_host (string signature_host);
public void set_token (string token);
public void set_token_secret (string token_secret);
@@ -99,6 +99,7 @@ namespace Rest {
public class Proxy : GLib.Object {
[CCode (has_construct_function = false)]
public Proxy (string url_format, bool binding_required);
+ [Version (since = "0.7.92")]
public void add_soup_feature (Soup.SessionFeature feature);
public bool bind (...);
public unowned string get_user_agent ();
@@ -142,6 +143,7 @@ namespace Rest {
public void add_params (...);
public bool cancel ();
public bool continuous ([CCode (delegate_target_pos = 2.1)] Rest.ProxyCallContinuousCallback callback, GLib.Object weak_object) throws GLib.Error;
+ [Version (since = "0.7.92")]
public unowned string get_function ();
public unowned string get_method ();
public unowned Rest.Params get_params ();
@@ -165,7 +167,7 @@ namespace Rest {
public void set_function (string function);
public void set_method (string method);
public bool sync () throws GLib.Error;
- public bool upload ([CCode (delegate_target_pos = 2.1, scope = "async")] owned Rest.ProxyCallUploadCallback callback, GLib.Object weak_object) throws GLib.Error;
+ public bool upload ([CCode (delegate_target_pos = 2.1, scope = "async")] Rest.ProxyCallUploadCallback callback, GLib.Object weak_object) throws GLib.Error;
[NoAccessorMethod]
public Rest.Proxy proxy { owned get; construct; }
}
diff --git a/vapi/rest-extras-0.7.vapi b/vapi/rest-extras-0.7.vapi
index 7c2a98c21..134ef6496 100644
--- a/vapi/rest-extras-0.7.vapi
+++ b/vapi/rest-extras-0.7.vapi
@@ -78,7 +78,7 @@ namespace Rest {
[CCode (cname = "youtube_proxy_set_user_auth")]
public void set_user_auth (string user_auth);
[CCode (cname = "youtube_proxy_upload_async")]
- public bool upload_async (string filename, GLib.HashTable<void*,void*> fields, bool incomplete, [CCode (delegate_target_pos = 5.1, scope = "async")] owned Rest.YoutubeProxyUploadCallback callback, GLib.Object weak_object) throws GLib.Error;
+ public bool upload_async (string filename, GLib.HashTable<void*,void*> fields, bool incomplete, [CCode (delegate_target_pos = 5.1, scope = "async")] Rest.YoutubeProxyUploadCallback callback, GLib.Object weak_object) throws GLib.Error;
[CCode (cname = "youtube_proxy_new_with_auth", has_construct_function = false, type = "RestProxy*")]
public YoutubeProxy.with_auth (string developer_key, string user_auth);
[NoAccessorMethod]
diff --git a/vapi/sqlite3.vapi b/vapi/sqlite3.vapi
index 5e777c4db..d2eb03707 100644
--- a/vapi/sqlite3.vapi
+++ b/vapi/sqlite3.vapi
@@ -399,7 +399,7 @@ namespace Sqlite {
public static int64 used ();
[CCode (cname = "sqlite3_memory_highwater")]
public static int64 highwater (int reset = 0);
- [Deprecated (since = "3.7.2", replacement = "Sqlite.Memory.soft_heap_limit64")]
+ [Version (deprecated_since = "3.7.2", replacement = "Sqlite.Memory.soft_heap_limit64")]
[CCode (cname = "sqlite3_soft_heap_limit")]
public static void soft_heap_limit (int limit);
[CCode (cname = "sqlite3_soft_heap_limit64")]
diff --git a/vapi/udisks2.vapi b/vapi/udisks2.vapi
index b01b3643d..c79b18893 100644
--- a/vapi/udisks2.vapi
+++ b/vapi/udisks2.vapi
@@ -22,26 +22,32 @@ namespace UDisks {
public class Client : GLib.Object, GLib.AsyncInitable, GLib.Initable {
[CCode (cname = "udisks_client_new", has_construct_function = false)]
public async Client (GLib.Cancellable? cancellable) throws GLib.Error;
+ [Version (since = "2.1")]
public GLib.List<UDisks.Block> get_all_blocks_for_mdraid (UDisks.MDRaid raid);
public UDisks.Block get_block_for_dev (uint64 block_device_number);
public UDisks.Block get_block_for_drive (UDisks.Drive drive, bool get_physical);
public GLib.List<UDisks.Block> get_block_for_label (string label);
+ [Version (since = "2.1")]
public UDisks.Block get_block_for_mdraid (UDisks.MDRaid raid);
public GLib.List<UDisks.Block> get_block_for_uuid (string uuid);
public UDisks.Block get_cleartext_block (UDisks.Block block);
public UDisks.Drive get_drive_for_block (UDisks.Block block);
- [Deprecated (since = "2.1")]
+ [Version (deprecated = true, deprecated_since = "2.1")]
public void get_drive_info (UDisks.Drive drive, out string out_name, out string out_description, out GLib.Icon out_drive_icon, out string out_media_description, out GLib.Icon out_media_icon);
+ [Version (since = "2.1")]
public GLib.List<UDisks.Drive> get_drive_siblings (UDisks.Drive drive);
public string get_id_for_display (string usage, string type, string version, bool long_string);
public string get_job_description (UDisks.Job job);
public GLib.List<UDisks.Job> get_jobs_for_object (UDisks.Object object);
public UDisks.Loop get_loop_for_block (UDisks.Block block);
public unowned UDisks.Manager get_manager ();
+ [Version (since = "2.1")]
public UDisks.MDRaid get_mdraid_for_block (UDisks.Block block);
public string get_media_compat_for_display (string media_compat);
+ [Version (since = "2.1")]
public GLib.List<UDisks.Block> get_members_for_mdraid (UDisks.MDRaid raid);
public UDisks.Object get_object (string object_path);
+ [Version (since = "2.1")]
public UDisks.ObjectInfo get_object_info (UDisks.Object object);
public unowned GLib.DBusObjectManager get_object_manager ();
public string get_partition_info (UDisks.Partition partition);
@@ -50,12 +56,14 @@ namespace UDisks {
[CCode (array_length = false, array_null_terminated = true)]
public string[] get_partition_table_subtypes (string partition_table_type);
public unowned string get_partition_table_type_for_display (string partition_table_type);
+ [Version (since = "2.1.1")]
public unowned string get_partition_type_and_subtype_for_display (string partition_table_type, string partition_table_subtype, string partition_type);
public unowned string get_partition_type_for_display (string partition_table_type, string partition_type);
public GLib.List<UDisks.PartitionTypeInfo> get_partition_type_infos (string partition_table_type, string? partition_table_subtype);
public GLib.List<UDisks.Partition> get_partitions (UDisks.PartitionTable table);
public string get_size_for_display (uint64 size, bool use_pow2, bool long_string);
public unowned UDisks.Object peek_object (string object_path);
+ [Version (since = "2.1")]
public void queue_changed ();
public void settle ();
[CCode (has_construct_function = false)]
@@ -161,6 +169,7 @@ namespace UDisks {
public LoopSkeleton ();
}
[CCode (cheader_filename = "udisks/udisks.h", lower_case_csuffix = "mdraid_proxy", type_id = "udisks_mdraid_proxy_get_type ()")]
+ [Version (since = "2.1")]
public class MDRaidProxy : GLib.DBusProxy, GLib.AsyncInitable, GLib.DBusInterface, GLib.Initable, UDisks.MDRaid {
[CCode (cname = "udisks_mdraid_proxy_new", has_construct_function = false)]
public async MDRaidProxy (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
@@ -172,6 +181,7 @@ namespace UDisks {
public MDRaidProxy.sync (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
}
[CCode (cheader_filename = "udisks/udisks.h", lower_case_csuffix = "mdraid_skeleton", type_id = "udisks_mdraid_skeleton_get_type ()")]
+ [Version (since = "2.1")]
public class MDRaidSkeleton : GLib.DBusInterfaceSkeleton, GLib.DBusInterface, UDisks.MDRaid {
[CCode (has_construct_function = false, type = "UDisksMDRaid*")]
public MDRaidSkeleton ();
@@ -193,6 +203,7 @@ namespace UDisks {
public ManagerSkeleton ();
}
[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_object_info_get_type ()")]
+ [Version (since = "2.1")]
public class ObjectInfo : GLib.Object {
[CCode (has_construct_function = false)]
protected ObjectInfo ();
@@ -236,6 +247,7 @@ namespace UDisks {
public void set_job (UDisks.Job? interface_);
public void set_loop (UDisks.Loop? interface_);
public void set_manager (UDisks.Manager? interface_);
+ [Version (since = "2.1")]
public void set_mdraid (UDisks.MDRaid? interface_);
public void set_partition (UDisks.Partition? interface_);
public void set_partition_table (UDisks.PartitionTable? interface_);
@@ -350,10 +362,12 @@ namespace UDisks {
[NoAccessorMethod]
public abstract bool hint_partitionable { get; set; }
[NoAccessorMethod]
+ [Version (since = "2.1")]
public abstract string hint_symbolic_icon_name { owned get; set; }
[NoAccessorMethod]
public abstract bool hint_system { get; set; }
[NoAccessorMethod]
+ [Version (since = "2.1")]
public abstract string id { owned get; set; }
[NoAccessorMethod]
public abstract string id_label { owned get; set; }
@@ -366,8 +380,10 @@ namespace UDisks {
[NoAccessorMethod]
public abstract string id_version { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "2.1")]
public abstract string mdraid { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "2.1")]
public abstract string mdraid_member { owned get; set; }
[NoAccessorMethod]
public abstract string preferred_device { owned get; set; }
@@ -392,16 +408,20 @@ namespace UDisks {
public interface Drive : GLib.Object {
public async bool call_eject (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
public bool call_eject_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.1")]
public async bool call_power_off (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
+ [Version (since = "2.1")]
public bool call_power_off_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool call_set_configuration (GLib.Variant arg_value, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
public bool call_set_configuration_sync (GLib.Variant arg_value, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
public void complete_eject (owned GLib.DBusMethodInvocation invocation);
+ [Version (since = "2.1")]
public void complete_power_off (owned GLib.DBusMethodInvocation invocation);
public void complete_set_configuration (owned GLib.DBusMethodInvocation invocation);
public static unowned GLib.DBusInterfaceInfo interface_info ();
public static uint override_properties (GLib.ObjectClass klass, uint property_id_begin);
[NoAccessorMethod]
+ [Version (since = "2.1")]
public abstract bool can_power_off { get; set; }
[NoAccessorMethod]
public abstract GLib.Variant configuration { owned get; set; }
@@ -447,6 +467,7 @@ namespace UDisks {
[NoAccessorMethod]
public abstract string serial { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "2.1")]
public abstract string sibling_id { owned get; set; }
[NoAccessorMethod]
public abstract uint64 size { get; set; }
@@ -461,6 +482,7 @@ namespace UDisks {
[NoAccessorMethod]
public abstract string wwn { owned get; set; }
public virtual signal bool handle_eject (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
+ [Version (since = "2.1")]
public virtual signal bool handle_power_off (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
public virtual signal bool handle_set_configuration (GLib.DBusMethodInvocation invocation, GLib.Variant arg_value, GLib.Variant arg_options);
}
@@ -480,7 +502,9 @@ namespace UDisks {
public bool call_smart_selftest_abort_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool call_smart_selftest_start (string arg_type, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
public bool call_smart_selftest_start_sync (string arg_type, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.1")]
public async bool call_smart_set_enabled (bool arg_value, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
+ [Version (since = "2.1")]
public bool call_smart_set_enabled_sync (bool arg_value, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool call_smart_update (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
public bool call_smart_update_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
@@ -491,6 +515,7 @@ namespace UDisks {
public void complete_smart_get_attributes (owned GLib.DBusMethodInvocation invocation, GLib.Variant attributes);
public void complete_smart_selftest_abort (owned GLib.DBusMethodInvocation invocation);
public void complete_smart_selftest_start (owned GLib.DBusMethodInvocation invocation);
+ [Version (since = "2.1")]
public void complete_smart_set_enabled (owned GLib.DBusMethodInvocation invocation);
public void complete_smart_update (owned GLib.DBusMethodInvocation invocation);
public static unowned GLib.DBusInterfaceInfo interface_info ();
@@ -538,8 +563,10 @@ namespace UDisks {
[NoAccessorMethod]
public abstract uint64 smart_updated { get; set; }
[NoAccessorMethod]
+ [Version (since = "2.1")]
public abstract bool write_cache_enabled { get; set; }
[NoAccessorMethod]
+ [Version (since = "2.1")]
public abstract bool write_cache_supported { get; set; }
public virtual signal bool handle_pm_get_state (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
public virtual signal bool handle_pm_standby (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
@@ -548,6 +575,7 @@ namespace UDisks {
public virtual signal bool handle_smart_get_attributes (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
public virtual signal bool handle_smart_selftest_abort (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
public virtual signal bool handle_smart_selftest_start (GLib.DBusMethodInvocation invocation, string arg_type, GLib.Variant arg_options);
+ [Version (since = "2.1")]
public virtual signal bool handle_smart_set_enabled (GLib.DBusMethodInvocation invocation, bool arg_value, GLib.Variant arg_options);
public virtual signal bool handle_smart_update (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
}
@@ -597,6 +625,7 @@ namespace UDisks {
public static unowned GLib.DBusInterfaceInfo interface_info ();
public static uint override_properties (GLib.ObjectClass klass, uint property_id_begin);
[NoAccessorMethod]
+ [Version (since = "2.1")]
public abstract uint64 bytes { get; set; }
[NoAccessorMethod]
public abstract bool cancelable { get; set; }
@@ -612,6 +641,7 @@ namespace UDisks {
[NoAccessorMethod]
public abstract bool progress_valid { get; set; }
[NoAccessorMethod]
+ [Version (since = "2.1")]
public abstract uint64 rate { get; set; }
[NoAccessorMethod]
public abstract uint64 start_time { get; set; }
@@ -640,6 +670,7 @@ namespace UDisks {
public virtual signal bool handle_set_autoclear (GLib.DBusMethodInvocation invocation, bool arg_value, GLib.Variant arg_options);
}
[CCode (cheader_filename = "udisks/udisks.h", lower_case_csuffix = "mdraid", type_id = "udisks_mdraid_get_type ()")]
+ [Version (since = "2.1")]
public interface MDRaid : GLib.Object {
public async bool call_add_device (string arg_device, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
public bool call_add_device_sync (string arg_device, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
@@ -698,15 +729,19 @@ namespace UDisks {
public interface Manager : GLib.Object {
public async bool call_loop_setup (GLib.Variant arg_fd, GLib.Variant arg_options, GLib.UnixFDList? fd_list, GLib.Cancellable? cancellable, out string out_resulting_device, out GLib.UnixFDList out_fd_list) throws GLib.Error;
public bool call_loop_setup_sync (GLib.Variant arg_fd, GLib.Variant arg_options, GLib.UnixFDList? fd_list, out string out_resulting_device, out GLib.UnixFDList out_fd_list, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.1")]
public async bool call_mdraid_create (string arg_blocks, string arg_level, string arg_name, uint64 arg_chunk, GLib.Variant arg_options, GLib.Cancellable? cancellable, out string out_resulting_array) throws GLib.Error;
+ [Version (since = "2.1")]
public bool call_mdraid_create_sync (string arg_blocks, string arg_level, string arg_name, uint64 arg_chunk, GLib.Variant arg_options, out string out_resulting_array, GLib.Cancellable? cancellable = null) throws GLib.Error;
public void complete_loop_setup (owned GLib.DBusMethodInvocation invocation, GLib.UnixFDList? fd_list, string resulting_device);
+ [Version (since = "2.1")]
public void complete_mdraid_create (owned GLib.DBusMethodInvocation invocation, string resulting_array);
public static unowned GLib.DBusInterfaceInfo interface_info ();
public static uint override_properties (GLib.ObjectClass klass, uint property_id_begin);
[NoAccessorMethod]
public abstract string version { owned get; set; }
public virtual signal bool handle_loop_setup (GLib.DBusMethodInvocation invocation, GLib.UnixFDList? fd_list, GLib.Variant arg_fd, GLib.Variant arg_options);
+ [Version (since = "2.1")]
public virtual signal bool handle_mdraid_create (GLib.DBusMethodInvocation invocation, [CCode (array_length = false, array_null_terminated = true)] string[] arg_blocks, string arg_level, string arg_name, uint64 arg_chunk, GLib.Variant arg_options);
}
[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_object_get_type ()")]
@@ -719,6 +754,7 @@ namespace UDisks {
public UDisks.Job get_job ();
public UDisks.Loop get_loop ();
public UDisks.Manager get_manager ();
+ [Version (since = "2.1")]
public UDisks.MDRaid get_mdraid ();
public UDisks.Partition get_partition ();
public UDisks.PartitionTable get_partition_table ();
@@ -740,6 +776,7 @@ namespace UDisks {
[NoAccessorMethod]
public abstract UDisks.Manager manager { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "2.1")]
public abstract UDisks.MDRaid mdraid { owned get; set; }
[NoAccessorMethod]
public abstract UDisks.Partition partition { owned get; set; }
@@ -885,8 +922,10 @@ namespace UDisks {
[CCode (cheader_filename = "udisks/udisks.h")]
public static uint manager_override_properties (GLib.ObjectClass klass, uint property_id_begin);
[CCode (cheader_filename = "udisks/udisks.h")]
+ [Version (since = "2.1")]
public static unowned GLib.DBusInterfaceInfo mdraid_interface_info ();
[CCode (cheader_filename = "udisks/udisks.h")]
+ [Version (since = "2.1")]
public static uint mdraid_override_properties (GLib.ObjectClass klass, uint property_id_begin);
[CCode (cheader_filename = "udisks/udisks.h")]
public static unowned GLib.DBusInterfaceInfo partition_interface_info ();
diff --git a/vapi/vte-2.90.vapi b/vapi/vte-2.90.vapi
index 356e9b20f..7bb47c401 100644
--- a/vapi/vte-2.90.vapi
+++ b/vapi/vte-2.90.vapi
@@ -3,6 +3,7 @@
[CCode (cprefix = "Vte", gir_namespace = "Vte", gir_version = "2.90", lower_case_cprefix = "vte_")]
namespace Vte {
[CCode (cheader_filename = "vte/vte.h", type_id = "vte_pty_get_type ()")]
+ [Version (since = "0.26")]
public class Pty : GLib.Object, GLib.Initable {
[CCode (has_construct_function = false)]
public Pty (Vte.PtyFlags flags) throws GLib.Error;
@@ -28,19 +29,27 @@ namespace Vte {
public void copy_primary ();
public void feed ([CCode (array_length_cname = "length", array_length_pos = 1.1, array_length_type = "glong")] uint8[] data);
public void feed_child (string text, long length);
+ [Version (since = "0.12.1")]
public void feed_child_binary (string data, long length);
+ [Version (since = "0.26")]
public bool fork_command_full (Vte.PtyFlags pty_flags, string? working_directory, [CCode (array_length = false, array_null_terminated = true)] string[] argv, [CCode (array_length = false, array_null_terminated = true)] string[]? envv, GLib.SpawnFlags spawn_flags, [CCode (delegate_target_pos = 6.5)] GLib.SpawnChildSetupFunc? child_setup, out GLib.Pid child_pid) throws GLib.Error;
public bool get_allow_bold ();
public bool get_audible_bell ();
public long get_char_height ();
public long get_char_width ();
+ [Version (since = "0.20")]
public int get_child_exit_status ();
public long get_column_count ();
+ [Version (since = "0.34")]
public unowned string get_current_directory_uri ();
+ [Version (since = "0.34")]
public unowned string get_current_file_uri ();
+ [Version (since = "0.17.1")]
public Vte.TerminalCursorBlinkMode get_cursor_blink_mode ();
public void get_cursor_position (out long column, out long row);
+ [Version (since = "0.17.6")]
public Vte.TerminalCursorShape get_cursor_shape ();
+ [Version (since = "0.11.11")]
public unowned string get_default_emulation ();
public unowned string get_emulation ();
public unowned string get_encoding ();
@@ -48,57 +57,83 @@ namespace Vte {
public bool get_has_selection ();
public unowned string get_icon_title ();
public bool get_mouse_autohide ();
+ [Version (since = "0.26")]
public unowned Vte.Pty get_pty_object ();
public long get_row_count ();
public unowned string get_status_line ();
public string get_text ([CCode (delegate_target_pos = 1.5)] Vte.SelectionFunc? is_selected, out GLib.Array<Vte.CharAttributes> attributes);
+ [Version (since = "0.11.11")]
public string get_text_include_trailing_spaces ([CCode (delegate_target_pos = 1.5)] Vte.SelectionFunc? is_selected, out GLib.Array<Vte.CharAttributes> attributes);
public string get_text_range (long start_row, long start_col, long end_row, long end_col, [CCode (delegate_target_pos = 5.5)] Vte.SelectionFunc? is_selected, out GLib.Array<Vte.CharAttributes> attributes);
public bool get_visible_bell ();
public unowned string get_window_title ();
public void im_append_menuitems (Gtk.MenuShell menushell);
public bool is_word_char (unichar c);
+ [Version (since = "0.17.1")]
public int match_add_gregex (GLib.Regex regex, GLib.RegexMatchFlags flags);
public string? match_check (long column, long row, out int tag);
public void match_clear_all ();
public void match_remove (int tag);
+ [Version (since = "0.11")]
public void match_set_cursor (int tag, Gdk.Cursor? cursor);
+ [Version (since = "0.17.1")]
public void match_set_cursor_name (int tag, string cursor_name);
+ [Version (since = "0.11.9")]
public void match_set_cursor_type (int tag, Gdk.CursorType cursor_type);
public void paste_primary ();
+ [Version (since = "0.26")]
public Vte.Pty pty_new (Vte.PtyFlags flags) throws GLib.Error;
public void reset (bool clear_tabstops, bool clear_history);
+ [Version (since = "0.26")]
public bool search_find_next ();
+ [Version (since = "0.26")]
public bool search_find_previous ();
+ [Version (since = "0.26")]
public unowned GLib.Regex search_get_gregex ();
+ [Version (since = "0.26")]
public bool search_get_wrap_around ();
+ [Version (since = "0.26")]
public void search_set_gregex (GLib.Regex? regex);
+ [Version (since = "0.26")]
public void search_set_wrap_around (bool wrap_around);
+ [Version (since = "0.16")]
public void select_all ();
+ [Version (since = "0.16")]
public void select_none ();
public void set_allow_bold (bool allow_bold);
public void set_audible_bell (bool is_audible);
public void set_background_image (Gdk.Pixbuf? image);
public void set_background_image_file (string path);
public void set_background_saturation (double saturation);
+ [Version (since = "0.11")]
public void set_background_tint_color (Gdk.Color color);
public void set_background_transparent (bool transparent);
public void set_backspace_binding (Vte.TerminalEraseBinding binding);
public void set_color_background (Gdk.Color background);
+ [Version (since = "0.28")]
public void set_color_background_rgba (Gdk.RGBA background);
public void set_color_bold (Gdk.Color bold);
public void set_color_bold_rgba (Gdk.RGBA? bold);
+ [Version (since = "0.11.11")]
public void set_color_cursor (Gdk.Color? cursor_background);
+ [Version (since = "0.28")]
public void set_color_cursor_rgba (Gdk.RGBA? cursor_background);
public void set_color_dim (Gdk.Color dim);
+ [Version (since = "0.28")]
public void set_color_dim_rgba (Gdk.RGBA? dim);
public void set_color_foreground (Gdk.Color foreground);
+ [Version (since = "0.28")]
public void set_color_foreground_rgba (Gdk.RGBA foreground);
+ [Version (since = "0.11.11")]
public void set_color_highlight (Gdk.Color? highlight_background);
+ [Version (since = "0.28")]
public void set_color_highlight_rgba (Gdk.RGBA? highlight_background);
public void set_colors (Gdk.Color? foreground, Gdk.Color? background, [CCode (array_length_cname = "palette_size", array_length_pos = 3.1, array_length_type = "glong")] Gdk.Color[] palette);
+ [Version (since = "0.28")]
public void set_colors_rgba (Gdk.RGBA? foreground, Gdk.RGBA? background, [CCode (array_length_cname = "palette_size", array_length_pos = 3.1, array_length_type = "gsize")] Gdk.RGBA[] palette);
+ [Version (since = "0.17.1")]
public void set_cursor_blink_mode (Vte.TerminalCursorBlinkMode mode);
+ [Version (since = "0.20")]
public void set_cursor_shape (Vte.TerminalCursorShape shape);
public void set_default_colors ();
public void set_delete_binding (Vte.TerminalEraseBinding binding);
@@ -108,7 +143,9 @@ namespace Vte {
public void set_font_from_string (string name);
public void set_mouse_autohide (bool setting);
public void set_opacity (uint16 opacity);
+ [Version (since = "0.26.")]
public void set_pty_object (Vte.Pty? pty);
+ [Version (since = "0.11")]
public void set_scroll_background (bool scroll);
public void set_scroll_on_keystroke (bool scroll);
public void set_scroll_on_output (bool scroll);
@@ -116,49 +153,77 @@ namespace Vte {
public void set_size (long columns, long rows);
public void set_visible_bell (bool is_visible);
public void set_word_chars (string spec);
+ [Version (since = "0.26")]
public void watch_child (GLib.Pid child_pid);
+ [Version (since = "0.24")]
public bool write_contents (GLib.OutputStream stream, Vte.TerminalWriteFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "0.20")]
public bool allow_bold { get; set; }
+ [Version (since = "0.20")]
public bool audible_bell { get; set; }
[NoAccessorMethod]
public string background_image_file { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.20")]
public Gdk.Pixbuf background_image_pixbuf { owned get; set; }
[NoAccessorMethod]
+ [Version (since = "0.20")]
public double background_opacity { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.20")]
public double background_saturation { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.20")]
public Gdk.Color background_tint_color { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.20")]
public bool background_transparent { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.20")]
public Vte.TerminalEraseBinding backspace_binding { get; set; }
+ [Version (since = "0.34")]
public string current_directory_uri { get; }
+ [Version (since = "0.34")]
public string current_file_uri { get; }
+ [Version (since = "0.20")]
public Vte.TerminalCursorBlinkMode cursor_blink_mode { get; set; }
+ [Version (since = "0.20")]
public Vte.TerminalCursorShape cursor_shape { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.20")]
public Vte.TerminalEraseBinding delete_binding { get; set; }
+ [Version (since = "0.20")]
public string emulation { get; set; }
+ [Version (since = "0.20")]
public string encoding { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.20")]
public Pango.FontDescription font_desc { owned get; set; }
+ [Version (since = "0.20")]
public string icon_title { get; }
[NoAccessorMethod]
+ [Version (since = "0.20")]
public bool pointer_autohide { get; set; }
+ [Version (since = "0.26")]
public Vte.Pty pty_object { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.20")]
public bool scroll_background { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.20")]
public bool scroll_on_keystroke { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.20")]
public bool scroll_on_output { get; set; }
[NoAccessorMethod]
+ [Version (since = "0.20")]
public uint scrollback_lines { get; set; }
+ [Version (since = "0.20")]
public bool visible_bell { get; set; }
+ [Version (since = "0.20")]
public string window_title { get; }
[NoAccessorMethod]
+ [Version (since = "0.20")]
public string word_chars { owned get; set; }
public virtual signal void beep ();
public virtual signal void char_size_changed (uint char_width, uint char_height);
@@ -167,7 +232,9 @@ namespace Vte {
public virtual signal void contents_changed ();
[HasEmitter]
public virtual signal void copy_clipboard ();
+ [Version (since = "0.34")]
public signal void current_directory_uri_changed ();
+ [Version (since = "0.34")]
public signal void current_file_uri_changed ();
public virtual signal void cursor_moved ();
public virtual signal void decrease_font_size ();
@@ -200,6 +267,7 @@ namespace Vte {
}
[CCode (cheader_filename = "vte/vte.h", cprefix = "VTE_PTY_", type_id = "vte_pty_flags_get_type ()")]
[Flags]
+ [Version (since = "0.26")]
public enum PtyFlags {
NO_LASTLOG,
NO_UTMP,
@@ -239,6 +307,7 @@ namespace Vte {
DEFAULT
}
[CCode (cheader_filename = "vte/vte.h", cprefix = "VTE_PTY_ERROR_")]
+ [Version (since = "0.26")]
public errordomain PtyError {
PTY_HELPER_FAILED,
PTY98_FAILED;
@@ -253,5 +322,6 @@ namespace Vte {
[CCode (cheader_filename = "vte/vte.h")]
public const int MINOR_VERSION;
[CCode (cheader_filename = "vte/vte.h")]
+ [Version (since = "0.28")]
public static string? get_user_shell ();
}
diff --git a/vapi/vte.vapi b/vapi/vte.vapi
index 673239056..ff4366102 100644
--- a/vapi/vte.vapi
+++ b/vapi/vte.vapi
@@ -1,6 +1,6 @@
/* vte.vapi generated by vapigen, do not modify. */
-[Deprecated (replacement = "vte-2.90")]
+[Version (replacement = "vte-2.90")]
namespace Vte {
[CCode (cheader_filename = "vte/vte.h")]
[Compact]
diff --git a/vapi/webkit2gtk-4.0.vapi b/vapi/webkit2gtk-4.0.vapi
index 4d0634275..a916380e3 100644
--- a/vapi/webkit2gtk-4.0.vapi
+++ b/vapi/webkit2gtk-4.0.vapi
@@ -6,16 +6,27 @@ namespace WebKit {
public class AuthenticationRequest : GLib.Object {
[CCode (has_construct_function = false)]
protected AuthenticationRequest ();
+ [Version (since = "2.2")]
public void authenticate (WebKit.Credential? credential);
+ [Version (since = "2.2")]
public bool can_save_credentials ();
+ [Version (since = "2.2")]
public void cancel ();
+ [Version (since = "2.2")]
public unowned string get_host ();
+ [Version (since = "2.2")]
public uint get_port ();
+ [Version (since = "2.2")]
public WebKit.Credential get_proposed_credential ();
+ [Version (since = "2.2")]
public unowned string get_realm ();
+ [Version (since = "2.2")]
public WebKit.AuthenticationScheme get_scheme ();
+ [Version (since = "2.2")]
public bool is_for_proxy ();
+ [Version (since = "2.2")]
public bool is_retry ();
+ [Version (since = "2.2")]
public signal void cancelled ();
}
[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_back_forward_list_get_type ()")]
@@ -45,12 +56,18 @@ namespace WebKit {
public class ColorChooserRequest : GLib.Object {
[CCode (has_construct_function = false)]
protected ColorChooserRequest ();
+ [Version (since = "2.8")]
public void cancel ();
+ [Version (since = "2.8")]
public void finish ();
+ [Version (since = "2.8")]
public Gdk.Rectangle get_element_rectangle ();
+ [Version (since = "2.8")]
public Gdk.RGBA get_rgba ();
+ [Version (since = "2.8")]
public void set_rgba (Gdk.RGBA rgba);
public Gdk.RGBA rgba { get; set construct; }
+ [Version (since = "2.8")]
public signal void finished ();
}
[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_context_menu_get_type ()")]
@@ -62,6 +79,7 @@ namespace WebKit {
public unowned WebKit.ContextMenuItem get_item_at_position (uint position);
public unowned GLib.List<WebKit.ContextMenuItem> get_items ();
public uint get_n_items ();
+ [Version (since = "2.8")]
public unowned GLib.Variant get_user_data ();
public void insert (WebKit.ContextMenuItem item, int position);
public unowned WebKit.ContextMenuItem last ();
@@ -69,6 +87,7 @@ namespace WebKit {
public void prepend (WebKit.ContextMenuItem item);
public void remove (WebKit.ContextMenuItem item);
public void remove_all ();
+ [Version (since = "2.8")]
public void set_user_data (GLib.Variant user_data);
[CCode (has_construct_function = false)]
public ContextMenu.with_items (GLib.List<WebKit.ContextMenuItem> items);
@@ -108,12 +127,19 @@ namespace WebKit {
[Compact]
public class Credential {
[CCode (has_construct_function = false)]
+ [Version (since = "2.2")]
public Credential (string username, string password, WebKit.CredentialPersistence persistence);
+ [Version (since = "2.2")]
public WebKit.Credential copy ();
+ [Version (since = "2.2")]
public void free ();
+ [Version (since = "2.2")]
public unowned string get_password ();
+ [Version (since = "2.2")]
public WebKit.CredentialPersistence get_persistence ();
+ [Version (since = "2.2")]
public unowned string get_username ();
+ [Version (since = "2.2")]
public bool has_password ();
}
[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_download_get_type ()")]
@@ -121,6 +147,7 @@ namespace WebKit {
[CCode (has_construct_function = false)]
protected Download ();
public void cancel ();
+ [Version (since = "2.6")]
public bool get_allow_overwrite ();
public unowned string get_destination ();
public double get_elapsed_time ();
@@ -129,8 +156,10 @@ namespace WebKit {
public unowned WebKit.URIRequest get_request ();
public unowned WebKit.URIResponse get_response ();
public unowned WebKit.WebView get_web_view ();
+ [Version (since = "2.6")]
public void set_allow_overwrite (bool allowed);
public void set_destination (string uri);
+ [Version (since = "2.6")]
public bool allow_overwrite { get; set; }
public string destination { get; }
public double estimated_progress { get; }
@@ -145,7 +174,9 @@ namespace WebKit {
public class EditorState : GLib.Object {
[CCode (has_construct_function = false)]
protected EditorState ();
+ [Version (since = "2.10")]
public uint get_typing_attributes ();
+ [Version (since = "2.10")]
public uint typing_attributes { get; }
}
[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_favicon_database_get_type ()")]
@@ -220,6 +251,7 @@ namespace WebKit {
public bool context_is_link ();
public bool context_is_media ();
public bool context_is_scrollbar ();
+ [Version (since = "2.8")]
public bool context_is_selection ();
public uint get_context ();
public unowned string get_image_uri ();
@@ -238,6 +270,7 @@ namespace WebKit {
public class InstallMissingMediaPluginsPermissionRequest : GLib.Object, WebKit.PermissionRequest {
[CCode (has_construct_function = false)]
protected InstallMissingMediaPluginsPermissionRequest ();
+ [Version (since = "2.10")]
public unowned string get_description ();
}
[CCode (cheader_filename = "webkit2/webkit2.h", ref_function = "webkit_javascript_result_ref", type_id = "webkit_javascript_result_get_type ()", unref_function = "webkit_javascript_result_unref")]
@@ -259,12 +292,19 @@ namespace WebKit {
[CCode (cheader_filename = "webkit2/webkit2.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "webkit_navigation_action_get_type ()")]
[Compact]
public class NavigationAction {
+ [Version (since = "2.6")]
public WebKit.NavigationAction copy ();
+ [Version (since = "2.6")]
public void free ();
+ [Version (since = "2.6")]
public uint get_modifiers ();
+ [Version (since = "2.6")]
public uint get_mouse_button ();
+ [Version (since = "2.6")]
public WebKit.NavigationType get_navigation_type ();
+ [Version (since = "2.6")]
public unowned WebKit.URIRequest get_request ();
+ [Version (since = "2.6")]
public bool is_user_gesture ();
}
[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_navigation_policy_decision_get_type ()")]
@@ -272,37 +312,50 @@ namespace WebKit {
[CCode (has_construct_function = false)]
protected NavigationPolicyDecision ();
public unowned string get_frame_name ();
- [Deprecated (since = "2.6")]
+ [Version (deprecated = true, deprecated_since = "2.6")]
public uint get_modifiers ();
- [Deprecated (since = "2.6")]
+ [Version (deprecated = true, deprecated_since = "2.6")]
public uint get_mouse_button ();
+ [Version (since = "2.6")]
public unowned WebKit.NavigationAction get_navigation_action ();
- [Deprecated (since = "2.6")]
+ [Version (deprecated = true, deprecated_since = "2.6")]
public WebKit.NavigationType get_navigation_type ();
- [Deprecated (since = "2.6")]
+ [Version (deprecated = true, deprecated_since = "2.6")]
public unowned WebKit.URIRequest get_request ();
public string frame_name { get; }
- [Deprecated (since = "2.6")]
+ [Version (deprecated = true, deprecated_since = "2.6")]
public uint modifiers { get; }
- [Deprecated (since = "2.6")]
+ [Version (deprecated = true, deprecated_since = "2.6")]
public uint mouse_button { get; }
+ [Version (since = "2.6")]
public WebKit.NavigationAction navigation_action { get; }
- [Deprecated (since = "2.6")]
+ [Version (deprecated = true, deprecated_since = "2.6")]
public WebKit.NavigationType navigation_type { get; }
- [Deprecated (since = "2.6")]
+ [Version (deprecated = true, deprecated_since = "2.6")]
public WebKit.URIRequest request { get; }
}
[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_notification_get_type ()")]
public class Notification : GLib.Object {
[CCode (has_construct_function = false)]
protected Notification ();
+ [Version (since = "2.8")]
public void close ();
+ [Version (since = "2.8")]
public unowned string get_body ();
+ [Version (since = "2.8")]
public uint64 get_id ();
+ [Version (since = "2.8")]
public unowned string get_title ();
+ [Version (since = "2.8")]
public string body { get; }
+ [Version (since = "2.8")]
public uint64 id { get; }
+ [Version (since = "2.8")]
public string title { get; }
+ [HasEmitter]
+ [Version (since = "2.12")]
+ public signal void clicked ();
+ [Version (since = "2.8")]
public signal void closed ();
}
[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_notification_permission_request_get_type ()")]
@@ -350,6 +403,7 @@ namespace WebKit {
protected ResponsePolicyDecision ();
public unowned WebKit.URIRequest get_request ();
public unowned WebKit.URIResponse get_response ();
+ [Version (since = "2.4")]
public bool is_mime_type_supported ();
public WebKit.URIRequest request { get; }
public WebKit.URIResponse response { get; }
@@ -384,6 +438,7 @@ namespace WebKit {
public class Settings : GLib.Object {
[CCode (has_construct_function = false)]
public Settings ();
+ [Version (since = "2.10")]
public bool get_allow_file_access_from_file_urls ();
public bool get_allow_modal_dialogs ();
public bool get_auto_load_images ();
@@ -393,6 +448,7 @@ namespace WebKit {
public uint32 get_default_font_size ();
public uint32 get_default_monospace_font_size ();
public bool get_draw_compositing_indicators ();
+ [Version (since = "2.2")]
public bool get_enable_accelerated_2d_canvas ();
public bool get_enable_caret_browsing ();
public bool get_enable_developer_extras ();
@@ -404,7 +460,9 @@ namespace WebKit {
public bool get_enable_hyperlink_auditing ();
public bool get_enable_java ();
public bool get_enable_javascript ();
+ [Version (since = "2.4")]
public bool get_enable_media_stream ();
+ [Version (since = "2.4")]
public bool get_enable_mediasource ();
public bool get_enable_offline_web_application_cache ();
public bool get_enable_page_cache ();
@@ -413,10 +471,12 @@ namespace WebKit {
public bool get_enable_resizable_text_areas ();
public bool get_enable_site_specific_quirks ();
public bool get_enable_smooth_scrolling ();
+ [Version (since = "2.2")]
public bool get_enable_spatial_navigation ();
public bool get_enable_tabs_to_links ();
public bool get_enable_webaudio ();
public bool get_enable_webgl ();
+ [Version (since = "2.2")]
public bool get_enable_write_console_messages_to_stdout ();
public bool get_enable_xss_auditor ();
public unowned string get_fantasy_font_family ();
@@ -433,6 +493,7 @@ namespace WebKit {
public unowned string get_serif_font_family ();
public unowned string get_user_agent ();
public bool get_zoom_text_only ();
+ [Version (since = "2.10")]
public void set_allow_file_access_from_file_urls (bool allowed);
public void set_allow_modal_dialogs (bool allowed);
public void set_auto_load_images (bool enabled);
@@ -442,6 +503,7 @@ namespace WebKit {
public void set_default_font_size (uint32 font_size);
public void set_default_monospace_font_size (uint32 font_size);
public void set_draw_compositing_indicators (bool enabled);
+ [Version (since = "2.2")]
public void set_enable_accelerated_2d_canvas (bool enabled);
public void set_enable_caret_browsing (bool enabled);
public void set_enable_developer_extras (bool enabled);
@@ -453,7 +515,9 @@ namespace WebKit {
public void set_enable_hyperlink_auditing (bool enabled);
public void set_enable_java (bool enabled);
public void set_enable_javascript (bool enabled);
+ [Version (since = "2.4")]
public void set_enable_media_stream (bool enabled);
+ [Version (since = "2.4")]
public void set_enable_mediasource (bool enabled);
public void set_enable_offline_web_application_cache (bool enabled);
public void set_enable_page_cache (bool enabled);
@@ -462,10 +526,12 @@ namespace WebKit {
public void set_enable_resizable_text_areas (bool enabled);
public void set_enable_site_specific_quirks (bool enabled);
public void set_enable_smooth_scrolling (bool enabled);
+ [Version (since = "2.2")]
public void set_enable_spatial_navigation (bool enabled);
public void set_enable_tabs_to_links (bool enabled);
public void set_enable_webaudio (bool enabled);
public void set_enable_webgl (bool enabled);
+ [Version (since = "2.2")]
public void set_enable_write_console_messages_to_stdout (bool enabled);
public void set_enable_xss_auditor (bool enabled);
public void set_fantasy_font_family (string fantasy_font_family);
@@ -483,6 +549,7 @@ namespace WebKit {
public void set_user_agent (string? user_agent);
public void set_user_agent_with_application_details (string? application_name, string? application_version);
public void set_zoom_text_only (bool zoom_text_only);
+ [Version (since = "2.10")]
public bool allow_file_access_from_file_urls { get; set construct; }
public bool allow_modal_dialogs { get; set construct; }
public bool auto_load_images { get; set construct; }
@@ -492,6 +559,7 @@ namespace WebKit {
public uint default_font_size { get; set construct; }
public uint default_monospace_font_size { get; set construct; }
public bool draw_compositing_indicators { get; set construct; }
+ [Version (since = "2.2")]
public bool enable_accelerated_2d_canvas { get; set construct; }
public bool enable_caret_browsing { get; set construct; }
public bool enable_developer_extras { get; set construct; }
@@ -503,7 +571,9 @@ namespace WebKit {
public bool enable_hyperlink_auditing { get; set construct; }
public bool enable_java { get; set construct; }
public bool enable_javascript { get; set construct; }
+ [Version (since = "2.4")]
public bool enable_media_stream { get; set construct; }
+ [Version (since = "2.4")]
public bool enable_mediasource { get; set construct; }
public bool enable_offline_web_application_cache { get; set construct; }
public bool enable_page_cache { get; set construct; }
@@ -512,10 +582,12 @@ namespace WebKit {
public bool enable_resizable_text_areas { get; set construct; }
public bool enable_site_specific_quirks { get; set construct; }
public bool enable_smooth_scrolling { get; set construct; }
+ [Version (since = "2.3")]
public bool enable_spatial_navigation { get; set construct; }
public bool enable_tabs_to_links { get; set construct; }
public bool enable_webaudio { get; set construct; }
public bool enable_webgl { get; set construct; }
+ [Version (since = "2.2")]
public bool enable_write_console_messages_to_stdout { get; set construct; }
public bool enable_xss_auditor { get; set construct; }
public string fantasy_font_family { get; set construct; }
@@ -538,6 +610,8 @@ namespace WebKit {
[CCode (has_construct_function = false)]
public URIRequest (string uri);
public unowned Soup.MessageHeaders get_http_headers ();
+ [Version (since = "2.12")]
+ public unowned string get_http_method ();
public unowned string get_uri ();
public void set_uri (string uri);
public string uri { get; set construct; }
@@ -547,12 +621,14 @@ namespace WebKit {
[CCode (has_construct_function = false)]
protected URIResponse ();
public uint64 get_content_length ();
+ [Version (since = "2.6")]
public unowned Soup.MessageHeaders get_http_headers ();
public unowned string get_mime_type ();
public uint get_status_code ();
public unowned string get_suggested_filename ();
public unowned string get_uri ();
public uint64 content_length { get; }
+ [Version (since = "2.6")]
public Soup.MessageHeaders http_headers { get; }
public string mime_type { get; }
public uint status_code { get; }
@@ -564,6 +640,7 @@ namespace WebKit {
[CCode (has_construct_function = false)]
protected URISchemeRequest ();
public void finish (GLib.InputStream stream, int64 stream_length, string? mime_type);
+ [Version (since = "2.2")]
public void finish_error (GLib.Error error);
public unowned string get_path ();
public unowned string get_scheme ();
@@ -573,13 +650,21 @@ namespace WebKit {
[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_user_content_manager_get_type ()")]
public class UserContentManager : GLib.Object {
[CCode (has_construct_function = false)]
+ [Version (since = "2.6")]
public UserContentManager ();
+ [Version (since = "2.6")]
public void add_script (WebKit.UserScript script);
+ [Version (since = "2.6")]
public void add_style_sheet (WebKit.UserStyleSheet stylesheet);
+ [Version (since = "2.8")]
public bool register_script_message_handler (string name);
+ [Version (since = "2.6")]
public void remove_all_scripts ();
+ [Version (since = "2.6")]
public void remove_all_style_sheets ();
+ [Version (since = "2.8")]
public void unregister_script_message_handler (string name);
+ [Version (since = "2.8")]
public signal void script_message_received (WebKit.JavascriptResult js_result);
}
[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_user_media_permission_request_get_type ()")]
@@ -595,22 +680,30 @@ namespace WebKit {
[Compact]
public class UserScript {
[CCode (has_construct_function = false)]
+ [Version (since = "2.6")]
public UserScript (string source, WebKit.UserContentInjectedFrames injected_frames, WebKit.UserScriptInjectionTime injection_time, [CCode (array_length = false, array_null_terminated = true)] string[]? whitelist, [CCode (array_length = false, array_null_terminated = true)] string[]? blacklist);
+ [Version (since = "2.6")]
public WebKit.UserScript @ref ();
+ [Version (since = "2.6")]
public void unref ();
}
[CCode (cheader_filename = "webkit2/webkit2.h", ref_function = "webkit_user_style_sheet_ref", type_id = "webkit_user_style_sheet_get_type ()", unref_function = "webkit_user_style_sheet_unref")]
[Compact]
public class UserStyleSheet {
[CCode (has_construct_function = false)]
+ [Version (since = "2.6")]
public UserStyleSheet (string source, WebKit.UserContentInjectedFrames injected_frames, WebKit.UserStyleLevel level, [CCode (array_length = false, array_null_terminated = true)] string[]? whitelist, [CCode (array_length = false, array_null_terminated = true)] string[]? blacklist);
+ [Version (since = "2.6")]
public WebKit.UserStyleSheet @ref ();
+ [Version (since = "2.6")]
public void unref ();
}
[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_web_context_get_type ()")]
public class WebContext : GLib.Object {
[CCode (has_construct_function = false)]
+ [Version (since = "2.8")]
public WebContext ();
+ [Version (since = "2.6")]
public void allow_tls_certificate_for_host (GLib.TlsCertificate certificate, string host);
public void clear_cache ();
public WebKit.Download download_uri (string uri);
@@ -620,36 +713,45 @@ namespace WebKit {
public unowned WebKit.FaviconDatabase get_favicon_database ();
public unowned string get_favicon_database_directory ();
public async GLib.List<WebKit.Plugin> get_plugins (GLib.Cancellable? cancellable) throws GLib.Error;
+ [Version (since = "2.4")]
public WebKit.ProcessModel get_process_model ();
public unowned WebKit.SecurityManager get_security_manager ();
public bool get_spell_checking_enabled ();
[CCode (array_length = false, array_null_terminated = true)]
public unowned string[] get_spell_checking_languages ();
public WebKit.TLSErrorsPolicy get_tls_errors_policy ();
+ [Version (since = "2.10")]
public uint get_web_process_count_limit ();
+ [Version (since = "2.10")]
public unowned WebKit.WebsiteDataManager get_website_data_manager ();
public void prefetch_dns (string hostname);
public void register_uri_scheme (string scheme, owned WebKit.URISchemeRequestCallback callback);
public void set_additional_plugins_directory (string directory);
public void set_cache_model (WebKit.CacheModel cache_model);
- [Deprecated (since = "2.10.")]
+ [Version (deprecated = true, deprecated_since = "2.10.")]
public void set_disk_cache_directory (string directory);
public void set_favicon_database_directory (string? path);
public void set_preferred_languages ([CCode (array_length = false, array_null_terminated = true)] string[]? languages);
+ [Version (since = "2.4")]
public void set_process_model (WebKit.ProcessModel process_model);
public void set_spell_checking_enabled (bool enabled);
public void set_spell_checking_languages ([CCode (array_length = false, array_null_terminated = true)] string[] languages);
public void set_tls_errors_policy (WebKit.TLSErrorsPolicy policy);
public void set_web_extensions_directory (string directory);
+ [Version (since = "2.4")]
public void set_web_extensions_initialization_user_data (GLib.Variant user_data);
+ [Version (since = "2.10")]
public void set_web_process_count_limit (uint limit);
[CCode (has_construct_function = false)]
+ [Version (since = "2.10")]
public WebContext.with_website_data_manager (WebKit.WebsiteDataManager manager);
- [Deprecated (since = "2.10.")]
[NoAccessorMethod]
+ [Version (deprecated = true, deprecated_since = "2.10.", since = "2.8")]
public string local_storage_directory { owned get; construct; }
+ [Version (since = "2.10")]
public WebKit.WebsiteDataManager website_data_manager { get; construct; }
public virtual signal void download_started (WebKit.Download download);
+ [Version (since = "2.4")]
public virtual signal void initialize_web_extensions ();
}
[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_web_inspector_get_type ()")]
@@ -658,12 +760,14 @@ namespace WebKit {
protected WebInspector ();
public void close ();
public uint get_attached_height ();
+ [Version (since = "2.8")]
public bool get_can_attach ();
public unowned string get_inspected_uri ();
public unowned WebKit.WebViewBase get_web_view ();
public bool is_attached ();
public void show ();
public uint attached_height { get; }
+ [Version (since = "2.8")]
public bool can_attach { get; }
public string inspected_uri { get; }
[HasEmitter]
@@ -684,6 +788,7 @@ namespace WebKit {
public WebKit.URIResponse response { get; }
public string uri { get; }
public signal void failed ([CCode (type = "gpointer")] GLib.Error error);
+ [Version (since = "2.8")]
public signal void failed_with_tls_errors (GLib.TlsCertificate certificate, GLib.TlsCertificateFlags errors);
public signal void finished ();
public signal void received_data (uint64 data_length);
@@ -699,11 +804,14 @@ namespace WebKit {
public bool can_show_mime_type (string mime_type);
public WebKit.Download download_uri (string uri);
public void execute_editing_command (string command);
+ [Version (since = "2.10")]
public void execute_editing_command_with_argument (string command, string argument);
public unowned WebKit.BackForwardList get_back_forward_list ();
+ [Version (since = "2.8")]
public Gdk.RGBA get_background_color ();
public unowned WebKit.WebContext get_context ();
public unowned string get_custom_charset ();
+ [Version (since = "2.10")]
public unowned WebKit.EditorState get_editor_state ();
public double get_estimated_load_progress ();
public unowned Cairo.Surface get_favicon ();
@@ -711,11 +819,14 @@ namespace WebKit {
public unowned WebKit.WebInspector get_inspector ();
public unowned WebKit.WebResource get_main_resource ();
public uint64 get_page_id ();
+ [Version (since = "2.12")]
+ public WebKit.WebViewSessionState get_session_state ();
public unowned WebKit.Settings get_settings ();
public async Cairo.Surface get_snapshot (WebKit.SnapshotRegion region, WebKit.SnapshotOptions options, GLib.Cancellable? cancellable) throws GLib.Error;
public unowned string get_title ();
public bool get_tls_info (out unowned GLib.TlsCertificate certificate, out GLib.TlsCertificateFlags errors);
public unowned string get_uri ();
+ [Version (since = "2.6")]
public unowned WebKit.UserContentManager get_user_content_manager ();
public unowned WebKit.WindowProperties get_window_properties ();
public double get_zoom_level ();
@@ -724,46 +835,62 @@ namespace WebKit {
public void go_to_back_forward_list_item (WebKit.BackForwardListItem list_item);
public bool is_editable ();
public void load_alternate_html (string content, string content_uri, string? base_uri);
+ [Version (since = "2.6")]
public void load_bytes (GLib.Bytes bytes, string? mime_type, string? encoding, string? base_uri);
public void load_html (string content, string? base_uri);
public void load_plain_text (string plain_text);
public void load_request (WebKit.URIRequest request);
public void load_uri (string uri);
+ [Version (since = "2.4")]
public Gtk.Widget new_with_related_view ();
public void reload ();
public void reload_bypass_cache ();
+ [Version (since = "2.12")]
+ public void restore_session_state (WebKit.WebViewSessionState state);
public async WebKit.JavascriptResult run_javascript (string script, GLib.Cancellable? cancellable) throws GLib.Error;
public async WebKit.JavascriptResult run_javascript_from_gresource (string resource, GLib.Cancellable? cancellable) throws GLib.Error;
public async GLib.InputStream save (WebKit.SaveMode save_mode, GLib.Cancellable? cancellable) throws GLib.Error;
public async bool save_to_file (GLib.File file, WebKit.SaveMode save_mode, GLib.Cancellable? cancellable) throws GLib.Error;
+ [Version (since = "2.8")]
public void set_background_color (Gdk.RGBA rgba);
public void set_custom_charset (string? charset);
+ [Version (since = "2.8")]
public void set_editable (bool editable);
public void set_settings (WebKit.Settings settings);
public void set_zoom_level (double zoom_level);
public void stop_loading ();
+ [Version (since = "2.12")]
+ public void try_close ();
[CCode (has_construct_function = false, type = "GtkWidget*")]
public WebView.with_context (WebKit.WebContext context);
[CCode (has_construct_function = false, type = "GtkWidget*")]
+ [Version (since = "2.6")]
public WebView.with_settings (WebKit.Settings settings);
[CCode (has_construct_function = false, type = "GtkWidget*")]
+ [Version (since = "2.6")]
public WebView.with_user_content_manager (WebKit.UserContentManager user_content_manager);
[NoAccessorMethod]
+ [Version (since = "2.8")]
public bool editable { get; set; }
public double estimated_load_progress { get; }
public void* favicon { get; }
[NoAccessorMethod]
public bool is_loading { get; }
[NoAccessorMethod]
+ [Version (since = "2.8")]
public bool is_playing_audio { get; }
+ [Version (since = "2.4")]
public WebKit.WebView related_view { construct; }
+ [Version (since = "2.6")]
public WebKit.Settings settings { set construct; }
public string title { get; }
public string uri { get; }
+ [Version (since = "2.6")]
public WebKit.UserContentManager user_content_manager { get; construct; }
[NoAccessorMethod]
public WebKit.WebContext web_context { owned get; construct; }
public double zoom_level { get; set; }
+ [Version (since = "2.2")]
public virtual signal bool authenticate (WebKit.AuthenticationRequest request);
public virtual signal void close ();
public virtual signal bool context_menu (WebKit.ContextMenu context_menu, Gdk.Event event, WebKit.HitTestResult hit_test_result);
@@ -775,6 +902,7 @@ namespace WebKit {
public virtual signal bool leave_fullscreen ();
public virtual signal void load_changed (WebKit.LoadEvent load_event);
public virtual signal bool load_failed (WebKit.LoadEvent load_event, string failing_uri, [CCode (type = "gpointer")] GLib.Error error);
+ [Version (since = "2.6")]
public virtual signal bool load_failed_with_tls_errors (string failing_uri, GLib.TlsCertificate certificate, GLib.TlsCertificateFlags errors);
public virtual signal void mouse_target_changed (WebKit.HitTestResult hit_test_result, uint modifiers);
public virtual signal bool permission_request (WebKit.PermissionRequest permission_request);
@@ -782,9 +910,11 @@ namespace WebKit {
public virtual signal void ready_to_show ();
public virtual signal void resource_load_started (WebKit.WebResource resource, WebKit.URIRequest request);
public virtual signal void run_as_modal ();
+ [Version (since = "2.8")]
public virtual signal bool run_color_chooser (WebKit.ColorChooserRequest request);
public virtual signal bool run_file_chooser (WebKit.FileChooserRequest request);
public virtual signal bool script_dialog (WebKit.ScriptDialog dialog);
+ [Version (since = "2.8")]
public virtual signal bool show_notification (WebKit.Notification notification);
public virtual signal void submit_form (WebKit.FormSubmissionRequest request);
public virtual signal bool web_process_crashed ();
@@ -794,23 +924,50 @@ namespace WebKit {
[CCode (has_construct_function = false)]
protected WebViewBase ();
}
+ [CCode (cheader_filename = "webkit2/webkit2.h", ref_function = "webkit_web_view_session_state_ref", type_id = "webkit_web_view_session_state_get_type ()", unref_function = "webkit_web_view_session_state_unref")]
+ [Compact]
+ public class WebViewSessionState {
+ [CCode (has_construct_function = false)]
+ [Version (since = "2.12")]
+ public WebViewSessionState (GLib.Bytes data);
+ [Version (since = "2.12")]
+ public WebKit.WebViewSessionState @ref ();
+ [Version (since = "2.12")]
+ public GLib.Bytes serialize ();
+ [Version (since = "2.12")]
+ public void unref ();
+ }
[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_website_data_manager_get_type ()")]
public class WebsiteDataManager : GLib.Object {
[CCode (has_construct_function = false)]
protected WebsiteDataManager ();
+ [Version (since = "2.10")]
public unowned string get_base_cache_directory ();
+ [Version (since = "2.10")]
public unowned string get_base_data_directory ();
+ [Version (since = "2.10")]
public unowned string get_disk_cache_directory ();
+ [Version (since = "2.10")]
public unowned string get_indexeddb_directory ();
+ [Version (since = "2.10")]
public unowned string get_local_storage_directory ();
+ [Version (since = "2.10")]
public unowned string get_offline_application_cache_directory ();
+ [Version (since = "2.10")]
public unowned string get_websql_directory ();
+ [Version (since = "2.10")]
public string base_cache_directory { get; construct; }
+ [Version (since = "2.10")]
public string base_data_directory { get; construct; }
+ [Version (since = "2.10")]
public string disk_cache_directory { get; construct; }
+ [Version (since = "2.10")]
public string indexeddb_directory { get; construct; }
+ [Version (since = "2.10")]
public string local_storage_directory { get; construct; }
+ [Version (since = "2.10")]
public string offline_application_cache_directory { get; construct; }
+ [Version (since = "2.10")]
public string websql_directory { get; construct; }
}
[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_window_properties_get_type ()")]
@@ -840,6 +997,7 @@ namespace WebKit {
public abstract void deny ();
}
[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_AUTHENTICATION_SCHEME_", type_id = "webkit_authentication_scheme_get_type ()")]
+ [Version (since = "2.2")]
public enum AuthenticationScheme {
DEFAULT,
HTTP_BASIC,
@@ -917,6 +1075,7 @@ namespace WebKit {
SQLITE
}
[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_CREDENTIAL_PERSISTENCE_", type_id = "webkit_credential_persistence_get_type ()")]
+ [Version (since = "2.2")]
public enum CredentialPersistence {
NONE,
FOR_SESSION,
@@ -924,6 +1083,7 @@ namespace WebKit {
}
[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_EDITOR_TYPING_ATTRIBUTE_", type_id = "webkit_editor_typing_attributes_get_type ()")]
[Flags]
+ [Version (since = "2.10")]
public enum EditorTypingAttributes {
NONE,
BOLD,
@@ -985,6 +1145,7 @@ namespace WebKit {
CANCEL
}
[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_PROCESS_MODEL_", type_id = "webkit_process_model_get_type ()")]
+ [Version (since = "2.4")]
public enum ProcessModel {
SHARED_SECONDARY_PROCESS,
MULTIPLE_SECONDARY_PROCESSES
@@ -997,7 +1158,8 @@ namespace WebKit {
public enum ScriptDialogType {
ALERT,
CONFIRM,
- PROMPT
+ PROMPT,
+ BEFORE_UNLOAD_CONFIRM
}
[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_SNAPSHOT_OPTIONS_", type_id = "webkit_snapshot_options_get_type ()")]
[Flags]
@@ -1017,16 +1179,19 @@ namespace WebKit {
FAIL
}
[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_USER_CONTENT_INJECT_", type_id = "webkit_user_content_injected_frames_get_type ()")]
+ [Version (since = "2.6")]
public enum UserContentInjectedFrames {
ALL_FRAMES,
TOP_FRAME
}
[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_USER_SCRIPT_INJECT_AT_DOCUMENT_", type_id = "webkit_user_script_injection_time_get_type ()")]
+ [Version (since = "2.6")]
public enum UserScriptInjectionTime {
START,
END
}
[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_USER_STYLE_LEVEL_", type_id = "webkit_user_style_level_get_type ()")]
+ [Version (since = "2.6")]
public enum UserStyleLevel {
USER,
AUTHOR
@@ -1095,10 +1260,12 @@ namespace WebKit {
[CCode (cheader_filename = "webkit2/webkit2.h", cname = "WEBKIT_EDITING_COMMAND_COPY")]
public const string EDITING_COMMAND_COPY;
[CCode (cheader_filename = "webkit2/webkit2.h", cname = "WEBKIT_EDITING_COMMAND_CREATE_LINK")]
+ [Version (since = "2.10")]
public const string EDITING_COMMAND_CREATE_LINK;
[CCode (cheader_filename = "webkit2/webkit2.h", cname = "WEBKIT_EDITING_COMMAND_CUT")]
public const string EDITING_COMMAND_CUT;
[CCode (cheader_filename = "webkit2/webkit2.h", cname = "WEBKIT_EDITING_COMMAND_INSERT_IMAGE")]
+ [Version (since = "2.10")]
public const string EDITING_COMMAND_INSERT_IMAGE;
[CCode (cheader_filename = "webkit2/webkit2.h", cname = "WEBKIT_EDITING_COMMAND_PASTE")]
public const string EDITING_COMMAND_PASTE;
@@ -1121,7 +1288,9 @@ namespace WebKit {
[CCode (cheader_filename = "webkit2/webkit2.h")]
public static uint get_minor_version ();
[CCode (cheader_filename = "webkit2/webkit2.h")]
+ [Version (since = "2.8")]
public static bool user_media_permission_is_for_audio_device (WebKit.UserMediaPermissionRequest request);
[CCode (cheader_filename = "webkit2/webkit2.h")]
+ [Version (since = "2.8")]
public static bool user_media_permission_is_for_video_device (WebKit.UserMediaPermissionRequest request);
}
diff --git a/vapi/webkit2gtk-web-extension-4.0.vapi b/vapi/webkit2gtk-web-extension-4.0.vapi
index 1804dee98..bea004462 100644
--- a/vapi/webkit2gtk-web-extension-4.0.vapi
+++ b/vapi/webkit2gtk-web-extension-4.0.vapi
@@ -222,7 +222,7 @@ namespace WebKit {
public unowned WebKit.DOM.DocumentFragment create_document_fragment ();
public unowned WebKit.DOM.Element create_element (string tagName) throws GLib.Error;
public unowned WebKit.DOM.Element create_element_ns (string? namespaceURI, string qualifiedName) throws GLib.Error;
- [Deprecated (since = "2.12")]
+ [Version (deprecated = true, deprecated_since = "2.12")]
public unowned WebKit.DOM.EntityReference create_entity_reference (string? name) throws GLib.Error;
public WebKit.DOM.Event create_event (string eventType) throws GLib.Error;
public WebKit.DOM.XPathExpression create_expression (string expression, WebKit.DOM.XPathNSResolver resolver) throws GLib.Error;
@@ -249,15 +249,18 @@ namespace WebKit {
public string get_document_uri ();
public string get_domain ();
public unowned WebKit.DOM.Element get_element_by_id (string elementId);
- [Deprecated (since = "2.12")]
+ [Version (deprecated = true, deprecated_since = "2.12")]
public WebKit.DOM.NodeList get_elements_by_class_name (string class_name);
+ [Version (since = "2.12")]
public WebKit.DOM.HTMLCollection get_elements_by_class_name_as_html_collection (string classNames);
public WebKit.DOM.NodeList get_elements_by_name (string elementName);
- [Deprecated (since = "2.12")]
+ [Version (deprecated = true, deprecated_since = "2.12")]
public WebKit.DOM.NodeList get_elements_by_tag_name (string tag_name);
+ [Version (since = "2.12")]
public WebKit.DOM.HTMLCollection get_elements_by_tag_name_as_html_collection (string tagname);
- [Deprecated (since = "2.12")]
+ [Version (deprecated = true, deprecated_since = "2.12")]
public WebKit.DOM.NodeList get_elements_by_tag_name_ns (string namespace_uri, string tag_name);
+ [Version (since = "2.12")]
public WebKit.DOM.HTMLCollection get_elements_by_tag_name_ns_as_html_collection (string namespaceURI, string localName);
public WebKit.DOM.HTMLCollection get_forms ();
public unowned WebKit.DOM.HTMLHeadElement get_head ();
@@ -404,23 +407,28 @@ namespace WebKit {
public string get_attribute_ns (string namespaceURI, string localName);
public WebKit.DOM.NamedNodeMap get_attributes ();
public ulong get_child_element_count ();
+ [Version (since = "2.10")]
public WebKit.DOM.HTMLCollection get_children ();
public string get_class_name ();
public double get_client_height ();
public double get_client_left ();
public double get_client_top ();
public double get_client_width ();
- [Deprecated (since = "2.12")]
+ [Version (deprecated = true, deprecated_since = "2.12")]
public WebKit.DOM.NodeList get_elements_by_class_name (string class_name);
+ [Version (since = "2.12")]
public WebKit.DOM.HTMLCollection get_elements_by_class_name_as_html_collection (string name);
- [Deprecated (since = "2.12")]
+ [Version (deprecated = true, deprecated_since = "2.12")]
public WebKit.DOM.NodeList get_elements_by_tag_name (string tag_name);
+ [Version (since = "2.12")]
public WebKit.DOM.HTMLCollection get_elements_by_tag_name_as_html_collection (string name);
- [Deprecated (since = "2.12")]
+ [Version (deprecated = true, deprecated_since = "2.12")]
public WebKit.DOM.NodeList get_elements_by_tag_name_ns (string namespace_uri, string tag_name);
+ [Version (since = "2.12")]
public WebKit.DOM.HTMLCollection get_elements_by_tag_name_ns_as_html_collection (string namespaceURI, string localName);
public unowned WebKit.DOM.Element get_first_element_child ();
public string get_id ();
+ [Version (since = "2.8")]
public string get_inner_html ();
public unowned WebKit.DOM.Element get_last_element_child ();
public unowned WebKit.DOM.Element get_next_element_sibling ();
@@ -429,6 +437,7 @@ namespace WebKit {
public unowned WebKit.DOM.Element get_offset_parent ();
public double get_offset_top ();
public double get_offset_width ();
+ [Version (since = "2.8")]
public string get_outer_html ();
public unowned WebKit.DOM.Element get_previous_element_sibling ();
public long get_scroll_height ();
@@ -455,7 +464,9 @@ namespace WebKit {
public void set_attribute_ns (string? namespaceURI, string qualifiedName, string value) throws GLib.Error;
public void set_class_name (string value);
public void set_id (string value);
+ [Version (since = "2.8")]
public void set_inner_html (string value) throws GLib.Error;
+ [Version (since = "2.8")]
public void set_outer_html (string value) throws GLib.Error;
public void set_scroll_left (long value);
public void set_scroll_top (long value);
@@ -719,17 +730,17 @@ namespace WebKit {
public class HTMLBaseFontElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLBaseFontElement ();
- [Deprecated (since = "2.12")]
+ [Version (deprecated = true, deprecated_since = "2.12")]
public string get_color ();
- [Deprecated (since = "2.12")]
+ [Version (deprecated = true, deprecated_since = "2.12")]
public string get_face ();
- [Deprecated (since = "2.12")]
+ [Version (deprecated = true, deprecated_since = "2.12")]
public long get_size ();
- [Deprecated (since = "2.12")]
+ [Version (deprecated = true, deprecated_since = "2.12")]
public void set_color (string value);
- [Deprecated (since = "2.12")]
+ [Version (deprecated = true, deprecated_since = "2.12")]
public void set_face (string value);
- [Deprecated (since = "2.12")]
+ [Version (deprecated = true, deprecated_since = "2.12")]
public void set_size (long value);
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_body_element_get_type ()")]
@@ -895,16 +906,16 @@ namespace WebKit {
protected HTMLElement ();
public void click ();
public string get_access_key ();
- [Deprecated (since = "2.10")]
+ [Version (deprecated = true, deprecated_since = "2.10")]
public WebKit.DOM.HTMLCollection get_children ();
public string get_content_editable ();
public string get_dir ();
- [Deprecated (since = "2.8")]
+ [Version (deprecated = true, deprecated_since = "2.8")]
public string get_inner_html ();
public string get_inner_text ();
public bool get_is_content_editable ();
public string get_lang ();
- [Deprecated (since = "2.8")]
+ [Version (deprecated = true, deprecated_since = "2.8")]
public string get_outer_html ();
public string get_outer_text ();
public long get_tab_index ();
@@ -912,11 +923,11 @@ namespace WebKit {
public void set_access_key (string value);
public void set_content_editable (string value) throws GLib.Error;
public void set_dir (string value);
- [Deprecated (since = "2.8")]
+ [Version (deprecated = true, deprecated_since = "2.8")]
public void set_inner_html (string contents) throws GLib.Error;
public void set_inner_text (string value) throws GLib.Error;
public void set_lang (string value);
- [Deprecated (since = "2.8")]
+ [Version (deprecated = true, deprecated_since = "2.8")]
public void set_outer_html (string contents) throws GLib.Error;
public void set_outer_text (string value) throws GLib.Error;
public void set_tab_index (long value);
@@ -2232,6 +2243,8 @@ namespace WebKit {
public string prefix { owned get; set; }
public WebKit.DOM.Node previous_sibling { get; }
public string text_content { owned get; set; }
+ [NoAccessorMethod]
+ public WebKit.DOM.Node tree_root { owned get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_node_iterator_get_type ()")]
[GIR (name = "DOMNodeIterator")]
@@ -2239,7 +2252,7 @@ namespace WebKit {
[CCode (has_construct_function = false)]
protected NodeIterator ();
public void detach ();
- [Deprecated (since = "2.12")]
+ [Version (deprecated = true, deprecated_since = "2.12")]
public bool get_expand_entity_references ();
public WebKit.DOM.NodeFilter get_filter ();
public bool get_pointer_before_reference_node ();
@@ -2372,7 +2385,7 @@ namespace WebKit {
protected TreeWalker ();
public unowned WebKit.DOM.Node first_child ();
public unowned WebKit.DOM.Node get_current_node ();
- [Deprecated (since = "2.12")]
+ [Version (deprecated = true, deprecated_since = "2.12")]
public bool get_expand_entity_references ();
public WebKit.DOM.NodeFilter get_filter ();
public unowned WebKit.DOM.Node get_root ();
@@ -2587,36 +2600,52 @@ namespace WebKit {
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_ENTITY_REFERENCE_NODE")]
public const int _NODE_ENTITY_REFERENCE_NODE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_ACCEPT")]
+ [Version (since = "2.6")]
public const int _NODE_FILTER_ACCEPT;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_REJECT")]
+ [Version (since = "2.6")]
public const int _NODE_FILTER_REJECT;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SHOW_ALL")]
+ [Version (since = "2.6")]
public const int _NODE_FILTER_SHOW_ALL;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SHOW_ATTRIBUTE")]
+ [Version (since = "2.6")]
public const int _NODE_FILTER_SHOW_ATTRIBUTE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SHOW_CDATA_SECTION")]
+ [Version (since = "2.6")]
public const int _NODE_FILTER_SHOW_CDATA_SECTION;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SHOW_COMMENT")]
+ [Version (since = "2.6")]
public const int _NODE_FILTER_SHOW_COMMENT;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SHOW_DOCUMENT")]
+ [Version (since = "2.6")]
public const int _NODE_FILTER_SHOW_DOCUMENT;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SHOW_DOCUMENT_FRAGMENT")]
+ [Version (since = "2.6")]
public const int _NODE_FILTER_SHOW_DOCUMENT_FRAGMENT;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SHOW_DOCUMENT_TYPE")]
+ [Version (since = "2.6")]
public const int _NODE_FILTER_SHOW_DOCUMENT_TYPE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SHOW_ELEMENT")]
+ [Version (since = "2.6")]
public const int _NODE_FILTER_SHOW_ELEMENT;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SHOW_ENTITY")]
+ [Version (since = "2.6")]
public const int _NODE_FILTER_SHOW_ENTITY;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SHOW_ENTITY_REFERENCE")]
+ [Version (since = "2.6")]
public const int _NODE_FILTER_SHOW_ENTITY_REFERENCE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SHOW_NOTATION")]
+ [Version (since = "2.6")]
public const int _NODE_FILTER_SHOW_NOTATION;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SHOW_PROCESSING_INSTRUCTION")]
+ [Version (since = "2.6")]
public const int _NODE_FILTER_SHOW_PROCESSING_INSTRUCTION;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SHOW_TEXT")]
+ [Version (since = "2.6")]
public const int _NODE_FILTER_SHOW_TEXT;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SKIP")]
+ [Version (since = "2.6")]
public const int _NODE_FILTER_SKIP;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_PROCESSING_INSTRUCTION_NODE")]
public const int _NODE_PROCESSING_INSTRUCTION_NODE;
@@ -2659,6 +2688,24 @@ namespace WebKit {
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_XPATH_RESULT_UNORDERED_NODE_SNAPSHOT_TYPE")]
public const int _XPATH_RESULT_UNORDERED_NODE_SNAPSHOT_TYPE;
}
+ [CCode (cheader_filename = "webkit2/webkit-web-extension.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "webkit_console_message_get_type ()")]
+ [Compact]
+ public class ConsoleMessage {
+ [Version (since = "2.12")]
+ public WebKit.ConsoleMessage copy ();
+ [Version (since = "2.12")]
+ public void free ();
+ [Version (since = "2.12")]
+ public WebKit.ConsoleMessageLevel get_level ();
+ [Version (since = "2.12")]
+ public uint get_line ();
+ [Version (since = "2.12")]
+ public WebKit.ConsoleMessageSource get_source ();
+ [Version (since = "2.12")]
+ public unowned string get_source_id ();
+ [Version (since = "2.12")]
+ public unowned string get_text ();
+ }
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_context_menu_get_type ()")]
public class ContextMenu : GLib.Object {
[CCode (has_construct_function = false)]
@@ -2668,6 +2715,7 @@ namespace WebKit {
public unowned WebKit.ContextMenuItem get_item_at_position (uint position);
public unowned GLib.List<WebKit.ContextMenuItem> get_items ();
public uint get_n_items ();
+ [Version (since = "2.8")]
public unowned GLib.Variant get_user_data ();
public void insert (WebKit.ContextMenuItem item, int position);
public unowned WebKit.ContextMenuItem last ();
@@ -2675,6 +2723,7 @@ namespace WebKit {
public void prepend (WebKit.ContextMenuItem item);
public void remove (WebKit.ContextMenuItem item);
public void remove_all ();
+ [Version (since = "2.8")]
public void set_user_data (GLib.Variant user_data);
[CCode (has_construct_function = false)]
public ContextMenu.with_items (GLib.List<WebKit.ContextMenuItem> items);
@@ -2701,9 +2750,13 @@ namespace WebKit {
public class Frame : GLib.Object {
[CCode (has_construct_function = false)]
protected Frame ();
+ [Version (since = "2.2")]
public void* get_javascript_context_for_script_world (WebKit.ScriptWorld world);
+ [Version (since = "2.2")]
public void* get_javascript_global_context ();
+ [Version (since = "2.2")]
public unowned string get_uri ();
+ [Version (since = "2.2")]
public bool is_main_frame ();
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_hit_test_result_get_type ()")]
@@ -2732,8 +2785,11 @@ namespace WebKit {
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_script_world_get_type ()")]
public class ScriptWorld : GLib.Object {
[CCode (has_construct_function = false)]
+ [Version (since = "2.2")]
public ScriptWorld ();
+ [Version (since = "2.2")]
public static unowned WebKit.ScriptWorld get_default ();
+ [Version (since = "2.2")]
public signal void window_object_cleared (WebKit.WebPage page, WebKit.Frame frame);
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_uri_request_get_type ()")]
@@ -2741,6 +2797,7 @@ namespace WebKit {
[CCode (has_construct_function = false)]
public URIRequest (string uri);
public Soup.MessageHeaders get_http_headers ();
+ public unowned string get_http_method ();
public unowned string get_uri ();
public void set_uri (string uri);
public string uri { get; set construct; }
@@ -2766,7 +2823,9 @@ namespace WebKit {
public class WebEditor : GLib.Object {
[CCode (has_construct_function = false)]
protected WebEditor ();
+ [Version (since = "2.10")]
public unowned WebKit.WebPage get_page ();
+ [Version (since = "2.10")]
public signal void selection_changed ();
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_web_extension_get_type ()")]
@@ -2780,6 +2839,7 @@ namespace WebKit {
public class WebHitTestResult : WebKit.HitTestResult {
[CCode (has_construct_function = false)]
protected WebHitTestResult ();
+ [Version (since = "2.8")]
public unowned WebKit.DOM.Node get_node ();
public WebKit.DOM.Node node { get; construct; }
}
@@ -2788,15 +2848,38 @@ namespace WebKit {
[CCode (has_construct_function = false)]
protected WebPage ();
public unowned WebKit.DOM.Document get_dom_document ();
+ [Version (since = "2.10")]
public unowned WebKit.WebEditor get_editor ();
public uint64 get_id ();
+ [Version (since = "2.2")]
public unowned WebKit.Frame get_main_frame ();
public unowned string get_uri ();
public string uri { get; }
+ [Version (since = "2.12")]
+ public signal void console_message_sent (WebKit.ConsoleMessage console_message);
+ [Version (since = "2.8")]
public signal bool context_menu (WebKit.ContextMenu context_menu, WebKit.WebHitTestResult hit_test_result);
public signal void document_loaded ();
public signal bool send_request (WebKit.URIRequest request, WebKit.URIResponse redirected_response);
}
+ [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cprefix = "WEBKIT_CONSOLE_MESSAGE_LEVEL_", has_type_id = false)]
+ [Version (since = "2.12")]
+ public enum ConsoleMessageLevel {
+ INFO,
+ LOG,
+ WARNING,
+ ERROR,
+ DEBUG
+ }
+ [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cprefix = "WEBKIT_CONSOLE_MESSAGE_SOURCE_", has_type_id = false)]
+ [Version (since = "2.12")]
+ public enum ConsoleMessageSource {
+ JAVASCRIPT,
+ NETWORK,
+ CONSOLE_API,
+ SECURITY,
+ OTHER
+ }
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cprefix = "WEBKIT_CONTEXT_MENU_ACTION_", has_type_id = false)]
public enum ContextMenuAction {
NO_ACTION,
@@ -2859,5 +2942,6 @@ namespace WebKit {
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", has_target = false)]
public delegate void WebExtensionInitializeFunction (WebKit.WebExtension extension);
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", has_target = false)]
+ [Version (since = "2.4")]
public delegate void WebExtensionInitializeWithUserDataFunction (WebKit.WebExtension extension, GLib.Variant user_data);
}
diff --git a/vapi/xcb-icccm.vapi b/vapi/xcb-icccm.vapi
index 77cb88d91..fd4cb7994 100644
--- a/vapi/xcb-icccm.vapi
+++ b/vapi/xcb-icccm.vapi
@@ -22,7 +22,7 @@
using Xcb;
-[Deprecated (since = "vala-0.26", replacement = "bindings distributed with vala-extra-vapis")]
+[Version (deprecated_since = "vala-0.26", replacement = "bindings distributed with vala-extra-vapis")]
namespace Xcb {
[CCode (lower_case_cprefix = "xcb_icccm_", cheader_filename = "xcb/xcb_icccm.h")]
diff --git a/vapi/xcb.vapi b/vapi/xcb.vapi
index 16842628d..e3bf26b0e 100644
--- a/vapi/xcb.vapi
+++ b/vapi/xcb.vapi
@@ -22,7 +22,7 @@
* Sergio Costas <raster@rastersoft.com>
*/
-[Deprecated (since = "vala-0.26", replacement = "bindings distributed with vala-extra-vapis")]
+[Version (deprecated_since = "vala-0.26", replacement = "bindings distributed with vala-extra-vapis")]
[CCode (lower_case_cprefix = "xcb_", cheader_filename = "xcb/xcb.h,xcb/xproto.h")]
namespace Xcb {
[Compact]
@@ -1560,7 +1560,7 @@ namespace Xcb {
}
}
private uint8 roots_len;
- [Deprecated (since = "vala-0.26", replacement = "Xcb.Setup.screens")]
+ [Version (deprecated_since = "vala-0.26", replacement = "Xcb.Setup.screens")]
public int roots_length ();
public ScreenIterator roots_iterator ();
public Screen[] screens {
@@ -2048,7 +2048,7 @@ namespace Xcb {
return res;
}
}
- [Deprecated (since = "vala-0.26", replacement = "Xcb.Depth.visuals")]
+ [Version (deprecated_since = "vala-0.26", replacement = "Xcb.Depth.visuals")]
public VisualTypeIterator visuals_iterator ();
}
@@ -2071,7 +2071,7 @@ namespace Xcb {
public static void next (ref DepthIterator iter);
}
- [Deprecated (since = "vala-0.26", replacement = "Xcb.Depth.visuals")]
+ [Version (deprecated_since = "vala-0.26", replacement = "Xcb.Depth.visuals")]
[SimpleType]
[CCode (cname = "xcb_visualtype_iterator_t", has_type_id = false)]
public struct VisualTypeIterator {
@@ -2081,11 +2081,11 @@ namespace Xcb {
public static void next (ref VisualTypeIterator iter);
}
- [Deprecated (since = "vala-0.14", replacement = "Xcb.Connection")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Xcb.Connection")]
public Connection connect (string? display = null, out int screen = null);
- [Deprecated (since = "vala-0.14", replacement = "Xcb.Connection.create_window")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Xcb.Connection.create_window")]
public VoidCookie create_window (Connection connection, uint8 depth, Window wid, Window parent, int16 x, int16 y, uint16 width, uint16 height, uint16 border_width, uint16 _class, VisualID visual, uint32 value_mask, [CCode (array_length = false)] uint32[] value_list);
- [Deprecated (since = "vala-0.14", replacement = "Xcb.Connection.map_window")]
+ [Version (deprecated_since = "vala-0.14", replacement = "Xcb.Connection.map_window")]
public VoidCookie map_window (Connection connection, Window wid);
[SimpleType]
diff --git a/vapigen/valagidlparser.vala b/vapigen/valagidlparser.vala
index 43522bb64..26c10a890 100644
--- a/vapigen/valagidlparser.vala
+++ b/vapigen/valagidlparser.vala
@@ -507,12 +507,12 @@ public class Vala.GIdlParser : CodeVisitor {
ns.set_attribute_string ("CCode", "gir_version", eval (nv[1]));
} else if (nv[0] == "deprecated") {
if (eval (nv[1]) == "1") {
- ns.set_attribute ("Deprecated", true);
+ ns.set_attribute_bool ("Version", "deprecated", true);
}
} else if (nv[0] == "replacement") {
- ns.set_attribute_string ("Deprecated", "replacement", eval (nv[1]));
+ ns.set_attribute_string ("Version", "replacement", eval (nv[1]));
} else if (nv[0] == "deprecated_since") {
- ns.set_attribute_string ("Deprecated", "since", eval (nv[1]));
+ ns.set_attribute_string ("Version", "deprecated_since", eval (nv[1]));
}
}
}
@@ -618,12 +618,12 @@ public class Vala.GIdlParser : CodeVisitor {
cb.return_type = return_type = parse_type_from_string (eval (nv[1]), return_type.value_owned);
} else if (nv[0] == "deprecated") {
if (eval (nv[1]) == "1") {
- cb.set_attribute ("Deprecated", true);
+ cb.set_attribute_bool ("Version", "deprecated", true);
}
} else if (nv[0] == "replacement") {
- cb.set_attribute_string ("Deprecated", "replacement", eval (nv[1]));
+ cb.set_attribute_string ("Version", "replacement", eval (nv[1]));
} else if (nv[0] == "deprecated_since") {
- cb.set_attribute_string ("Deprecated", "since", eval (nv[1]));
+ cb.set_attribute_string ("Version", "deprecated_since", eval (nv[1]));
} else if (nv[0] == "type_arguments") {
parse_type_arguments_from_string (return_type, eval (nv[1]));
} else if (nv[0] == "instance_pos") {
@@ -634,7 +634,7 @@ public class Vala.GIdlParser : CodeVisitor {
}
} else if (nv[0] == "experimental") {
if (eval (nv[1]) == "1") {
- cb.set_attribute ("Experimental", true);
+ cb.set_attribute_bool ("Version", "experimental", true);
}
}
}
@@ -820,19 +820,19 @@ public class Vala.GIdlParser : CodeVisitor {
}
} else if (nv[0] == "deprecated") {
if (eval (nv[1]) == "1") {
- st.set_attribute ("Deprecated", true);
+ st.set_attribute_bool ("Version", "deprecated", true);
}
} else if (nv[0] == "replacement") {
- st.set_attribute_string ("Deprecated", "replacement", eval (nv[1]));
+ st.set_attribute_string ("Version", "replacement", eval (nv[1]));
} else if (nv[0] == "deprecated_since") {
- st.set_attribute_string ("Deprecated", "since", eval (nv[1]));
+ st.set_attribute_string ("Version", "deprecated_since", eval (nv[1]));
} else if (nv[0] == "has_destroy_function") {
if (eval (nv[1]) == "0") {
st.set_attribute_bool ("CCode", "has_destroy_function", false);
}
} else if (nv[0] == "experimental") {
if (eval (nv[1]) == "1") {
- st.set_attribute ("Experimental", true);
+ st.set_attribute_bool ("Version", "experimental", true);
}
}
}
@@ -914,19 +914,19 @@ public class Vala.GIdlParser : CodeVisitor {
}
} else if (nv[0] == "deprecated") {
if (eval (nv[1]) == "1") {
- cl.set_attribute ("Deprecated", true);
+ cl.set_attribute_bool ("Version", "deprecated", true);
}
} else if (nv[0] == "replacement") {
- cl.set_attribute_string ("Deprecated", "replacement", eval (nv[1]));
+ cl.set_attribute_string ("Version", "replacement", eval (nv[1]));
} else if (nv[0] == "deprecated_since") {
- cl.set_attribute_string ("Deprecated", "since", eval (nv[1]));
+ cl.set_attribute_string ("Version", "deprecated_since", eval (nv[1]));
} else if (nv[0] == "type_parameters") {
foreach (string type_param_name in eval (nv[1]).split (",")) {
cl.add_type_parameter (new TypeParameter (type_param_name, current_source_reference));
}
} else if (nv[0] == "experimental") {
if (eval (nv[1]) == "1") {
- cl.set_attribute ("Experimental", true);
+ cl.set_attribute_bool ("Version", "experimental", true);
}
} else if (nv[0] == "delegate_target_cname") {
cl.set_attribute_string ("CCode", "delegate_target_cname", eval (nv[1]));
@@ -1015,19 +1015,19 @@ public class Vala.GIdlParser : CodeVisitor {
st.set_attribute_string ("CCode", "cheader_filename", eval (nv[1]));
} else if (nv[0] == "deprecated") {
if (eval (nv[1]) == "1") {
- st.set_attribute ("Deprecated", true);
+ st.set_attribute_bool ("Version", "deprecated", true);
}
} else if (nv[0] == "replacement") {
- st.set_attribute_string ("Deprecated", "replacement", eval (nv[1]));
+ st.set_attribute_string ("Version", "replacement", eval (nv[1]));
} else if (nv[0] == "deprecated_since") {
- st.set_attribute_string ("Deprecated", "since", eval (nv[1]));
+ st.set_attribute_string ("Version", "deprecated_since", eval (nv[1]));
} else if (nv[0] == "hidden") {
if (eval (nv[1]) == "1") {
return;
}
} else if (nv[0] == "experimental") {
if (eval (nv[1]) == "1") {
- st.set_attribute ("Experimental", true);
+ st.set_attribute_bool ("Version", "experimental", true);
}
}
}
@@ -1160,12 +1160,12 @@ public class Vala.GIdlParser : CodeVisitor {
st.set_attribute_string ("CCode", "cheader_filename", eval (nv[1]));
} else if (nv[0] == "deprecated") {
if (eval (nv[1]) == "1") {
- st.set_attribute ("Deprecated", true);
+ st.set_attribute_bool ("Version", "deprecated", true);
}
} else if (nv[0] == "replacement") {
- st.set_attribute_string ("Deprecated", "replacement", eval (nv[1]));
+ st.set_attribute_string ("Version", "replacement", eval (nv[1]));
} else if (nv[0] == "deprecated_since") {
- st.set_attribute_string ("Deprecated", "since", eval (nv[1]));
+ st.set_attribute_string ("Version", "deprecated_since", eval (nv[1]));
} else if (nv[0] == "immutable") {
if (eval (nv[1]) == "1") {
st.set_attribute ("Immutable", true);
@@ -1180,7 +1180,7 @@ public class Vala.GIdlParser : CodeVisitor {
}
} else if (nv[0] == "experimental") {
if (eval (nv[1]) == "1") {
- st.set_attribute ("Experimental", true);
+ st.set_attribute_bool ("Version", "experimental", true);
}
}
}
@@ -1239,12 +1239,12 @@ public class Vala.GIdlParser : CodeVisitor {
}
} else if (nv[0] == "deprecated") {
if (eval (nv[1]) == "1") {
- cl.set_attribute ("Deprecated", true);
+ cl.set_attribute_bool ("Version", "deprecated", true);
}
} else if (nv[0] == "replacement") {
- cl.set_attribute_string ("Deprecated", "replacement", eval (nv[1]));
+ cl.set_attribute_string ("Version", "replacement", eval (nv[1]));
} else if (nv[0] == "deprecated_since") {
- cl.set_attribute_string ("Deprecated", "since", eval (nv[1]));
+ cl.set_attribute_string ("Version", "deprecated_since", eval (nv[1]));
} else if (nv[0] == "const_cname") {
cl.set_attribute_string ("CCode", "const_cname", eval (nv[1]));
} else if (nv[0] == "free_function") {
@@ -1261,7 +1261,7 @@ public class Vala.GIdlParser : CodeVisitor {
}
} else if (nv[0] == "experimental") {
if (eval (nv[1]) == "1") {
- cl.set_attribute ("Experimental", true);
+ cl.set_attribute_bool ("Version", "experimental", true);
}
}
}
@@ -1401,14 +1401,14 @@ public class Vala.GIdlParser : CodeVisitor {
}
} else if (nv[0] == "deprecated") {
if (eval (nv[1]) == "1") {
- en.set_attribute ("Deprecated", true);
+ en.set_attribute_bool ("Version", "deprecated", true);
}
} else if (nv[0] == "default_value") {
en.set_attribute_string ("CCode", "default_value", eval (nv[1]));
} else if (nv[0] == "replacement") {
- en.set_attribute_string ("Deprecated", "replacement", eval (nv[1]));
+ en.set_attribute_string ("Version", "replacement", eval (nv[1]));
} else if (nv[0] == "deprecated_since") {
- en.set_attribute_string ("Deprecated", "since", eval (nv[1]));
+ en.set_attribute_string ("Version", "deprecated_since", eval (nv[1]));
} else if (nv[0] == "rename_to") {
en.name = eval (nv[1]);
} else if (nv[0] == "errordomain") {
@@ -1425,7 +1425,7 @@ public class Vala.GIdlParser : CodeVisitor {
en.add_method (m);
} else if (nv[0] == "experimental") {
if (eval (nv[1]) == "1") {
- en.set_attribute ("Experimental", true);
+ en.set_attribute_bool ("Version", "experimental", true);
}
}
}
@@ -1445,12 +1445,12 @@ public class Vala.GIdlParser : CodeVisitor {
is_hidden = true;
} else if (nv[0] == "deprecated") {
if (eval (nv[1]) == "1") {
- ev.set_attribute ("Deprecated", true);
+ ev.set_attribute_bool ("Version", "deprecated", true);
}
} else if (nv[0] == "replacement") {
- ev.set_attribute_string ("Deprecated", "replacement", eval (nv[1]));
+ ev.set_attribute_string ("Version", "replacement", eval (nv[1]));
} else if (nv[0] == "deprecated_since") {
- ev.set_attribute_string ("Deprecated", "since", eval (nv[1]));
+ ev.set_attribute_string ("Version", "deprecated_since", eval (nv[1]));
}
}
}
@@ -1512,12 +1512,12 @@ public class Vala.GIdlParser : CodeVisitor {
cl.set_attribute_string ("CCode", "type_check_function", eval (nv[1]));
} else if (nv[0] == "deprecated") {
if (eval (nv[1]) == "1") {
- cl.set_attribute ("Deprecated", true);
+ cl.set_attribute_bool ("Version", "deprecated", true);
}
} else if (nv[0] == "replacement") {
- cl.set_attribute_string ("Deprecated", "replacement", eval (nv[1]));
+ cl.set_attribute_string ("Version", "replacement", eval (nv[1]));
} else if (nv[0] == "deprecated_since") {
- cl.set_attribute_string ("Deprecated", "since", eval (nv[1]));
+ cl.set_attribute_string ("Version", "deprecated_since", eval (nv[1]));
} else if (nv[0] == "type_id") {
cl.set_attribute_string ("CCode", "type_id", eval (nv[1]));
} else if (nv[0] == "abstract") {
@@ -1526,7 +1526,7 @@ public class Vala.GIdlParser : CodeVisitor {
}
} else if (nv[0] == "experimental") {
if (eval (nv[1]) == "1") {
- cl.set_attribute ("Experimental", true);
+ cl.set_attribute_bool ("Version", "experimental", true);
}
} else if (nv[0] == "compact") {
if (eval (nv[1]) == "1") {
@@ -2316,12 +2316,12 @@ public class Vala.GIdlParser : CodeVisitor {
parse_type_arguments_from_string (return_type, eval (nv[1]));
} else if (nv[0] == "deprecated") {
if (eval (nv[1]) == "1") {
- m.set_attribute ("Deprecated", true);
+ m.set_attribute_bool ("Version", "deprecated", true);
}
} else if (nv[0] == "replacement") {
- m.set_attribute_string ("Deprecated", "replacement", eval (nv[1]));
+ m.set_attribute_string ("Version", "replacement", eval (nv[1]));
} else if (nv[0] == "deprecated_since") {
- m.set_attribute_string ("Deprecated", "since", eval (nv[1]));
+ m.set_attribute_string ("Version", "deprecated_since", eval (nv[1]));
} else if (nv[0] == "cheader_filename") {
m.set_attribute_string ("CCode", "cheader_filename", eval (nv[1]));
} else if (nv[0] == "abstract") {
@@ -2349,7 +2349,7 @@ public class Vala.GIdlParser : CodeVisitor {
}
} else if (nv[0] == "experimental") {
if (eval (nv[1]) == "1") {
- m.set_attribute ("Experimental", true);
+ m.set_attribute_bool ("Version", "experimental", true);
}
} else if (nv[0] == "simple_generics") {
if (eval (nv[1]) == "1") {
@@ -2734,12 +2734,12 @@ public class Vala.GIdlParser : CodeVisitor {
parse_type_arguments_from_string (prop.property_type, eval (nv[1]));
} else if (nv[0] == "deprecated") {
if (eval (nv[1]) == "1") {
- prop.set_attribute ("Deprecated", true);
+ prop.set_attribute_bool ("Version", "deprecated", true);
}
} else if (nv[0] == "replacement") {
- prop.set_attribute_string ("Deprecated", "replacement", eval (nv[1]));
+ prop.set_attribute_string ("Version", "replacement", eval (nv[1]));
} else if (nv[0] == "deprecated_since") {
- prop.set_attribute_string ("Deprecated", "since", eval (nv[1]));
+ prop.set_attribute_string ("Version", "deprecated_since", eval (nv[1]));
} else if (nv[0] == "accessor_method") {
if (eval (nv[1]) == "0") {
prop.set_attribute ("NoAccessorMethod", true);
@@ -2752,7 +2752,7 @@ public class Vala.GIdlParser : CodeVisitor {
prop.property_type = parse_type_from_string (eval (nv[1]), false);
} else if (nv[0] == "experimental") {
if (eval (nv[1]) == "1") {
- prop.set_attribute ("Experimental", true);
+ prop.set_attribute_bool ("Version", "experimental", true);
}
} else if (nv[0] == "nullable") {
if (eval (nv[1]) == "1" && !(prop.property_type is VoidType)) {
@@ -2792,19 +2792,19 @@ public class Vala.GIdlParser : CodeVisitor {
c.set_attribute_string ("CCode", "cheader_filename", eval (nv[1]));
} else if (nv[0] == "deprecated") {
if (eval (nv[1]) == "1") {
- c.set_attribute ("Deprecated", true);
+ c.set_attribute_bool ("Version", "deprecated", true);
}
} else if (nv[0] == "replacement") {
- c.set_attribute_string ("Deprecated", "replacement", eval (nv[1]));
+ c.set_attribute_string ("Version", "replacement", eval (nv[1]));
} else if (nv[0] == "deprecated_since") {
- c.set_attribute_string ("Deprecated", "since", eval (nv[1]));
+ c.set_attribute_string ("Version", "deprecated_since", eval (nv[1]));
} else if (nv[0] == "hidden") {
if (eval (nv[1]) == "1") {
return null;
}
} else if (nv[0] == "experimental") {
if (eval (nv[1]) == "1") {
- c.set_attribute ("Experimental", true);
+ c.set_attribute_bool ("Version", "experimental", true);
}
}
}
@@ -2918,19 +2918,19 @@ public class Vala.GIdlParser : CodeVisitor {
}
if (deprecated) {
- field.set_attribute ("Deprecated", true);
+ field.set_attribute_bool ("Version", "deprecated", true);
if (deprecated_since != null) {
- field.set_attribute_string ("Deprecated", "since", deprecated_since);
+ field.set_attribute_string ("Version", "deprecated_since", deprecated_since);
}
if (replacement != null) {
- field.set_attribute_string ("Deprecated", "replacement", replacement);
+ field.set_attribute_string ("Version", "replacement", replacement);
}
}
if (experimental) {
- field.set_attribute ("Experimental", true);
+ field.set_attribute_bool ("Version", "experimental", true);
}
if (ctype != null) {
@@ -3060,12 +3060,12 @@ public class Vala.GIdlParser : CodeVisitor {
}
} else if (nv[0] == "deprecated") {
if (eval (nv[1]) == "1") {
- sig.set_attribute ("Deprecated", true);
+ sig.set_attribute_bool ("Version", "deprecated", true);
}
} else if (nv[0] == "replacement") {
- sig.set_attribute_string ("Deprecated", "replacement", eval (nv[1]));
+ sig.set_attribute_string ("Version", "replacement", eval (nv[1]));
} else if (nv[0] == "deprecated_since") {
- sig.set_attribute_string ("Deprecated", "since", eval (nv[1]));
+ sig.set_attribute_string ("Version", "deprecated_since", eval (nv[1]));
} else if (nv[0] == "transfer_ownership") {
if (eval (nv[1]) == "1") {
sig.return_type.value_owned = true;
@@ -3078,7 +3078,7 @@ public class Vala.GIdlParser : CodeVisitor {
parse_type_arguments_from_string (sig.return_type, eval (nv[1]));
} else if (nv[0] == "experimental") {
if (eval (nv[1]) == "1") {
- sig.set_attribute ("Experimental", true);
+ sig.set_attribute_bool ("Version", "experimental", true);
}
}
}