ebooksgratis.com

See also ebooksgratis.com: no banners, no cookies, totally FREE.

CLASSICISTRANIERI HOME PAGE - YOUTUBE CHANNEL
Privacy Policy Cookie Policy Terms and Conditions
GLib - Wikipedia, the free encyclopedia

GLib

From Wikipedia, the free encyclopedia

In computing, GLib refers to a cross-platform software utility library. It started life as part of the GTK+ project, however, before releasing version 2 of GTK+, the project's developers decided to separate non-GUI-specific code from the GTK+ platform, thus creating GLib as a separate product. GLib was released as a separate library so other developers, those that did not make use of the GUI-related portions of GTK+, could make use of the non-GUI portions of the library without the overhead of depending on a full-blown GUI library.

Since GLib is a cross-platform library, applications using it to interface with the operating system are usually portable across different operating systems without major changes.[citation needed]

[edit] Features

Some features of GLib include:

A number of data structures (and their related operations) are also defined, including:

  • memory chunks
  • doubly- and singly-linked lists
  • hash tables (associative arrays)
  • strings (which can grow dynamically)
  • string chunks (groups of strings)
  • arrays (which can grow in size as elements are added)
  • balanced binary trees
  • N-ary trees
  • quarks (a two-way association of a string and a unique integer identifier)
  • keyed data lists (lists of data elements accessible by a string or integer id)
  • relations and tuples (tables of data which can be indexed on any number of fields)
  • caches.

[edit] Similar projects

For many applications, C with GLib is an alternative to C++ with STL (see GObject for a detailed comparison).

GLib, together with GTK+, can be considered similar in scope and purpose to the Windows API. However, applications using the Windows API are not portable to other operating systems, unless the calls are replaced with their equivalents in the target system.

Other widget toolkits usually also provide low-level functions and implementations of data structures. An example is the wxWidgets library, where the non-GUI functions are in the wxBase library.

[edit] External links


aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu -