gtk tutorial
<< 未成完,待補 >>
更新記錄
item | note |
---|---|
2016713 | 第一版 |
20161220 | 新增: gkt+安裝 |
目錄
gkt+安裝
下載目前,fedora24使用的gtk+ (2.24.30)
gtk+-2.24.30.tar.xz解開
1
tar -xvJf gtk+-2.24.30.tar.xz
參考INSTALL說明
1
2
3./configure
make
make install測試
1
gtk-demo
Introduction to GTK+
- The library is created in C programming language
- The GTK+ library is also called the GIMP toolkit
The GTK+ is an object-oriented application programming interface.
The GTK+ itself depends on the following libraries
Overview of GTK+ and its Libraries- GLib
a low-level core library that forms the basis of GTK+.
The GLib Object System (GObject) was originally a part of the GTK+ 1 library - Pango
library for layout and rendering of text with an emphasis on internationalization. - Cairo
a library for 2D graphics with support for multiple output devices - ATK
a library for a set of interfaces providing accessibility - GDK
The GIMP Drawing Kit (GDK) is a computer graphics library originally designed for the X Window System that wraps around low-level drawing and window functions - GdkPixbuf
GdkPixbuf is a small library that provides client-side image manipulation functions
It was created as a replacement for the GNOME Imaging Model (Imlib)
- GLib
GLib
- GLib provides advanced data structures, such as memory chunks, doubly and singly linked lists, hash tables, dynamic strings and string utilities
- The GLib package consisted of five libraries, but they were all merged into one library, since then named simply Glib
- GObject – an object system, includes the type system GType
- Glib
- GModule
- GThread
- GIO: GIO (Gnome Input/Output) is a library, designed to present programmers with a modern and usable interface to a virtual file system