2004-10-26 16:10:52 +00:00
|
|
|
<!-- ##### SECTION ./tmpl/desktop_entry.sgml:Long_Description ##### -->
|
|
|
|
<para>
|
|
|
|
The "GDesktopEntry" parser is intended to parse files written to
|
|
|
|
the <ulink
|
|
|
|
url="http://www.freedesktop.org/Standards/desktop-entry-spec">Desktop
|
|
|
|
Entry Specification</ulink>. It supports deserialization of
|
|
|
|
desktop entries from files and in-memory data. Desktop entries
|
|
|
|
are used for a variety of things including menus, application
|
|
|
|
MIME type registration, and launchers.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
To load an existing desktop entry from a data directory (as
|
|
|
|
returned by g_get_user_data_dir() and g_get_system_data_dirs())
|
|
|
|
use g_desktop_entry_new_from_data_dirs(). To load an existing
|
|
|
|
desktop entry from an arbitrary location on the file system use
|
|
|
|
g_desktop_entry_new_from_file(). If the desktop entry is already
|
|
|
|
in memory use g_desktop_entry_new_from_data(). Once the desktop
|
|
|
|
entry is loaded its keys can be queried using the g_desktop_entry_get
|
|
|
|
family of functions.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
To create a new desktop entry first call g_desktop_entry_new().
|
|
|
|
Then, call the g_desktop_entry_set family of functions. Next,
|
|
|
|
call g_desktop_entry_to_data() to output the desktop entry to
|
|
|
|
a byte array, which can be written to disk or sent over a
|
|
|
|
network. Finally, call g_desktop_entry_free() to deallocate the
|
|
|
|
#GDesktopEntry object returned by g_desktop_entry_new().
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### SECTION ./tmpl/desktop_entry.sgml:See_Also ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### SECTION ./tmpl/desktop_entry.sgml:Short_Description ##### -->
|
|
|
|
serializes and deserializes a desktop entry.
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### SECTION ./tmpl/desktop_entry.sgml:Title ##### -->
|
|
|
|
Desktop Entry Parser
|
|
|
|
|
|
|
|
|
2005-05-05 14:57:29 +00:00
|
|
|
<!-- ##### SECTION ./tmpl/glib-unused.sgml:Stability_Level ##### -->
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-01-11 16:44:15 +00:00
|
|
|
<!-- ##### SECTION ./tmpl/testutils.sgml:Long_Description ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### SECTION ./tmpl/testutils.sgml:See_Also ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### SECTION ./tmpl/testutils.sgml:Short_Description ##### -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### SECTION ./tmpl/testutils.sgml:Stability_Level ##### -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### SECTION ./tmpl/testutils.sgml:Title ##### -->
|
|
|
|
Testing
|
|
|
|
|
|
|
|
|
2001-06-30 15:22:13 +00:00
|
|
|
<!-- ##### ENUM GChannelError ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@G_CHANNEL_ERROR_ACCES:
|
|
|
|
@G_CHANNEL_ERROR_BADF:
|
|
|
|
@G_CHANNEL_ERROR_DEADLK:
|
|
|
|
@G_CHANNEL_ERROR_FAULT:
|
|
|
|
@G_CHANNEL_ERROR_INVAL:
|
|
|
|
@G_CHANNEL_ERROR_IO:
|
|
|
|
@G_CHANNEL_ERROR_ISDIR:
|
|
|
|
@G_CHANNEL_ERROR_MFILE:
|
|
|
|
@G_CHANNEL_ERROR_NOLCK:
|
|
|
|
@G_CHANNEL_ERROR_NOSPC:
|
|
|
|
@G_CHANNEL_ERROR_PERM:
|
|
|
|
@G_CHANNEL_ERROR_PIPE:
|
|
|
|
@G_CHANNEL_ERROR_SPIPE:
|
|
|
|
@G_CHANNEL_ERROR_ENCODE_RW:
|
|
|
|
@G_CHANNEL_ERROR_FAILED:
|
|
|
|
|
|
|
|
<!-- ##### ENUM GChannelStatus ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@G_CHANNEL_STATUS_NORMAL:
|
|
|
|
@G_CHANNEL_STATUS_EOF:
|
|
|
|
@G_CHANNEL_STATUS_PARTIAL_CHARS:
|
|
|
|
@G_CHANNEL_STATUS_AGAIN:
|
|
|
|
@G_CHANNEL_STATUS_INTR:
|
|
|
|
@G_CHANNEL_STATUS_ERROR:
|
|
|
|
@G_CHANNEL_STATUS_BAD_INPUT:
|
|
|
|
|
changed prototype of g_boxed_type_register_static() to contain an optional
Wed Mar 7 09:36:33 2001 Tim Janik <timj@gtk.org>
* gboxed.[hc]: changed prototype of g_boxed_type_register_static()
to contain an optional init function and a hint at whether the
boxed structure uses ref counting internally.
added g_value_set_boxed_take_ownership().
made G_TYPE_BOXED an abstract value type.
* genums.[hc]: made G_TYPE_ENUM and G_TYPE_FLAGS abstract value
types.
* glib-genmarshal.c: argument type changes, preparation for third-party
arg specification.
* gobject.[hc]: cleaned up get/set property code.
added g_strdup_value_contents() to improve warnings.
* gparam.[hc]: added g_param_value_convert(), taking over responsibility
of the old g_value_convert(). added G_PARAM_LAX_VALIDATION flag so
validation alterations may be valid a part of the property setting
process.
* gparamspecs.[hc]: made value comparisons stable (for sort applications).
added GParamSpecValueArray, a param spec for value arrays and
GParamSpecClosure. nuked the value exchange functions and
GParamSpecCCallback.
* gtype.[hc]: catch unintialized usages of the type system with
g_return_val_if_uninitialized(). introduced G_TYPE_FLAG_VALUE_ABSTRACT
to flag types that introduce a value table, but can't be used for
g_value_init(). cleaned up reserved type ids.
* gvalue.[hc]: code cleanups and saner checking.
nuked the value exchange API. implemented value transformations, we
can't really "convert" values, rather transforms are an anylogy to
C casts, real conversions need a param spec for validation, which is
why g_param_value_convert() does real conversions now.
* gvaluearray.[hc]: new files that implement a GValueArray, a struct
that can hold inhomogeneous arrays of value (to that extend that it
also allowes undefined values, i.e. G_VALUE_TYPE(value)==0).
this is exposed to the type system as a boxed type.
* gvaluetransform.c: new file implementing most of the former value
exchange functions as single-sided transformations.
* gvaluetypes.[hc]: nuked G_TYPE_CCALLBACK, added
g_value_set_string_take_ownership().
* *.h: s/G_IS_VALUE_/G_VALUE_HOLDS_/.
* *.[hc]: many fixes and cleanups.
* many warning improvements.
Tue Feb 27 18:35:15 2001 Tim Janik <timj@gtk.org>
* gobject.c (g_object_get_valist): urg, pass G_VALUE_NOCOPY_CONTENTS
into G_VALUE_LCOPY(), this needs proper documenting.
* gparam.c: fixed G_PARAM_USER_MASK.
* gtype.c (type_data_make_W):
(type_data_last_unref_Wm): fixed invalid memory freeing.
* gobject.c (g_object_last_unref): destroy signal handlers associated
with object, right before finalization.
* gsignal.c (g_signal_parse_name): catch destroyed nodes or signals
that don't actually support details.
* gobject.[hc]: got rid of property trailers. nuked GObject
properties "data" and the "signal" variants.
(g_object_connect): new convenience function to do multiple
signal connections at once.
(g_object_disconnect): likewise, for disconnections.
* gparam.[hc] (g_param_spec_pool_lookup): took out trailer support.
* gvalue.[hc]: marked g_value_fits_pointer() and g_value_peek_pointer()
as private (the latter got renamed from g_value_get_as_pointer()).
Wed Mar 7 09:32:06 2001 Tim Janik <timj@gtk.org>
* glib-object.h: add gvaluearray.h.
* gstring.[hc]: fixup naming of g_string_sprint*.
* gtypes.h: fixed GCompareDataFunc naming.
Wed Mar 7 09:33:27 2001 Tim Janik <timj@gtk.org>
* gobject/Makefile.am: shuffled rules to avoid excessive
rebuilds.
* gobject/gobject-sections.txt: updates.
* gobject/tmpl/*: bunch of updates, added another patch
from Eric Lemings <eric.b.lemings@lmco.com>.
2001-03-07 14:46:45 +00:00
|
|
|
<!-- ##### USER_FUNCTION GCompareFuncData ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@a:
|
|
|
|
@b:
|
|
|
|
@user_data:
|
|
|
|
@Returns:
|
|
|
|
|
2001-02-12 17:43:44 +00:00
|
|
|
<!-- ##### USER_FUNCTION GCompletionStrcmpFunc ##### -->
|
2000-09-07 16:36:56 +00:00
|
|
|
<para>
|
|
|
|
|
2000-10-19 15:21:04 +00:00
|
|
|
</para>
|
|
|
|
|
2001-02-12 17:43:44 +00:00
|
|
|
@s1:
|
|
|
|
@s2:
|
|
|
|
@Returns:
|
2001-01-05 20:48:43 +00:00
|
|
|
|
2004-10-26 16:10:52 +00:00
|
|
|
<!-- ##### STRUCT GDesktopEntry ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### ENUM GDesktopEntryError ##### -->
|
|
|
|
<para>
|
|
|
|
Error codes returned by desktop entry parsing.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@G_DESKTOP_ENTRY_ERROR_UNKNOWN_ENCODING: text being parsed is not UTF-8 and
|
|
|
|
cannot be guessed.
|
|
|
|
@G_DESKTOP_ENTRY_ERROR_BAD_START_GROUP: desktop entry does not start with a
|
|
|
|
legal start group.
|
|
|
|
@G_DESKTOP_ENTRY_ERROR_PARSE: desktop entry is empty or contains invalid
|
|
|
|
data.
|
|
|
|
@G_DESKTOP_ENTRY_ERROR_NOT_FOUND: valid desktop entry could not be found.
|
|
|
|
@G_DESKTOP_ENTRY_ERROR_KEY_NOT_FOUND: desktop entry does not have requested
|
|
|
|
key.
|
|
|
|
@G_DESKTOP_ENTRY_ERROR_GROUP_NOT_FOUND: desktop entry does not have requested
|
|
|
|
group
|
|
|
|
@G_DESKTOP_ENTRY_ERROR_INVALID_VALUE: desktop entry contains key which has
|
|
|
|
value that cannot be validated.
|
|
|
|
|
|
|
|
<!-- ##### ENUM GDesktopEntryFlags ##### -->
|
|
|
|
<para>
|
|
|
|
#GDesktopEntry supports a few flags for tweaking performance during
|
|
|
|
deserialization. #G_DESKTOP_ENTRY_DISCARD_COMMENTS and
|
|
|
|
#G_DESKTOP_ENTRY_DISCARD_TRANSLATIONS will reduce memory footprint,
|
|
|
|
and #G_DESKTOP_ENTRY_GENERATE_LOOKUP_MAP will increase key lookup speed.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@G_DESKTOP_ENTRY_NONE: use parser defaults
|
|
|
|
@G_DESKTOP_ENTRY_DISCARD_COMMENTS: Discard all lines that are blank
|
|
|
|
or start with "#".
|
|
|
|
@G_DESKTOP_ENTRY_DISCARD_TRANSLATIONS: Only retain translations that
|
|
|
|
are returned by g_get_language_names().
|
|
|
|
@G_DESKTOP_ENTRY_GENERATE_LOOKUP_MAP: Generate a lookup map for key names to make lookups constant time at the cost of more memory.
|
|
|
|
|
2001-09-10 18:03:31 +00:00
|
|
|
<!-- ##### USER_FUNCTION GErrorFunc ##### -->
|
|
|
|
<para>
|
|
|
|
Specifies the type of function passed to g_set_error_handler().
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@str: the error message.
|
|
|
|
|
destruction cleanup. there's one ->finalize_hook member in the hooklist
Thu Mar 8 16:23:34 2001 Tim Janik <timj@gtk.org>
* ghook.[hc]: destruction cleanup. there's one
->finalize_hook member in the hooklist now that gets
called when a hook should be destroyed, that's it.
that function is guarranteed to be called only when
all ref_counts to the hook vanished, thus also when
the hook is not in call.
Thu Mar 8 16:35:48 2001 Tim Janik <timj@gtk.org>
* gparamspecs.[hc]: s/g_param_spec_string_c/g_param_spec_stringc/.
* gsignal.[hc]: fixed accumulator invocation, implemented emission
hooks. and no, neither of these callbacks are called via a closure,
language bindings can wrap the accumulator and emission hook
interface, they already get parameters marshalled into a GValue array.
(g_signal_connect): removed this function as its C specific, doesn't
cover the swapped argument, is too close to its broken original
gtk_signal_connect() and creates demand for _swapped, _after and
_swapped_after variants <brrr>.
(g_signal_connectc): convenience macro to connect a C handler
func with data, like the old g_signal_connect() plus swapped
argument.
* gtype.h:
* gboxed.c: added G_TYPE_VALUE boxed type.
2001-03-08 16:34:59 +00:00
|
|
|
<!-- ##### USER_FUNCTION GHookFreeFunc ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@hook_list:
|
|
|
|
@hook:
|
|
|
|
|
2001-07-29 16:02:45 +00:00
|
|
|
<!-- ##### ENUM GIOFileMode ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@G_IO_FILE_MODE_READ:
|
|
|
|
@G_IO_FILE_MODE_WRITE:
|
|
|
|
@G_IO_FILE_MODE_APPEND:
|
|
|
|
@G_IO_FILE_MODE_READ_WRITE:
|
|
|
|
@G_IO_FILE_MODE_READ_WRITE_TRUNCATE:
|
|
|
|
@G_IO_FILE_MODE_READ_WRITE_APPEND:
|
|
|
|
|
2001-10-13 05:54:10 +00:00
|
|
|
<!-- ##### ENUM GMatchType ##### -->
|
|
|
|
<para>
|
|
|
|
Enumeration representing different kinds of patterns. This is only used
|
|
|
|
internally for optimizing the match algorithm.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@G_MATCH_ALL: a general pattern.
|
|
|
|
@G_MATCH_ALL_TAIL: a general pattern which contains a fixed part matching
|
|
|
|
the end of the string.
|
|
|
|
@G_MATCH_HEAD: a pattern matching every string with a certain prefix.
|
|
|
|
@G_MATCH_TAIL: a pattern matching every string with a certain suffix.
|
|
|
|
@G_MATCH_EXACT: a pattern matching exactly one string.
|
|
|
|
@G_MATCH_LAST:
|
|
|
|
|
2001-09-10 18:03:31 +00:00
|
|
|
<!-- ##### USER_FUNCTION GWarningFunc ##### -->
|
|
|
|
<para>
|
|
|
|
Specifies the type of function passed to g_set_warning_handler().
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@str: the warning message.
|
|
|
|
|
2001-06-30 15:22:13 +00:00
|
|
|
<!-- ##### MACRO G_CHANNEL_ERROR ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2004-10-26 16:10:52 +00:00
|
|
|
<!-- ##### MACRO G_DESKTOP_ENTRY_ERROR ##### -->
|
|
|
|
<para>
|
|
|
|
Error domain for desktop entry parsing. Errors in this domain will
|
|
|
|
be from the #GDesktopEntryError enumeration. See #GError for information on
|
|
|
|
error domains.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
destruction cleanup. there's one ->finalize_hook member in the hooklist
Thu Mar 8 16:23:34 2001 Tim Janik <timj@gtk.org>
* ghook.[hc]: destruction cleanup. there's one
->finalize_hook member in the hooklist now that gets
called when a hook should be destroyed, that's it.
that function is guarranteed to be called only when
all ref_counts to the hook vanished, thus also when
the hook is not in call.
Thu Mar 8 16:35:48 2001 Tim Janik <timj@gtk.org>
* gparamspecs.[hc]: s/g_param_spec_string_c/g_param_spec_stringc/.
* gsignal.[hc]: fixed accumulator invocation, implemented emission
hooks. and no, neither of these callbacks are called via a closure,
language bindings can wrap the accumulator and emission hook
interface, they already get parameters marshalled into a GValue array.
(g_signal_connect): removed this function as its C specific, doesn't
cover the swapped argument, is too close to its broken original
gtk_signal_connect() and creates demand for _swapped, _after and
_swapped_after variants <brrr>.
(g_signal_connectc): convenience macro to connect a C handler
func with data, like the old g_signal_connect() plus swapped
argument.
* gtype.h:
* gboxed.c: added G_TYPE_VALUE boxed type.
2001-03-08 16:34:59 +00:00
|
|
|
<!-- ##### MACRO G_HOOK_DEFERRED_DESTROY ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2001-06-30 15:22:13 +00:00
|
|
|
<!-- ##### MACRO G_IO_CHANNEL_DEFAULT_LINE_TERM ##### -->
|
|
|
|
<para>
|
|
|
|
One of %G_IO_CHANNEL_UNIX_LINE_TERM, %G_IO_CHANNEL_DOS_LINE_TERM,
|
|
|
|
or %G_IO_CHANNEL_MACINTOSH_LINE_TERM (unimplemented)
|
|
|
|
depending on the system type.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2001-08-12 00:56:22 +00:00
|
|
|
<!-- ##### MACRO G_IO_CHANNEL_DOS_LINE_TERM ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2001-07-29 16:02:45 +00:00
|
|
|
<!-- ##### MACRO G_IO_CHANNEL_ENCODE_RAW ##### -->
|
|
|
|
<para>
|
|
|
|
Encoding for nonbuffered IO. With this encoding, data must be
|
|
|
|
read using g_io_channel_read_chars(); the other functions will
|
|
|
|
not work.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2001-08-12 00:56:22 +00:00
|
|
|
<!-- ##### MACRO G_IO_CHANNEL_MACINTOSH_LINE_TERM ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO G_IO_CHANNEL_UNIX_LINE_TERM ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2001-10-06 09:25:09 +00:00
|
|
|
<!-- ##### MACRO NAME_MAX ##### -->
|
|
|
|
<para>
|
|
|
|
Provided for UNIX emulation on Windows; equivalent to UNIX macro
|
|
|
|
%NAME_MAX, which is the maximum length of a single path component.
|
|
|
|
i.e. just the <filename>foo</filename> in <filename>/usr/bin/foo</filename>.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2007-12-21 00:37:41 +00:00
|
|
|
<!-- ##### MACRO _ ##### -->
|
|
|
|
<para>
|
|
|
|
Marks a string for translation, gets replaced with the translated string
|
|
|
|
at runtime.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@String: the string to be translated
|
|
|
|
@Since: 2.4
|
|
|
|
|
2001-02-12 17:43:44 +00:00
|
|
|
<!-- ##### MACRO access ##### -->
|
2001-01-05 20:48:43 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2001-02-12 17:43:44 +00:00
|
|
|
<!-- ##### MACRO close ##### -->
|
2001-01-05 20:48:43 +00:00
|
|
|
<para>
|
2001-02-12 17:43:44 +00:00
|
|
|
|
2001-01-05 20:48:43 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2001-11-22 18:54:47 +00:00
|
|
|
<!-- ##### FUNCTION closedir ##### -->
|
|
|
|
<para>
|
|
|
|
Provided for UNIX emulation on Windows; see documentation for <function>closedir()</function>
|
|
|
|
in any UNIX manual.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@Param1:
|
|
|
|
@Returns:
|
|
|
|
|
2001-02-12 17:43:44 +00:00
|
|
|
<!-- ##### MACRO fdopen ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2004-09-16 03:16:57 +00:00
|
|
|
<!-- ##### MACRO ftruncate ##### -->
|
|
|
|
<para>
|
2007-03-19 03:47:05 +00:00
|
|
|
Provided for UNIX emulation on Windows; see documentation for ftruncate()
|
2004-09-16 03:16:57 +00:00
|
|
|
in any UNIX manual.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@fd:
|
|
|
|
@size:
|
|
|
|
|
2001-07-29 16:02:45 +00:00
|
|
|
<!-- ##### FUNCTION g_channel_error_from_errno ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@en:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION g_channel_error_quark ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@Returns:
|
|
|
|
|
2001-02-12 17:43:44 +00:00
|
|
|
<!-- ##### FUNCTION g_convert_error_quark ##### -->
|
2000-10-19 15:21:04 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2001-02-12 17:43:44 +00:00
|
|
|
@Returns:
|
2000-10-19 15:21:04 +00:00
|
|
|
|
2004-10-26 16:10:52 +00:00
|
|
|
<!-- ##### FUNCTION g_desktop_entry_escape_strings ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@entry:
|
|
|
|
@should_escape:
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION g_desktop_entry_free ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@entry:
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION g_desktop_entry_get_boolean ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@entry:
|
|
|
|
@group_name:
|
|
|
|
@key:
|
|
|
|
@error:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION g_desktop_entry_get_boolean_list ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@entry:
|
|
|
|
@group_name:
|
|
|
|
@key:
|
|
|
|
@length:
|
|
|
|
@error:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION g_desktop_entry_get_groups ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@entry:
|
|
|
|
@length:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION g_desktop_entry_get_integer ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@entry:
|
|
|
|
@group_name:
|
|
|
|
@key:
|
|
|
|
@error:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION g_desktop_entry_get_integer_list ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@entry:
|
|
|
|
@group_name:
|
|
|
|
@key:
|
|
|
|
@length:
|
|
|
|
@error:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION g_desktop_entry_get_keys ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@entry:
|
|
|
|
@group_name:
|
|
|
|
@length:
|
|
|
|
@error:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION g_desktop_entry_get_locale_string ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@entry:
|
|
|
|
@group_name:
|
|
|
|
@key:
|
|
|
|
@locale:
|
|
|
|
@error:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION g_desktop_entry_get_locale_string_list ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@entry:
|
|
|
|
@group_name:
|
|
|
|
@key:
|
|
|
|
@locale:
|
|
|
|
@length:
|
|
|
|
@error:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION g_desktop_entry_get_start_group ##### -->
|
2004-09-18 21:03:46 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2004-10-26 16:10:52 +00:00
|
|
|
@entry:
|
2004-09-18 21:03:46 +00:00
|
|
|
@Returns:
|
|
|
|
|
2004-10-26 16:10:52 +00:00
|
|
|
<!-- ##### FUNCTION g_desktop_entry_get_string ##### -->
|
2004-09-18 21:03:46 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2004-10-26 16:10:52 +00:00
|
|
|
@entry:
|
|
|
|
@group_name:
|
|
|
|
@key:
|
|
|
|
@error:
|
2004-09-18 21:03:46 +00:00
|
|
|
@Returns:
|
|
|
|
|
2004-10-26 16:10:52 +00:00
|
|
|
<!-- ##### FUNCTION g_desktop_entry_get_string_list ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@entry:
|
|
|
|
@group_name:
|
|
|
|
@key:
|
|
|
|
@length:
|
|
|
|
@error:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION g_desktop_entry_has_group ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@entry:
|
|
|
|
@group_name:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION g_desktop_entry_has_key ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@entry:
|
|
|
|
@group_name:
|
|
|
|
@key:
|
|
|
|
@error:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION g_desktop_entry_new ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@flags:
|
|
|
|
@error:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION g_desktop_entry_new_from_data ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@data:
|
|
|
|
@length:
|
|
|
|
@legal_start_groups:
|
|
|
|
@flags:
|
|
|
|
@error:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION g_desktop_entry_new_from_data_dirs ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@file:
|
|
|
|
@full_path:
|
|
|
|
@legal_start_groups:
|
|
|
|
@flags:
|
|
|
|
@error:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION g_desktop_entry_new_from_file ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@file:
|
|
|
|
@legal_start_groups:
|
|
|
|
@flags:
|
|
|
|
@error:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION g_desktop_entry_remove_group ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@entry:
|
|
|
|
@group_name:
|
|
|
|
@error:
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION g_desktop_entry_remove_key ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@entry:
|
|
|
|
@group_name:
|
|
|
|
@key:
|
|
|
|
@error:
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION g_desktop_entry_set_boolean ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@entry:
|
|
|
|
@group_name:
|
|
|
|
@key:
|
|
|
|
@boolean:
|
|
|
|
@error:
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION g_desktop_entry_set_boolean_list ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@entry:
|
|
|
|
@group_name:
|
|
|
|
@key:
|
|
|
|
@list:
|
|
|
|
@length:
|
|
|
|
@error:
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION g_desktop_entry_set_integer ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@entry:
|
|
|
|
@group_name:
|
|
|
|
@key:
|
|
|
|
@integer:
|
|
|
|
@error:
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION g_desktop_entry_set_integer_list ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@entry:
|
|
|
|
@group_name:
|
|
|
|
@key:
|
|
|
|
@list:
|
|
|
|
@length:
|
|
|
|
@error:
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION g_desktop_entry_set_locale_string ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@entry:
|
|
|
|
@group_name:
|
|
|
|
@key:
|
|
|
|
@locale:
|
|
|
|
@string:
|
|
|
|
@error:
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION g_desktop_entry_set_locale_string_list ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@entry:
|
|
|
|
@group_name:
|
|
|
|
@key:
|
|
|
|
@locale:
|
|
|
|
@list:
|
|
|
|
@length:
|
|
|
|
@error:
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION g_desktop_entry_set_string ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@entry:
|
|
|
|
@group_name:
|
|
|
|
@key:
|
|
|
|
@string:
|
|
|
|
@error:
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION g_desktop_entry_set_string_list ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@entry:
|
|
|
|
@group_name:
|
|
|
|
@key:
|
|
|
|
@list:
|
|
|
|
@length:
|
|
|
|
@error:
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION g_desktop_entry_to_data ##### -->
|
2004-09-18 21:03:46 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2004-10-26 16:10:52 +00:00
|
|
|
@entry:
|
|
|
|
@length:
|
|
|
|
@error:
|
2004-09-18 21:03:46 +00:00
|
|
|
@Returns:
|
|
|
|
|
2005-05-05 14:57:29 +00:00
|
|
|
<!-- ##### FUNCTION g_file_replace ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@filename:
|
|
|
|
@contents:
|
|
|
|
@length:
|
|
|
|
@error:
|
|
|
|
@Returns:
|
|
|
|
|
2008-01-11 16:44:15 +00:00
|
|
|
<!-- ##### FUNCTION g_format_file_size_for_display ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@size:
|
|
|
|
@Returns:
|
|
|
|
|
2001-10-06 09:25:09 +00:00
|
|
|
<!-- ##### FUNCTION g_io_channel_error_quark ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@Returns:
|
|
|
|
|
2001-11-21 17:49:34 +00:00
|
|
|
<!-- ##### VARIABLE g_log_domain_glib ##### -->
|
|
|
|
<para>
|
|
|
|
The log domain used for messages logged by GLib itself.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2000-12-05 20:43:58 +00:00
|
|
|
<!-- ##### FUNCTION g_main_add_poll ##### -->
|
|
|
|
<para>
|
|
|
|
Adds a file descriptor to be polled.
|
|
|
|
This is usually combined with g_source_add() to add an event source.
|
|
|
|
The event source's check function will typically test the revents
|
|
|
|
field in the #GPollFD struct and return TRUE if events need to be processed.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@fd: a #GPollFD, which is a file descriptor together with a bitwise
|
|
|
|
combination of #GIOCondition flags determining which events to poll for.
|
|
|
|
@priority: the priority of the poll, which should be the same as the priority
|
|
|
|
used for g_source_add() to ensure that the file descriptor is polled whenever
|
|
|
|
the results may be needed.
|
|
|
|
See #G_PRIORITY_DEFAULT, #G_PRIORITY_DEFAULT_IDLE, #G_PRIORITY_HIGH,
|
|
|
|
#G_PRIORITY_HIGH_IDLE, and #G_PRIORITY_LOW.
|
|
|
|
|
2001-07-02 00:49:21 +00:00
|
|
|
<!-- ##### FUNCTION g_main_context_get ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@thread:
|
|
|
|
@Returns:
|
|
|
|
|
2001-02-12 17:43:44 +00:00
|
|
|
<!-- ##### FUNCTION g_main_loop_destroy ##### -->
|
2001-01-05 20:48:43 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2001-02-12 17:43:44 +00:00
|
|
|
@loop:
|
2001-01-05 20:48:43 +00:00
|
|
|
|
2001-02-12 17:43:44 +00:00
|
|
|
<!-- ##### FUNCTION g_main_remove_poll ##### -->
|
2000-09-06 15:01:07 +00:00
|
|
|
<para>
|
2001-02-12 17:43:44 +00:00
|
|
|
Removes a file descriptor from the list being polled.
|
2000-09-06 15:01:07 +00:00
|
|
|
</para>
|
|
|
|
|
2001-02-12 17:43:44 +00:00
|
|
|
@fd: the #GPollFD to remove.
|
2000-09-06 15:01:07 +00:00
|
|
|
|
2001-02-12 17:43:44 +00:00
|
|
|
<!-- ##### FUNCTION g_main_win32_get_poll_func ##### -->
|
2000-12-05 20:43:58 +00:00
|
|
|
<para>
|
2001-02-12 17:43:44 +00:00
|
|
|
|
2000-12-05 20:43:58 +00:00
|
|
|
</para>
|
|
|
|
|
2001-02-12 17:43:44 +00:00
|
|
|
@Returns:
|
2000-12-05 20:43:58 +00:00
|
|
|
|
2001-02-12 17:43:44 +00:00
|
|
|
<!-- ##### FUNCTION g_mem_check ##### -->
|
2000-09-06 15:01:07 +00:00
|
|
|
<para>
|
2001-02-12 17:43:44 +00:00
|
|
|
Checks if the given memory has already been freed. If it has it outputs
|
|
|
|
a warning message.
|
|
|
|
To use this function you must configure glib with the flag
|
|
|
|
'--enable-mem-check=yes' before compiling.
|
2000-09-06 15:01:07 +00:00
|
|
|
</para>
|
|
|
|
|
2001-02-12 17:43:44 +00:00
|
|
|
@mem: the memory to check.
|
2000-09-06 15:01:07 +00:00
|
|
|
|
2007-03-15 13:01:31 +00:00
|
|
|
<!-- ##### FUNCTION g_regex_error_quark ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@Returns:
|
|
|
|
|
2007-06-04 15:40:33 +00:00
|
|
|
<!-- ##### FUNCTION g_regex_free ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@regex:
|
|
|
|
|
2001-07-29 16:02:45 +00:00
|
|
|
<!-- ##### FUNCTION g_scanner_stat_mode ##### -->
|
|
|
|
<para>
|
|
|
|
Gets the file attributes.
|
|
|
|
This is the <structfield>st_mode</structfield> field from the
|
|
|
|
<structname>stat</structname> structure. See the <function>stat()</function>
|
|
|
|
documentation.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@filename: the file name.
|
|
|
|
@Returns: the file attributes.
|
|
|
|
|
2001-09-10 18:03:31 +00:00
|
|
|
<!-- ##### FUNCTION g_set_error_handler ##### -->
|
|
|
|
<para>
|
|
|
|
Sets the function to be called to handle error messages.
|
|
|
|
This function is deprecated in favour of the new logging facilities.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@func: the function to be called to handle error messages.
|
|
|
|
@Returns: the old error handler.
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION g_set_message_handler ##### -->
|
|
|
|
<para>
|
|
|
|
Sets the function to be called to handle messages.
|
|
|
|
This function is deprecated in favour of the new logging facilities.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@func: the function to be called to handle normal messages.
|
|
|
|
@Returns: the old message handler.
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION g_set_warning_handler ##### -->
|
|
|
|
<para>
|
|
|
|
Sets the function to be called to handle warning messages.
|
|
|
|
This function is deprecated in favour of the new logging facilities.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@func: the function to be called to handle warning messages.
|
|
|
|
@Returns: the old warning handler.
|
|
|
|
|
2000-12-29 15:11:03 +00:00
|
|
|
<!-- ##### FUNCTION g_source_add ##### -->
|
2000-09-06 15:01:07 +00:00
|
|
|
<para>
|
2000-12-29 02:16:51 +00:00
|
|
|
</para>
|
|
|
|
|
2000-12-29 15:11:03 +00:00
|
|
|
@priority:
|
|
|
|
@can_recurse:
|
|
|
|
@funcs:
|
|
|
|
@source_data:
|
|
|
|
@user_data:
|
|
|
|
@notify:
|
fixed dealing with collection/lcopy of NULL values.
Mon Dec 11 04:44:11 2000 Tim Janik <timj@gtk.org>
* gboxed.c: fixed dealing with collection/lcopy of NULL values.
* gclosure.h: removed insane ramblings, added G_CALLBACK() a casting
convenience macro.
* Makefile.am: cleanups, marshaller generation rules.
* gmarshal.[hc]: new files with GRuntime standard marshallers.
* glib-genmarshal.c: fix log domain, support gruntime standard
marshallers, suport G_TYPE_PARAM, come with extern "C" and
#include gmarshal.h.
* glib-genmarshal.1: reflect glib-genmarshal.c updates.
* gobject.[hc]: implement object constructor. rework parameter
changed notification queueing, we support queue freezes now and
don't dispatch from an idle handler anymore.
parameter->property rename hassle.
implemented ::properties_changed and ::notify::* signals for
property change notification (the later supports property names
as details). added signal connection and named data properties.
(g_signal_connect_object): new function to setup while_alive
connections.
(g_object_class_install_property): sink properties now, since they
are initially floating.
(g_object_steal_data):
(g_object_set_data_full):
(g_object_set_data):
(g_object_get_data): set/get data by using g_datalist_*() functions
directly.
(g_object_queue_param_changed): nuked.
(g_object_freeze_notify): start queueing of property changes (freeze/
thaw calls stack).
(g_object_notify): announce changes of a certain property directly.
(g_object_thaw_notify): process queue of property changes, therefore
emitting GObject::notify::detail with detail being the changed
properties names.
(G_OBJECT_WARN_INVALID_PROPERTY_ID): saner macro variant of former
G_WARN_INVALID_PARAM_ID().
* gparam.[hc]: param specs are now initially floating and need to be
sunken with g_param_spec_sink(), support G_TYPE_PARAM values.
added G_PARAM_CONSTRUCT and G_PARAM_CONSTRUCT_ONLY parameter flags,
required by GObjectClass.constructor().
* gparamspecs.[hc]: added GParamSpecParam, GParamSpecPointer and
GParamSpecCCallback, param specs for G_TYPE_PARAM, G_TYPE_POINTER
and G_TYPE_CCALLBACK respectively.
* gsignal.[hc]: cleanups.
(signal_id_lookup): after walking the anchestry, try interfaces as well.
(g_signal_new): new function to create signals from varargs type list.
(g_signal_connect_closure): closure connection variant that works from
signal name+detail.
(g_signal_connect_data): c handler connection variant that works from
signal name+detail.
(g_signal_emit_valist): emit signal for an instance with paraneters
collected from a va_list.
(g_signal_emit): emit signal, taking parameters from varargs list.
(g_signal_emit_by_name): same as g_signal_emit, working from
signal name+detail.
(signal_emit_R): return whether return_value needs to be altered.
* gtype.[hc]: set log-domain to GRuntime, i'm slowly getting to all
the points that need to reflect the upcoming rename.
melt g_type_conforms_to() functionality into g_type_is_a(), as that
is what we really want (liskov substitution principle).
assorted changes to other files due to conforms_to->is_a.
* gvalue.[hc]: implemented g_value_set_instance() that sets a value
from an instantiatable type via the value_table's collect_value()
function (based on an idea from James Henstridge <james@daa.com.au>).
cleanups/fixes.
* gvaluetypes.[hc]: implement G_TYPE_CCALLBACK and G_TYPE_PARAM.
2000-12-12 07:32:00 +00:00
|
|
|
@Returns:
|
|
|
|
@source:
|
2000-12-29 15:11:03 +00:00
|
|
|
@context:
|
2000-09-06 15:01:07 +00:00
|
|
|
|
2001-01-09 02:18:57 +00:00
|
|
|
<!-- ##### FUNCTION g_source_connect ##### -->
|
fixed dealing with collection/lcopy of NULL values.
Mon Dec 11 04:44:11 2000 Tim Janik <timj@gtk.org>
* gboxed.c: fixed dealing with collection/lcopy of NULL values.
* gclosure.h: removed insane ramblings, added G_CALLBACK() a casting
convenience macro.
* Makefile.am: cleanups, marshaller generation rules.
* gmarshal.[hc]: new files with GRuntime standard marshallers.
* glib-genmarshal.c: fix log domain, support gruntime standard
marshallers, suport G_TYPE_PARAM, come with extern "C" and
#include gmarshal.h.
* glib-genmarshal.1: reflect glib-genmarshal.c updates.
* gobject.[hc]: implement object constructor. rework parameter
changed notification queueing, we support queue freezes now and
don't dispatch from an idle handler anymore.
parameter->property rename hassle.
implemented ::properties_changed and ::notify::* signals for
property change notification (the later supports property names
as details). added signal connection and named data properties.
(g_signal_connect_object): new function to setup while_alive
connections.
(g_object_class_install_property): sink properties now, since they
are initially floating.
(g_object_steal_data):
(g_object_set_data_full):
(g_object_set_data):
(g_object_get_data): set/get data by using g_datalist_*() functions
directly.
(g_object_queue_param_changed): nuked.
(g_object_freeze_notify): start queueing of property changes (freeze/
thaw calls stack).
(g_object_notify): announce changes of a certain property directly.
(g_object_thaw_notify): process queue of property changes, therefore
emitting GObject::notify::detail with detail being the changed
properties names.
(G_OBJECT_WARN_INVALID_PROPERTY_ID): saner macro variant of former
G_WARN_INVALID_PARAM_ID().
* gparam.[hc]: param specs are now initially floating and need to be
sunken with g_param_spec_sink(), support G_TYPE_PARAM values.
added G_PARAM_CONSTRUCT and G_PARAM_CONSTRUCT_ONLY parameter flags,
required by GObjectClass.constructor().
* gparamspecs.[hc]: added GParamSpecParam, GParamSpecPointer and
GParamSpecCCallback, param specs for G_TYPE_PARAM, G_TYPE_POINTER
and G_TYPE_CCALLBACK respectively.
* gsignal.[hc]: cleanups.
(signal_id_lookup): after walking the anchestry, try interfaces as well.
(g_signal_new): new function to create signals from varargs type list.
(g_signal_connect_closure): closure connection variant that works from
signal name+detail.
(g_signal_connect_data): c handler connection variant that works from
signal name+detail.
(g_signal_emit_valist): emit signal for an instance with paraneters
collected from a va_list.
(g_signal_emit): emit signal, taking parameters from varargs list.
(g_signal_emit_by_name): same as g_signal_emit, working from
signal name+detail.
(signal_emit_R): return whether return_value needs to be altered.
* gtype.[hc]: set log-domain to GRuntime, i'm slowly getting to all
the points that need to reflect the upcoming rename.
melt g_type_conforms_to() functionality into g_type_is_a(), as that
is what we really want (liskov substitution principle).
assorted changes to other files due to conforms_to->is_a.
* gvalue.[hc]: implemented g_value_set_instance() that sets a value
from an instantiatable type via the value_table's collect_value()
function (based on an idea from James Henstridge <james@daa.com.au>).
cleanups/fixes.
* gvaluetypes.[hc]: implement G_TYPE_CCALLBACK and G_TYPE_PARAM.
2000-12-12 07:32:00 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2001-01-09 02:18:57 +00:00
|
|
|
@source:
|
|
|
|
@func:
|
|
|
|
@data:
|
|
|
|
@notify:
|
fixed dealing with collection/lcopy of NULL values.
Mon Dec 11 04:44:11 2000 Tim Janik <timj@gtk.org>
* gboxed.c: fixed dealing with collection/lcopy of NULL values.
* gclosure.h: removed insane ramblings, added G_CALLBACK() a casting
convenience macro.
* Makefile.am: cleanups, marshaller generation rules.
* gmarshal.[hc]: new files with GRuntime standard marshallers.
* glib-genmarshal.c: fix log domain, support gruntime standard
marshallers, suport G_TYPE_PARAM, come with extern "C" and
#include gmarshal.h.
* glib-genmarshal.1: reflect glib-genmarshal.c updates.
* gobject.[hc]: implement object constructor. rework parameter
changed notification queueing, we support queue freezes now and
don't dispatch from an idle handler anymore.
parameter->property rename hassle.
implemented ::properties_changed and ::notify::* signals for
property change notification (the later supports property names
as details). added signal connection and named data properties.
(g_signal_connect_object): new function to setup while_alive
connections.
(g_object_class_install_property): sink properties now, since they
are initially floating.
(g_object_steal_data):
(g_object_set_data_full):
(g_object_set_data):
(g_object_get_data): set/get data by using g_datalist_*() functions
directly.
(g_object_queue_param_changed): nuked.
(g_object_freeze_notify): start queueing of property changes (freeze/
thaw calls stack).
(g_object_notify): announce changes of a certain property directly.
(g_object_thaw_notify): process queue of property changes, therefore
emitting GObject::notify::detail with detail being the changed
properties names.
(G_OBJECT_WARN_INVALID_PROPERTY_ID): saner macro variant of former
G_WARN_INVALID_PARAM_ID().
* gparam.[hc]: param specs are now initially floating and need to be
sunken with g_param_spec_sink(), support G_TYPE_PARAM values.
added G_PARAM_CONSTRUCT and G_PARAM_CONSTRUCT_ONLY parameter flags,
required by GObjectClass.constructor().
* gparamspecs.[hc]: added GParamSpecParam, GParamSpecPointer and
GParamSpecCCallback, param specs for G_TYPE_PARAM, G_TYPE_POINTER
and G_TYPE_CCALLBACK respectively.
* gsignal.[hc]: cleanups.
(signal_id_lookup): after walking the anchestry, try interfaces as well.
(g_signal_new): new function to create signals from varargs type list.
(g_signal_connect_closure): closure connection variant that works from
signal name+detail.
(g_signal_connect_data): c handler connection variant that works from
signal name+detail.
(g_signal_emit_valist): emit signal for an instance with paraneters
collected from a va_list.
(g_signal_emit): emit signal, taking parameters from varargs list.
(g_signal_emit_by_name): same as g_signal_emit, working from
signal name+detail.
(signal_emit_R): return whether return_value needs to be altered.
* gtype.[hc]: set log-domain to GRuntime, i'm slowly getting to all
the points that need to reflect the upcoming rename.
melt g_type_conforms_to() functionality into g_type_is_a(), as that
is what we really want (liskov substitution principle).
assorted changes to other files due to conforms_to->is_a.
* gvalue.[hc]: implemented g_value_set_instance() that sets a value
from an instantiatable type via the value_table's collect_value()
function (based on an idea from James Henstridge <james@daa.com.au>).
cleanups/fixes.
* gvaluetypes.[hc]: implement G_TYPE_CCALLBACK and G_TYPE_PARAM.
2000-12-12 07:32:00 +00:00
|
|
|
|
2001-02-12 17:43:44 +00:00
|
|
|
<!-- ##### FUNCTION g_source_connect_indirect ##### -->
|
2000-10-12 15:36:29 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2001-02-12 17:43:44 +00:00
|
|
|
@source:
|
|
|
|
@callback_data:
|
|
|
|
@callback_funcs:
|
2000-10-12 15:36:29 +00:00
|
|
|
|
2001-02-12 17:43:44 +00:00
|
|
|
<!-- ##### FUNCTION g_source_remove_by_source_data ##### -->
|
|
|
|
<para>
|
|
|
|
Removes the first event source found with the given source data.
|
|
|
|
</para>
|
fixed dealing with collection/lcopy of NULL values.
Mon Dec 11 04:44:11 2000 Tim Janik <timj@gtk.org>
* gboxed.c: fixed dealing with collection/lcopy of NULL values.
* gclosure.h: removed insane ramblings, added G_CALLBACK() a casting
convenience macro.
* Makefile.am: cleanups, marshaller generation rules.
* gmarshal.[hc]: new files with GRuntime standard marshallers.
* glib-genmarshal.c: fix log domain, support gruntime standard
marshallers, suport G_TYPE_PARAM, come with extern "C" and
#include gmarshal.h.
* glib-genmarshal.1: reflect glib-genmarshal.c updates.
* gobject.[hc]: implement object constructor. rework parameter
changed notification queueing, we support queue freezes now and
don't dispatch from an idle handler anymore.
parameter->property rename hassle.
implemented ::properties_changed and ::notify::* signals for
property change notification (the later supports property names
as details). added signal connection and named data properties.
(g_signal_connect_object): new function to setup while_alive
connections.
(g_object_class_install_property): sink properties now, since they
are initially floating.
(g_object_steal_data):
(g_object_set_data_full):
(g_object_set_data):
(g_object_get_data): set/get data by using g_datalist_*() functions
directly.
(g_object_queue_param_changed): nuked.
(g_object_freeze_notify): start queueing of property changes (freeze/
thaw calls stack).
(g_object_notify): announce changes of a certain property directly.
(g_object_thaw_notify): process queue of property changes, therefore
emitting GObject::notify::detail with detail being the changed
properties names.
(G_OBJECT_WARN_INVALID_PROPERTY_ID): saner macro variant of former
G_WARN_INVALID_PARAM_ID().
* gparam.[hc]: param specs are now initially floating and need to be
sunken with g_param_spec_sink(), support G_TYPE_PARAM values.
added G_PARAM_CONSTRUCT and G_PARAM_CONSTRUCT_ONLY parameter flags,
required by GObjectClass.constructor().
* gparamspecs.[hc]: added GParamSpecParam, GParamSpecPointer and
GParamSpecCCallback, param specs for G_TYPE_PARAM, G_TYPE_POINTER
and G_TYPE_CCALLBACK respectively.
* gsignal.[hc]: cleanups.
(signal_id_lookup): after walking the anchestry, try interfaces as well.
(g_signal_new): new function to create signals from varargs type list.
(g_signal_connect_closure): closure connection variant that works from
signal name+detail.
(g_signal_connect_data): c handler connection variant that works from
signal name+detail.
(g_signal_emit_valist): emit signal for an instance with paraneters
collected from a va_list.
(g_signal_emit): emit signal, taking parameters from varargs list.
(g_signal_emit_by_name): same as g_signal_emit, working from
signal name+detail.
(signal_emit_R): return whether return_value needs to be altered.
* gtype.[hc]: set log-domain to GRuntime, i'm slowly getting to all
the points that need to reflect the upcoming rename.
melt g_type_conforms_to() functionality into g_type_is_a(), as that
is what we really want (liskov substitution principle).
assorted changes to other files due to conforms_to->is_a.
* gvalue.[hc]: implemented g_value_set_instance() that sets a value
from an instantiatable type via the value_table's collect_value()
function (based on an idea from James Henstridge <james@daa.com.au>).
cleanups/fixes.
* gvaluetypes.[hc]: implement G_TYPE_CCALLBACK and G_TYPE_PARAM.
2000-12-12 07:32:00 +00:00
|
|
|
<para>
|
2001-02-12 17:43:44 +00:00
|
|
|
Event sources are sorted with the highest priority first. Sources with equal
|
|
|
|
priority are stored in the order in which they were added.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@source_data: the source data, which contains information specific to the
|
|
|
|
type of source.
|
|
|
|
@Returns: TRUE if an event source was found and removed.
|
fixed dealing with collection/lcopy of NULL values.
Mon Dec 11 04:44:11 2000 Tim Janik <timj@gtk.org>
* gboxed.c: fixed dealing with collection/lcopy of NULL values.
* gclosure.h: removed insane ramblings, added G_CALLBACK() a casting
convenience macro.
* Makefile.am: cleanups, marshaller generation rules.
* gmarshal.[hc]: new files with GRuntime standard marshallers.
* glib-genmarshal.c: fix log domain, support gruntime standard
marshallers, suport G_TYPE_PARAM, come with extern "C" and
#include gmarshal.h.
* glib-genmarshal.1: reflect glib-genmarshal.c updates.
* gobject.[hc]: implement object constructor. rework parameter
changed notification queueing, we support queue freezes now and
don't dispatch from an idle handler anymore.
parameter->property rename hassle.
implemented ::properties_changed and ::notify::* signals for
property change notification (the later supports property names
as details). added signal connection and named data properties.
(g_signal_connect_object): new function to setup while_alive
connections.
(g_object_class_install_property): sink properties now, since they
are initially floating.
(g_object_steal_data):
(g_object_set_data_full):
(g_object_set_data):
(g_object_get_data): set/get data by using g_datalist_*() functions
directly.
(g_object_queue_param_changed): nuked.
(g_object_freeze_notify): start queueing of property changes (freeze/
thaw calls stack).
(g_object_notify): announce changes of a certain property directly.
(g_object_thaw_notify): process queue of property changes, therefore
emitting GObject::notify::detail with detail being the changed
properties names.
(G_OBJECT_WARN_INVALID_PROPERTY_ID): saner macro variant of former
G_WARN_INVALID_PARAM_ID().
* gparam.[hc]: param specs are now initially floating and need to be
sunken with g_param_spec_sink(), support G_TYPE_PARAM values.
added G_PARAM_CONSTRUCT and G_PARAM_CONSTRUCT_ONLY parameter flags,
required by GObjectClass.constructor().
* gparamspecs.[hc]: added GParamSpecParam, GParamSpecPointer and
GParamSpecCCallback, param specs for G_TYPE_PARAM, G_TYPE_POINTER
and G_TYPE_CCALLBACK respectively.
* gsignal.[hc]: cleanups.
(signal_id_lookup): after walking the anchestry, try interfaces as well.
(g_signal_new): new function to create signals from varargs type list.
(g_signal_connect_closure): closure connection variant that works from
signal name+detail.
(g_signal_connect_data): c handler connection variant that works from
signal name+detail.
(g_signal_emit_valist): emit signal for an instance with paraneters
collected from a va_list.
(g_signal_emit): emit signal, taking parameters from varargs list.
(g_signal_emit_by_name): same as g_signal_emit, working from
signal name+detail.
(signal_emit_R): return whether return_value needs to be altered.
* gtype.[hc]: set log-domain to GRuntime, i'm slowly getting to all
the points that need to reflect the upcoming rename.
melt g_type_conforms_to() functionality into g_type_is_a(), as that
is what we really want (liskov substitution principle).
assorted changes to other files due to conforms_to->is_a.
* gvalue.[hc]: implemented g_value_set_instance() that sets a value
from an instantiatable type via the value_table's collect_value()
function (based on an idea from James Henstridge <james@daa.com.au>).
cleanups/fixes.
* gvaluetypes.[hc]: implement G_TYPE_CCALLBACK and G_TYPE_PARAM.
2000-12-12 07:32:00 +00:00
|
|
|
|
2001-04-03 13:15:41 +00:00
|
|
|
<!-- ##### FUNCTION g_static_private_get_for_thread ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@private_key:
|
|
|
|
@thread:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION g_static_private_set_for_thread ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@private_key:
|
|
|
|
@thread:
|
|
|
|
@data:
|
|
|
|
@notify:
|
|
|
|
|
2001-02-12 17:43:44 +00:00
|
|
|
<!-- ##### MACRO g_string ##### -->
|
|
|
|
<para>
|
|
|
|
Turns the argument into a string literal by using the '#' stringizing operator.
|
fixed dealing with collection/lcopy of NULL values.
Mon Dec 11 04:44:11 2000 Tim Janik <timj@gtk.org>
* gboxed.c: fixed dealing with collection/lcopy of NULL values.
* gclosure.h: removed insane ramblings, added G_CALLBACK() a casting
convenience macro.
* Makefile.am: cleanups, marshaller generation rules.
* gmarshal.[hc]: new files with GRuntime standard marshallers.
* glib-genmarshal.c: fix log domain, support gruntime standard
marshallers, suport G_TYPE_PARAM, come with extern "C" and
#include gmarshal.h.
* glib-genmarshal.1: reflect glib-genmarshal.c updates.
* gobject.[hc]: implement object constructor. rework parameter
changed notification queueing, we support queue freezes now and
don't dispatch from an idle handler anymore.
parameter->property rename hassle.
implemented ::properties_changed and ::notify::* signals for
property change notification (the later supports property names
as details). added signal connection and named data properties.
(g_signal_connect_object): new function to setup while_alive
connections.
(g_object_class_install_property): sink properties now, since they
are initially floating.
(g_object_steal_data):
(g_object_set_data_full):
(g_object_set_data):
(g_object_get_data): set/get data by using g_datalist_*() functions
directly.
(g_object_queue_param_changed): nuked.
(g_object_freeze_notify): start queueing of property changes (freeze/
thaw calls stack).
(g_object_notify): announce changes of a certain property directly.
(g_object_thaw_notify): process queue of property changes, therefore
emitting GObject::notify::detail with detail being the changed
properties names.
(G_OBJECT_WARN_INVALID_PROPERTY_ID): saner macro variant of former
G_WARN_INVALID_PARAM_ID().
* gparam.[hc]: param specs are now initially floating and need to be
sunken with g_param_spec_sink(), support G_TYPE_PARAM values.
added G_PARAM_CONSTRUCT and G_PARAM_CONSTRUCT_ONLY parameter flags,
required by GObjectClass.constructor().
* gparamspecs.[hc]: added GParamSpecParam, GParamSpecPointer and
GParamSpecCCallback, param specs for G_TYPE_PARAM, G_TYPE_POINTER
and G_TYPE_CCALLBACK respectively.
* gsignal.[hc]: cleanups.
(signal_id_lookup): after walking the anchestry, try interfaces as well.
(g_signal_new): new function to create signals from varargs type list.
(g_signal_connect_closure): closure connection variant that works from
signal name+detail.
(g_signal_connect_data): c handler connection variant that works from
signal name+detail.
(g_signal_emit_valist): emit signal for an instance with paraneters
collected from a va_list.
(g_signal_emit): emit signal, taking parameters from varargs list.
(g_signal_emit_by_name): same as g_signal_emit, working from
signal name+detail.
(signal_emit_R): return whether return_value needs to be altered.
* gtype.[hc]: set log-domain to GRuntime, i'm slowly getting to all
the points that need to reflect the upcoming rename.
melt g_type_conforms_to() functionality into g_type_is_a(), as that
is what we really want (liskov substitution principle).
assorted changes to other files due to conforms_to->is_a.
* gvalue.[hc]: implemented g_value_set_instance() that sets a value
from an instantiatable type via the value_table's collect_value()
function (based on an idea from James Henstridge <james@daa.com.au>).
cleanups/fixes.
* gvaluetypes.[hc]: implement G_TYPE_CCALLBACK and G_TYPE_PARAM.
2000-12-12 07:32:00 +00:00
|
|
|
</para>
|
|
|
|
|
2001-02-12 17:43:44 +00:00
|
|
|
@x: text to convert to a literal string.
|
fixed dealing with collection/lcopy of NULL values.
Mon Dec 11 04:44:11 2000 Tim Janik <timj@gtk.org>
* gboxed.c: fixed dealing with collection/lcopy of NULL values.
* gclosure.h: removed insane ramblings, added G_CALLBACK() a casting
convenience macro.
* Makefile.am: cleanups, marshaller generation rules.
* gmarshal.[hc]: new files with GRuntime standard marshallers.
* glib-genmarshal.c: fix log domain, support gruntime standard
marshallers, suport G_TYPE_PARAM, come with extern "C" and
#include gmarshal.h.
* glib-genmarshal.1: reflect glib-genmarshal.c updates.
* gobject.[hc]: implement object constructor. rework parameter
changed notification queueing, we support queue freezes now and
don't dispatch from an idle handler anymore.
parameter->property rename hassle.
implemented ::properties_changed and ::notify::* signals for
property change notification (the later supports property names
as details). added signal connection and named data properties.
(g_signal_connect_object): new function to setup while_alive
connections.
(g_object_class_install_property): sink properties now, since they
are initially floating.
(g_object_steal_data):
(g_object_set_data_full):
(g_object_set_data):
(g_object_get_data): set/get data by using g_datalist_*() functions
directly.
(g_object_queue_param_changed): nuked.
(g_object_freeze_notify): start queueing of property changes (freeze/
thaw calls stack).
(g_object_notify): announce changes of a certain property directly.
(g_object_thaw_notify): process queue of property changes, therefore
emitting GObject::notify::detail with detail being the changed
properties names.
(G_OBJECT_WARN_INVALID_PROPERTY_ID): saner macro variant of former
G_WARN_INVALID_PARAM_ID().
* gparam.[hc]: param specs are now initially floating and need to be
sunken with g_param_spec_sink(), support G_TYPE_PARAM values.
added G_PARAM_CONSTRUCT and G_PARAM_CONSTRUCT_ONLY parameter flags,
required by GObjectClass.constructor().
* gparamspecs.[hc]: added GParamSpecParam, GParamSpecPointer and
GParamSpecCCallback, param specs for G_TYPE_PARAM, G_TYPE_POINTER
and G_TYPE_CCALLBACK respectively.
* gsignal.[hc]: cleanups.
(signal_id_lookup): after walking the anchestry, try interfaces as well.
(g_signal_new): new function to create signals from varargs type list.
(g_signal_connect_closure): closure connection variant that works from
signal name+detail.
(g_signal_connect_data): c handler connection variant that works from
signal name+detail.
(g_signal_emit_valist): emit signal for an instance with paraneters
collected from a va_list.
(g_signal_emit): emit signal, taking parameters from varargs list.
(g_signal_emit_by_name): same as g_signal_emit, working from
signal name+detail.
(signal_emit_R): return whether return_value needs to be altered.
* gtype.[hc]: set log-domain to GRuntime, i'm slowly getting to all
the points that need to reflect the upcoming rename.
melt g_type_conforms_to() functionality into g_type_is_a(), as that
is what we really want (liskov substitution principle).
assorted changes to other files due to conforms_to->is_a.
* gvalue.[hc]: implemented g_value_set_instance() that sets a value
from an instantiatable type via the value_table's collect_value()
function (based on an idea from James Henstridge <james@daa.com.au>).
cleanups/fixes.
* gvaluetypes.[hc]: implement G_TYPE_CCALLBACK and G_TYPE_PARAM.
2000-12-12 07:32:00 +00:00
|
|
|
|
2010-01-30 16:00:51 -05:00
|
|
|
<!-- ##### FUNCTION g_warn_message ##### -->
|
2010-01-30 13:00:01 -05:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2010-01-30 16:00:51 -05:00
|
|
|
@domain:
|
|
|
|
@file:
|
|
|
|
@line:
|
|
|
|
@func:
|
|
|
|
@warnexpr:
|
2010-01-30 13:00:01 -05:00
|
|
|
|
2010-01-30 16:00:51 -05:00
|
|
|
<!-- ##### MACRO getcwd ##### -->
|
2010-01-30 13:00:01 -05:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2010-01-30 16:00:51 -05:00
|
|
|
<!-- ##### MACRO getpid ##### -->
|
2001-01-09 02:18:57 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2010-01-30 16:00:51 -05:00
|
|
|
<!-- ##### VARIABLE glib_binary_age ##### -->
|
2009-11-30 00:09:36 -05:00
|
|
|
<para>
|
2010-01-30 16:00:51 -05:00
|
|
|
This is the binary age passed to <application>libtool</application>. If
|
|
|
|
<application>libtool</application> means nothing to you, don't worry
|
|
|
|
about it. ;-)
|
2009-11-30 00:09:36 -05:00
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2010-01-30 16:00:51 -05:00
|
|
|
<!-- ##### FUNCTION glib_check_version ##### -->
|
2009-11-30 00:09:36 -05:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2010-01-30 16:00:51 -05:00
|
|
|
@required_major:
|
|
|
|
@required_minor:
|
|
|
|
@required_micro:
|
2009-11-30 00:09:36 -05:00
|
|
|
@Returns:
|
|
|
|
|
2010-01-30 16:00:51 -05:00
|
|
|
<!-- ##### VARIABLE glib_interface_age ##### -->
|
2009-11-30 00:09:36 -05:00
|
|
|
<para>
|
2010-01-30 16:00:51 -05:00
|
|
|
This is the interface age passed to <application>libtool</application>. If
|
|
|
|
<application>libtool</application> means nothing to you, don't worry
|
|
|
|
about it. ;-)
|
2009-11-30 00:09:36 -05:00
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2010-01-30 16:00:51 -05:00
|
|
|
<!-- ##### VARIABLE glib_major_version ##### -->
|
2009-11-30 00:09:36 -05:00
|
|
|
<para>
|
2010-01-30 16:00:51 -05:00
|
|
|
The major version number of the GLib library.
|
|
|
|
(e.g. in GLib version 1.2.5 this is 1.)
|
2009-11-30 00:09:36 -05:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2010-01-30 16:00:51 -05:00
|
|
|
This variable is in the library, so represents the
|
|
|
|
GLib library you have linked against. Contrast with the
|
|
|
|
#GLIB_MAJOR_VERSION macro, which represents the major version of the
|
|
|
|
GLib headers you have included.
|
2009-11-30 00:09:36 -05:00
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2010-01-30 16:00:51 -05:00
|
|
|
<!-- ##### VARIABLE glib_micro_version ##### -->
|
2009-11-30 00:09:36 -05:00
|
|
|
<para>
|
2010-01-30 16:00:51 -05:00
|
|
|
The micro version number of the GLib library.
|
|
|
|
(e.g. in GLib version 1.2.5 this is 5.)
|
2009-11-30 00:09:36 -05:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2010-01-30 16:00:51 -05:00
|
|
|
This variable is in the library, so represents the GLib library you
|
|
|
|
have linked against. Contrast with the #GLIB_MICRO_VERSION macro, which
|
|
|
|
represents the micro version of the GLib headers you have included.
|
2009-11-30 00:09:36 -05:00
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2010-01-30 16:00:51 -05:00
|
|
|
<!-- ##### VARIABLE glib_minor_version ##### -->
|
2009-11-30 00:09:36 -05:00
|
|
|
<para>
|
2010-01-30 16:00:51 -05:00
|
|
|
The minor version number of the GLib library.
|
|
|
|
(e.g. in GLib version 1.2.5 this is 2.)
|
2009-11-30 00:09:36 -05:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2010-01-30 16:00:51 -05:00
|
|
|
This variable is in the library, so represents the
|
|
|
|
GLib library you have linked against. Contrast with the
|
|
|
|
#GLIB_MINOR_VERSION macro, which represents the minor version of the
|
|
|
|
GLib headers you have included.
|
2009-11-30 00:09:36 -05:00
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2001-02-12 17:43:44 +00:00
|
|
|
<!-- ##### MACRO lseek ##### -->
|
2001-01-09 02:18:57 +00:00
|
|
|
<para>
|
2001-02-12 17:43:44 +00:00
|
|
|
|
2001-01-09 02:18:57 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2001-02-12 17:43:44 +00:00
|
|
|
<!-- ##### MACRO open ##### -->
|
fixed dealing with collection/lcopy of NULL values.
Mon Dec 11 04:44:11 2000 Tim Janik <timj@gtk.org>
* gboxed.c: fixed dealing with collection/lcopy of NULL values.
* gclosure.h: removed insane ramblings, added G_CALLBACK() a casting
convenience macro.
* Makefile.am: cleanups, marshaller generation rules.
* gmarshal.[hc]: new files with GRuntime standard marshallers.
* glib-genmarshal.c: fix log domain, support gruntime standard
marshallers, suport G_TYPE_PARAM, come with extern "C" and
#include gmarshal.h.
* glib-genmarshal.1: reflect glib-genmarshal.c updates.
* gobject.[hc]: implement object constructor. rework parameter
changed notification queueing, we support queue freezes now and
don't dispatch from an idle handler anymore.
parameter->property rename hassle.
implemented ::properties_changed and ::notify::* signals for
property change notification (the later supports property names
as details). added signal connection and named data properties.
(g_signal_connect_object): new function to setup while_alive
connections.
(g_object_class_install_property): sink properties now, since they
are initially floating.
(g_object_steal_data):
(g_object_set_data_full):
(g_object_set_data):
(g_object_get_data): set/get data by using g_datalist_*() functions
directly.
(g_object_queue_param_changed): nuked.
(g_object_freeze_notify): start queueing of property changes (freeze/
thaw calls stack).
(g_object_notify): announce changes of a certain property directly.
(g_object_thaw_notify): process queue of property changes, therefore
emitting GObject::notify::detail with detail being the changed
properties names.
(G_OBJECT_WARN_INVALID_PROPERTY_ID): saner macro variant of former
G_WARN_INVALID_PARAM_ID().
* gparam.[hc]: param specs are now initially floating and need to be
sunken with g_param_spec_sink(), support G_TYPE_PARAM values.
added G_PARAM_CONSTRUCT and G_PARAM_CONSTRUCT_ONLY parameter flags,
required by GObjectClass.constructor().
* gparamspecs.[hc]: added GParamSpecParam, GParamSpecPointer and
GParamSpecCCallback, param specs for G_TYPE_PARAM, G_TYPE_POINTER
and G_TYPE_CCALLBACK respectively.
* gsignal.[hc]: cleanups.
(signal_id_lookup): after walking the anchestry, try interfaces as well.
(g_signal_new): new function to create signals from varargs type list.
(g_signal_connect_closure): closure connection variant that works from
signal name+detail.
(g_signal_connect_data): c handler connection variant that works from
signal name+detail.
(g_signal_emit_valist): emit signal for an instance with paraneters
collected from a va_list.
(g_signal_emit): emit signal, taking parameters from varargs list.
(g_signal_emit_by_name): same as g_signal_emit, working from
signal name+detail.
(signal_emit_R): return whether return_value needs to be altered.
* gtype.[hc]: set log-domain to GRuntime, i'm slowly getting to all
the points that need to reflect the upcoming rename.
melt g_type_conforms_to() functionality into g_type_is_a(), as that
is what we really want (liskov substitution principle).
assorted changes to other files due to conforms_to->is_a.
* gvalue.[hc]: implemented g_value_set_instance() that sets a value
from an instantiatable type via the value_table's collect_value()
function (based on an idea from James Henstridge <james@daa.com.au>).
cleanups/fixes.
* gvaluetypes.[hc]: implement G_TYPE_CCALLBACK and G_TYPE_PARAM.
2000-12-12 07:32:00 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2001-11-22 18:54:47 +00:00
|
|
|
<!-- ##### FUNCTION opendir ##### -->
|
|
|
|
<para>
|
|
|
|
Provided for UNIX emulation on Windows; see documentation for <function>opendir()</function>
|
|
|
|
in any UNIX manual.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@Param1:
|
|
|
|
@Returns:
|
|
|
|
|
2001-02-12 17:43:44 +00:00
|
|
|
<!-- ##### MACRO pclose ##### -->
|
2001-01-09 02:18:57 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2007-05-23 04:30:07 +00:00
|
|
|
<!-- ##### MACRO pipe ##### -->
|
|
|
|
<para>
|
|
|
|
Provided for UNIX emulation on Windows; see documentation for pipe()
|
|
|
|
in any UNIX manual.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@phandles: file descriptors, the first one for reading, the second one for writing.
|
|
|
|
|
2001-02-12 17:43:44 +00:00
|
|
|
<!-- ##### MACRO popen ##### -->
|
2001-01-09 02:18:57 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2001-02-12 17:43:44 +00:00
|
|
|
<!-- ##### MACRO read ##### -->
|
2001-01-09 02:18:57 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2001-10-06 09:25:09 +00:00
|
|
|
<!-- ##### MACRO readdir ##### -->
|
|
|
|
<para>
|
|
|
|
Provided for UNIX emulation on Windows; see documentation for <function>readdir()</function>
|
|
|
|
in any UNIX manual.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2001-11-22 18:54:47 +00:00
|
|
|
<!-- ##### FUNCTION rewinddir ##### -->
|
|
|
|
<para>
|
|
|
|
Provided for UNIX emulation on Windows; see documentation for <function>rewinddir()</function>
|
|
|
|
in any UNIX manual.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@Param1:
|
|
|
|
|
2001-02-12 17:43:44 +00:00
|
|
|
<!-- ##### MACRO write ##### -->
|
2001-01-09 02:18:57 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|