mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-12-08 09:34:50 +01:00
Commit accumulated changes.
This commit is contained in:
@@ -15,7 +15,8 @@ A #GCompletion is created using g_completion_new().
|
|||||||
Target items are added and removed with
|
Target items are added and removed with
|
||||||
g_completion_add_items(), g_completion_remove_items() and
|
g_completion_add_items(), g_completion_remove_items() and
|
||||||
g_completion_clear_items().
|
g_completion_clear_items().
|
||||||
A completion attempt is requested with g_completion_complete().
|
A completion attempt is requested with g_completion_complete() or
|
||||||
|
g_completion_complete_utf8().
|
||||||
When no longer needed, the #GCompletion is freed with g_completion_free().
|
When no longer needed, the #GCompletion is freed with g_completion_free().
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
@@ -40,7 +41,8 @@ The data structure used for automatic completion.
|
|||||||
@items: list of target items (strings or data structures).
|
@items: list of target items (strings or data structures).
|
||||||
@func: function which is called to get the string associated with a target
|
@func: function which is called to get the string associated with a target
|
||||||
item. It is %NULL if the target items are strings.
|
item. It is %NULL if the target items are strings.
|
||||||
@prefix: the last prefix passed to g_completion_complete().
|
@prefix: the last prefix passed to g_completion_complete() or
|
||||||
|
g_completion_complete_utf8().
|
||||||
@cache: the list of items which begin with @prefix.
|
@cache: the list of items which begin with @prefix.
|
||||||
@strncmp_func:
|
@strncmp_func:
|
||||||
|
|
||||||
|
|||||||
@@ -614,6 +614,15 @@ to be a Sunday.)
|
|||||||
@Returns: number of weeks.
|
@Returns: number of weeks.
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_date_get_iso8601_week_of_year ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@date:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_date_strftime ##### -->
|
<!-- ##### FUNCTION g_date_strftime ##### -->
|
||||||
<para>
|
<para>
|
||||||
Generates a printed representation of the date, in a locale-specific
|
Generates a printed representation of the date, in a locale-specific
|
||||||
|
|||||||
@@ -180,6 +180,15 @@ in any UNIX manual.
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### MACRO ftruncate ##### -->
|
||||||
|
<para>
|
||||||
|
Provided for UNIX emulation on Windows; see documentation for <function>ftruncate()</function>
|
||||||
|
in any UNIX manual.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@fd:
|
||||||
|
@size:
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_channel_error_from_errno ##### -->
|
<!-- ##### FUNCTION g_channel_error_from_errno ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
|
|||||||
@@ -93,3 +93,11 @@ be directly used, e.g. in string array initializers.
|
|||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_get_language_names ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -123,13 +123,29 @@ returned.
|
|||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_get_system_data_dirs ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_get_system_config_dirs ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_get_home_dir ##### -->
|
<!-- ##### FUNCTION g_get_home_dir ##### -->
|
||||||
<para>
|
<para>
|
||||||
Gets the current user's home directory.
|
Gets the current user's home directory.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
Note that in contrast to traditional Unix tools, this function
|
Note that in contrast to traditional Unix tools, this function
|
||||||
prefers <filename>passwd</filename> entries over the <envar>HOME<envar>
|
prefers <filename>passwd</filename> entries over the <envar>HOME</envar>
|
||||||
environment variable.
|
environment variable.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|||||||
@@ -879,6 +879,15 @@ Joins a number of strings together to form one long string, with the optional
|
|||||||
together, with @separator between them.
|
together, with @separator between them.
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION g_strv_length ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@str_array:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_strerror ##### -->
|
<!-- ##### FUNCTION g_strerror ##### -->
|
||||||
<para>
|
<para>
|
||||||
Returns a string corresponding to the given error code, e.g. "no such process".
|
Returns a string corresponding to the given error code, e.g. "no such process".
|
||||||
|
|||||||
@@ -155,6 +155,8 @@ Adds a character onto the end of a #GString, expanding it if necessary.
|
|||||||
@string: a #GString.
|
@string: a #GString.
|
||||||
@c: the character to append onto the end of the #GString.
|
@c: the character to append onto the end of the #GString.
|
||||||
@Returns: the #GString.
|
@Returns: the #GString.
|
||||||
|
<!-- # Unused Parameters # -->
|
||||||
|
@gstr:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_string_append_unichar ##### -->
|
<!-- ##### FUNCTION g_string_append_unichar ##### -->
|
||||||
|
|||||||
@@ -38,16 +38,6 @@ in any UNIX manual.
|
|||||||
@phandles:
|
@phandles:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO ftruncate ##### -->
|
|
||||||
<para>
|
|
||||||
Provided for UNIX emulation on Windows; see documentation for <function>ftruncate()</function>
|
|
||||||
in any UNIX manual.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@fd:
|
|
||||||
@size:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_win32_error_message ##### -->
|
<!-- ##### FUNCTION g_win32_error_message ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user