📄 glib-sections.txt
字号:
g_strfreev
g_strconcat
g_strjoin
g_strjoinv
<SUBSECTION>
g_strerror
g_strsignal
<SUBSECTION Private>
GAsciiType
</SECTION>
<SECTION>
<TITLE>Date and Time Functions</TITLE>
<FILE>date</FILE>
G_USEC_PER_SEC
GTimeVal
g_get_current_time
g_usleep
g_time_val_add
<SUBSECTION>
GDate
GTime
GDateDMY
GDateDay
GDateMonth
GDateYear
GDateWeekday
<SUBSECTION>
G_DATE_BAD_DAY
G_DATE_BAD_JULIAN
G_DATE_BAD_YEAR
<SUBSECTION>
g_date_new
g_date_new_dmy
g_date_new_julian
g_date_clear
g_date_free
<SUBSECTION>
g_date_set_day
g_date_set_month
g_date_set_year
g_date_set_dmy
g_date_set_julian
g_date_set_time
g_date_set_parse
<SUBSECTION>
g_date_add_days
g_date_subtract_days
g_date_add_months
g_date_subtract_months
g_date_add_years
g_date_subtract_years
g_date_days_between
g_date_compare
g_date_clamp
g_date_order
<SUBSECTION>
g_date_get_day
g_date_get_month
g_date_get_year
g_date_get_julian
g_date_get_weekday
g_date_get_day_of_year
<SUBSECTION>
g_date_get_days_in_month
g_date_is_first_of_month
g_date_is_last_of_month
g_date_is_leap_year
g_date_get_monday_week_of_year
g_date_get_monday_weeks_in_year
g_date_get_sunday_week_of_year
g_date_get_sunday_weeks_in_year
<SUBSECTION>
g_date_strftime
g_date_to_struct_tm
<SUBSECTION>
g_date_valid
g_date_valid_day
g_date_valid_month
g_date_valid_year
g_date_valid_dmy
g_date_valid_julian
g_date_valid_weekday
<SUBSECTION Private>
g_date_weekday
g_date_month
g_date_year
g_date_day
g_date_julian
g_date_day_of_year
g_date_monday_week_of_year
g_date_sunday_week_of_year
g_date_days_in_month
g_date_monday_weeks_in_year
g_date_sunday_weeks_in_year
</SECTION>
<SECTION>
<TITLE>Hook Functions</TITLE>
<FILE>hooks</FILE>
GHookList
GHookFinalizeFunc
GHook
GHookFunc
GHookCheckFunc
<SUBSECTION>
g_hook_list_init
g_hook_list_invoke
g_hook_list_invoke_check
g_hook_list_marshal
GHookMarshaller
g_hook_list_marshal_check
GHookCheckMarshaller
g_hook_list_clear
<SUBSECTION>
g_hook_alloc
g_hook_append
g_hook_prepend
g_hook_insert_before
g_hook_insert_sorted
GHookCompareFunc
g_hook_compare_ids
<SUBSECTION>
g_hook_get
g_hook_find
GHookFindFunc
g_hook_find_data
g_hook_find_func
g_hook_find_func_data
<SUBSECTION>
g_hook_first_valid
g_hook_next_valid
GHookFlagMask
G_HOOK_FLAGS
G_HOOK_FLAG_USER_SHIFT
<SUBSECTION>
G_HOOK
G_HOOK_IS_VALID
G_HOOK_ACTIVE
G_HOOK_IN_CALL
G_HOOK_IS_UNLINKED
<SUBSECTION>
g_hook_ref
g_hook_unref
g_hook_free
g_hook_destroy
g_hook_destroy_link
</SECTION>
<SECTION>
<TITLE>Miscellaneous Utility Functions</TITLE>
<FILE>misc_utils</FILE>
g_get_prgname
g_set_prgname
g_getenv
g_get_user_name
g_get_real_name
<SUBSECTION>
g_get_home_dir
g_get_tmp_dir
g_get_current_dir
g_basename
g_dirname
g_path_is_absolute
g_path_skip_root
g_path_get_basename
g_path_get_dirname
g_build_filename
g_build_path
<SUBSECTION>
g_find_program_in_path
<SUBSECTION>
g_bit_nth_lsf
g_bit_nth_msf
g_bit_storage
<SUBSECTION>
g_spaced_primes_closest
<SUBSECTION>
g_atexit
<SUBSECTION>
g_parse_debug_string
GDebugKey
<SUBSECTION>
GVoidFunc
GFreeFunc
<SUBSECTION>
g_qsort_with_data
<SUBSECTION>
g_nullify_pointer
<SUBSECTION Private>
G_NATIVE_ATEXIT
g_ATEXIT
ATEXIT
</SECTION>
<SECTION>
<TITLE>Lexical Scanner</TITLE>
<FILE>scanner</FILE>
GScanner
g_scanner_new
GScannerConfig
<SUBSECTION>
g_scanner_input_file
g_scanner_sync_file_offset
g_scanner_input_text
g_scanner_peek_next_token
g_scanner_get_next_token
<SUBSECTION>
g_scanner_cur_line
g_scanner_cur_position
g_scanner_cur_token
g_scanner_cur_value
g_scanner_eof
<SUBSECTION>
g_scanner_set_scope
g_scanner_scope_add_symbol
g_scanner_scope_foreach_symbol
g_scanner_scope_lookup_symbol
g_scanner_scope_remove_symbol
<SUBSECTION>
g_scanner_freeze_symbol_table
g_scanner_thaw_symbol_table
g_scanner_lookup_symbol
<SUBSECTION>
g_scanner_warn
g_scanner_error
g_scanner_unexp_token
GScannerMsgFunc
<SUBSECTION>
g_scanner_destroy
<SUBSECTION>
GTokenType
GTokenValue
GErrorType
G_CSET_a_2_z
G_CSET_A_2_Z
G_CSET_DIGITS
G_CSET_LATINC
G_CSET_LATINS
<SUBSECTION>
g_scanner_add_symbol
g_scanner_remove_symbol
g_scanner_foreach_symbol
</SECTION>
<SECTION>
<TITLE>Dynamic Loading of Modules</TITLE>
<FILE>modules</FILE>
<INCLUDE>gmodule.h</INCLUDE>
GModule
g_module_supported
g_module_build_path
g_module_open
GModuleFlags
g_module_symbol
g_module_name
g_module_make_resident
g_module_close
g_module_error
<SUBSECTION>
GModuleCheckInit
GModuleUnload
G_MODULE_SUFFIX
G_MODULE_EXPORT
G_MODULE_IMPORT
</SECTION>
<SECTION>
<TITLE>Automatic String Completion</TITLE>
<FILE>completion</FILE>
GCompletion
g_completion_new
GCompletionFunc
g_completion_add_items
g_completion_remove_items
g_completion_clear_items
g_completion_complete
g_completion_set_compare
GCompletionStrncmpFunc
g_completion_free
</SECTION>
<SECTION>
<TITLE>Windows Compatability Functions</TITLE>
<FILE>windows</FILE>
MAXPATHLEN
pid_t
pipe
ftruncate
g_win32_error_message
g_win32_getlocale
g_win32_get_package_installation_directory
g_win32_get_package_installation_subdirectory
G_WIN32_DLLMAIN_FOR_DLL_NAME
<SUBSECTION Private>
g_win32_ftruncate
</SECTION>
# Data Structures
<SECTION>
<TITLE>Memory Chunks</TITLE>
<FILE>memory_chunks</FILE>
GMemChunk
G_ALLOC_AND_FREE
G_ALLOC_ONLY
<SUBSECTION>
g_mem_chunk_new
g_mem_chunk_alloc
g_mem_chunk_alloc0
g_mem_chunk_free
g_mem_chunk_destroy
<SUBSECTION>
g_mem_chunk_create
g_chunk_new
g_chunk_new0
g_chunk_free
<SUBSECTION>
g_mem_chunk_reset
g_mem_chunk_clean
g_blow_chunks
<SUBSECTION>
g_mem_chunk_info
g_mem_chunk_print
</SECTION>
<SECTION>
<TITLE>Doubly-Linked Lists</TITLE>
<FILE>linked_lists_double</FILE>
GList
<SUBSECTION>
g_list_append
g_list_prepend
g_list_insert
g_list_insert_before
g_list_insert_sorted
g_list_remove
g_list_remove_link
g_list_delete_link
g_list_remove_all
g_list_free
<SUBSECTION>
g_list_alloc
g_list_free_1
<SUBSECTION>
g_list_length
g_list_copy
g_list_reverse
g_list_sort
GCompareFunc
g_list_sort_with_data
GCompareDataFunc
g_list_concat
g_list_foreach
GFunc
<SUBSECTION>
g_list_first
g_list_last
g_list_previous
g_list_next
g_list_nth
g_list_nth_data
g_list_nth_prev
<SUBSECTION>
g_list_find
g_list_find_custom
g_list_position
g_list_index
<SUBSECTION>
g_list_push_allocator
g_list_pop_allocator
</SECTION>
<SECTION>
<TITLE>Singly-Linked Lists</TITLE>
<FILE>linked_lists_single</FILE>
GSList
<SUBSECTION>
g_slist_alloc
g_slist_append
g_slist_prepend
g_slist_insert
g_slist_insert_before
g_slist_insert_sorted
g_slist_remove
g_slist_remove_link
g_slist_delete_link
g_slist_remove_all
g_slist_free
g_slist_free_1
<SUBSECTION>
g_slist_length
g_slist_copy
g_slist_reverse
g_slist_sort
g_slist_sort_with_data
g_slist_concat
g_slist_foreach
<SUBSECTION>
g_slist_last
g_slist_next
g_slist_nth
g_slist_nth_data
<SUBSECTION>
g_slist_find
g_slist_find_custom
g_slist_position
g_slist_index
<SUBSECTION>
g_slist_push_allocator
g_slist_pop_allocator
</SECTION>
<SECTION>
<TITLE>Double-ended Queues</TITLE>
<FILE>queue</FILE>
GQueue
g_queue_new
g_queue_free
g_queue_push_head
g_queue_push_tail
g_queue_pop_head
g_queue_pop_tail
g_queue_is_empty
g_queue_peek_head
g_queue_peek_tail
g_queue_push_head_link
g_queue_push_tail_link
g_queue_pop_head_link
g_queue_pop_tail_link
</SECTION>
<SECTION>
<TITLE>Trash Stacks</TITLE>
<FILE>trash_stack</FILE>
GTrashStack
g_trash_stack_push
g_trash_stack_pop
g_trash_stack_peek
g_trash_stack_height
</SECTION>
<SECTION>
<TITLE>Hash Tables</TITLE>
<FILE>hash_tables</FILE>
GHashTable
g_hash_table_new
g_hash_table_new_full
GHashFunc
GEqualFunc
g_hash_table_insert
g_hash_table_replace
g_hash_table_size
g_hash_table_lookup
g_hash_table_lookup_extended
g_hash_table_foreach
GHFunc
g_hash_table_remove
g_hash_table_steal
g_hash_table_foreach_remove
g_hash_table_foreach_steal
GHRFunc
g_hash_table_freeze
g_hash_table_thaw
g_hash_table_destroy
<SUBSECTION>
g_direct_equal
g_direct_hash
g_int_equal
g_int_hash
g_str_equal
g_str_hash
</SECTION>
<SECTION>
<TITLE>Strings</TITLE>
<FILE>strings</FILE>
GString
g_string_new
g_string_new_len
g_string_sized_new
g_string_assign
g_string_sprintf
g_string_sprintfa
g_string_printf
g_string_append_printf
g_string_append
g_string_append_c
g_string_append_unichar
g_string_append_len
g_string_prepend
g_string_prepend_c
g_string_prepend_unichar
g_string_prepend_len
g_string_insert
g_string_insert_c
g_string_insert_unichar
g_string_insert_len
g_string_erase
g_string_truncate
g_string_set_size
g_string_free
<SUBSECTION>
g_string_up
g_string_down
<SUBSECTION>
g_string_hash
g_string_equal
</SECTION>
<SECTION>
<TITLE>String Chunks</TITLE>
<FILE>string_chunks</FILE>
GStringChunk
g_string_chunk_new
g_string_chunk_insert
g_string_chunk_insert_const
g_string_chunk_free
</SECTION>
<SECTION>
<TITLE>Arrays</TITLE>
<FILE>arrays</FILE>
GArray
g_array_new
g_array_sized_new
g_array_append_val
g_array_append_vals
g_array_prepend_val
g_array_prepend_vals
g_array_insert_val
g_array_insert_vals
g_array_remove_index
g_array_remove_index_fast
g_array_sort
g_array_sort_with_data
g_array_index
g_array_set_size
g_array_free
</SECTION>
<SECTION>
<TITLE>Pointer Arrays</TITLE>
<FILE>arrays_pointer</FILE>
GPtrArray
g_ptr_array_new
g_ptr_array_sized_new
g_ptr_array_add
g_ptr_array_remove
g_ptr_array_remove_index
g_ptr_array_remove_fast
g_ptr_array_remove_index_fast
g_ptr_array_sort
g_ptr_array_sort_with_data
g_ptr_array_set_size
g_ptr_array_index
g_ptr_array_free
</SECTION>
<SECTION>
<TITLE>Byte Arrays</TITLE>
<FILE>arrays_byte</FILE>
GByteArray
g_byte_array_new
g_byte_array_sized_new
g_byte_array_append
g_byte_array_prepend
g_byte_array_remove_index
g_byte_array_remove_index_fast
g_byte_array_sort
g_byte_array_sort_with_data
g_byte_array_set_size
g_byte_array_free
</SECTION>
<SECTION>
<TITLE>Balanced Binary Trees</TITLE>
<FILE>trees-binary</FILE>
GTree
g_tree_new
g_tree_new_with_data
g_tree_new_full
g_tree_insert
g_tree_replace
g_tree_nnodes
g_tree_height
g_tree_lookup
g_tree_lookup_extended
g_tree_foreach
g_tree_traverse
GTraverseFunc
GTraverseType
g_tree_search
g_tree_remove
g_tree_steal
g_tree_destroy
</SECTION>
<SECTION>
<TITLE>N-ary Trees</TITLE>
<FILE>trees-nary</FILE>
GNode
g_node_new
g_node_copy
<SUBSECTION>
g_node_insert
g_node_insert_before
g_node_insert_after
g_node_append
g_node_prepend
<SUBSECTION>
g_node_insert_data
g_node_insert_data_before
g_node_append_data
g_node_prepend_data
<SUBSECTION>
g_node_reverse_children
g_node_traverse
GTraverseFlags
GNodeTraverseFunc
g_node_children_foreach
GNodeForeachFunc
<SUBSECTION>
g_node_get_root
g_node_find
g_node_find_child
g_node_child_index
g_node_child_position
g_node_first_child
g_node_last_child
g_node_nth_child
g_node_first_sibling
g_node_next_sibling
g_node_prev_sibling
g_node_last_sibling
<SUBSECTION>
G_NODE_IS_LEAF
G_NODE_IS_ROOT
g_node_depth
g_node_n_nodes
g_node_n_children
g_node_is_ancestor
g_node_max_height
<SUBSECTION>
g_node_unlink
g_node_destroy
<SUBSECTION>
g_node_push_allocator
g_node_pop_allocator
</SECTION>
<SECTION>
<TITLE>Quarks</TITLE>
<FILE>quarks</FILE>
GQuark
g_quark_from_string
g_quark_from_static_string
g_quark_to_string
g_quark_try_string
</SECTION>
<SECTION>
<TITLE>Keyed Data Lists</TITLE>
<FILE>datalist</FILE>
GData
g_datalist_init
<SUBSECTION>
g_datalist_id_set_data
g_datalist_id_set_data_full
g_datalist_id_get_data
g_datalist_id_remove_data
g_datalist_id_remove_no_notify
<SUBSECTION>
g_datalist_set_data
g_datalist_set_data_full
g_datalist_get_data
g_datalist_remove_data
g_datalist_remove_no_notify
<SUBSECTION>
g_datalist_foreach
g_datalist_clear
</SECTION>
<SECTION>
<TITLE>Datasets</TITLE>
<FILE>datasets</FILE>
g_dataset_id_set_data
g_dataset_id_set_data_full
GDestroyNotify
g_dataset_id_get_data
g_dataset_id_remove_data
g_dataset_id_remove_no_notify
<SUBSECTION>
g_dataset_set_data
g_dataset_set_data_full
g_dataset_get_data
g_dataset_remove_data
g_dataset_remove_no_notify
<SUBSECTION>
g_dataset_foreach
GDataForeachFunc
g_dataset_destroy
</SECTION>
<SECTION>
<TITLE>Relations and Tuples</TITLE>
<FILE>relations</FILE>
GRelation
g_relation_new
g_relation_index
g_relation_insert
g_relation_exists
g_relation_count
g_relation_select
g_relation_delete
g_relation_destroy
<SUBSECTION>
g_relation_print
<SUBSECTION>
GTuples
g_tuples_destroy
g_tuples_index
</SECTION>
<SECTION>
<TITLE>Caches</TITLE>
<FILE>caches</FILE>
GCache
g_cache_new
g_cache_insert
g_cache_remove
g_cache_destroy
<SUBSECTION>
g_cache_key_foreach
g_cache_value_foreach
<SUBSECTION>
GCacheDestroyFunc
GCacheDupFunc
GCacheNewFunc
</SECTION>
<SECTION>
<TITLE>Memory Allocators</TITLE>
<FILE>allocators</FILE>
GAllocator
g_allocator_new
g_allocator_free
<SUBSECTION Private>
G_ALLOCATOR_LIST
G_ALLOCATOR_NODE
G_ALLOCATOR_SLIST
</SECTION>
<SECTION>
<TITLE>Random Numbers</TITLE>
<FILE>random_numbers</FILE>
GRand
g_rand_new_with_seed
g_rand_new
g_rand_free
g_rand_set_seed
g_rand_boolean
g_rand_int
g_rand_int_range
g_rand_double
g_rand_double_range
g_random_set_seed
g_random_boolean
g_random_int
g_random_int_range
g_random_double
g_random_double_range
</SECTION>
<SECTION>
<TITLE>Character Set Conversion</TITLE>
<FILE>conversions</FILE>
g_convert
g_convert_with_fallback
g_convert_with_iconv
G_CONVERT_ERROR
g_iconv_open
g_iconv
g_iconv_close
g_locale_to_utf8
g_filename_to_utf8
g_filename_from_utf8
g_filename_from_uri
g_filename_to_uri
g_locale_from_utf8
GConvertError
<SUBSECTION>
g_get_charset
<SUBSECTION Private>
g_convert_error_quark
</SECTION>
<SECTION>
<TITLE>Unicode Manipulation</TITLE>
<FILE>unicode</FILE>
gunichar
gunichar2
<SUBSECTION>
g_unichar_validate
g_unichar_isalnum
g_unichar_isalpha
g_unichar_iscntrl
g_unichar_isdigit
g_unichar_isgraph
g_unichar_islower
g_unichar_isprint
g_unichar_ispunct
g_unichar_isspace
g_unichar_isupper
g_unichar_isxdigit
g_unichar_istitle
g_unichar_isdefined
g_unichar_iswide
g_unichar_toupper
g_unichar_tolower
g_unichar_totitle
g_unichar_digit_value
g_unichar_xdigit_value
GUnicodeType
g_unichar_type
GUnicodeBreakType
g_unichar_break_type
g_unicode_canonical_ordering
g_unicode_canonical_decomposition
<SUBSECTION>
g_utf8_next_char
g_utf8_get_char
g_utf8_get_char_validated
g_utf8_offset_to_pointer
g_utf8_pointer_to_offset
g_utf8_prev_char
g_utf8_find_next_char
g_utf8_find_prev_char
g_utf8_strlen
g_utf8_strncpy
g_utf8_strchr
g_utf8_strrchr
g_utf8_validate
<SUBSECTION>
g_utf8_strup
g_utf8_strdown
g_utf8_casefold
g_utf8_normalize
GNormalizeMode
g_utf8_collate
g_utf8_collate_key
<SUBSECTION>
g_utf8_to_utf16
g_utf8_to_ucs4
g_utf8_to_ucs4_fast
g_utf16_to_ucs4
g_utf16_to_utf8
g_ucs4_to_utf16
g_ucs4_to_utf8
g_unichar_to_utf8
</SECTION>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -