1 / 16

GTK 프로그래밍 ( 1 )

GTK 프로그래밍 ( 1 ). SNSLAB 발표 : 문동규. GNOME ?. GNOME GNU Network Object Model Environment GNOME 의 기본 툴킷 - GTK+ (GIMP toolkit). GNOME Architecture. Qt Architecture. GTK ?. object oriented application programmers interface

misu
Télécharger la présentation

GTK 프로그래밍 ( 1 )

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. GTK 프로그래밍 ( 1 ) SNSLAB 발표 : 문동규

  2. GNOME ? • GNOME GNU Network Object Model Environment • GNOME의 기본 툴킷 - GTK+ (GIMP toolkit)

  3. GNOME Architecture

  4. Qt Architecture

  5. GTK ? • object oriented application programmers interface • Multi-platform toolkit for creating graphical user interfaces . • C로 구현 • 클래스 개념, callback 함수사용 • Ada, C++, Pascal, Perl 등과 결합

  6. GTK 구성요소 Glib GIMP 툴킷 GDK Xlib X 네트워크 프로토콜

  7. GTK history

  8. Gtk+ 2.0 libraries • Glib A general-purpose utility library • Pango internationalized text handling • ATK Accessibility Toolkit • GdkPixbuf image data or image files

  9. Gtk+ 2.0 libraries (계속) • GDK Provides drawing and window system facilities. • GTK + Contains widgets.

  10. GLIB 데이터형 • 자체적인 기본데이터형을 정의

  11. Widget 계층구조 • Widget ? • GtkObject +--- GtkWidget +-- GtkContainer +-- GtkBin +-- GtkWindow +--GnomeApp

  12. GTK – 어플리케이션 내부 계층구조

  13. GTK+ installed • 필요 libraries • pkg-config (pkg-config Site) • GNU make (GNU make Site) • JPEG, PNG and TIFF image libraries (GTK+ Site) • FreeType (FreeType Site) • fontconfig (fontconfig Site) • GNU libiconv library (GNU libiconv Site) • GNU gettext (GTK+ Site) • GLib (GTK+ Site) • Pango (GTK+ Site) • ATK (GTK+ Site) • GTK+ (GTK+ Site)

  14. Compile • pkg-config 유틸리티 명령제공 • pkg-config 옵션 gcc example.c –o example ‘pkg-config –libs –cflags’

  15. Compile 예제

  16. 참고자료 • GTK+ 만든 Applications • GIMP (http://www.gimp.org/), an image manipulation program • AbiWord (http://www.abiword.com/), a professional word processor • Dia (http://www.lysator.liu.se/~alla/dia/dia.html), a diagram creation program • Gnu Cash (http://www.gnucash.org/), a personal finance manager • Gnumeric (http://www.gnome.org/projects/gnumeric/), the GNOME spreadsheet application • Glade (http://glade.gnome.org/), a GTK+ based RAD tool which produces GTK+ and GNOME applications • Anjuta (http://anjuta.sourceforge.net/), a versatile Integrated Development Environment (IDE) using C and C++ for GTK+ and GIMP

More Related