glib-sharpGtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details.System.ObjectMarshalling utilitiesUtility class for internal wrapper useMethodSystem.IntPtr
a Obsolete.a Replaced by System.Obsolete("Use GLib.Argv instead to avoid leaks.")MethodSystem.String[]
a
a Obsolete.a Replaced by System.Obsolete("Use GLib.Argv instead to avoid leaks.")MethodSystem.UInt32
a Marshals a UTF16 char to a UCS4 character represented as an uint.a MethodSystem.IntPtr
a Marshals DateTime structures to native time_t values.a MethodSystem.String
A native filename-encoded string pointer.
Marshals a native filename-encoded string to a managed string.A managed string.The native pointer is not freed after marshaling. Use with const strings.MethodSystem.String
A native filename-encoded string pointer.
Marshals a native filename-encoded string to a managed string.A managed string.The native pointer is freed after marshaling.MethodSystem.Void
a Free a native pointer allocated by GLib.MethodSystem.Void
An array of native memory addresses.
Frees an array of native memory locations.MethodSystem.Char
a Marshals a UCS4 character represented as an uint to a UTF16 char.a MethodSystem.String
a Marshals a UCS4 character represented as an uint to a string.a MethodSystem.Array
the native list pointer.
the managed type of the list, eg or .
indicates if the native list being marshaled should be released.
indicates if the list members should be released.
the managed type of the list members.
Marshals a list pointer to a managed array.a managed array.MethodSystem.Array
The list to be marshaled.
The type of the list elements.
Marshals a native list to a typed array.An array of .MethodSystem.IntPtr
Size in bytes to be allocated.
Allocates a block of heap memory using the glib allocator.A pointer to the block.MethodSystem.String[]
Pointer to a null-terminated string array.
Indicates if the memory is owned and should be released.
Marshals a native null-terminated string array to a managed string array.an array of managed strings.MethodSystem.Array
a pointer to a native GPtrArray.
indicates if the native array should be released.
indicates if the native members should be released.
the managed type of the array elements.
Marshals a native GPtrArray to a managed array.a managed array.MethodSystem.String[]
Pointer to a null-terminated string array.
Marshal a null-terminated string array to a managed array.A string array.MethodSystem.String
a Marshals a utf8 string from native memory and frees the native string.a MethodSystem.String[]
a Marshals an array of utf8 string from native memory and frees the native strings.a MethodSystem.Void
Pointer to a native null-terminated string array.
Frees a string array, including its member strings.MethodSystem.IntPtr[]
an array of strings.
Marshals a managed string array to a native null-terminated array.An array of native string pointers.MethodSystem.StringSystem.ParamArray
a -style format string
arguments for Wrapper for marshalling between String.Format-style methods and printf-style onesa This is a wrapper for marshalling between managed String.Format-style methods and unmanaged printf-style ones. The managed function should take a format, and a array of , and pass that to . will format the data, and then make sure that any percent signs in the result are doubled so that they can safely be passed to an unmanaged method that expects a printf-style string (and following arguments).MethodSystem.IntPtr
A managed string to be marshaled.
Marshals a string to a filename encoded native pointer.A pointer to a newly allocated native string.MethodSystem.IntPtr
a Marshal a string to a native Utf8 string using GLib memory allocation.a MethodSystem.IntPtr
the structure to marshal
Marshals a structure to newly-allocated memory.a pointer to the newly-allocated memoryThis is like except that it allocates the memory for the unmanaged copy itself. You should free the memory with when you are done with it.MethodSystem.DateTime
a Marshals native time_t values to DateTime values.a MethodSystem.String
a Marshals a native Utf8 string to a managed string.a MethodSystem.String[]
a Marshals an array of native Utf8 strings to an array of managed strings.a