diff --git a/GI/src/gidocs.jl b/GI/src/gidocs.jl index 2dd54381..8e4418c1 100644 --- a/GI/src/gidocs.jl +++ b/GI/src/gidocs.jl @@ -12,7 +12,12 @@ end function doc_add_link(docstring, l) # FIXME: should escape the string in the square brackets because the underscores mess up the markdown formatting - "$docstring\n \nDetails can be found in the [GTK docs]($l)." + if docstring != "" + dc = "$docstring\n \n" + else + dc = "" + end + dc*"See the [GTK docs]($l)." end _name_match(n, name)=n["name"]==String(name) @@ -49,10 +54,15 @@ for (item, xmlitem) in [ end end -function append_const_docs!(exprs, ns, d, c) +# Pulling the docstrings from the XML is disabled by default due to licensing concerns. + +function append_const_docs!(exprs, ns, d, c; incl_text=false) for x in c dc = GI.doc_const(d,x) if dc !== nothing + if !incl_text + dc = "" + end dc = GI.doc_const_add_link(dc, x, ns) GI.append_doc!(exprs, dc, x) end @@ -60,6 +70,9 @@ function append_const_docs!(exprs, ns, d, c) for x in c dc = GI.doc_enum(d,x) if dc !== nothing + if !incl_text + dc = "" + end dc = GI.doc_enum_add_link(dc, x, ns) GI.append_doc!(exprs, dc, x) end @@ -67,26 +80,35 @@ function append_const_docs!(exprs, ns, d, c) for x in c dc = GI.doc_flags(d,x) if dc !== nothing + if !incl_text + dc = "" + end dc = GI.doc_flags_add_link(dc, x, ns) GI.append_doc!(exprs, dc, x) end end end -function append_struc_docs!(exprs, ns, d, c, gins) +function append_struc_docs!(exprs, ns, d, c, gins; incl_text=false) for x in c dc = GI.doc_struc(d,x) if dc !== nothing + if !incl_text + dc = "" + end dc = GI.doc_struc_add_link(dc, x, ns) GI.append_doc!(exprs, dc, get_full_name(gins[x])) end end end -function append_object_docs!(exprs, ns, d, c, gins) +function append_object_docs!(exprs, ns, d, c, gins; incl_text=false) for x in c dc = GI.doc_object(d,x) if dc !== nothing + if !incl_text + dc = "" + end dc = GI.doc_object_add_link(dc, x, ns) GI.append_doc!(exprs, dc, get_full_name(gins[x])) end diff --git a/GI/src/giexport.jl b/GI/src/giexport.jl index 675c8ef4..be664867 100644 --- a/GI/src/giexport.jl +++ b/GI/src/giexport.jl @@ -46,11 +46,11 @@ function struct_cache_expr!(exprs) push!(exprs,unblock(gboxed_types_list)) end -function struct_exprs!(exprs,exports,ns,structs=nothing;print_summary=true,excludelist=[],constructor_skiplist=[],import_as_opaque=[],output_cache_init=true,only_opaque=false) +function struct_exprs!(exprs,exports,ns,structs=nothing;print_summary=true,excludelist=[],constructor_skiplist=[],import_as_opaque=[],output_cache_init=true,only_opaque=false,exclude_deprecated=true) struct_skiplist=excludelist if structs === nothing - s=get_all(ns,GIStructInfo) + s=get_all(ns,GIStructInfo,exclude_deprecated) structinfos=filter(p->∉(get_name(p),struct_skiplist),s) structs = get_name.(structinfos) end @@ -95,7 +95,7 @@ function struct_exprs!(exprs,exports,ns,structs=nothing;print_summary=true,exclu for ss in structs ssi=gi_find_by_name(ns,ss) - constructors = get_constructors(ssi;skiplist=constructor_skiplist, struct_skiplist=struct_skiplist) + constructors = get_constructors(ssi;skiplist=constructor_skiplist, struct_skiplist=struct_skiplist, exclude_deprecated=exclude_deprecated) if !isempty(constructors) append!(exprs,constructors) end @@ -108,11 +108,11 @@ function struct_exprs!(exprs,exports,ns,structs=nothing;print_summary=true,exclu struct_skiplist end -function all_struct_exprs!(exprs,exports,ns;print_summary=true,excludelist=[],constructor_skiplist=[],import_as_opaque=Symbol[],output_cache_init=true,only_opaque=false) +function all_struct_exprs!(exprs,exports,ns;print_summary=true,excludelist=[],constructor_skiplist=[],import_as_opaque=Symbol[],output_cache_init=true,only_opaque=false,exclude_deprecated=true) struct_skiplist=excludelist loaded=Symbol[] - s=get_all(ns,GIStructInfo) + s=get_all(ns,GIStructInfo,exclude_deprecated) ss=filter(p->∉(get_name(p),struct_skiplist),s) imported=length(ss) for ssi in ss @@ -148,7 +148,7 @@ function all_struct_exprs!(exprs,exports,ns;print_summary=true,excludelist=[],co for ssi in ss - constructors = get_constructors(ssi;skiplist=constructor_skiplist, struct_skiplist=struct_skiplist) + constructors = get_constructors(ssi;skiplist=constructor_skiplist, struct_skiplist=struct_skiplist, exclude_deprecated=exclude_deprecated) isempty(constructors) || append!(exprs,constructors) end @@ -176,8 +176,8 @@ function all_callbacks!(exprs, exports, ns) nothing end -function all_struct_methods!(exprs,ns;print_summary=true,print_detailed=false,skiplist=Symbol[], struct_skiplist=Symbol[], liboverride=nothing) - structs=get_structs(ns) +function all_struct_methods!(exprs,ns;print_summary=true,print_detailed=false,skiplist=Symbol[], struct_skiplist=Symbol[], liboverride=nothing,exclude_deprecated=true) + structs=get_structs(ns,exclude_deprecated) handled_symbols=Symbol[] not_implemented=0 @@ -199,7 +199,7 @@ function all_struct_methods!(exprs,ns;print_summary=true,print_detailed=false,sk if get_flags(m) & (GIFunction.IS_CONSTRUCTOR | GIFunction.IS_METHOD) == 0 continue end - is_deprecated(m) && continue + (exclude_deprecated && is_deprecated(m)) && continue print_detailed && println(get_name(m)) try fun=create_method(m, liboverride) @@ -229,8 +229,8 @@ function all_struct_methods!(exprs,ns;print_summary=true,print_detailed=false,sk handled_symbols end -function all_objects!(exprs,exports,ns;print_summary=true,handled=Symbol[],skiplist=Symbol[],constructor_skiplist=[],output_cache_define=true,output_cache_init=true) - objects=get_all(ns,GIObjectInfo) +function all_objects!(exprs,exports,ns;print_summary=true,handled=Symbol[],skiplist=Symbol[],constructor_skiplist=[],output_cache_define=true,output_cache_init=true, exclude_deprecated=true) + objects=get_all(ns,GIObjectInfo,exclude_deprecated) imported=length(objects) loaded=Symbol[] @@ -270,7 +270,7 @@ function all_objects!(exprs,exports,ns;print_summary=true,handled=Symbol[],skipl end for o in objects in(get_name(o), skiplist) && continue - constructors = get_constructors(o;skiplist=constructor_skiplist, struct_skiplist=skiplist) + constructors = get_constructors(o;skiplist=constructor_skiplist, struct_skiplist=skiplist, exclude_deprecated=exclude_deprecated) isempty(constructors) || append!(exprs,constructors) end if print_summary @@ -279,11 +279,11 @@ function all_objects!(exprs,exports,ns;print_summary=true,handled=Symbol[],skipl loaded end -function all_object_methods!(exprs,ns;skiplist=Symbol[],object_skiplist=Symbol[], liboverride=nothing) +function all_object_methods!(exprs,ns;skiplist=Symbol[],object_skiplist=Symbol[], liboverride=nothing, exclude_deprecated=true) not_implemented=0 skipped=0 created=0 - objects=get_all(ns,GIObjectInfo) + objects=get_all(ns,GIObjectInfo,exclude_deprecated) for o in objects name=get_name(o) methods=get_methods(o) @@ -296,7 +296,7 @@ function all_object_methods!(exprs,ns;skiplist=Symbol[],object_skiplist=Symbol[] skipped+=1 continue end - is_deprecated(m) && continue + (exclude_deprecated && is_deprecated(m)) && continue try fun=create_method(m, liboverride) push!(exprs, fun) @@ -314,8 +314,8 @@ function all_object_methods!(exprs,ns;skiplist=Symbol[],object_skiplist=Symbol[] end end -function all_interfaces!(exprs,exports,ns;print_summary=true,skiplist=Symbol[]) - interfaces=get_all(ns,GIInterfaceInfo) +function all_interfaces!(exprs,exports,ns;print_summary=true,skiplist=Symbol[],exclude_deprecated=true) + interfaces=get_all(ns,GIInterfaceInfo,exclude_deprecated) imported=length(interfaces) for i in interfaces @@ -337,11 +337,11 @@ function all_interfaces!(exprs,exports,ns;print_summary=true,skiplist=Symbol[]) skiplist end -function all_interface_methods!(exprs,ns;skiplist=Symbol[],interface_skiplist=Symbol[], liboverride=nothing) +function all_interface_methods!(exprs,ns;skiplist=Symbol[],interface_skiplist=Symbol[], liboverride=nothing,exclude_deprecated=true) not_implemented=0 skipped=0 created=0 - interfaces=get_all(ns,GIInterfaceInfo) + interfaces=get_all(ns,GIInterfaceInfo,exclude_deprecated) for i in interfaces name=get_name(i) methods=get_methods(i) @@ -354,7 +354,7 @@ function all_interface_methods!(exprs,ns;skiplist=Symbol[],interface_skiplist=Sy skipped+=1 continue end - is_deprecated(m) && continue + (exclude_deprecated && is_deprecated(m)) && continue try fun=create_method(m, liboverride) push!(exprs, fun) @@ -371,11 +371,11 @@ function all_interface_methods!(exprs,ns;skiplist=Symbol[],interface_skiplist=Sy end end -function all_functions!(exprs,ns;print_summary=true,skiplist=Symbol[],symbol_skiplist=Symbol[], liboverride=nothing) +function all_functions!(exprs,ns;print_summary=true,skiplist=Symbol[],symbol_skiplist=Symbol[], liboverride=nothing,exclude_deprecated=true) j=0 skipped=0 not_implemented=0 - for i in get_all(ns,GIFunctionInfo) + for i in get_all(ns,GIFunctionInfo,exclude_deprecated) if in(get_name(i),skiplist) || occursin("cclosure",string(get_name(i))) skipped+=1 continue diff --git a/GI/src/giimport.jl b/GI/src/giimport.jl index c9636606..f2900996 100644 --- a/GI/src/giimport.jl +++ b/GI/src/giimport.jl @@ -345,13 +345,16 @@ function decl(interfaceinfo::GIInterfaceInfo) end function get_closure(callbackinfo::GICallbackInfo) - closure = -1 - for arg in get_args(callbackinfo) - if get_closure(arg) > -1 - closure = get_closure(arg) - end + args = get_args(callbackinfo) + if length(args) == 0 + return -1 + end + # this seems very wrong, but they removed the "closure" annotation for callbacks with gobject-introspection 1.76 + if endswith(string(get_name(args[end])),"data") == true + return length(args)-1 + else + return -1 end - return closure end ## Callback output @@ -660,8 +663,9 @@ function convert_to_c(name::Symbol, info::GIArgInfo, ti::TypeDesc{T}) where {T<: retctyp=extract_type(rettyp).ctype # get arg types argctypes_arr=[] - for (i,arg) in enumerate(get_args(callbackinfo)) - if i-1 == cclosure + args = get_args(callbackinfo) + for (i,arg) in enumerate(args) + if i == length(args) # we already know there is a closure, and it has to be the last argument push!(argctypes_arr,:(Ref{Function})) else argtyp=get_type(arg) @@ -906,7 +910,7 @@ function make_ccall(libs::AbstractArray, id, rtype, args) make_ccall(slib, id, rtype, args) end -function get_constructors(info::Union{GIStructInfo,GIObjectInfo};skiplist=Symbol[],struct_skiplist=Symbol[]) +function get_constructors(info::Union{GIStructInfo,GIObjectInfo};skiplist=Symbol[],struct_skiplist=Symbol[],exclude_deprecated=true) methods=get_methods(info) name=get_name(info) nsstring=get_namespace(info) @@ -916,7 +920,7 @@ function get_constructors(info::Union{GIStructInfo,GIObjectInfo};skiplist=Symbol gskiplist=[Symbol(nsstring,i) for i in struct_skiplist] ugskiplist=[Symbol("_",nsstring,i) for i in struct_skiplist] for minfo in methods - if is_deprecated(minfo) || get_name(minfo) in skiplist + if (exclude_deprecated && is_deprecated(minfo)) || get_name(minfo) in skiplist continue end if get_flags(minfo) & GIFunction.IS_CONSTRUCTOR != 0 diff --git a/gen/gen_gdk4.jl b/gen/gen_gdk4.jl index 11c25017..cbb75ff2 100644 --- a/gen/gen_gdk4.jl +++ b/gen/gen_gdk4.jl @@ -28,7 +28,7 @@ toplevel, exprs, exports = GI.output_exprs() # These are marked as "disguised" and what this means is not documented AFAICT. disguised = Symbol[] -struct_skiplist=vcat(disguised, [:ToplevelSize]) +struct_skiplist=vcat(disguised, [:ToplevelSize,:TextureDownloader]) GI.struct_cache_expr!(exprs) struct_skiplist,c = GI.all_struct_exprs!(exprs,exports,ns;excludelist=struct_skiplist,import_as_opaque=[:TimeCoord]) diff --git a/gen/gen_gio.jl b/gen/gen_gio.jl index 4391f671..8e9ee370 100644 --- a/gen/gen_gio.jl +++ b/gen/gen_gio.jl @@ -16,7 +16,10 @@ toplevel, exprs, exports = GI.output_exprs() disguised = GI.read_disguised(d) struct_skiplist=vcat(disguised, [:ActionEntry,:DBusAnnotationInfo,:DBusArgInfo,:DBusInterfaceInfo, :DBusInterfaceVTable,:DBusMethodInfo,:DBusPropertyInfo,:DBusSignalInfo,:DBusSubtreeVTable, -:DBusNodeInfo,:InputMessage,:OutputMessage,:StaticResource,:UnixMountEntry,:UnixMountPoint]) +:DBusNodeInfo,:InputMessage,:OutputMessage,:StaticResource,:UnixMountEntry,:UnixMountPoint, +:XdpDocumentsProxy,:XdpDocumentsSkeleton,:XdpOpenURISkeleton,:XdpDocumentsProxyClass, +:XdpDocumentsSkeletonClass,:XdpOpenURIProxy,:XdpOpenURIProxyClass,:XdpOpenURISkeletonClass, +:XdpProxyResolverProxy,:XdpProxyResolverProxyClass,:XdpProxyResolverSkeleton,:XdpProxyResolverSkeletonClass,:XdpTrashProxy,:XdpTrashProxyClass,:XdpTrashSkeleton,:XdpTrashSkeletonClass,:_FreedesktopDBusProxyClass,:_FreedesktopDBusSkeletonClass]) struct_skiplist,c = GI.all_struct_exprs!(exprs,exports,ns;excludelist=struct_skiplist,output_cache_init=false) GI.append_struc_docs!(exprs, "gio", d, c, ns) @@ -24,7 +27,7 @@ GI.append_struc_docs!(exprs, "gio", d, c, ns) ## objects obj_skiplist=[:UnixMountMonitor,:UnixOutputStream,:UnixInputStream,:UnixFDList,:UnixFDMessage,:UnixSocketAddress,:DebugControllerDBus] -GI.all_interfaces!(exprs,exports,ns;skiplist=[]) +GI.all_interfaces!(exprs,exports,ns;skiplist=[:XdpProxyResolverIface]) c = GI.all_objects!(exprs,exports,ns;skiplist=obj_skiplist,constructor_skiplist=[:new_for_bus_sync,:new_sync,:new_with_fd_list,:new_for_address_finish,:new_for_bus_finish,:new_for_bus_finish,:new_from_filename,:new_loopback,:new_section,:new_with_default_fallbacks,:new_from_file_with_password],output_cache_define=false,output_cache_init=false) GI.append_object_docs!(exprs, "gio", d, c, ns) GI.all_callbacks!(exprs, exports, ns) @@ -43,13 +46,13 @@ GI.all_struct_methods!(exprs,ns,struct_skiplist=struct_skiplist) skiplist=[:new_for_bus,:export,:add_option_group,:make_pollfd,:get_info, :new_for_bus_sync,:new_sync,:writev,:writev_all,:flatten_tree,:changed_tree,:receive_messages,:send_message,:send_message_with_timeout,:send_messages, -:get_channel_binding_data,:lookup_certificates_issued_by,:get_default,:get_unix_fd_list,:set_unix_fd_list] +:get_channel_binding_data,:lookup_certificates_issued_by,:get_default,:get_unix_fd_list,:set_unix_fd_list,:get_attribute_file_path,:set_attribute_file_path,:get_timeout,:set_timeout] # skips are to avoid method name collisions GI.all_object_methods!(exprs,ns;skiplist=skiplist,object_skiplist=vcat(obj_skiplist,[:AppInfoMonitor,:DBusConnection,:DBusMenuModel,:DBusProxy,:DBusMethodInvocation,:IOModule,:SimpleProxyResolver,:UnixMountMonitor,:Task])) skiplist=[:add_action_entries,:get_info,:receive_messages,:send_messages, -:writev_nonblocking,:dup_default] +:writev_nonblocking,:dup_default,:remove_action_entries,:new_build_filenamev] # skips are to avoid method name collisions GI.all_interface_methods!(exprs,ns;skiplist=skiplist,interface_skiplist=[:App,:AppInfo,:DBusObjectManager,:Drive,:Icon,:Mount,:NetworkMonitor,:PollableOutputStream,:ProxyResolver,:SocketConnectable,:TlsBackend,:TlsClientConnection,:Volume,:DtlsServerConnection]) @@ -62,7 +65,7 @@ toplevel, exprs, exports = GI.output_exprs() skiplist=[:bus_own_name_on_connection,:bus_own_name,:bus_watch_name_on_connection,:bus_watch_name,:dbus_annotation_info_lookup,:dbus_error_encode_gerror,:dbus_error_get_remote_error,:dbus_error_is_remote_error,:dbus_error_new_for_dbus_error, :dbus_error_strip_remote_error,:dbus_error_register_error_domain,:io_modules_load_all_in_directory_with_scope,:io_modules_scan_all_in_directory_with_scope,:dbus_gvariant_to_gvalue,:unix_mount_at,:unix_mount_copy,:unix_mount_compare,:unix_mount_for,:unix_mount_free, :unix_mount_get_device_path,:unix_mount_get_fs_type,:unix_mount_get_mount_path,:unix_mount_get_options,:unix_mount_get_root_path,:unix_mount_guess_can_eject,:unix_mount_guess_icon,:unix_mount_guess_name,:unix_mount_guess_should_display,:unix_mount_guess_symbolic_icon, -:unix_mount_is_readonly,:unix_mount_is_system_internal,:unix_mount_point_at,:unix_mount_points_changed_since,:unix_mount_points_get,:unix_mounts_get] +:unix_mount_is_readonly,:unix_mount_is_system_internal,:unix_mount_point_at,:unix_mount_points_changed_since,:unix_mount_points_get,:unix_mounts_get,:file_new_build_filenamev] GI.all_functions!(exprs,ns,skiplist=skiplist) diff --git a/gen/gen_glib.jl b/gen/gen_glib.jl index 9ea19cd2..7d4f55fd 100644 --- a/gen/gen_glib.jl +++ b/gen/gen_glib.jl @@ -60,7 +60,7 @@ import_as_opaque = [:Date,:Source] # These include callbacks or are otherwise currently problematic struct_skiplist=vcat(disguised, special, [:Cond,:HashTableIter,:Hook, :HookList,:IOChannel,:IOFuncs, - :MarkupParser,:MemVTable,:Node,:Once,:OptionGroup,:PollFD,:Private,:Queue,:RWLock, + :MarkupParser,:MemVTable,:Node,:Once,:OptionGroup,:PathBuf,:PollFD,:Private,:Queue,:RWLock, :RecMutex,:Scanner, :TestLogBuffer,:TestLogMsg,:Thread,:ThreadPool,:Tree,:UriParamsIter]) diff --git a/gen/gen_gtk4.jl b/gen/gen_gtk4.jl index 53e5edd4..aaf43222 100644 --- a/gen/gen_gtk4.jl +++ b/gen/gen_gtk4.jl @@ -32,15 +32,15 @@ struct_skiplist=vcat(disguised, [:PageRange,:TreeRowReference]) constructor_skiplist=[:new_first] GI.struct_cache_expr!(exprs) -struct_skiplist,c = GI.all_struct_exprs!(exprs,exports,ns;excludelist=struct_skiplist,constructor_skiplist=constructor_skiplist,import_as_opaque=[:BitsetIter,:BuildableParser],output_cache_init=false) +struct_skiplist,c = GI.all_struct_exprs!(exprs,exports,ns;excludelist=struct_skiplist,constructor_skiplist=constructor_skiplist,import_as_opaque=[:BitsetIter,:BuildableParser],output_cache_init=false, exclude_deprecated=false) GI.append_struc_docs!(exprs, "gtk4", d, c, ns) ## objects object_skiplist=[:CClosureExpression,:ClosureExpression,:ParamSpecExpression,:PrintUnixDialog,:PageSetupUnixDialog] -GI.all_interfaces!(exprs,exports,ns) -c = GI.all_objects!(exprs,exports,ns,skiplist=object_skiplist,constructor_skiplist=[:new_from_resource,:new_with_mnemonic,:new_with_text,:new_with_entry,:new_with_model_and_entry,:new_for_resource,:new_from_icon_name],output_cache_define=false,output_cache_init=false) +GI.all_interfaces!(exprs,exports,ns;exclude_deprecated=false) +c = GI.all_objects!(exprs,exports,ns,exclude_deprecated=false,skiplist=object_skiplist,constructor_skiplist=[:new_from_resource,:new_with_mnemonic,:new_with_text,:new_with_entry,:new_with_model_and_entry,:new_for_resource,:new_from_icon_name],output_cache_define=false,output_cache_init=false) GI.append_object_docs!(exprs, "gtk4", d, c, ns) GI.all_callbacks!(exprs, exports, ns) @@ -52,7 +52,7 @@ GI.write_to_file(path,"gtk4_structs",toplevel) toplevel, exprs, exports = GI.output_exprs() -GI.all_struct_methods!(exprs,ns,struct_skiplist=vcat(struct_skiplist,[:Bitset,:BitsetIter,:BuildableParseContext,:CssSection,:TextIter]);print_detailed=true) +GI.all_struct_methods!(exprs,ns,struct_skiplist=vcat(struct_skiplist,[:Bitset,:BitsetIter,:BuildableParseContext,:CssSection,:TextIter]);print_detailed=true,exclude_deprecated=false) ## object methods @@ -61,11 +61,11 @@ skiplist=[:create_closure,:activate_cell,:event,:start_editing,:filter_keypress, object_skiplist=vcat(object_skiplist,[:CellRenderer,:MnemonicAction,:NeverTrigger,:NothingAction,:PrintJob,:PrintSettings,:RecentManager,:ShortcutTrigger]) # skips are to avoid method name collisions -GI.all_object_methods!(exprs,ns;skiplist=skiplist,object_skiplist=object_skiplist) +GI.all_object_methods!(exprs,ns;skiplist=skiplist,object_skiplist=object_skiplist,exclude_deprecated=false) skiplist=[:start_editing,:install_properties] # skips are to avoid method name collisions -GI.all_interface_methods!(exprs,ns;skiplist=skiplist,interface_skiplist=[:PrintOperationPreview]) +GI.all_interface_methods!(exprs,ns;skiplist=skiplist,interface_skiplist=[:PrintOperationPreview],exclude_deprecated=false) GI.write_to_file(path,"gtk4_methods",toplevel) @@ -75,6 +75,6 @@ toplevel, exprs, exports = GI.output_exprs() skiplist=[:editable_install_properties,:ordering_from_cmpfunc,:value_set_expression,:value_take_expression] -GI.all_functions!(exprs,ns,skiplist=skiplist) +GI.all_functions!(exprs,ns,skiplist=skiplist,exclude_deprecated=false) GI.write_to_file(path,"gtk4_functions",toplevel) diff --git a/gen/gen_rest.jl b/gen/gen_rest.jl index c831bdeb..986397e6 100644 --- a/gen/gen_rest.jl +++ b/gen/gen_rest.jl @@ -6,4 +6,4 @@ include("gen_graphene.jl") include("gen_gsk.jl") include("gen_gdk4.jl") include("gen_gtk4.jl") -include("gen_adwaita.jl") +#include("gen_adwaita.jl") diff --git a/src/base.jl b/src/base.jl index 759dbdd7..5b250b9c 100644 --- a/src/base.jl +++ b/src/base.jl @@ -192,10 +192,10 @@ end ## CSS, style -function GtkCssProvider(data, filename = nothing) +function GtkCssProvider(data::Union{AbstractString,Nothing}, filename = nothing) provider = G_.CssProvider_new() if data !== nothing - G_.load_from_data(provider, collect(data)) + G_.load_from_data(provider, data, -1) elseif filename !== nothing G_.load_from_path(provider, filename) end diff --git a/src/gen/gdk4_consts b/src/gen/gdk4_consts index eebffacb..7cfd0977 100644 --- a/src/gen/gdk4_consts +++ b/src/gen/gdk4_consts @@ -2468,44 +2468,44 @@ $(Expr(:toplevel, quote ccall(("gdk_toplevel_state_get_type", libgtk4), GType, ()) end end - @doc "Defines all possible DND actions.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/const.ACTION_ALL.html)." ACTION_ALL - @doc "The middle button.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/const.BUTTON_MIDDLE.html)." BUTTON_MIDDLE - @doc "The primary button. This is typically the left mouse button, or the\nright button in a left-handed setup.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/const.BUTTON_PRIMARY.html)." BUTTON_PRIMARY - @doc "The secondary button. This is typically the right mouse button, or the\nleft button in a left-handed setup.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/const.BUTTON_SECONDARY.html)." BUTTON_SECONDARY - @doc "Represents the current time, and can be used anywhere a time is expected.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/const.CURRENT_TIME.html)." CURRENT_TIME - @doc "Use this macro as the return value for continuing the propagation of\nan event handler.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/const.EVENT_PROPAGATE.html)." EVENT_PROPAGATE - @doc "Use this macro as the return value for stopping the propagation of\nan event handler.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/const.EVENT_STOP.html)." EVENT_STOP - @doc "A mask covering all entries in `GdkModifierType`.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/const.MODIFIER_MASK.html)." MODIFIER_MASK - @doc "This is the priority that the idle handler processing surface updates\nis given in the main loop.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/const.PRIORITY_REDRAW.html)." PRIORITY_REDRAW - @doc "Defines how device axes are interpreted by GTK.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/enum.AxisUse.html)." AxisUse - @doc "Specifies the crossing mode for enter and leave events.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/enum.CrossingMode.html)." CrossingMode - @doc "A pad feature.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/enum.DevicePadFeature.html)." DevicePadFeature - @doc "Indicates the specific type of tool being used being a tablet. Such as an\nairbrush, pencil, etc.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/enum.DeviceToolType.html)." DeviceToolType - @doc "Used in `GdkDrag` to the reason of a cancelled DND operation.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/enum.DragCancelReason.html)." DragCancelReason - @doc "Specifies the type of the event.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/enum.EventType.html)." EventType - @doc "Indicates which monitor a surface should span over when in fullscreen mode.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/enum.FullscreenMode.html)." FullscreenMode - @doc "Error enumeration for `GdkGLContext`.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/enum.GLError.html)." GLError - @doc "Defines the reference point of a surface and is used in `GdkPopupLayout`.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/enum.Gravity.html)." Gravity - @doc "An enumeration describing the type of an input device in general terms.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/enum.InputSource.html)." InputSource - @doc "Describes how well an event matches a given keyval and modifiers.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/enum.KeyMatch.html)." KeyMatch - @doc "`GdkMemoryFormat` describes formats that image data can have in memory.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/enum.MemoryFormat.html)." MemoryFormat - @doc "Specifies the kind of crossing for enter and leave events.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/enum.NotifyType.html)." NotifyType - @doc "Specifies the direction for scroll events.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/enum.ScrollDirection.html)." ScrollDirection - @doc "Specifies the unit of scroll deltas.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/enum.ScrollUnit.html)." ScrollUnit - @doc "This enumeration describes how the red, green and blue components\nof physical pixels on an output device are laid out.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/enum.SubpixelLayout.html)." SubpixelLayout - @doc "Determines a surface edge or corner.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/enum.SurfaceEdge.html)." SurfaceEdge - @doc "Possible errors that can be returned by `GdkTexture` constructors.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/enum.TextureError.html)." TextureError - @doc "Specifies the current state of a touchpad gesture.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/enum.TouchpadGesturePhase.html)." TouchpadGesturePhase - @doc "Error enumeration for `GdkVulkanContext`.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/enum.VulkanError.html)." VulkanError - @doc "Positioning hints for aligning a surface relative to a rectangle.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/flags.AnchorHints.html)." AnchorHints - @doc "Flags describing the current capabilities of a device/tool.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/flags.AxisFlags.html)." AxisFlags - @doc "Used in `GdkDrop` and `GdkDrag` to indicate the actions that the\ndestination can and should do with the dropped data.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/flags.DragAction.html)." DragAction - @doc "Used to represent the different paint clock phases that can be requested.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/flags.FrameClockPhase.html)." FrameClockPhase - @doc "The list of the different APIs that GdkGLContext can potentially support.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/flags.GLAPI.html)." GLAPI - @doc "Flags to indicate the state of modifier keys and mouse buttons\nin events.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/flags.ModifierType.html)." ModifierType - @doc "Flags about a paintable object.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/flags.PaintableFlags.html)." PaintableFlags - @doc "Flags describing the seat capabilities.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/flags.SeatCapabilities.html)." SeatCapabilities - @doc "Specifies the state of a toplevel surface.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/flags.ToplevelState.html)." ToplevelState + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/const.ACTION_ALL.html)." ACTION_ALL + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/const.BUTTON_MIDDLE.html)." BUTTON_MIDDLE + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/const.BUTTON_PRIMARY.html)." BUTTON_PRIMARY + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/const.BUTTON_SECONDARY.html)." BUTTON_SECONDARY + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/const.CURRENT_TIME.html)." CURRENT_TIME + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/const.EVENT_PROPAGATE.html)." EVENT_PROPAGATE + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/const.EVENT_STOP.html)." EVENT_STOP + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/const.MODIFIER_MASK.html)." MODIFIER_MASK + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/const.PRIORITY_REDRAW.html)." PRIORITY_REDRAW + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/enum.AxisUse.html)." AxisUse + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/enum.CrossingMode.html)." CrossingMode + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/enum.DevicePadFeature.html)." DevicePadFeature + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/enum.DeviceToolType.html)." DeviceToolType + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/enum.DragCancelReason.html)." DragCancelReason + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/enum.EventType.html)." EventType + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/enum.FullscreenMode.html)." FullscreenMode + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/enum.GLError.html)." GLError + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/enum.Gravity.html)." Gravity + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/enum.InputSource.html)." InputSource + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/enum.KeyMatch.html)." KeyMatch + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/enum.MemoryFormat.html)." MemoryFormat + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/enum.NotifyType.html)." NotifyType + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/enum.ScrollDirection.html)." ScrollDirection + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/enum.ScrollUnit.html)." ScrollUnit + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/enum.SubpixelLayout.html)." SubpixelLayout + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/enum.SurfaceEdge.html)." SurfaceEdge + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/enum.TextureError.html)." TextureError + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/enum.TouchpadGesturePhase.html)." TouchpadGesturePhase + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/enum.VulkanError.html)." VulkanError + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/flags.AnchorHints.html)." AnchorHints + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/flags.AxisFlags.html)." AxisFlags + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/flags.DragAction.html)." DragAction + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/flags.FrameClockPhase.html)." FrameClockPhase + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/flags.GLAPI.html)." GLAPI + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/flags.ModifierType.html)." ModifierType + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/flags.PaintableFlags.html)." PaintableFlags + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/flags.SeatCapabilities.html)." SeatCapabilities + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/flags.ToplevelState.html)." ToplevelState export AxisUse, CrossingMode, DevicePadFeature, DeviceToolType, DragCancelReason, EventType, FullscreenMode, GLError, Gravity, InputSource, KeyMatch, MemoryFormat, NotifyType, ScrollDirection, ScrollUnit, SubpixelLayout, SurfaceEdge, TextureError, TitlebarGesture, TouchpadGesturePhase, VulkanError, AnchorHints, AxisFlags, DragAction, FrameClockPhase, GLAPI, ModifierType, PaintableFlags, SeatCapabilities, ToplevelState end end)) diff --git a/src/gen/gdk4_methods b/src/gen/gdk4_methods index a86ebf30..3f3906a3 100644 --- a/src/gen/gdk4_methods +++ b/src/gen/gdk4_methods @@ -770,8 +770,9 @@ $(Expr(:toplevel, quote ret2 = convert_if_not_null(GdkDisplay, ret, false) ret2 end - function open(_display_name::Union{AbstractString, Symbol}) - ret = ccall(("gdk_display_open", libgtk4), Ptr{GObject}, (Cstring,), _display_name) + function open(_display_name::Maybe(Union{AbstractString, Symbol})) + _display_name_maybe = nothing_to_null(_display_name) + ret = ccall(("gdk_display_open", libgtk4), Ptr{GObject}, (Cstring,), _display_name_maybe) ret2 = convert_if_not_null(GdkDisplay, ret, false) ret2 end @@ -816,7 +817,7 @@ $(Expr(:toplevel, quote end function get_monitor_at_surface(instance::GdkDisplay, _surface::GdkSurface) ret = ccall(("gdk_display_get_monitor_at_surface", libgtk4), Ptr{GObject}, (Ptr{GObject}, Ptr{GObject}), instance, _surface) - ret2 = convert(GdkMonitor, ret, false) + ret2 = convert_if_not_null(GdkMonitor, ret, false) ret2 end function get_monitors(instance::GdkDisplay) @@ -842,11 +843,6 @@ $(Expr(:toplevel, quote ret2 = convert(Bool, ret) ret2 end - function get_startup_notification_id(instance::GdkDisplay) - ret = ccall(("gdk_display_get_startup_notification_id", libgtk4), Cstring, (Ptr{GObject},), instance) - ret2 = string_or_nothing(ret, false) - ret2 - end function is_closed(instance::GdkDisplay) ret = ccall(("gdk_display_is_closed", libgtk4), Cint, (Ptr{GObject},), instance) ret2 = convert(Bool, ret) @@ -902,10 +898,6 @@ $(Expr(:toplevel, quote _n_keys = m_n_keys[] (ret2, _keys) end - function notify_startup_complete(instance::GdkDisplay, _startup_id::Union{AbstractString, Symbol}) - ret = ccall(("gdk_display_notify_startup_complete", libgtk4), Nothing, (Ptr{GObject}, Cstring), instance, _startup_id) - nothing - end function prepare_gl(instance::GdkDisplay) err = err_buf() ret = ccall(("gdk_display_prepare_gl", libgtk4), Cint, (Ptr{GObject}, Ptr{Ptr{GError}}), instance, err) @@ -1457,6 +1449,11 @@ $(Expr(:toplevel, quote ret2 = string_or_nothing(ret, false) ret2 end + function get_description(instance::GdkMonitor) + ret = ccall(("gdk_monitor_get_description", libgtk4), Cstring, (Ptr{GObject},), instance) + ret2 = string_or_nothing(ret, false) + ret2 + end function get_display(instance::GdkMonitor) ret = ccall(("gdk_monitor_get_display", libgtk4), Ptr{GObject}, (Ptr{GObject},), instance) ret2 = convert(GdkDisplay, ret, false) @@ -1750,6 +1747,11 @@ $(Expr(:toplevel, quote ret = ccall(("gdk_texture_download", libgtk4), Nothing, (Ptr{GObject}, Ptr{UInt8}, UInt64), instance, _data_arr, _stride) nothing end + function get_format(instance::GdkTexture) + ret = ccall(("gdk_texture_get_format", libgtk4), UInt32, (Ptr{GObject},), instance) + ret2 = MemoryFormat(ret) + ret2 + end function get_height(instance::GdkTexture) ret = ccall(("gdk_texture_get_height", libgtk4), Int32, (Ptr{GObject},), instance) ret diff --git a/src/gen/gdk4_structs b/src/gen/gdk4_structs index dff4e490..7e0fb71b 100644 --- a/src/gen/gdk4_structs +++ b/src/gen/gdk4_structs @@ -228,17 +228,17 @@ $(Expr(:toplevel, quote function GdkToplevelLayout() G_.ToplevelLayout_new() end - @doc "The `GdkContentFormats` structure is used to advertise and negotiate the\nformat of content.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/struct.ContentFormats.html)." GdkContentFormats - @doc "A `GdkContentFormatsBuilder` is an auxiliary struct used to create\nnew `GdkContentFormats`, and should not be kept around.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/struct.ContentFormatsBuilder.html)." GdkContentFormatsBuilder - @doc "`GdkEventSequence` is an opaque type representing a sequence\nof related touch events.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/struct.EventSequence.html)." GdkEventSequence - @doc "An opaque type representing a list of files.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/struct.FileList.html)." GdkFileList - @doc "A `GdkFrameTimings` object holds timing information for a single frame\nof the application’s displays.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/struct.FrameTimings.html)." GdkFrameTimings - @doc "A `GdkKeymapKey` is a hardware key that can be mapped to a keyval.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/struct.KeymapKey.html)." GdkKeymapKey - @doc "The `GdkPopupLayout` struct contains information that is\nnecessary position a [iface@Gdk.Popup] relative to its parent.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/struct.PopupLayout.html)." GdkPopupLayout - @doc "A `GdkRGBA` is used to represent a color, in a way that is compatible\nwith cairo’s notion of color.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/struct.RGBA.html)." GdkRGBA - @doc "A `GdkRectangle` data type for representing rectangles.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/struct.Rectangle.html)." GdkRectangle - @doc "A `GdkTimeCoord` stores a single event in a motion history.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/struct.TimeCoord.html)." GdkTimeCoord - @doc "The `GdkToplevelLayout` struct contains information that\nis necessary to present a sovereign window on screen.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/struct.ToplevelLayout.html)." GdkToplevelLayout + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/struct.ContentFormats.html)." GdkContentFormats + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/struct.ContentFormatsBuilder.html)." GdkContentFormatsBuilder + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/struct.EventSequence.html)." GdkEventSequence + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/struct.FileList.html)." GdkFileList + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/struct.FrameTimings.html)." GdkFrameTimings + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/struct.KeymapKey.html)." GdkKeymapKey + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/struct.PopupLayout.html)." GdkPopupLayout + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/struct.RGBA.html)." GdkRGBA + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/struct.Rectangle.html)." GdkRectangle + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/struct.TimeCoord.html)." GdkTimeCoord + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/struct.ToplevelLayout.html)." GdkToplevelLayout gtype_wrapper_cache = Dict{Symbol, Type}() begin abstract type GdkAppLaunchContext <: GAppLaunchContext end @@ -832,44 +832,44 @@ $(Expr(:toplevel, quote GLib.setproperties!(obj; kwargs...) obj end - @doc "`GdkAppLaunchContext` handles launching an application in a graphical context.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/class.AppLaunchContext.html)." GdkAppLaunchContext - @doc "An event related to a button on a pointer device.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/class.ButtonEvent.html)." GdkButtonEvent - @doc "`GdkCairoContext` is an object representing the platform-specific\ndraw context.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/class.CairoContext.html)." GdkCairoContext - @doc "The `GdkClipboard` object represents data shared between applications or\ninside an application.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/class.Clipboard.html)." GdkClipboard - @doc "A `GdkContentDeserializer` is used to deserialize content received via\ninter-application data transfers.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/class.ContentDeserializer.html)." GdkContentDeserializer - @doc "A `GdkContentProvider` is used to provide content for the clipboard or\nfor drag-and-drop operations in a number of formats.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/class.ContentProvider.html)." GdkContentProvider - @doc "A `GdkContentSerializer` is used to serialize content for\ninter-application data transfers.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/class.ContentSerializer.html)." GdkContentSerializer - @doc "An event caused by a pointing device moving between surfaces.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/class.CrossingEvent.html)." GdkCrossingEvent - @doc "`GdkCursor` is used to create and destroy cursors.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/class.Cursor.html)." GdkCursor - @doc "An event related to drag and drop operations.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/class.DNDEvent.html)." GdkDNDEvent - @doc "An event related to closing a top-level surface.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/class.DeleteEvent.html)." GdkDeleteEvent - @doc "The `GdkDevice` object represents an input device, such\nas a keyboard, a mouse, or a touchpad.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/class.Device.html)." GdkDevice - @doc "A physical tool associated to a `GdkDevice`.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/class.DeviceTool.html)." GdkDeviceTool - @doc "`GdkDisplay` objects are the GDK representation of a workstation.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/class.Display.html)." GdkDisplay - @doc "A singleton object that offers notification when displays appear or\ndisappear.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/class.DisplayManager.html)." GdkDisplayManager - @doc "The `GdkDrag` object represents the source of an ongoing DND operation.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/class.Drag.html)." GdkDrag - @doc "Base class for objects implementing different rendering methods.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/class.DrawContext.html)." GdkDrawContext - @doc "The `GdkDrop` object represents the target of an ongoing DND operation.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/class.Drop.html)." GdkDrop - @doc "`GdkEvent`s are immutable data structures, created by GDK to\nrepresent windowing system events.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/class.Event.html)." GdkEvent - @doc "An event related to a keyboard focus change.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/class.FocusEvent.html)." GdkFocusEvent - @doc "A `GdkFrameClock` tells the application when to update and repaint\na surface.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/class.FrameClock.html)." GdkFrameClock - @doc "`GdkGLContext` is an object representing a platform-specific\nOpenGL draw context.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/class.GLContext.html)." GdkGLContext - @doc "A GdkTexture representing a GL texture object.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/class.GLTexture.html)." GdkGLTexture - @doc "An event related to a broken windowing system grab.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/class.GrabBrokenEvent.html)." GdkGrabBrokenEvent - @doc "An event related to a key-based device.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/class.KeyEvent.html)." GdkKeyEvent - @doc "A `GdkTexture` representing image data in memory.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/class.MemoryTexture.html)." GdkMemoryTexture - @doc "`GdkMonitor` objects represent the individual outputs that are\nassociated with a `GdkDisplay`.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/class.Monitor.html)." GdkMonitor - @doc "An event related to a pointer or touch device motion.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/class.MotionEvent.html)." GdkMotionEvent - @doc "An event related to a pad-based device.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/class.PadEvent.html)." GdkPadEvent - @doc "An event related to the proximity of a tool to a device.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/class.ProximityEvent.html)." GdkProximityEvent - @doc "An event related to a scrolling motion.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/class.ScrollEvent.html)." GdkScrollEvent - @doc "The `GdkSeat` object represents a collection of input devices\nthat belong to a user.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/class.Seat.html)." GdkSeat - @doc "Base type for snapshot operations.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/class.Snapshot.html)." GdkSnapshot - @doc "A `GdkSurface` is a rectangular region on the screen.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/class.Surface.html)." GdkSurface - @doc "`GdkTexture` is the basic element used to refer to pixel data.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/class.Texture.html)." GdkTexture - @doc "An event related to a touch-based device.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/class.TouchEvent.html)." GdkTouchEvent - @doc "An event related to a gesture on a touchpad device.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/class.TouchpadEvent.html)." GdkTouchpadEvent - @doc "`GdkVulkanContext` is an object representing the platform-specific\nVulkan draw context.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk4/class.VulkanContext.html)." GdkVulkanContext + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/class.AppLaunchContext.html)." GdkAppLaunchContext + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/class.ButtonEvent.html)." GdkButtonEvent + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/class.CairoContext.html)." GdkCairoContext + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/class.Clipboard.html)." GdkClipboard + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/class.ContentDeserializer.html)." GdkContentDeserializer + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/class.ContentProvider.html)." GdkContentProvider + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/class.ContentSerializer.html)." GdkContentSerializer + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/class.CrossingEvent.html)." GdkCrossingEvent + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/class.Cursor.html)." GdkCursor + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/class.DNDEvent.html)." GdkDNDEvent + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/class.DeleteEvent.html)." GdkDeleteEvent + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/class.Device.html)." GdkDevice + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/class.DeviceTool.html)." GdkDeviceTool + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/class.Display.html)." GdkDisplay + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/class.DisplayManager.html)." GdkDisplayManager + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/class.Drag.html)." GdkDrag + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/class.DrawContext.html)." GdkDrawContext + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/class.Drop.html)." GdkDrop + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/class.Event.html)." GdkEvent + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/class.FocusEvent.html)." GdkFocusEvent + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/class.FrameClock.html)." GdkFrameClock + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/class.GLContext.html)." GdkGLContext + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/class.GLTexture.html)." GdkGLTexture + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/class.GrabBrokenEvent.html)." GdkGrabBrokenEvent + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/class.KeyEvent.html)." GdkKeyEvent + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/class.MemoryTexture.html)." GdkMemoryTexture + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/class.Monitor.html)." GdkMonitor + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/class.MotionEvent.html)." GdkMotionEvent + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/class.PadEvent.html)." GdkPadEvent + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/class.ProximityEvent.html)." GdkProximityEvent + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/class.ScrollEvent.html)." GdkScrollEvent + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/class.Seat.html)." GdkSeat + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/class.Snapshot.html)." GdkSnapshot + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/class.Surface.html)." GdkSurface + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/class.Texture.html)." GdkTexture + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/class.TouchEvent.html)." GdkTouchEvent + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/class.TouchpadEvent.html)." GdkTouchpadEvent + @doc "See the [GTK docs](https://docs.gtk.org/gdk4/class.VulkanContext.html)." GdkVulkanContext struct GdkDevicePad <: GInterface handle::Ptr{GObject} gc::Any diff --git a/src/gen/gdkpixbuf_consts b/src/gen/gdkpixbuf_consts index 165283e0..e38c002b 100644 --- a/src/gen/gdkpixbuf_consts +++ b/src/gen/gdkpixbuf_consts @@ -30,15 +30,15 @@ $(Expr(:toplevel, quote end end @bitflag PixbufFormatFlags::UInt32 PixbufFormatFlags_WRITABLE = 1 PixbufFormatFlags_SCALABLE = 2 PixbufFormatFlags_THREADSAFE = 4 PixbufFormatFlags_NONE = 0 - @doc "Major version of gdk-pixbuf library, that is the \"0\" in\n\"0.8.2\" for example.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk-pixbuf/const.PIXBUF_MAJOR.html)." PIXBUF_MAJOR - @doc "Micro version of gdk-pixbuf library, that is the \"2\" in\n\"0.8.2\" for example.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk-pixbuf/const.PIXBUF_MICRO.html)." PIXBUF_MICRO - @doc "Minor version of gdk-pixbuf library, that is the \"8\" in\n\"0.8.2\" for example.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk-pixbuf/const.PIXBUF_MINOR.html)." PIXBUF_MINOR - @doc "Contains the full version of GdkPixbuf as a string.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk-pixbuf/const.PIXBUF_VERSION.html)." PIXBUF_VERSION - @doc "This enumeration defines the color spaces that are supported by\nthe gdk-pixbuf library.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk-pixbuf/enum.Colorspace.html)." Colorspace - @doc "Interpolation modes for scaling functions.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk-pixbuf/enum.InterpType.html)." InterpType - @doc "An error code in the `GDK_PIXBUF_ERROR` domain.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk-pixbuf/enum.PixbufError.html)." PixbufError - @doc "The possible rotations which can be passed to gdk_pixbuf_rotate_simple().\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk-pixbuf/enum.PixbufRotation.html)." PixbufRotation - @doc "Flags which allow a module to specify further details about the supported\noperations.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk-pixbuf/flags.PixbufFormatFlags.html)." PixbufFormatFlags + @doc "See the [GTK docs](https://docs.gtk.org/gdk-pixbuf/const.PIXBUF_MAJOR.html)." PIXBUF_MAJOR + @doc "See the [GTK docs](https://docs.gtk.org/gdk-pixbuf/const.PIXBUF_MICRO.html)." PIXBUF_MICRO + @doc "See the [GTK docs](https://docs.gtk.org/gdk-pixbuf/const.PIXBUF_MINOR.html)." PIXBUF_MINOR + @doc "See the [GTK docs](https://docs.gtk.org/gdk-pixbuf/const.PIXBUF_VERSION.html)." PIXBUF_VERSION + @doc "See the [GTK docs](https://docs.gtk.org/gdk-pixbuf/enum.Colorspace.html)." Colorspace + @doc "See the [GTK docs](https://docs.gtk.org/gdk-pixbuf/enum.InterpType.html)." InterpType + @doc "See the [GTK docs](https://docs.gtk.org/gdk-pixbuf/enum.PixbufError.html)." PixbufError + @doc "See the [GTK docs](https://docs.gtk.org/gdk-pixbuf/enum.PixbufRotation.html)." PixbufRotation + @doc "See the [GTK docs](https://docs.gtk.org/gdk-pixbuf/flags.PixbufFormatFlags.html)." PixbufFormatFlags end end)) end diff --git a/src/gen/gdkpixbuf_structs b/src/gen/gdkpixbuf_structs index abc981ca..9e2eff3f 100644 --- a/src/gen/gdkpixbuf_structs +++ b/src/gen/gdkpixbuf_structs @@ -51,7 +51,7 @@ $(Expr(:toplevel, quote gboxed_cache_init() = begin append!(GLib.gboxed_types, gboxed_types) end - @doc "A `GdkPixbufFormat` contains information about the image format accepted\nby a module.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk-pixbuf/struct.PixbufFormat.html)." GdkPixbufFormat + @doc "See the [GTK docs](https://docs.gtk.org/gdk-pixbuf/struct.PixbufFormat.html)." GdkPixbufFormat gtype_wrapper_cache = Dict{Symbol, Type}() begin abstract type GdkPixbuf <: GObject end @@ -250,16 +250,21 @@ $(Expr(:toplevel, quote GLib.setproperties!(obj; kwargs...) obj end - @doc "A pixel buffer.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk-pixbuf/class.Pixbuf.html)." GdkPixbuf - @doc "An opaque object representing an animation.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk-pixbuf/class.PixbufAnimation.html)." GdkPixbufAnimation - @doc "An opaque object representing an iterator which points to a\ncertain position in an animation.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk-pixbuf/class.PixbufAnimationIter.html)." GdkPixbufAnimationIter - @doc "Incremental image loader.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk-pixbuf/class.PixbufLoader.html)." GdkPixbufLoader - @doc "An opaque struct representing a simple animation.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gdk-pixbuf/class.PixbufSimpleAnim.html)." GdkPixbufSimpleAnim + @doc "See the [GTK docs](https://docs.gtk.org/gdk-pixbuf/class.Pixbuf.html)." GdkPixbuf + @doc "See the [GTK docs](https://docs.gtk.org/gdk-pixbuf/class.PixbufAnimation.html)." GdkPixbufAnimation + @doc "See the [GTK docs](https://docs.gtk.org/gdk-pixbuf/class.PixbufAnimationIter.html)." GdkPixbufAnimationIter + @doc "See the [GTK docs](https://docs.gtk.org/gdk-pixbuf/class.PixbufLoader.html)." GdkPixbufLoader + @doc "See the [GTK docs](https://docs.gtk.org/gdk-pixbuf/class.PixbufSimpleAnim.html)." GdkPixbufSimpleAnim function GdkPixbufDestroyNotify(pixels, data) f = data ret = f(pixels) nothing end + function GdkPixbufModuleLoadXpmDataFunc(data) + f = data + ret = f() + convert(Ptr{GObject}, ret) + end function GdkPixbufModulePreparedFunc(pixbuf, anim, user_data) f = user_data ret = f(pixbuf, anim) @@ -280,6 +285,6 @@ $(Expr(:toplevel, quote ret = f(buf, count, error) convert(Cint, ret) end - export GdkPixbufModulePattern, _GdkPixbufModulePattern, GdkPixbufFormat, _GdkPixbufFormat, GdkPixbuf, GdkPixbufLeaf, GdkPixbufAnimation, GdkPixbufAnimationLeaf, GdkPixbufAnimationIter, GdkPixbufAnimationIterLeaf, GdkPixbufLoader, GdkPixbufLoaderLeaf, GdkPixbufNonAnim, GdkPixbufNonAnimLeaf, GdkPixbufSimpleAnim, GdkPixbufSimpleAnimLeaf, GdkPixbufSimpleAnimIter, GdkPixbufSimpleAnimIterLeaf, GdkPixbufDestroyNotify, GdkPixbufModulePreparedFunc, GdkPixbufModuleSizeFunc, GdkPixbufModuleUpdatedFunc, GdkPixbufSaveFunc + export GdkPixbufModulePattern, _GdkPixbufModulePattern, GdkPixbufFormat, _GdkPixbufFormat, GdkPixbuf, GdkPixbufLeaf, GdkPixbufAnimation, GdkPixbufAnimationLeaf, GdkPixbufAnimationIter, GdkPixbufAnimationIterLeaf, GdkPixbufLoader, GdkPixbufLoaderLeaf, GdkPixbufNonAnim, GdkPixbufNonAnimLeaf, GdkPixbufSimpleAnim, GdkPixbufSimpleAnimLeaf, GdkPixbufSimpleAnimIter, GdkPixbufSimpleAnimIterLeaf, GdkPixbufDestroyNotify, GdkPixbufModuleLoadXpmDataFunc, GdkPixbufModulePreparedFunc, GdkPixbufModuleSizeFunc, GdkPixbufModuleUpdatedFunc, GdkPixbufSaveFunc end)) end diff --git a/src/gen/gio_functions b/src/gen/gio_functions index c33d7bc8..41cdcb0c 100644 --- a/src/gen/gio_functions +++ b/src/gen/gio_functions @@ -15,7 +15,7 @@ $(Expr(:toplevel, quote _action_name = m_action_name[] _action_name = string_or_nothing(_action_name, true) _target_value = m_target_value[] - _target_value = convert(GVariant, _target_value) + _target_value = convert(Maybe(GVariant), _target_value) (ret2, _action_name, _target_value) end function action_print_detailed_name(_action_name::Union{AbstractString, Symbol}, _target_value::Maybe(GVariant)) @@ -525,10 +525,6 @@ $(Expr(:toplevel, quote ret2 = GLib.find_leaf_type_if_not_null(ret, true) ret2 end - function icon_hash(_icon::Nothing) - ret = ccall(("g_icon_hash", libgio), UInt32, (Ptr{Nothing},), _icon) - ret - end function icon_new_for_string(_str::Union{AbstractString, Symbol}) err = err_buf() ret = ccall(("g_icon_new_for_string", libgio), Ptr{GObject}, (Cstring, Ptr{Ptr{GError}}), _str, err) @@ -665,6 +661,10 @@ $(Expr(:toplevel, quote ret = ccall(("g_resolver_error_quark", libgio), UInt32, ()) ret end + function resolver_record_type_to_rrtype(_type) + ret = ccall(("g_resolver_record_type_to_rrtype", libgio), Int32, (UInt32,), _type) + ret + end function resource_error_quark() ret = ccall(("g_resource_error_quark", libgio), UInt32, ()) ret diff --git a/src/gen/gio_methods b/src/gen/gio_methods index a6e1d720..5f5503c1 100644 --- a/src/gen/gio_methods +++ b/src/gen/gio_methods @@ -2679,7 +2679,8 @@ $(Expr(:toplevel, quote _position = m_position[] (ret2, _position) end - function find_with_equal_func_full(instance::GListStore, _item::GObject, _equal_func::Function) + function find_with_equal_func_full(instance::GListStore, _item::Maybe(GObject), _equal_func::Function) + _item_maybe = nothing_to_null(_item) begin _equal_func_cfunc = @cfunction(GEqualFuncFull, Cint, (Ptr{Nothing}, Ptr{Nothing}, Ref{Function})) begin @@ -2688,7 +2689,7 @@ $(Expr(:toplevel, quote end end m_position = Ref{UInt32}() - ret = ccall(("g_list_store_find_with_equal_func_full", libgio), Cint, (Ptr{GObject}, Ptr{GObject}, Ptr{Cvoid}, Ptr{Nothing}, Ptr{UInt32}), instance, _item, _equal_func_cfunc, _equal_func_closure, m_position) + ret = ccall(("g_list_store_find_with_equal_func_full", libgio), Cint, (Ptr{GObject}, Ptr{GObject}, Ptr{Cvoid}, Ptr{Nothing}, Ptr{UInt32}), instance, _item_maybe, _equal_func_cfunc, _equal_func_closure, m_position) ret2 = convert(Bool, ret) _position = m_position[] (ret2, _position) @@ -4163,10 +4164,6 @@ $(Expr(:toplevel, quote ret2 = SocketType(ret) ret2 end - function get_timeout(instance::GSocket) - ret = ccall(("g_socket_get_timeout", libgio), UInt32, (Ptr{GObject},), instance) - ret - end function get_ttl(instance::GSocket) ret = ccall(("g_socket_get_ttl", libgio), UInt32, (Ptr{GObject},), instance) ret @@ -4344,10 +4341,6 @@ $(Expr(:toplevel, quote ret2 = convert(Bool, ret) ret2 end - function set_timeout(instance::GSocket, _timeout::Integer) - ret = ccall(("g_socket_set_timeout", libgio), Nothing, (Ptr{GObject}, UInt32), instance, _timeout) - nothing - end function set_ttl(instance::GSocket, _ttl::Integer) ret = ccall(("g_socket_set_ttl", libgio), Nothing, (Ptr{GObject}, UInt32), instance, _ttl) nothing @@ -4563,10 +4556,6 @@ $(Expr(:toplevel, quote ret2 = SocketType(ret) ret2 end - function get_timeout(instance::GSocketClient) - ret = ccall(("g_socket_client_get_timeout", libgio), UInt32, (Ptr{GObject},), instance) - ret - end function get_tls(instance::GSocketClient) ret = ccall(("g_socket_client_get_tls", libgio), Cint, (Ptr{GObject},), instance) ret2 = convert(Bool, ret) @@ -4598,10 +4587,6 @@ $(Expr(:toplevel, quote ret = ccall(("g_socket_client_set_socket_type", libgio), Nothing, (Ptr{GObject}, UInt32), instance, _type) nothing end - function set_timeout(instance::GSocketClient, _timeout::Integer) - ret = ccall(("g_socket_client_set_timeout", libgio), Nothing, (Ptr{GObject}, UInt32), instance, _timeout) - nothing - end function set_tls(instance::GSocketClient, _tls::Bool) ret = ccall(("g_socket_client_set_tls", libgio), Nothing, (Ptr{GObject}, Cint), instance, _tls) nothing @@ -4669,7 +4654,7 @@ $(Expr(:toplevel, quote _data_arr = convert(Vector{UInt8}, _data) _size = length(_data) ret = ccall(("g_socket_control_message_deserialize", libgio), Ptr{GObject}, (Int32, Int32, UInt64, Ptr{UInt8}), _level, _type, _size, _data_arr) - ret2 = convert(GSocketControlMessage, ret, true) + ret2 = convert_if_not_null(GSocketControlMessage, ret, true) ret2 end function get_level(instance::GSocketControlMessage) @@ -5814,7 +5799,7 @@ $(Expr(:toplevel, quote _action_name = m_action_name[] _action_name = string_or_nothing(_action_name, true) _target_value = m_target_value[] - _target_value = convert(GVariant, _target_value) + _target_value = convert(Maybe(GVariant), _target_value) (ret2, _action_name, _target_value) end function print_detailed_name(_action_name::Union{AbstractString, Symbol}, _target_value::Maybe(GVariant)) diff --git a/src/gen/gio_structs b/src/gen/gio_structs index 8fae41f6..016ece8f 100644 --- a/src/gen/gio_structs +++ b/src/gen/gio_structs @@ -184,6 +184,125 @@ $(Expr(:toplevel, quote push!(gboxed_types, GSrvTarget) end end + begin + struct _GXdpDocumentsIface + parent_iface::_GTypeInterface + handle_add::Ptr{Cvoid} + handle_add_full::Ptr{Cvoid} + handle_add_named::Ptr{Cvoid} + handle_add_named_full::Ptr{Cvoid} + handle_delete::Ptr{Cvoid} + handle_get_mount_point::Ptr{Cvoid} + handle_grant_permissions::Ptr{Cvoid} + handle_info::Ptr{Cvoid} + handle_list::Ptr{Cvoid} + handle_lookup::Ptr{Cvoid} + handle_revoke_permissions::Ptr{Cvoid} + get_version::Ptr{Cvoid} + end + mutable struct GXdpDocumentsIface + handle::Ptr{_GXdpDocumentsIface} + end + unsafe_convert(::Type{Ptr{_GXdpDocumentsIface}}, box::GXdpDocumentsIface) = begin + convert(Ptr{_GXdpDocumentsIface}, box.handle) + end + end + begin + struct _GXdpOpenURIIface + parent_iface::_GTypeInterface + handle_open_directory::Ptr{Cvoid} + handle_open_file::Ptr{Cvoid} + handle_open_uri::Ptr{Cvoid} + get_version::Ptr{Cvoid} + end + mutable struct GXdpOpenURIIface + handle::Ptr{_GXdpOpenURIIface} + end + unsafe_convert(::Type{Ptr{_GXdpOpenURIIface}}, box::GXdpOpenURIIface) = begin + convert(Ptr{_GXdpOpenURIIface}, box.handle) + end + end + begin + struct _GXdpProxyResolverIface + parent_iface::_GTypeInterface + handle_lookup::Ptr{Cvoid} + get_version::Ptr{Cvoid} + end + mutable struct GXdpProxyResolverIface + handle::Ptr{_GXdpProxyResolverIface} + end + unsafe_convert(::Type{Ptr{_GXdpProxyResolverIface}}, box::GXdpProxyResolverIface) = begin + convert(Ptr{_GXdpProxyResolverIface}, box.handle) + end + end + begin + struct _GXdpTrashIface + parent_iface::_GTypeInterface + handle_trash_file::Ptr{Cvoid} + get_version::Ptr{Cvoid} + end + mutable struct GXdpTrashIface + handle::Ptr{_GXdpTrashIface} + end + unsafe_convert(::Type{Ptr{_GXdpTrashIface}}, box::GXdpTrashIface) = begin + convert(Ptr{_GXdpTrashIface}, box.handle) + end + end + begin + struct _G_FreedesktopDBusIface + parent_iface::_GTypeInterface + handle_add_match::Ptr{Nothing} + handle_get_connection_selinux_security_context::Ptr{Nothing} + handle_get_connection_unix_process_id::Ptr{Nothing} + handle_get_connection_unix_user::Ptr{Nothing} + handle_get_id::Ptr{Nothing} + handle_get_name_owner::Ptr{Nothing} + handle_hello::Ptr{Nothing} + handle_list_activatable_names::Ptr{Nothing} + handle_list_names::Ptr{Nothing} + handle_list_queued_owners::Ptr{Nothing} + handle_name_has_owner::Ptr{Nothing} + handle_release_name::Ptr{Nothing} + handle_reload_config::Ptr{Nothing} + handle_remove_match::Ptr{Nothing} + handle_request_name::Ptr{Nothing} + handle_start_service_by_name::Ptr{Nothing} + handle_update_activation_environment::Ptr{Nothing} + name_acquired::Ptr{Nothing} + name_lost::Ptr{Nothing} + name_owner_changed::Ptr{Nothing} + end + mutable struct G_FreedesktopDBusIface + handle::Ptr{_G_FreedesktopDBusIface} + end + unsafe_convert(::Type{Ptr{_G_FreedesktopDBusIface}}, box::G_FreedesktopDBusIface) = begin + convert(Ptr{_G_FreedesktopDBusIface}, box.handle) + end + end + begin + struct _G_FreedesktopDBusProxy + parent_instance::Ptr{GObject} + priv::Ptr{Nothing} + end + mutable struct G_FreedesktopDBusProxy + handle::Ptr{_G_FreedesktopDBusProxy} + end + unsafe_convert(::Type{Ptr{_G_FreedesktopDBusProxy}}, box::G_FreedesktopDBusProxy) = begin + convert(Ptr{_G_FreedesktopDBusProxy}, box.handle) + end + end + begin + struct _G_FreedesktopDBusSkeleton + parent_instance::Ptr{GObject} + priv::Ptr{Nothing} + end + mutable struct G_FreedesktopDBusSkeleton + handle::Ptr{_G_FreedesktopDBusSkeleton} + end + unsafe_convert(::Type{Ptr{_G_FreedesktopDBusSkeleton}}, box::G_FreedesktopDBusSkeleton) = begin + convert(Ptr{_G_FreedesktopDBusSkeleton}, box.handle) + end + end function GFileAttributeInfoList() G_.FileAttributeInfoList_new() end @@ -199,17 +318,24 @@ $(Expr(:toplevel, quote function GSrvTarget(_hostname::Union{AbstractString, Symbol}, _port::Integer, _priority::Integer, _weight::Integer) G_.SrvTarget_new(_hostname, _port, _priority, _weight) end - @doc "Struct used in g_dbus_error_register_error_domain().\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/struct.DBusErrorEntry.html)." GDBusErrorEntry - @doc "Information about a specific attribute.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/struct.FileAttributeInfo.html)." GFileAttributeInfo - @doc "Acts as a lightweight registry for possible valid file attributes.\nThe registry stores Key-Value pair formats as #GFileAttributeInfos.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/struct.FileAttributeInfoList.html)." GFileAttributeInfoList - @doc "Determines if a string matches a file attribute.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/struct.FileAttributeMatcher.html)." GFileAttributeMatcher - @doc "Structure used for scatter/gather data input.\nYou generally pass in an array of #GInputVectors\nand the operation will store the read data starting in the\nfirst buffer, switching to the next as needed.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/struct.InputVector.html)." GInputVector - @doc "Structure used for scatter/gather data output.\nYou generally pass in an array of #GOutputVectors\nand the operation will use all the buffers as if they were\none buffer.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/struct.OutputVector.html)." GOutputVector - @doc "Applications and libraries often contain binary or textual data that is\nreally part of the application, rather than user data. For instance\n#GtkBuilder .ui files, splashscreen images, GMenu markup XML, CSS files,\nicons, etc. These are often shipped as files in `\$datadir/appname`, or\nmanually included as literal strings in the code.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/struct.Resource.html)." GResource - @doc "The #GSettingsSchemaSource and #GSettingsSchema APIs provide a\nmechanism for advanced control over the loading of schemas and a\nmechanism for introspecting their content.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/struct.SettingsSchema.html)." GSettingsSchema - @doc "#GSettingsSchemaKey is an opaque data structure and can only be accessed\nusing the following functions.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/struct.SettingsSchemaKey.html)." GSettingsSchemaKey - @doc "This is an opaque structure type. You may not access it directly.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/struct.SettingsSchemaSource.html)." GSettingsSchemaSource - @doc "SRV (service) records are used by some network protocols to provide\nservice-specific aliasing and load-balancing. For example, XMPP\n(Jabber) uses SRV records to locate the XMPP server for a domain;\nrather than connecting directly to \"example.com\" or assuming a\nspecific server hostname like \"xmpp.example.com\", an XMPP client\nwould look up the \"xmpp-client\" SRV record for \"example.com\", and\nthen connect to whatever host was pointed to by that record.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/struct.SrvTarget.html)." GSrvTarget + @doc "See the [GTK docs](https://docs.gtk.org/gio/struct.DBusErrorEntry.html)." GDBusErrorEntry + @doc "See the [GTK docs](https://docs.gtk.org/gio/struct.FileAttributeInfo.html)." GFileAttributeInfo + @doc "See the [GTK docs](https://docs.gtk.org/gio/struct.FileAttributeInfoList.html)." GFileAttributeInfoList + @doc "See the [GTK docs](https://docs.gtk.org/gio/struct.FileAttributeMatcher.html)." GFileAttributeMatcher + @doc "See the [GTK docs](https://docs.gtk.org/gio/struct.InputVector.html)." GInputVector + @doc "See the [GTK docs](https://docs.gtk.org/gio/struct.OutputVector.html)." GOutputVector + @doc "See the [GTK docs](https://docs.gtk.org/gio/struct.Resource.html)." GResource + @doc "See the [GTK docs](https://docs.gtk.org/gio/struct.SettingsSchema.html)." GSettingsSchema + @doc "See the [GTK docs](https://docs.gtk.org/gio/struct.SettingsSchemaKey.html)." GSettingsSchemaKey + @doc "See the [GTK docs](https://docs.gtk.org/gio/struct.SettingsSchemaSource.html)." GSettingsSchemaSource + @doc "See the [GTK docs](https://docs.gtk.org/gio/struct.SrvTarget.html)." GSrvTarget + @doc "See the [GTK docs](https://docs.gtk.org/gio/struct.XdpDocumentsIface.html)." GXdpDocumentsIface + @doc "See the [GTK docs](https://docs.gtk.org/gio/struct.XdpOpenURIIface.html)." GXdpOpenURIIface + @doc "See the [GTK docs](https://docs.gtk.org/gio/struct.XdpProxyResolverIface.html)." GXdpProxyResolverIface + @doc "See the [GTK docs](https://docs.gtk.org/gio/struct.XdpTrashIface.html)." GXdpTrashIface + @doc "See the [GTK docs](https://docs.gtk.org/gio/struct._FreedesktopDBusIface.html)." G_FreedesktopDBusIface + @doc "See the [GTK docs](https://docs.gtk.org/gio/struct._FreedesktopDBusProxy.html)." G_FreedesktopDBusProxy + @doc "See the [GTK docs](https://docs.gtk.org/gio/struct._FreedesktopDBusSkeleton.html)." G_FreedesktopDBusSkeleton struct GAction <: GInterface handle::Ptr{GObject} gc::Any @@ -2006,6 +2132,23 @@ $(Expr(:toplevel, quote ccall(("g_themed_icon_get_type", libgio), GType, ()) end end + begin + abstract type GThreadedResolver <: GResolver end + mutable struct GThreadedResolverLeaf <: GThreadedResolver + handle::Ptr{GObject} + function GThreadedResolverLeaf(handle::Ptr{GObject}, owns = false) + if handle == C_NULL + error("Cannot construct GThreadedResolverLeaf with a NULL pointer") + end + GLib.gobject_maybe_sink(handle, owns) + return gobject_ref(new(handle)) + end + end + gtype_wrapper_cache[:GThreadedResolver] = GThreadedResolverLeaf + (GLib.g_type(::Type{T}) where T <: GThreadedResolver) = begin + ccall(("g_threaded_resolver_get_type", libgio), GType, ()) + end + end begin abstract type GThreadedSocketService <: GSocketService end mutable struct GThreadedSocketServiceLeaf <: GThreadedSocketService @@ -2617,108 +2760,109 @@ $(Expr(:toplevel, quote GLib.setproperties!(obj; kwargs...) obj end - @doc "#GAppInfoMonitor is a very simple object used for monitoring the app\ninfo database for changes (ie: newly installed or removed\napplications).\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.AppInfoMonitor.html)." GAppInfoMonitor - @doc "Integrating the launch with the launching application. This is used to\nhandle for instance startup notification and launching the new application\non the same screen as the launching window.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.AppLaunchContext.html)." GAppLaunchContext - @doc "A #GApplication is the foundation of an application. It wraps some\nlow-level platform-specific services and is intended to act as the\nfoundation for higher-level application classes such as\n#GtkApplication or #MxApplication. In general, you should not use\nthis class outside of a higher level framework.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.Application.html)." GApplication - @doc "#GApplicationCommandLine represents a command-line invocation of\nan application. It is created by #GApplication and emitted\nin the #GApplication::command-line signal and virtual function.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.ApplicationCommandLine.html)." GApplicationCommandLine - @doc "Buffered input stream implements #GFilterInputStream and provides\nfor buffered reads.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.BufferedInputStream.html)." GBufferedInputStream - @doc "Buffered output stream implements #GFilterOutputStream and provides\nfor buffered writes.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.BufferedOutputStream.html)." GBufferedOutputStream - @doc "#GBytesIcon specifies an image held in memory in a common format (usually\npng) to be used as icon.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.BytesIcon.html)." GBytesIcon - @doc "GCancellable is a thread-safe operation cancellation stack used\nthroughout GIO to allow for cancellation of synchronous and\nasynchronous operations.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.Cancellable.html)." GCancellable - @doc "#GCharsetConverter is an implementation of #GConverter based on\nGIConv.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.CharsetConverter.html)." GCharsetConverter - @doc "Converter input stream implements #GInputStream and allows\nconversion of data of various types during reading.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.ConverterInputStream.html)." GConverterInputStream - @doc "Converter output stream implements #GOutputStream and allows\nconversion of data of various types during reading.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.ConverterOutputStream.html)." GConverterOutputStream - @doc "The #GCredentials type is a reference-counted wrapper for native\ncredentials. This information is typically used for identifying,\nauthenticating and authorizing other processes.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.Credentials.html)." GCredentials - @doc "#GDBusActionGroup is an implementation of the #GActionGroup\ninterface that can be used as a proxy for an action group\nthat is exported over D-Bus with g_dbus_connection_export_action_group().\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.DBusActionGroup.html)." GDBusActionGroup - @doc "The #GDBusAuthObserver type provides a mechanism for participating\nin how a #GDBusServer (or a #GDBusConnection) authenticates remote\npeers. Simply instantiate a #GDBusAuthObserver and connect to the\nsignals you are interested in. Note that new signals may be added\nin the future\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.DBusAuthObserver.html)." GDBusAuthObserver - @doc "The #GDBusConnection type is used for D-Bus connections to remote\npeers such as a message buses. It is a low-level API that offers a\nlot of flexibility. For instance, it lets you establish a connection\nover any transport that can by represented as a #GIOStream.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.DBusConnection.html)." GDBusConnection - @doc "Abstract base class for D-Bus interfaces on the service side.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.DBusInterfaceSkeleton.html)." GDBusInterfaceSkeleton - @doc "#GDBusMenuModel is an implementation of #GMenuModel that can be used\nas a proxy for a menu model that is exported over D-Bus with\ng_dbus_connection_export_menu_model().\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.DBusMenuModel.html)." GDBusMenuModel - @doc "A type for representing D-Bus messages that can be sent or received\non a #GDBusConnection.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.DBusMessage.html)." GDBusMessage - @doc "Instances of the #GDBusMethodInvocation class are used when\nhandling D-Bus method calls. It provides a way to asynchronously\nreturn results and errors.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.DBusMethodInvocation.html)." GDBusMethodInvocation - @doc "#GDBusObjectManagerClient is used to create, monitor and delete object\nproxies for remote objects exported by a #GDBusObjectManagerServer (or any\ncode implementing the\n[org.freedesktop.DBus.ObjectManager](http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager)\ninterface).\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.DBusObjectManagerClient.html)." GDBusObjectManagerClient - @doc "#GDBusObjectManagerServer is used to export #GDBusObject instances using\nthe standardized\n[org.freedesktop.DBus.ObjectManager](http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager)\ninterface. For example, remote D-Bus clients can get all objects\nand properties in a single call. Additionally, any change in the\nobject hierarchy is broadcast using signals. This means that D-Bus\nclients can keep caches up to date by only listening to D-Bus\nsignals.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.DBusObjectManagerServer.html)." GDBusObjectManagerServer - @doc "A #GDBusObjectProxy is an object used to represent a remote object\nwith one or more D-Bus interfaces. Normally, you don't instantiate\na #GDBusObjectProxy yourself - typically #GDBusObjectManagerClient\nis used to obtain it.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.DBusObjectProxy.html)." GDBusObjectProxy - @doc "A #GDBusObjectSkeleton instance is essentially a group of D-Bus\ninterfaces. The set of exported interfaces on the object may be\ndynamic and change at runtime.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.DBusObjectSkeleton.html)." GDBusObjectSkeleton - @doc "#GDBusProxy is a base class used for proxies to access a D-Bus\ninterface on a remote object. A #GDBusProxy can be constructed for\nboth well-known and unique names.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.DBusProxy.html)." GDBusProxy - @doc "#GDBusServer is a helper for listening to and accepting D-Bus\nconnections. This can be used to create a new D-Bus server, allowing two\npeers to use the D-Bus protocol for their own specialized communication.\nA server instance provided in this way will not perform message routing or\nimplement the org.freedesktop.DBus interface.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.DBusServer.html)." GDBusServer - @doc "Data input stream implements #GInputStream and includes functions for\nreading structured data directly from a binary input stream.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.DataInputStream.html)." GDataInputStream - @doc "Data output stream implements #GOutputStream and includes functions for\nwriting data directly to an output stream.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.DataOutputStream.html)." GDataOutputStream - @doc "#GDesktopAppInfo is an implementation of #GAppInfo based on\ndesktop files.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.DesktopAppInfo.html)." GDesktopAppInfo - @doc "#GEmblem is an implementation of #GIcon that supports\nhaving an emblem, which is an icon with additional properties.\nIt can than be added to a #GEmblemedIcon.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.Emblem.html)." GEmblem - @doc "#GEmblemedIcon is an implementation of #GIcon that supports\nadding an emblem to an icon. Adding multiple emblems to an\nicon is ensured via g_emblemed_icon_add_emblem().\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.EmblemedIcon.html)." GEmblemedIcon - @doc "#GFileEnumerator allows you to operate on a set of #GFiles,\nreturning a #GFileInfo structure for each file enumerated (e.g.\ng_file_enumerate_children() will return a #GFileEnumerator for each\nof the children within a directory).\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.FileEnumerator.html)." GFileEnumerator - @doc "GFileIOStream provides io streams that both read and write to the same\nfile handle.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.FileIOStream.html)." GFileIOStream - @doc "#GFileIcon specifies an icon by pointing to an image file\nto be used as icon.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.FileIcon.html)." GFileIcon - @doc "Functionality for manipulating basic metadata for files. #GFileInfo\nimplements methods for getting information that all files should\ncontain, and allows for manipulation of extended attributes.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.FileInfo.html)." GFileInfo - @doc "GFileInputStream provides input streams that take their\ncontent from a file.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.FileInputStream.html)." GFileInputStream - @doc "Monitors a file or directory for changes.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.FileMonitor.html)." GFileMonitor - @doc "GFileOutputStream provides output streams that write their\ncontent to a file.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.FileOutputStream.html)." GFileOutputStream - @doc "Completes partial file and directory names given a partial string by\nlooking in the file system for clues. Can return a list of possible\ncompletion strings for widget implementations.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.FilenameCompleter.html)." GFilenameCompleter - @doc "Base class for input stream implementations that perform some\nkind of filtering operation on a base stream. Typical examples\nof filtering operations are character set conversion, compression\nand byte order flipping.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.FilterInputStream.html)." GFilterInputStream - @doc "Base class for output stream implementations that perform some\nkind of filtering operation on a base stream. Typical examples\nof filtering operations are character set conversion, compression\nand byte order flipping.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.FilterOutputStream.html)." GFilterOutputStream - @doc "Provides an interface and default functions for loading and unloading\nmodules. This is used internally to make GIO extensible, but can also\nbe used by others to implement module loading.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.IOModule.html)." GIOModule - @doc "GIOStream represents an object that has both read and write streams.\nGenerally the two streams act as separate input and output streams,\nbut they share some common resources and state. For instance, for\nseekable streams, both streams may use the same position.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.IOStream.html)." GIOStream - @doc "#GInetAddress represents an IPv4 or IPv6 internet address. Use\ng_resolver_lookup_by_name() or g_resolver_lookup_by_name_async() to\nlook up the #GInetAddress for a hostname. Use\ng_resolver_lookup_by_address() or\ng_resolver_lookup_by_address_async() to look up the hostname for a\n#GInetAddress.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.InetAddress.html)." GInetAddress - @doc "#GInetAddressMask represents a range of IPv4 or IPv6 addresses\ndescribed by a base address and a length indicating how many bits\nof the base address are relevant for matching purposes. These are\noften given in string form. Eg, \"10.0.0.0/8\", or \"fe80::/10\".\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.InetAddressMask.html)." GInetAddressMask - @doc "An IPv4 or IPv6 socket address; that is, the combination of a\n#GInetAddress and a port number.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.InetSocketAddress.html)." GInetSocketAddress - @doc "#GInputStream has functions to read from a stream (g_input_stream_read()),\nto close a stream (g_input_stream_close()) and to skip some content\n(g_input_stream_skip()).\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.InputStream.html)." GInputStream - @doc "#GListStore is a simple implementation of #GListModel that stores all\nitems in memory.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.ListStore.html)." GListStore - @doc "#GMemoryInputStream is a class for using arbitrary\nmemory chunks as input for GIO streaming input operations.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.MemoryInputStream.html)." GMemoryInputStream - @doc "#GMemoryOutputStream is a class for using arbitrary\nmemory chunks as output for GIO streaming output operations.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.MemoryOutputStream.html)." GMemoryOutputStream - @doc "#GMenu is a simple implementation of #GMenuModel.\nYou populate a #GMenu by adding #GMenuItem instances to it.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.Menu.html)." GMenu - @doc "#GMenuAttributeIter is an opaque structure type. You must access it\nusing the functions below.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.MenuAttributeIter.html)." GMenuAttributeIter - @doc "#GMenuItem is an opaque structure type. You must access it using the\nfunctions below.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.MenuItem.html)." GMenuItem - @doc "#GMenuLinkIter is an opaque structure type. You must access it using\nthe functions below.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.MenuLinkIter.html)." GMenuLinkIter - @doc "#GMenuModel represents the contents of a menu -- an ordered list of\nmenu items. The items are associated with actions, which can be\nactivated through them. Items can be grouped in sections, and may\nhave submenus associated with them. Both items and sections usually\nhave some representation data, such as labels or icons. The type of\nthe associated action (ie whether it is stateful, and what kind of\nstate it has) can influence the representation of the item.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.MenuModel.html)." GMenuModel - @doc "#GMountOperation provides a mechanism for interacting with the user.\nIt can be used for authenticating mountable operations, such as loop\nmounting files, hard drive partitions or server locations. It can\nalso be used to ask the user questions or show a list of applications\npreventing unmount or eject operations from completing.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.MountOperation.html)." GMountOperation - @doc "A socket address of some unknown native type.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.NativeSocketAddress.html)." GNativeSocketAddress - @doc "#GNetworkAddress provides an easy way to resolve a hostname and\nthen attempt to connect to that host, handling the possibility of\nmultiple IP addresses and multiple address families.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.NetworkAddress.html)." GNetworkAddress - @doc "Like #GNetworkAddress does with hostnames, #GNetworkService\nprovides an easy way to resolve a SRV record, and then attempt to\nconnect to one of the hosts that implements that service, handling\nservice priority/weighting, multiple IP addresses, and multiple\naddress families.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.NetworkService.html)." GNetworkService - @doc "#GNotification is a mechanism for creating a notification to be shown\nto the user -- typically as a pop-up notification presented by the\ndesktop environment shell.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.Notification.html)." GNotification - @doc "#GOutputStream has functions to write to a stream (g_output_stream_write()),\nto close a stream (g_output_stream_close()) and to flush pending writes\n(g_output_stream_flush()).\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.OutputStream.html)." GOutputStream - @doc "A #GPermission represents the status of the caller's permission to\nperform a certain action.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.Permission.html)." GPermission - @doc "A #GPropertyAction is a way to get a #GAction with a state value\nreflecting and controlling the value of a #GObject property.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.PropertyAction.html)." GPropertyAction - @doc "Support for proxied #GInetSocketAddress.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.ProxyAddress.html)." GProxyAddress - @doc "#GProxyAddressEnumerator is a wrapper around #GSocketAddressEnumerator which\ntakes the #GSocketAddress instances returned by the #GSocketAddressEnumerator\nand wraps them in #GProxyAddress instances, using the given\n#GProxyAddressEnumerator:proxy-resolver.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.ProxyAddressEnumerator.html)." GProxyAddressEnumerator - @doc "#GResolver provides cancellable synchronous and asynchronous DNS\nresolution, for hostnames (g_resolver_lookup_by_address(),\ng_resolver_lookup_by_name() and their async variants) and SRV\n(service) records (g_resolver_lookup_service()).\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.Resolver.html)." GResolver - @doc "The #GSettings class provides a convenient API for storing and retrieving\napplication settings.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.Settings.html)." GSettings - @doc "The #GSettingsBackend interface defines a generic interface for\nnon-strictly-typed data that is stored in a hierarchy. To implement\nan alternative storage backend for #GSettings, you need to implement\nthe #GSettingsBackend interface and then make it implement the\nextension point %G_SETTINGS_BACKEND_EXTENSION_POINT_NAME.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.SettingsBackend.html)." GSettingsBackend - @doc "A #GSimpleAction is the obvious simple implementation of the #GAction\ninterface. This is the easiest way to create an action for purposes of\nadding it to a #GSimpleActionGroup.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.SimpleAction.html)." GSimpleAction - @doc "#GSimpleActionGroup is a hash table filled with #GAction objects,\nimplementing the #GActionGroup and #GActionMap interfaces.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.SimpleActionGroup.html)." GSimpleActionGroup - @doc "As of GLib 2.46, #GSimpleAsyncResult is deprecated in favor of\n#GTask, which provides a simpler API.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.SimpleAsyncResult.html)." GSimpleAsyncResult - @doc "GSimpleIOStream creates a #GIOStream from an arbitrary #GInputStream and\n#GOutputStream. This allows any pair of input and output streams to be used\nwith #GIOStream methods.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.SimpleIOStream.html)." GSimpleIOStream - @doc "#GSimplePermission is a trivial implementation of #GPermission that\nrepresents a permission that is either always or never allowed. The\nvalue is given at construction and doesn't change.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.SimplePermission.html)." GSimplePermission - @doc "#GSimpleProxyResolver is a simple #GProxyResolver implementation\nthat handles a single default proxy, multiple URI-scheme-specific\nproxies, and a list of hosts that proxies should not be used for.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.SimpleProxyResolver.html)." GSimpleProxyResolver - @doc "A #GSocket is a low-level networking primitive. It is a more or less\ndirect mapping of the BSD socket API in a portable GObject based API.\nIt supports both the UNIX socket implementations and winsock2 on Windows.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.Socket.html)." GSocket - @doc "#GSocketAddress is the equivalent of struct sockaddr in the BSD\nsockets API. This is an abstract class; use #GInetSocketAddress\nfor internet sockets, or #GUnixSocketAddress for UNIX domain sockets.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.SocketAddress.html)." GSocketAddress - @doc "#GSocketAddressEnumerator is an enumerator type for #GSocketAddress\ninstances. It is returned by enumeration functions such as\ng_socket_connectable_enumerate(), which returns a #GSocketAddressEnumerator\nto list each #GSocketAddress which could be used to connect to that\n#GSocketConnectable.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.SocketAddressEnumerator.html)." GSocketAddressEnumerator - @doc "#GSocketClient is a lightweight high-level utility class for connecting to\na network host using a connection oriented socket type.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.SocketClient.html)." GSocketClient - @doc "#GSocketConnection is a #GIOStream for a connected socket. They\ncan be created either by #GSocketClient when connecting to a host,\nor by #GSocketListener when accepting a new client.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.SocketConnection.html)." GSocketConnection - @doc "A #GSocketControlMessage is a special-purpose utility message that\ncan be sent to or received from a #GSocket. These types of\nmessages are often called \"ancillary data\".\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.SocketControlMessage.html)." GSocketControlMessage - @doc "A #GSocketListener is an object that keeps track of a set\nof server sockets and helps you accept sockets from any of the\nsocket, either sync or async.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.SocketListener.html)." GSocketListener - @doc "A #GSocketService is an object that represents a service that\nis provided to the network or over local sockets. When a new\nconnection is made to the service the #GSocketService::incoming\nsignal is emitted.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.SocketService.html)." GSocketService - @doc "#GSubprocess allows the creation of and interaction with child\nprocesses.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.Subprocess.html)." GSubprocess - @doc "This class contains a set of options for launching child processes,\nsuch as where its standard input and output will be directed, the\nargument list, the environment, and more.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.SubprocessLauncher.html)." GSubprocessLauncher - @doc "A #GTask represents and manages a cancellable \"task\".\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.Task.html)." GTask - @doc "This is the subclass of #GSocketConnection that is created\nfor TCP/IP sockets.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.TcpConnection.html)." GTcpConnection - @doc "A #GTcpWrapperConnection can be used to wrap a #GIOStream that is\nbased on a #GSocket, but which is not actually a\n#GSocketConnection. This is used by #GSocketClient so that it can\nalways return a #GSocketConnection, even when the connection it has\nactually created is not directly a #GSocketConnection.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.TcpWrapperConnection.html)." GTcpWrapperConnection - @doc "A helper class for testing code which uses D-Bus without touching the user's\nsession bus.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.TestDBus.html)." GTestDBus - @doc "#GThemedIcon is an implementation of #GIcon that supports icon themes.\n#GThemedIcon contains a list of all of the icons present in an icon\ntheme, so that icons can be looked up quickly. #GThemedIcon does\nnot provide actual pixmaps for icons, just the icon names.\nIdeally something like gtk_icon_theme_choose_icon() should be used to\nresolve the list of names so that fallback icons work nicely with\nthemes that inherit other themes.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.ThemedIcon.html)." GThemedIcon - @doc "A #GThreadedSocketService is a simple subclass of #GSocketService\nthat handles incoming connections by creating a worker thread and\ndispatching the connection to it by emitting the\n#GThreadedSocketService::run signal in the new thread.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.ThreadedSocketService.html)." GThreadedSocketService - @doc "A certificate used for TLS authentication and encryption.\nThis can represent either a certificate only (eg, the certificate\nreceived by a client from a server), or the combination of\na certificate and a private key (which is needed when acting as a\n#GTlsServerConnection).\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.TlsCertificate.html)." GTlsCertificate - @doc "#GTlsConnection is the base TLS connection class type, which wraps\na #GIOStream and provides TLS encryption on top of it. Its\nsubclasses, #GTlsClientConnection and #GTlsServerConnection,\nimplement client-side and server-side TLS, respectively.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.TlsConnection.html)." GTlsConnection - @doc "#GTlsDatabase is used to look up certificates and other information\nfrom a certificate or key store. It is an abstract base class which\nTLS library specific subtypes override.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.TlsDatabase.html)." GTlsDatabase - @doc "#GTlsInteraction provides a mechanism for the TLS connection and database\ncode to interact with the user. It can be used to ask the user for passwords.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.TlsInteraction.html)." GTlsInteraction - @doc "Holds a password used in TLS.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.TlsPassword.html)." GTlsPassword - @doc "This is the subclass of #GSocketConnection that is created\nfor UNIX domain sockets.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.UnixConnection.html)." GUnixConnection - @doc "This #GSocketControlMessage contains a #GCredentials instance. It\nmay be sent using g_socket_send_message() and received using\ng_socket_receive_message() over UNIX sockets (ie: sockets in the\n%G_SOCKET_FAMILY_UNIX family).\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.UnixCredentialsMessage.html)." GUnixCredentialsMessage - @doc "Entry point for using GIO functionality.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.Vfs.html)." GVfs - @doc "#GVolumeMonitor is for listing the user interesting devices and volumes\non the computer. In other words, what a file selector or file manager\nwould show in a sidebar.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.VolumeMonitor.html)." GVolumeMonitor - @doc "#GZlibCompressor is an implementation of #GConverter that\ncompresses data using zlib.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.ZlibCompressor.html)." GZlibCompressor - @doc "#GZlibDecompressor is an implementation of #GConverter that\ndecompresses data compressed with zlib.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/gio/class.ZlibDecompressor.html)." GZlibDecompressor - function GAsyncReadyCallback(source_object, res, user_data) - f = user_data + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.AppInfoMonitor.html)." GAppInfoMonitor + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.AppLaunchContext.html)." GAppLaunchContext + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.Application.html)." GApplication + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.ApplicationCommandLine.html)." GApplicationCommandLine + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.BufferedInputStream.html)." GBufferedInputStream + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.BufferedOutputStream.html)." GBufferedOutputStream + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.BytesIcon.html)." GBytesIcon + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.Cancellable.html)." GCancellable + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.CharsetConverter.html)." GCharsetConverter + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.ConverterInputStream.html)." GConverterInputStream + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.ConverterOutputStream.html)." GConverterOutputStream + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.Credentials.html)." GCredentials + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.DBusActionGroup.html)." GDBusActionGroup + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.DBusAuthObserver.html)." GDBusAuthObserver + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.DBusConnection.html)." GDBusConnection + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.DBusInterfaceSkeleton.html)." GDBusInterfaceSkeleton + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.DBusMenuModel.html)." GDBusMenuModel + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.DBusMessage.html)." GDBusMessage + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.DBusMethodInvocation.html)." GDBusMethodInvocation + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.DBusObjectManagerClient.html)." GDBusObjectManagerClient + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.DBusObjectManagerServer.html)." GDBusObjectManagerServer + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.DBusObjectProxy.html)." GDBusObjectProxy + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.DBusObjectSkeleton.html)." GDBusObjectSkeleton + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.DBusProxy.html)." GDBusProxy + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.DBusServer.html)." GDBusServer + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.DataInputStream.html)." GDataInputStream + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.DataOutputStream.html)." GDataOutputStream + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.DesktopAppInfo.html)." GDesktopAppInfo + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.Emblem.html)." GEmblem + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.EmblemedIcon.html)." GEmblemedIcon + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.FileEnumerator.html)." GFileEnumerator + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.FileIOStream.html)." GFileIOStream + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.FileIcon.html)." GFileIcon + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.FileInfo.html)." GFileInfo + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.FileInputStream.html)." GFileInputStream + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.FileMonitor.html)." GFileMonitor + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.FileOutputStream.html)." GFileOutputStream + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.FilenameCompleter.html)." GFilenameCompleter + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.FilterInputStream.html)." GFilterInputStream + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.FilterOutputStream.html)." GFilterOutputStream + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.IOModule.html)." GIOModule + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.IOStream.html)." GIOStream + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.InetAddress.html)." GInetAddress + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.InetAddressMask.html)." GInetAddressMask + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.InetSocketAddress.html)." GInetSocketAddress + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.InputStream.html)." GInputStream + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.ListStore.html)." GListStore + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.MemoryInputStream.html)." GMemoryInputStream + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.MemoryOutputStream.html)." GMemoryOutputStream + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.Menu.html)." GMenu + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.MenuAttributeIter.html)." GMenuAttributeIter + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.MenuItem.html)." GMenuItem + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.MenuLinkIter.html)." GMenuLinkIter + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.MenuModel.html)." GMenuModel + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.MountOperation.html)." GMountOperation + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.NativeSocketAddress.html)." GNativeSocketAddress + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.NetworkAddress.html)." GNetworkAddress + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.NetworkService.html)." GNetworkService + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.Notification.html)." GNotification + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.OutputStream.html)." GOutputStream + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.Permission.html)." GPermission + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.PropertyAction.html)." GPropertyAction + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.ProxyAddress.html)." GProxyAddress + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.ProxyAddressEnumerator.html)." GProxyAddressEnumerator + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.Resolver.html)." GResolver + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.Settings.html)." GSettings + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.SettingsBackend.html)." GSettingsBackend + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.SimpleAction.html)." GSimpleAction + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.SimpleActionGroup.html)." GSimpleActionGroup + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.SimpleAsyncResult.html)." GSimpleAsyncResult + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.SimpleIOStream.html)." GSimpleIOStream + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.SimplePermission.html)." GSimplePermission + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.SimpleProxyResolver.html)." GSimpleProxyResolver + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.Socket.html)." GSocket + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.SocketAddress.html)." GSocketAddress + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.SocketAddressEnumerator.html)." GSocketAddressEnumerator + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.SocketClient.html)." GSocketClient + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.SocketConnection.html)." GSocketConnection + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.SocketControlMessage.html)." GSocketControlMessage + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.SocketListener.html)." GSocketListener + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.SocketService.html)." GSocketService + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.Subprocess.html)." GSubprocess + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.SubprocessLauncher.html)." GSubprocessLauncher + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.Task.html)." GTask + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.TcpConnection.html)." GTcpConnection + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.TcpWrapperConnection.html)." GTcpWrapperConnection + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.TestDBus.html)." GTestDBus + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.ThemedIcon.html)." GThemedIcon + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.ThreadedResolver.html)." GThreadedResolver + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.ThreadedSocketService.html)." GThreadedSocketService + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.TlsCertificate.html)." GTlsCertificate + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.TlsConnection.html)." GTlsConnection + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.TlsDatabase.html)." GTlsDatabase + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.TlsInteraction.html)." GTlsInteraction + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.TlsPassword.html)." GTlsPassword + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.UnixConnection.html)." GUnixConnection + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.UnixCredentialsMessage.html)." GUnixCredentialsMessage + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.Vfs.html)." GVfs + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.VolumeMonitor.html)." GVolumeMonitor + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.ZlibCompressor.html)." GZlibCompressor + @doc "See the [GTK docs](https://docs.gtk.org/gio/class.ZlibDecompressor.html)." GZlibDecompressor + function GAsyncReadyCallback(source_object, res, data) + f = data ret = f(source_object, res) nothing end @@ -2747,8 +2891,8 @@ $(Expr(:toplevel, quote ret = f(connection, name) nothing end - function GCancellableSourceFunc(cancellable, user_data) - f = user_data + function GCancellableSourceFunc(cancellable, data) + f = data ret = f(cancellable) convert(Cint, ret) end @@ -2772,8 +2916,8 @@ $(Expr(:toplevel, quote ret = f(connection, message, incoming) convert(Ptr{GObject}, ret) end - function GDBusProxyTypeFunc(manager, object_path, interface_name, user_data) - f = user_data + function GDBusProxyTypeFunc(manager, object_path, interface_name, data) + f = data ret = f(manager, object_path, interface_name) convert(UInt64, ret) end @@ -2797,8 +2941,8 @@ $(Expr(:toplevel, quote ret = f(connection, sender, object_path, node) convert(Ptr{Ptr{_GDBusInterfaceInfo}}, ret) end - function GDatagramBasedSourceFunc(datagram_based, condition, user_data) - f = user_data + function GDatagramBasedSourceFunc(datagram_based, condition, data) + f = data ret = f(datagram_based, condition) convert(Cint, ret) end @@ -2807,28 +2951,28 @@ $(Expr(:toplevel, quote ret = f(appinfo, pid) nothing end - function GFileMeasureProgressCallback(reporting, current_size, num_dirs, num_files, user_data) - f = user_data + function GFileMeasureProgressCallback(reporting, current_size, num_dirs, num_files, data) + f = data ret = f(reporting, current_size, num_dirs, num_files) nothing end - function GFileProgressCallback(current_num_bytes, total_num_bytes, user_data) - f = user_data + function GFileProgressCallback(current_num_bytes, total_num_bytes, data) + f = data ret = f(current_num_bytes, total_num_bytes) nothing end - function GFileReadMoreCallback(file_contents, file_size, user_data) - f = user_data + function GFileReadMoreCallback(file_contents, file_size, callback_data) + f = callback_data ret = f(file_contents, file_size) convert(Cint, ret) end - function GIOSchedulerJobFunc(job, cancellable, user_data) - f = user_data + function GIOSchedulerJobFunc(job, cancellable, data) + f = data ret = f(job, cancellable) convert(Cint, ret) end - function GPollableSourceFunc(pollable_stream, user_data) - f = user_data + function GPollableSourceFunc(pollable_stream, data) + f = data ret = f(pollable_stream) convert(Cint, ret) end @@ -2847,8 +2991,8 @@ $(Expr(:toplevel, quote ret = f(value, result) convert(Cint, ret) end - function GSocketSourceFunc(socket, condition, user_data) - f = user_data + function GSocketSourceFunc(socket, condition, data) + f = data ret = f(socket, condition) convert(Cint, ret) end @@ -2857,6 +3001,6 @@ $(Expr(:toplevel, quote ret = f(vfs, identifier) convert(Ptr{GObject}, ret) end - export GDBusErrorEntry, _GDBusErrorEntry, GFileAttributeInfo, _GFileAttributeInfo, GFileAttributeInfoList, _GFileAttributeInfoList, GFileAttributeMatcher, GInputVector, _GInputVector, GOutputVector, _GOutputVector, GResource, GSettingsSchema, GSettingsSchemaKey, GSettingsSchemaSource, GSrvTarget, GAction, GActionGroup, GActionMap, GAppInfo, GAsyncInitable, GAsyncResult, GConverter, GDBusInterface, GDBusObject, GDBusObjectManager, GDatagramBased, GDebugController, GDrive, GDtlsClientConnection, GDtlsConnection, GDtlsServerConnection, GFile, GFileDescriptorBased, GIcon, GInitable, GListModel, GLoadableIcon, GMemoryMonitor, GMount, GNetworkMonitor, GPollableInputStream, GPollableOutputStream, GPowerProfileMonitor, GProxy, GProxyResolver, GRemoteActionGroup, GSeekable, GSocketConnectable, GTlsBackend, GTlsClientConnection, GTlsFileDatabase, GTlsServerConnection, GVolume, GAppInfoMonitor, GAppInfoMonitorLeaf, GAppLaunchContext, GAppLaunchContextLeaf, GApplication, GApplicationLeaf, GApplicationCommandLine, GApplicationCommandLineLeaf, GBufferedInputStream, GBufferedInputStreamLeaf, GBufferedOutputStream, GBufferedOutputStreamLeaf, GBytesIcon, GBytesIconLeaf, GCancellable, GCancellableLeaf, GCharsetConverter, GCharsetConverterLeaf, GConverterInputStream, GConverterInputStreamLeaf, GConverterOutputStream, GConverterOutputStreamLeaf, GCredentials, GCredentialsLeaf, GDBusActionGroup, GDBusActionGroupLeaf, GDBusAuthObserver, GDBusAuthObserverLeaf, GDBusConnection, GDBusConnectionLeaf, GDBusInterfaceSkeleton, GDBusMenuModel, GDBusMenuModelLeaf, GDBusMessage, GDBusMessageLeaf, GDBusMethodInvocation, GDBusMethodInvocationLeaf, GDBusObjectManagerClient, GDBusObjectManagerClientLeaf, GDBusObjectManagerServer, GDBusObjectManagerServerLeaf, GDBusObjectProxy, GDBusObjectProxyLeaf, GDBusObjectSkeleton, GDBusObjectSkeletonLeaf, GDBusProxy, GDBusProxyLeaf, GDBusServer, GDBusServerLeaf, GDataInputStream, GDataInputStreamLeaf, GDataOutputStream, GDataOutputStreamLeaf, GDesktopAppInfo, GDesktopAppInfoLeaf, GEmblem, GEmblemLeaf, GEmblemedIcon, GEmblemedIconLeaf, GFileEnumerator, GFileEnumeratorLeaf, GFileIOStream, GFileIOStreamLeaf, GFileIcon, GFileIconLeaf, GFileInfo, GFileInfoLeaf, GFileInputStream, GFileInputStreamLeaf, GFileMonitor, GFileOutputStream, GFileOutputStreamLeaf, GFilenameCompleter, GFilenameCompleterLeaf, GFilterInputStream, GFilterOutputStream, GIOModule, GIOModuleLeaf, GIOStream, GInetAddress, GInetAddressLeaf, GInetAddressMask, GInetAddressMaskLeaf, GInetSocketAddress, GInetSocketAddressLeaf, GInputStream, GListStore, GListStoreLeaf, GMemoryInputStream, GMemoryInputStreamLeaf, GMemoryOutputStream, GMemoryOutputStreamLeaf, GMenu, GMenuLeaf, GMenuAttributeIter, GMenuItem, GMenuItemLeaf, GMenuLinkIter, GMenuModel, GMountOperation, GMountOperationLeaf, GNativeSocketAddress, GNativeSocketAddressLeaf, GNativeVolumeMonitor, GNetworkAddress, GNetworkAddressLeaf, GNetworkService, GNetworkServiceLeaf, GNotification, GNotificationLeaf, GOutputStream, GPermission, GPropertyAction, GPropertyActionLeaf, GProxyAddress, GProxyAddressLeaf, GProxyAddressEnumerator, GProxyAddressEnumeratorLeaf, GResolver, GSettings, GSettingsLeaf, GSettingsBackend, GSimpleAction, GSimpleActionLeaf, GSimpleActionGroup, GSimpleActionGroupLeaf, GSimpleAsyncResult, GSimpleAsyncResultLeaf, GSimpleIOStream, GSimpleIOStreamLeaf, GSimplePermission, GSimplePermissionLeaf, GSimpleProxyResolver, GSimpleProxyResolverLeaf, GSocket, GSocketLeaf, GSocketAddress, GSocketAddressEnumerator, GSocketClient, GSocketClientLeaf, GSocketConnection, GSocketConnectionLeaf, GSocketControlMessage, GSocketListener, GSocketListenerLeaf, GSocketService, GSocketServiceLeaf, GSubprocess, GSubprocessLeaf, GSubprocessLauncher, GSubprocessLauncherLeaf, GTask, GTaskLeaf, GTcpConnection, GTcpConnectionLeaf, GTcpWrapperConnection, GTcpWrapperConnectionLeaf, GTestDBus, GTestDBusLeaf, GThemedIcon, GThemedIconLeaf, GThreadedSocketService, GThreadedSocketServiceLeaf, GTlsCertificate, GTlsConnection, GTlsDatabase, GTlsInteraction, GTlsInteractionLeaf, GTlsPassword, GTlsPasswordLeaf, GUnixConnection, GUnixConnectionLeaf, GUnixCredentialsMessage, GUnixCredentialsMessageLeaf, GVfs, GVfsLeaf, GVolumeMonitor, GVolumeMonitorLeaf, GZlibCompressor, GZlibCompressorLeaf, GZlibDecompressor, GZlibDecompressorLeaf, GAsyncReadyCallback, GBusAcquiredCallback, GBusNameAcquiredCallback, GBusNameAppearedCallback, GBusNameLostCallback, GBusNameVanishedCallback, GCancellableSourceFunc, GDBusInterfaceGetPropertyFunc, GDBusInterfaceMethodCallFunc, GDBusInterfaceSetPropertyFunc, GDBusMessageFilterFunction, GDBusProxyTypeFunc, GDBusSignalCallback, GDBusSubtreeDispatchFunc, GDBusSubtreeEnumerateFunc, GDBusSubtreeIntrospectFunc, GDatagramBasedSourceFunc, GDesktopAppLaunchCallback, GFileMeasureProgressCallback, GFileProgressCallback, GFileReadMoreCallback, GIOSchedulerJobFunc, GPollableSourceFunc, GSettingsBindGetMapping, GSettingsBindSetMapping, GSettingsGetMapping, GSocketSourceFunc, GVfsFileLookupFunc + export GDBusErrorEntry, _GDBusErrorEntry, GFileAttributeInfo, _GFileAttributeInfo, GFileAttributeInfoList, _GFileAttributeInfoList, GFileAttributeMatcher, GInputVector, _GInputVector, GOutputVector, _GOutputVector, GResource, GSettingsSchema, GSettingsSchemaKey, GSettingsSchemaSource, GSrvTarget, GXdpDocumentsIface, _GXdpDocumentsIface, GXdpOpenURIIface, _GXdpOpenURIIface, GXdpProxyResolverIface, _GXdpProxyResolverIface, GXdpTrashIface, _GXdpTrashIface, G_FreedesktopDBusIface, _G_FreedesktopDBusIface, G_FreedesktopDBusProxy, _G_FreedesktopDBusProxy, G_FreedesktopDBusSkeleton, _G_FreedesktopDBusSkeleton, GAction, GActionGroup, GActionMap, GAppInfo, GAsyncInitable, GAsyncResult, GConverter, GDBusInterface, GDBusObject, GDBusObjectManager, GDatagramBased, GDebugController, GDrive, GDtlsClientConnection, GDtlsConnection, GDtlsServerConnection, GFile, GFileDescriptorBased, GIcon, GInitable, GListModel, GLoadableIcon, GMemoryMonitor, GMount, GNetworkMonitor, GPollableInputStream, GPollableOutputStream, GPowerProfileMonitor, GProxy, GProxyResolver, GRemoteActionGroup, GSeekable, GSocketConnectable, GTlsBackend, GTlsClientConnection, GTlsFileDatabase, GTlsServerConnection, GVolume, GAppInfoMonitor, GAppInfoMonitorLeaf, GAppLaunchContext, GAppLaunchContextLeaf, GApplication, GApplicationLeaf, GApplicationCommandLine, GApplicationCommandLineLeaf, GBufferedInputStream, GBufferedInputStreamLeaf, GBufferedOutputStream, GBufferedOutputStreamLeaf, GBytesIcon, GBytesIconLeaf, GCancellable, GCancellableLeaf, GCharsetConverter, GCharsetConverterLeaf, GConverterInputStream, GConverterInputStreamLeaf, GConverterOutputStream, GConverterOutputStreamLeaf, GCredentials, GCredentialsLeaf, GDBusActionGroup, GDBusActionGroupLeaf, GDBusAuthObserver, GDBusAuthObserverLeaf, GDBusConnection, GDBusConnectionLeaf, GDBusInterfaceSkeleton, GDBusMenuModel, GDBusMenuModelLeaf, GDBusMessage, GDBusMessageLeaf, GDBusMethodInvocation, GDBusMethodInvocationLeaf, GDBusObjectManagerClient, GDBusObjectManagerClientLeaf, GDBusObjectManagerServer, GDBusObjectManagerServerLeaf, GDBusObjectProxy, GDBusObjectProxyLeaf, GDBusObjectSkeleton, GDBusObjectSkeletonLeaf, GDBusProxy, GDBusProxyLeaf, GDBusServer, GDBusServerLeaf, GDataInputStream, GDataInputStreamLeaf, GDataOutputStream, GDataOutputStreamLeaf, GDesktopAppInfo, GDesktopAppInfoLeaf, GEmblem, GEmblemLeaf, GEmblemedIcon, GEmblemedIconLeaf, GFileEnumerator, GFileEnumeratorLeaf, GFileIOStream, GFileIOStreamLeaf, GFileIcon, GFileIconLeaf, GFileInfo, GFileInfoLeaf, GFileInputStream, GFileInputStreamLeaf, GFileMonitor, GFileOutputStream, GFileOutputStreamLeaf, GFilenameCompleter, GFilenameCompleterLeaf, GFilterInputStream, GFilterOutputStream, GIOModule, GIOModuleLeaf, GIOStream, GInetAddress, GInetAddressLeaf, GInetAddressMask, GInetAddressMaskLeaf, GInetSocketAddress, GInetSocketAddressLeaf, GInputStream, GListStore, GListStoreLeaf, GMemoryInputStream, GMemoryInputStreamLeaf, GMemoryOutputStream, GMemoryOutputStreamLeaf, GMenu, GMenuLeaf, GMenuAttributeIter, GMenuItem, GMenuItemLeaf, GMenuLinkIter, GMenuModel, GMountOperation, GMountOperationLeaf, GNativeSocketAddress, GNativeSocketAddressLeaf, GNativeVolumeMonitor, GNetworkAddress, GNetworkAddressLeaf, GNetworkService, GNetworkServiceLeaf, GNotification, GNotificationLeaf, GOutputStream, GPermission, GPropertyAction, GPropertyActionLeaf, GProxyAddress, GProxyAddressLeaf, GProxyAddressEnumerator, GProxyAddressEnumeratorLeaf, GResolver, GSettings, GSettingsLeaf, GSettingsBackend, GSimpleAction, GSimpleActionLeaf, GSimpleActionGroup, GSimpleActionGroupLeaf, GSimpleAsyncResult, GSimpleAsyncResultLeaf, GSimpleIOStream, GSimpleIOStreamLeaf, GSimplePermission, GSimplePermissionLeaf, GSimpleProxyResolver, GSimpleProxyResolverLeaf, GSocket, GSocketLeaf, GSocketAddress, GSocketAddressEnumerator, GSocketClient, GSocketClientLeaf, GSocketConnection, GSocketConnectionLeaf, GSocketControlMessage, GSocketListener, GSocketListenerLeaf, GSocketService, GSocketServiceLeaf, GSubprocess, GSubprocessLeaf, GSubprocessLauncher, GSubprocessLauncherLeaf, GTask, GTaskLeaf, GTcpConnection, GTcpConnectionLeaf, GTcpWrapperConnection, GTcpWrapperConnectionLeaf, GTestDBus, GTestDBusLeaf, GThemedIcon, GThemedIconLeaf, GThreadedResolver, GThreadedResolverLeaf, GThreadedSocketService, GThreadedSocketServiceLeaf, GTlsCertificate, GTlsConnection, GTlsDatabase, GTlsInteraction, GTlsInteractionLeaf, GTlsPassword, GTlsPasswordLeaf, GUnixConnection, GUnixConnectionLeaf, GUnixCredentialsMessage, GUnixCredentialsMessageLeaf, GVfs, GVfsLeaf, GVolumeMonitor, GVolumeMonitorLeaf, GZlibCompressor, GZlibCompressorLeaf, GZlibDecompressor, GZlibDecompressorLeaf, GAsyncReadyCallback, GBusAcquiredCallback, GBusNameAcquiredCallback, GBusNameAppearedCallback, GBusNameLostCallback, GBusNameVanishedCallback, GCancellableSourceFunc, GDBusInterfaceGetPropertyFunc, GDBusInterfaceMethodCallFunc, GDBusInterfaceSetPropertyFunc, GDBusMessageFilterFunction, GDBusProxyTypeFunc, GDBusSignalCallback, GDBusSubtreeDispatchFunc, GDBusSubtreeEnumerateFunc, GDBusSubtreeIntrospectFunc, GDatagramBasedSourceFunc, GDesktopAppLaunchCallback, GFileMeasureProgressCallback, GFileProgressCallback, GFileReadMoreCallback, GIOSchedulerJobFunc, GPollableSourceFunc, GSettingsBindGetMapping, GSettingsBindSetMapping, GSettingsGetMapping, GSocketSourceFunc, GVfsFileLookupFunc end)) end diff --git a/src/gen/glib_consts b/src/gen/glib_consts index 96403183..81027d58 100644 --- a/src/gen/glib_consts +++ b/src/gen/glib_consts @@ -3,10 +3,12 @@ $(Expr(:toplevel, quote begin ANALYZER_ANALYZING = 1 ASCII_DTOSTR_BUF_SIZE = 39 + ATOMIC_REF_COUNT_INIT = 1 BIG_ENDIAN = 4321 CSET_A_2_Z = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" CSET_DIGITS = "0123456789" CSET_a_2_z = "abcdefghijklmnopqrstuvwxyz" + C_STD_VERSION = 199000 DATALIST_FLAGS_MASK = 3 DATE_BAD_DAY = 0 DATE_BAD_JULIAN = 0 @@ -75,12 +77,12 @@ $(Expr(:toplevel, quote MAXUINT32 = 0xffffffff MAXUINT64 = 0xffffffffffffffff MAXUINT8 = 0xff - MICRO_VERSION = 0 + MICRO_VERSION = 3 MININT16 = -32768 MININT32 = -2147483648 MININT64 = -9223372036854775808 MININT8 = -128 - MINOR_VERSION = 74 + MINOR_VERSION = 77 MODULE_SUFFIX = "so" OPTION_REMAINING = "" PDP_ENDIAN = 3412 @@ -91,6 +93,7 @@ $(Expr(:toplevel, quote PRIORITY_HIGH = -100 PRIORITY_HIGH_IDLE = 100 PRIORITY_LOW = 300 + REF_COUNT_INIT = -1 SEARCHPATH_SEPARATOR = 58 SEARCHPATH_SEPARATOR_S = ":" SIZEOF_LONG = 8 @@ -112,6 +115,7 @@ $(Expr(:toplevel, quote TIME_SPAN_MILLISECOND = 1000 TIME_SPAN_MINUTE = 60000000 TIME_SPAN_SECOND = 1000000 + TRACE_CURRENT_TIME = 0 UNICHAR_MAX_DECOMPOSITION_LENGTH = 18 URI_RESERVED_CHARS_GENERIC_DELIMITERS = ":/?#[]@" URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS = "!\$&'()*+,;=" @@ -152,7 +156,7 @@ $(Expr(:toplevel, quote @cenum TokenType::Int32 TokenType_EOF = 0 TokenType_LEFT_PAREN = 40 TokenType_RIGHT_PAREN = 41 TokenType_LEFT_CURLY = 123 TokenType_RIGHT_CURLY = 125 TokenType_LEFT_BRACE = 91 TokenType_RIGHT_BRACE = 93 TokenType_EQUAL_SIGN = 61 TokenType_COMMA = 44 TokenType_NONE = 256 TokenType_ERROR = 257 TokenType_CHAR = 258 TokenType_BINARY = 259 TokenType_OCTAL = 260 TokenType_INT = 261 TokenType_HEX = 262 TokenType_FLOAT = 263 TokenType_STRING = 264 TokenType_SYMBOL = 265 TokenType_IDENTIFIER = 266 TokenType_IDENTIFIER_NULL = 267 TokenType_COMMENT_SINGLE = 268 TokenType_COMMENT_MULTI = 269 @cenum TraverseType::Int32 TraverseType_IN_ORDER = 0 TraverseType_PRE_ORDER = 1 TraverseType_POST_ORDER = 2 TraverseType_LEVEL_ORDER = 3 @cenum UnicodeBreakType::Int32 UnicodeBreakType_MANDATORY = 0 UnicodeBreakType_CARRIAGE_RETURN = 1 UnicodeBreakType_LINE_FEED = 2 UnicodeBreakType_COMBINING_MARK = 3 UnicodeBreakType_SURROGATE = 4 UnicodeBreakType_ZERO_WIDTH_SPACE = 5 UnicodeBreakType_INSEPARABLE = 6 UnicodeBreakType_NON_BREAKING_GLUE = 7 UnicodeBreakType_CONTINGENT = 8 UnicodeBreakType_SPACE = 9 UnicodeBreakType_AFTER = 10 UnicodeBreakType_BEFORE = 11 UnicodeBreakType_BEFORE_AND_AFTER = 12 UnicodeBreakType_HYPHEN = 13 UnicodeBreakType_NON_STARTER = 14 UnicodeBreakType_OPEN_PUNCTUATION = 15 UnicodeBreakType_CLOSE_PUNCTUATION = 16 UnicodeBreakType_QUOTATION = 17 UnicodeBreakType_EXCLAMATION = 18 UnicodeBreakType_IDEOGRAPHIC = 19 UnicodeBreakType_NUMERIC = 20 UnicodeBreakType_INFIX_SEPARATOR = 21 UnicodeBreakType_SYMBOL = 22 UnicodeBreakType_ALPHABETIC = 23 UnicodeBreakType_PREFIX = 24 UnicodeBreakType_POSTFIX = 25 UnicodeBreakType_COMPLEX_CONTEXT = 26 UnicodeBreakType_AMBIGUOUS = 27 UnicodeBreakType_UNKNOWN = 28 UnicodeBreakType_NEXT_LINE = 29 UnicodeBreakType_WORD_JOINER = 30 UnicodeBreakType_HANGUL_L_JAMO = 31 UnicodeBreakType_HANGUL_V_JAMO = 32 UnicodeBreakType_HANGUL_T_JAMO = 33 UnicodeBreakType_HANGUL_LV_SYLLABLE = 34 UnicodeBreakType_HANGUL_LVT_SYLLABLE = 35 UnicodeBreakType_CLOSE_PARANTHESIS = 36 UnicodeBreakType_CLOSE_PARENTHESIS = 36 UnicodeBreakType_CONDITIONAL_JAPANESE_STARTER = 37 UnicodeBreakType_HEBREW_LETTER = 38 UnicodeBreakType_REGIONAL_INDICATOR = 39 UnicodeBreakType_EMOJI_BASE = 40 UnicodeBreakType_EMOJI_MODIFIER = 41 UnicodeBreakType_ZERO_WIDTH_JOINER = 42 - @cenum UnicodeScript::UInt16 UnicodeScript_INVALID_CODE = 0xffff UnicodeScript_COMMON = 0x0000 UnicodeScript_INHERITED = 0x0001 UnicodeScript_ARABIC = 0x0002 UnicodeScript_ARMENIAN = 0x0003 UnicodeScript_BENGALI = 0x0004 UnicodeScript_BOPOMOFO = 0x0005 UnicodeScript_CHEROKEE = 0x0006 UnicodeScript_COPTIC = 0x0007 UnicodeScript_CYRILLIC = 0x0008 UnicodeScript_DESERET = 0x0009 UnicodeScript_DEVANAGARI = 0x000a UnicodeScript_ETHIOPIC = 0x000b UnicodeScript_GEORGIAN = 0x000c UnicodeScript_GOTHIC = 0x000d UnicodeScript_GREEK = 0x000e UnicodeScript_GUJARATI = 0x000f UnicodeScript_GURMUKHI = 0x0010 UnicodeScript_HAN = 0x0011 UnicodeScript_HANGUL = 0x0012 UnicodeScript_HEBREW = 0x0013 UnicodeScript_HIRAGANA = 0x0014 UnicodeScript_KANNADA = 0x0015 UnicodeScript_KATAKANA = 0x0016 UnicodeScript_KHMER = 0x0017 UnicodeScript_LAO = 0x0018 UnicodeScript_LATIN = 0x0019 UnicodeScript_MALAYALAM = 0x001a UnicodeScript_MONGOLIAN = 0x001b UnicodeScript_MYANMAR = 0x001c UnicodeScript_OGHAM = 0x001d UnicodeScript_OLD_ITALIC = 0x001e UnicodeScript_ORIYA = 0x001f UnicodeScript_RUNIC = 0x0020 UnicodeScript_SINHALA = 0x0021 UnicodeScript_SYRIAC = 0x0022 UnicodeScript_TAMIL = 0x0023 UnicodeScript_TELUGU = 0x0024 UnicodeScript_THAANA = 0x0025 UnicodeScript_THAI = 0x0026 UnicodeScript_TIBETAN = 0x0027 UnicodeScript_CANADIAN_ABORIGINAL = 0x0028 UnicodeScript_YI = 0x0029 UnicodeScript_TAGALOG = 0x002a UnicodeScript_HANUNOO = 0x002b UnicodeScript_BUHID = 0x002c UnicodeScript_TAGBANWA = 0x002d UnicodeScript_BRAILLE = 0x002e UnicodeScript_CYPRIOT = 0x002f UnicodeScript_LIMBU = 0x0030 UnicodeScript_OSMANYA = 0x0031 UnicodeScript_SHAVIAN = 0x0032 UnicodeScript_LINEAR_B = 0x0033 UnicodeScript_TAI_LE = 0x0034 UnicodeScript_UGARITIC = 0x0035 UnicodeScript_NEW_TAI_LUE = 0x0036 UnicodeScript_BUGINESE = 0x0037 UnicodeScript_GLAGOLITIC = 0x0038 UnicodeScript_TIFINAGH = 0x0039 UnicodeScript_SYLOTI_NAGRI = 0x003a UnicodeScript_OLD_PERSIAN = 0x003b UnicodeScript_KHAROSHTHI = 0x003c UnicodeScript_UNKNOWN = 0x003d UnicodeScript_BALINESE = 0x003e UnicodeScript_CUNEIFORM = 0x003f UnicodeScript_PHOENICIAN = 0x0040 UnicodeScript_PHAGS_PA = 0x0041 UnicodeScript_NKO = 0x0042 UnicodeScript_KAYAH_LI = 0x0043 UnicodeScript_LEPCHA = 0x0044 UnicodeScript_REJANG = 0x0045 UnicodeScript_SUNDANESE = 0x0046 UnicodeScript_SAURASHTRA = 0x0047 UnicodeScript_CHAM = 0x0048 UnicodeScript_OL_CHIKI = 0x0049 UnicodeScript_VAI = 0x004a UnicodeScript_CARIAN = 0x004b UnicodeScript_LYCIAN = 0x004c UnicodeScript_LYDIAN = 0x004d UnicodeScript_AVESTAN = 0x004e UnicodeScript_BAMUM = 0x004f UnicodeScript_EGYPTIAN_HIEROGLYPHS = 0x0050 UnicodeScript_IMPERIAL_ARAMAIC = 0x0051 UnicodeScript_INSCRIPTIONAL_PAHLAVI = 0x0052 UnicodeScript_INSCRIPTIONAL_PARTHIAN = 0x0053 UnicodeScript_JAVANESE = 0x0054 UnicodeScript_KAITHI = 0x0055 UnicodeScript_LISU = 0x0056 UnicodeScript_MEETEI_MAYEK = 0x0057 UnicodeScript_OLD_SOUTH_ARABIAN = 0x0058 UnicodeScript_OLD_TURKIC = 0x0059 UnicodeScript_SAMARITAN = 0x005a UnicodeScript_TAI_THAM = 0x005b UnicodeScript_TAI_VIET = 0x005c UnicodeScript_BATAK = 0x005d UnicodeScript_BRAHMI = 0x005e UnicodeScript_MANDAIC = 0x005f UnicodeScript_CHAKMA = 0x0060 UnicodeScript_MEROITIC_CURSIVE = 0x0061 UnicodeScript_MEROITIC_HIEROGLYPHS = 0x0062 UnicodeScript_MIAO = 0x0063 UnicodeScript_SHARADA = 0x0064 UnicodeScript_SORA_SOMPENG = 0x0065 UnicodeScript_TAKRI = 0x0066 UnicodeScript_BASSA_VAH = 0x0067 UnicodeScript_CAUCASIAN_ALBANIAN = 0x0068 UnicodeScript_DUPLOYAN = 0x0069 UnicodeScript_ELBASAN = 0x006a UnicodeScript_GRANTHA = 0x006b UnicodeScript_KHOJKI = 0x006c UnicodeScript_KHUDAWADI = 0x006d UnicodeScript_LINEAR_A = 0x006e UnicodeScript_MAHAJANI = 0x006f UnicodeScript_MANICHAEAN = 0x0070 UnicodeScript_MENDE_KIKAKUI = 0x0071 UnicodeScript_MODI = 0x0072 UnicodeScript_MRO = 0x0073 UnicodeScript_NABATAEAN = 0x0074 UnicodeScript_OLD_NORTH_ARABIAN = 0x0075 UnicodeScript_OLD_PERMIC = 0x0076 UnicodeScript_PAHAWH_HMONG = 0x0077 UnicodeScript_PALMYRENE = 0x0078 UnicodeScript_PAU_CIN_HAU = 0x0079 UnicodeScript_PSALTER_PAHLAVI = 0x007a UnicodeScript_SIDDHAM = 0x007b UnicodeScript_TIRHUTA = 0x007c UnicodeScript_WARANG_CITI = 0x007d UnicodeScript_AHOM = 0x007e UnicodeScript_ANATOLIAN_HIEROGLYPHS = 0x007f UnicodeScript_HATRAN = 0x0080 UnicodeScript_MULTANI = 0x0081 UnicodeScript_OLD_HUNGARIAN = 0x0082 UnicodeScript_SIGNWRITING = 0x0083 UnicodeScript_ADLAM = 0x0084 UnicodeScript_BHAIKSUKI = 0x0085 UnicodeScript_MARCHEN = 0x0086 UnicodeScript_NEWA = 0x0087 UnicodeScript_OSAGE = 0x0088 UnicodeScript_TANGUT = 0x0089 UnicodeScript_MASARAM_GONDI = 0x008a UnicodeScript_NUSHU = 0x008b UnicodeScript_SOYOMBO = 0x008c UnicodeScript_ZANABAZAR_SQUARE = 0x008d UnicodeScript_DOGRA = 0x008e UnicodeScript_GUNJALA_GONDI = 0x008f UnicodeScript_HANIFI_ROHINGYA = 0x0090 UnicodeScript_MAKASAR = 0x0091 UnicodeScript_MEDEFAIDRIN = 0x0092 UnicodeScript_OLD_SOGDIAN = 0x0093 UnicodeScript_SOGDIAN = 0x0094 UnicodeScript_ELYMAIC = 0x0095 UnicodeScript_NANDINAGARI = 0x0096 UnicodeScript_NYIAKENG_PUACHUE_HMONG = 0x0097 UnicodeScript_WANCHO = 0x0098 UnicodeScript_CHORASMIAN = 0x0099 UnicodeScript_DIVES_AKURU = 0x009a UnicodeScript_KHITAN_SMALL_SCRIPT = 0x009b UnicodeScript_YEZIDI = 0x009c UnicodeScript_CYPRO_MINOAN = 0x009d UnicodeScript_OLD_UYGHUR = 0x009e UnicodeScript_TANGSA = 0x009f UnicodeScript_TOTO = 0x00a0 UnicodeScript_VITHKUQI = 0x00a1 UnicodeScript_MATH = 0x00a2 + @cenum UnicodeScript::UInt16 UnicodeScript_INVALID_CODE = 0xffff UnicodeScript_COMMON = 0x0000 UnicodeScript_INHERITED = 0x0001 UnicodeScript_ARABIC = 0x0002 UnicodeScript_ARMENIAN = 0x0003 UnicodeScript_BENGALI = 0x0004 UnicodeScript_BOPOMOFO = 0x0005 UnicodeScript_CHEROKEE = 0x0006 UnicodeScript_COPTIC = 0x0007 UnicodeScript_CYRILLIC = 0x0008 UnicodeScript_DESERET = 0x0009 UnicodeScript_DEVANAGARI = 0x000a UnicodeScript_ETHIOPIC = 0x000b UnicodeScript_GEORGIAN = 0x000c UnicodeScript_GOTHIC = 0x000d UnicodeScript_GREEK = 0x000e UnicodeScript_GUJARATI = 0x000f UnicodeScript_GURMUKHI = 0x0010 UnicodeScript_HAN = 0x0011 UnicodeScript_HANGUL = 0x0012 UnicodeScript_HEBREW = 0x0013 UnicodeScript_HIRAGANA = 0x0014 UnicodeScript_KANNADA = 0x0015 UnicodeScript_KATAKANA = 0x0016 UnicodeScript_KHMER = 0x0017 UnicodeScript_LAO = 0x0018 UnicodeScript_LATIN = 0x0019 UnicodeScript_MALAYALAM = 0x001a UnicodeScript_MONGOLIAN = 0x001b UnicodeScript_MYANMAR = 0x001c UnicodeScript_OGHAM = 0x001d UnicodeScript_OLD_ITALIC = 0x001e UnicodeScript_ORIYA = 0x001f UnicodeScript_RUNIC = 0x0020 UnicodeScript_SINHALA = 0x0021 UnicodeScript_SYRIAC = 0x0022 UnicodeScript_TAMIL = 0x0023 UnicodeScript_TELUGU = 0x0024 UnicodeScript_THAANA = 0x0025 UnicodeScript_THAI = 0x0026 UnicodeScript_TIBETAN = 0x0027 UnicodeScript_CANADIAN_ABORIGINAL = 0x0028 UnicodeScript_YI = 0x0029 UnicodeScript_TAGALOG = 0x002a UnicodeScript_HANUNOO = 0x002b UnicodeScript_BUHID = 0x002c UnicodeScript_TAGBANWA = 0x002d UnicodeScript_BRAILLE = 0x002e UnicodeScript_CYPRIOT = 0x002f UnicodeScript_LIMBU = 0x0030 UnicodeScript_OSMANYA = 0x0031 UnicodeScript_SHAVIAN = 0x0032 UnicodeScript_LINEAR_B = 0x0033 UnicodeScript_TAI_LE = 0x0034 UnicodeScript_UGARITIC = 0x0035 UnicodeScript_NEW_TAI_LUE = 0x0036 UnicodeScript_BUGINESE = 0x0037 UnicodeScript_GLAGOLITIC = 0x0038 UnicodeScript_TIFINAGH = 0x0039 UnicodeScript_SYLOTI_NAGRI = 0x003a UnicodeScript_OLD_PERSIAN = 0x003b UnicodeScript_KHAROSHTHI = 0x003c UnicodeScript_UNKNOWN = 0x003d UnicodeScript_BALINESE = 0x003e UnicodeScript_CUNEIFORM = 0x003f UnicodeScript_PHOENICIAN = 0x0040 UnicodeScript_PHAGS_PA = 0x0041 UnicodeScript_NKO = 0x0042 UnicodeScript_KAYAH_LI = 0x0043 UnicodeScript_LEPCHA = 0x0044 UnicodeScript_REJANG = 0x0045 UnicodeScript_SUNDANESE = 0x0046 UnicodeScript_SAURASHTRA = 0x0047 UnicodeScript_CHAM = 0x0048 UnicodeScript_OL_CHIKI = 0x0049 UnicodeScript_VAI = 0x004a UnicodeScript_CARIAN = 0x004b UnicodeScript_LYCIAN = 0x004c UnicodeScript_LYDIAN = 0x004d UnicodeScript_AVESTAN = 0x004e UnicodeScript_BAMUM = 0x004f UnicodeScript_EGYPTIAN_HIEROGLYPHS = 0x0050 UnicodeScript_IMPERIAL_ARAMAIC = 0x0051 UnicodeScript_INSCRIPTIONAL_PAHLAVI = 0x0052 UnicodeScript_INSCRIPTIONAL_PARTHIAN = 0x0053 UnicodeScript_JAVANESE = 0x0054 UnicodeScript_KAITHI = 0x0055 UnicodeScript_LISU = 0x0056 UnicodeScript_MEETEI_MAYEK = 0x0057 UnicodeScript_OLD_SOUTH_ARABIAN = 0x0058 UnicodeScript_OLD_TURKIC = 0x0059 UnicodeScript_SAMARITAN = 0x005a UnicodeScript_TAI_THAM = 0x005b UnicodeScript_TAI_VIET = 0x005c UnicodeScript_BATAK = 0x005d UnicodeScript_BRAHMI = 0x005e UnicodeScript_MANDAIC = 0x005f UnicodeScript_CHAKMA = 0x0060 UnicodeScript_MEROITIC_CURSIVE = 0x0061 UnicodeScript_MEROITIC_HIEROGLYPHS = 0x0062 UnicodeScript_MIAO = 0x0063 UnicodeScript_SHARADA = 0x0064 UnicodeScript_SORA_SOMPENG = 0x0065 UnicodeScript_TAKRI = 0x0066 UnicodeScript_BASSA_VAH = 0x0067 UnicodeScript_CAUCASIAN_ALBANIAN = 0x0068 UnicodeScript_DUPLOYAN = 0x0069 UnicodeScript_ELBASAN = 0x006a UnicodeScript_GRANTHA = 0x006b UnicodeScript_KHOJKI = 0x006c UnicodeScript_KHUDAWADI = 0x006d UnicodeScript_LINEAR_A = 0x006e UnicodeScript_MAHAJANI = 0x006f UnicodeScript_MANICHAEAN = 0x0070 UnicodeScript_MENDE_KIKAKUI = 0x0071 UnicodeScript_MODI = 0x0072 UnicodeScript_MRO = 0x0073 UnicodeScript_NABATAEAN = 0x0074 UnicodeScript_OLD_NORTH_ARABIAN = 0x0075 UnicodeScript_OLD_PERMIC = 0x0076 UnicodeScript_PAHAWH_HMONG = 0x0077 UnicodeScript_PALMYRENE = 0x0078 UnicodeScript_PAU_CIN_HAU = 0x0079 UnicodeScript_PSALTER_PAHLAVI = 0x007a UnicodeScript_SIDDHAM = 0x007b UnicodeScript_TIRHUTA = 0x007c UnicodeScript_WARANG_CITI = 0x007d UnicodeScript_AHOM = 0x007e UnicodeScript_ANATOLIAN_HIEROGLYPHS = 0x007f UnicodeScript_HATRAN = 0x0080 UnicodeScript_MULTANI = 0x0081 UnicodeScript_OLD_HUNGARIAN = 0x0082 UnicodeScript_SIGNWRITING = 0x0083 UnicodeScript_ADLAM = 0x0084 UnicodeScript_BHAIKSUKI = 0x0085 UnicodeScript_MARCHEN = 0x0086 UnicodeScript_NEWA = 0x0087 UnicodeScript_OSAGE = 0x0088 UnicodeScript_TANGUT = 0x0089 UnicodeScript_MASARAM_GONDI = 0x008a UnicodeScript_NUSHU = 0x008b UnicodeScript_SOYOMBO = 0x008c UnicodeScript_ZANABAZAR_SQUARE = 0x008d UnicodeScript_DOGRA = 0x008e UnicodeScript_GUNJALA_GONDI = 0x008f UnicodeScript_HANIFI_ROHINGYA = 0x0090 UnicodeScript_MAKASAR = 0x0091 UnicodeScript_MEDEFAIDRIN = 0x0092 UnicodeScript_OLD_SOGDIAN = 0x0093 UnicodeScript_SOGDIAN = 0x0094 UnicodeScript_ELYMAIC = 0x0095 UnicodeScript_NANDINAGARI = 0x0096 UnicodeScript_NYIAKENG_PUACHUE_HMONG = 0x0097 UnicodeScript_WANCHO = 0x0098 UnicodeScript_CHORASMIAN = 0x0099 UnicodeScript_DIVES_AKURU = 0x009a UnicodeScript_KHITAN_SMALL_SCRIPT = 0x009b UnicodeScript_YEZIDI = 0x009c UnicodeScript_CYPRO_MINOAN = 0x009d UnicodeScript_OLD_UYGHUR = 0x009e UnicodeScript_TANGSA = 0x009f UnicodeScript_TOTO = 0x00a0 UnicodeScript_VITHKUQI = 0x00a1 UnicodeScript_MATH = 0x00a2 UnicodeScript_KAWI = 0x00a3 UnicodeScript_NAG_MUNDARI = 0x00a4 @cenum UnicodeType::Int32 UnicodeType_CONTROL = 0 UnicodeType_FORMAT = 1 UnicodeType_UNASSIGNED = 2 UnicodeType_PRIVATE_USE = 3 UnicodeType_SURROGATE = 4 UnicodeType_LOWERCASE_LETTER = 5 UnicodeType_MODIFIER_LETTER = 6 UnicodeType_OTHER_LETTER = 7 UnicodeType_TITLECASE_LETTER = 8 UnicodeType_UPPERCASE_LETTER = 9 UnicodeType_SPACING_MARK = 10 UnicodeType_ENCLOSING_MARK = 11 UnicodeType_NON_SPACING_MARK = 12 UnicodeType_DECIMAL_NUMBER = 13 UnicodeType_LETTER_NUMBER = 14 UnicodeType_OTHER_NUMBER = 15 UnicodeType_CONNECT_PUNCTUATION = 16 UnicodeType_DASH_PUNCTUATION = 17 UnicodeType_CLOSE_PUNCTUATION = 18 UnicodeType_FINAL_PUNCTUATION = 19 UnicodeType_INITIAL_PUNCTUATION = 20 UnicodeType_OTHER_PUNCTUATION = 21 UnicodeType_OPEN_PUNCTUATION = 22 UnicodeType_CURRENCY_SYMBOL = 23 UnicodeType_MODIFIER_SYMBOL = 24 UnicodeType_MATH_SYMBOL = 25 UnicodeType_OTHER_SYMBOL = 26 UnicodeType_LINE_SEPARATOR = 27 UnicodeType_PARAGRAPH_SEPARATOR = 28 UnicodeType_SPACE_SEPARATOR = 29 @cenum UriError::Int32 UriError_FAILED = 0 UriError_BAD_SCHEME = 1 UriError_BAD_USER = 2 UriError_BAD_PASSWORD = 3 UriError_BAD_AUTH_PARAMS = 4 UriError_BAD_HOST = 5 UriError_BAD_PORT = 6 UriError_BAD_PATH = 7 UriError_BAD_QUERY = 8 UriError_BAD_FRAGMENT = 9 @cenum UserDirectory::Int32 UserDirectory_DIRECTORY_DESKTOP = 0 UserDirectory_DIRECTORY_DOCUMENTS = 1 UserDirectory_DIRECTORY_DOWNLOAD = 2 UserDirectory_DIRECTORY_MUSIC = 3 UserDirectory_DIRECTORY_PICTURES = 4 UserDirectory_DIRECTORY_PUBLIC_SHARE = 5 UserDirectory_DIRECTORY_TEMPLATES = 6 UserDirectory_DIRECTORY_VIDEOS = 7 UserDirectory_N_DIRECTORIES = 8 @@ -179,161 +183,164 @@ $(Expr(:toplevel, quote @bitflag UriFlags::UInt32 UriFlags_NONE = 0 UriFlags_PARSE_RELAXED = 1 UriFlags_HAS_PASSWORD = 2 UriFlags_HAS_AUTH_PARAMS = 4 UriFlags_ENCODED = 8 UriFlags_NON_DNS = 16 UriFlags_ENCODED_QUERY = 32 UriFlags_ENCODED_PATH = 64 UriFlags_ENCODED_FRAGMENT = 128 UriFlags_SCHEME_NORMALIZE = 256 @bitflag UriHideFlags::UInt32 UriHideFlags_NONE = 0 UriHideFlags_USERINFO = 1 UriHideFlags_PASSWORD = 2 UriHideFlags_AUTH_PARAMS = 4 UriHideFlags_QUERY = 8 UriHideFlags_FRAGMENT = 16 @bitflag UriParamsFlags::UInt32 UriParamsFlags_NONE = 0 UriParamsFlags_CASE_INSENSITIVE = 1 UriParamsFlags_WWW_FORM = 2 UriParamsFlags_PARSE_RELAXED = 4 - @doc "A good size for a buffer to be passed into g_ascii_dtostr().\nIt is guaranteed to be enough for all output of that function\non systems with 64bit IEEE-compatible doubles.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.ASCII_DTOSTR_BUF_SIZE.html)." ASCII_DTOSTR_BUF_SIZE - @doc "Specifies one of the possible types of byte order.\nSee %G_BYTE_ORDER.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.BIG_ENDIAN.html)." BIG_ENDIAN - @doc "The set of uppercase ASCII alphabet characters.\nUsed for specifying valid identifier characters\nin #GScannerConfig.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.CSET_A_2_Z.html)." CSET_A_2_Z - @doc "The set of ASCII digits.\nUsed for specifying valid identifier characters\nin #GScannerConfig.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.CSET_DIGITS.html)." CSET_DIGITS - @doc "The set of lowercase ASCII alphabet characters.\nUsed for specifying valid identifier characters\nin #GScannerConfig.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.CSET_a_2_z.html)." CSET_a_2_z - @doc "A bitmask that restricts the possible flags passed to\ng_datalist_set_flags(). Passing a flags value where\nflags & ~G_DATALIST_FLAGS_MASK != 0 is an error.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.DATALIST_FLAGS_MASK.html)." DATALIST_FLAGS_MASK - @doc "Represents an invalid #GDateDay.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.DATE_BAD_DAY.html)." DATE_BAD_DAY - @doc "Represents an invalid Julian day number.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.DATE_BAD_JULIAN.html)." DATE_BAD_JULIAN - @doc "Represents an invalid year.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.DATE_BAD_YEAR.html)." DATE_BAD_YEAR - @doc "The directory separator character.\nThis is '/' on UNIX machines and '\\' under Windows.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.DIR_SEPARATOR.html)." DIR_SEPARATOR - @doc "The directory separator as a string.\nThis is \"/\" on UNIX machines and \"\\\" under Windows.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.DIR_SEPARATOR_S.html)." DIR_SEPARATOR_S - @doc "This is the platform dependent conversion specifier for scanning and\nprinting values of type #gint16. It is a string literal, but doesn't\ninclude the percent-sign, such that you can add precision and length\nmodifiers between percent-sign and conversion specifier.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.GINT16_FORMAT.html)." GINT16_FORMAT - @doc "The platform dependent length modifier for conversion specifiers\nfor scanning and printing values of type #gint16 or #guint16. It\nis a string literal, but doesn't include the percent-sign, such\nthat you can add precision and length modifiers between percent-sign\nand conversion specifier and append a conversion specifier.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.GINT16_MODIFIER.html)." GINT16_MODIFIER - @doc "This is the platform dependent conversion specifier for scanning\nand printing values of type #gint32. See also %G_GINT16_FORMAT.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.GINT32_FORMAT.html)." GINT32_FORMAT - @doc "The platform dependent length modifier for conversion specifiers\nfor scanning and printing values of type #gint32 or #guint32. It\nis a string literal. See also %G_GINT16_MODIFIER.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.GINT32_MODIFIER.html)." GINT32_MODIFIER - @doc "This is the platform dependent conversion specifier for scanning\nand printing values of type #gint64. See also %G_GINT16_FORMAT.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.GINT64_FORMAT.html)." GINT64_FORMAT - @doc "The platform dependent length modifier for conversion specifiers\nfor scanning and printing values of type #gint64 or #guint64.\nIt is a string literal.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.GINT64_MODIFIER.html)." GINT64_MODIFIER - @doc "This is the platform dependent conversion specifier for scanning\nand printing values of type #gintptr.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.GINTPTR_FORMAT.html)." GINTPTR_FORMAT - @doc "The platform dependent length modifier for conversion specifiers\nfor scanning and printing values of type #gintptr or #guintptr.\nIt is a string literal.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.GINTPTR_MODIFIER.html)." GINTPTR_MODIFIER - @doc "This is the platform dependent conversion specifier for scanning\nand printing values of type #gsize. See also %G_GINT16_FORMAT.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.GSIZE_FORMAT.html)." GSIZE_FORMAT - @doc "The platform dependent length modifier for conversion specifiers\nfor scanning and printing values of type #gsize. It\nis a string literal.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.GSIZE_MODIFIER.html)." GSIZE_MODIFIER - @doc "This is the platform dependent conversion specifier for scanning\nand printing values of type #gssize. See also %G_GINT16_FORMAT.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.GSSIZE_FORMAT.html)." GSSIZE_FORMAT - @doc "The platform dependent length modifier for conversion specifiers\nfor scanning and printing values of type #gssize. It\nis a string literal.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.GSSIZE_MODIFIER.html)." GSSIZE_MODIFIER - @doc "This is the platform dependent conversion specifier for scanning\nand printing values of type #guint16. See also %G_GINT16_FORMAT\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.GUINT16_FORMAT.html)." GUINT16_FORMAT - @doc "This is the platform dependent conversion specifier for scanning\nand printing values of type #guint32. See also %G_GINT16_FORMAT.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.GUINT32_FORMAT.html)." GUINT32_FORMAT - @doc "This is the platform dependent conversion specifier for scanning\nand printing values of type #guint64. See also %G_GINT16_FORMAT.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.GUINT64_FORMAT.html)." GUINT64_FORMAT - @doc "This is the platform dependent conversion specifier\nfor scanning and printing values of type #guintptr.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.GUINTPTR_FORMAT.html)." GUINTPTR_FORMAT - @doc "Defined to 1 if gcc-style visibility handling is supported.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.HAVE_GNUC_VISIBILITY.html)." HAVE_GNUC_VISIBILITY - @doc "The position of the first bit which is not reserved for internal\nuse be the #GHook implementation, i.e.\n`1 << G_HOOK_FLAG_USER_SHIFT` is the first\nbit which can be used for application-defined flags.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.HOOK_FLAG_USER_SHIFT.html)." HOOK_FLAG_USER_SHIFT - @doc "The bias by which exponents in double-precision floats are offset.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.IEEE754_DOUBLE_BIAS.html)." IEEE754_DOUBLE_BIAS - @doc "The bias by which exponents in single-precision floats are offset.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.IEEE754_FLOAT_BIAS.html)." IEEE754_FLOAT_BIAS - @doc "The name of the main group of a desktop entry file, as defined in the\n[Desktop Entry Specification](http://freedesktop.org/Standards/desktop-entry-spec).\nConsult the specification for more\ndetails about the meanings of the keys below.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.KEY_FILE_DESKTOP_GROUP.html)." KEY_FILE_DESKTOP_GROUP - @doc "A key under %G_KEY_FILE_DESKTOP_GROUP, whose value is a string list\ngiving the available application actions.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.KEY_FILE_DESKTOP_KEY_ACTIONS.html)." KEY_FILE_DESKTOP_KEY_ACTIONS - @doc "A key under %G_KEY_FILE_DESKTOP_GROUP, whose value is a list\nof strings giving the categories in which the desktop entry\nshould be shown in a menu.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.KEY_FILE_DESKTOP_KEY_CATEGORIES.html)." KEY_FILE_DESKTOP_KEY_CATEGORIES - @doc "A key under %G_KEY_FILE_DESKTOP_GROUP, whose value is a localized\nstring giving the tooltip for the desktop entry.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.KEY_FILE_DESKTOP_KEY_COMMENT.html)." KEY_FILE_DESKTOP_KEY_COMMENT - @doc "A key under %G_KEY_FILE_DESKTOP_GROUP, whose value is a boolean\nset to true if the application is D-Bus activatable.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.KEY_FILE_DESKTOP_KEY_DBUS_ACTIVATABLE.html)." KEY_FILE_DESKTOP_KEY_DBUS_ACTIVATABLE - @doc "A key under %G_KEY_FILE_DESKTOP_GROUP, whose value is a string\ngiving the command line to execute. It is only valid for desktop\nentries with the `Application` type.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.KEY_FILE_DESKTOP_KEY_EXEC.html)." KEY_FILE_DESKTOP_KEY_EXEC - @doc "A key under %G_KEY_FILE_DESKTOP_GROUP, whose value is a localized\nstring giving the generic name of the desktop entry.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.KEY_FILE_DESKTOP_KEY_GENERIC_NAME.html)." KEY_FILE_DESKTOP_KEY_GENERIC_NAME - @doc "A key under %G_KEY_FILE_DESKTOP_GROUP, whose value is a boolean\nstating whether the desktop entry has been deleted by the user.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.KEY_FILE_DESKTOP_KEY_HIDDEN.html)." KEY_FILE_DESKTOP_KEY_HIDDEN - @doc "A key under %G_KEY_FILE_DESKTOP_GROUP, whose value is a localized\nstring giving the name of the icon to be displayed for the desktop\nentry.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.KEY_FILE_DESKTOP_KEY_ICON.html)." KEY_FILE_DESKTOP_KEY_ICON - @doc "A key under %G_KEY_FILE_DESKTOP_GROUP, whose value is a list\nof strings giving the MIME types supported by this desktop entry.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.KEY_FILE_DESKTOP_KEY_MIME_TYPE.html)." KEY_FILE_DESKTOP_KEY_MIME_TYPE - @doc "A key under %G_KEY_FILE_DESKTOP_GROUP, whose value is a localized\nstring giving the specific name of the desktop entry.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.KEY_FILE_DESKTOP_KEY_NAME.html)." KEY_FILE_DESKTOP_KEY_NAME - @doc "A key under %G_KEY_FILE_DESKTOP_GROUP, whose value is a list of\nstrings identifying the environments that should not display the\ndesktop entry.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN.html)." KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN - @doc "A key under %G_KEY_FILE_DESKTOP_GROUP, whose value is a boolean\nstating whether the desktop entry should be shown in menus.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.KEY_FILE_DESKTOP_KEY_NO_DISPLAY.html)." KEY_FILE_DESKTOP_KEY_NO_DISPLAY - @doc "A key under %G_KEY_FILE_DESKTOP_GROUP, whose value is a list of\nstrings identifying the environments that should display the\ndesktop entry.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN.html)." KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN - @doc "A key under %G_KEY_FILE_DESKTOP_GROUP, whose value is a string\ncontaining the working directory to run the program in. It is only\nvalid for desktop entries with the `Application` type.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.KEY_FILE_DESKTOP_KEY_PATH.html)." KEY_FILE_DESKTOP_KEY_PATH - @doc "A key under %G_KEY_FILE_DESKTOP_GROUP, whose value is a boolean\nstating whether the application supports the\n[Startup Notification Protocol Specification](http://www.freedesktop.org/Standards/startup-notification-spec).\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY.html)." KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY - @doc "A key under %G_KEY_FILE_DESKTOP_GROUP, whose value is string\nidentifying the WM class or name hint of a window that the application\nwill create, which can be used to emulate Startup Notification with\nolder applications.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS.html)." KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS - @doc "A key under %G_KEY_FILE_DESKTOP_GROUP, whose value is a boolean\nstating whether the program should be run in a terminal window.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.KEY_FILE_DESKTOP_KEY_TERMINAL.html)." KEY_FILE_DESKTOP_KEY_TERMINAL - @doc "A key under %G_KEY_FILE_DESKTOP_GROUP, whose value is a string\ngiving the file name of a binary on disk used to determine if the\nprogram is actually installed. It is only valid for desktop entries\nwith the `Application` type.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.KEY_FILE_DESKTOP_KEY_TRY_EXEC.html)." KEY_FILE_DESKTOP_KEY_TRY_EXEC - @doc "A key under %G_KEY_FILE_DESKTOP_GROUP, whose value is a string\ngiving the type of the desktop entry.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.KEY_FILE_DESKTOP_KEY_TYPE.html)." KEY_FILE_DESKTOP_KEY_TYPE - @doc "A key under %G_KEY_FILE_DESKTOP_GROUP, whose value is a string\ngiving the URL to access. It is only valid for desktop entries\nwith the `Link` type.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.KEY_FILE_DESKTOP_KEY_URL.html)." KEY_FILE_DESKTOP_KEY_URL - @doc "A key under %G_KEY_FILE_DESKTOP_GROUP, whose value is a string\ngiving the version of the Desktop Entry Specification used for\nthe desktop entry file.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.KEY_FILE_DESKTOP_KEY_VERSION.html)." KEY_FILE_DESKTOP_KEY_VERSION - @doc "The value of the %G_KEY_FILE_DESKTOP_KEY_TYPE, key for desktop\nentries representing applications.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.KEY_FILE_DESKTOP_TYPE_APPLICATION.html)." KEY_FILE_DESKTOP_TYPE_APPLICATION - @doc "The value of the %G_KEY_FILE_DESKTOP_KEY_TYPE, key for desktop\nentries representing directories.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.KEY_FILE_DESKTOP_TYPE_DIRECTORY.html)." KEY_FILE_DESKTOP_TYPE_DIRECTORY - @doc "The value of the %G_KEY_FILE_DESKTOP_KEY_TYPE, key for desktop\nentries representing links to documents.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.KEY_FILE_DESKTOP_TYPE_LINK.html)." KEY_FILE_DESKTOP_TYPE_LINK - @doc "Specifies one of the possible types of byte order.\nSee %G_BYTE_ORDER.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.LITTLE_ENDIAN.html)." LITTLE_ENDIAN - @doc "Defines the log domain. See [Log Domains](#log-domains).\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.LOG_DOMAIN.html)." LOG_DOMAIN - @doc "GLib log levels that are considered fatal by default.\n \nDetails can be found in the [GTK docs](https://docs.gtk.org/glib/const.LOG_FATAL_MASK.html)." LOG_FATAL_MASK - @doc "Log levels below 1< Gtk4.ResponseType_CANCEL, "OK"=> Gtk4.ResponseType_ACCEPT), - Gtk4.DialogFlags_MODAL ) + Gtk4.DialogFlags_MODAL, main_window) show(dlg) destroy(dlg) + +GC.gc() # ensure GtkDialog is really gone before main_window + destroy(main_window) end