Gtk 1
This presentation is the property of its rightful owner.
Sponsored Links
1 / 16

GTK 프로그래밍 ( 1 ) PowerPoint PPT Presentation


  • 124 Views
  • Uploaded on
  • Presentation posted in: General

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

Download Presentation

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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Gtk 1

GTK 프로그래밍 ( 1 )

SNSLAB

발표 : 문동규


Gnome

GNOME ?

  • GNOME

    GNU Network Object Model Environment

  • GNOME의 기본 툴킷

    - GTK+ (GIMP toolkit)


Gnome architecture

GNOME Architecture


Qt architecture

Qt Architecture


Gtk 1

GTK ?

  • object oriented application programmers interface

  • Multi-platform toolkit for creating graphical user interfaces .

  • C로 구현

  • 클래스 개념, callback 함수사용

  • Ada, C++, Pascal, Perl 등과 결합


Gtk 1

GTK 구성요소

Glib

GIMP 툴킷

GDK

Xlib

X 네트워크 프로토콜


Gtk history

GTK history


Gtk 2 0 libraries

Gtk+ 2.0 libraries

  • Glib

    A general-purpose utility library

  • Pango

    internationalized text handling

  • ATK

    Accessibility Toolkit

  • GdkPixbuf

    image data or image files


Gtk 2 0 libraries1

Gtk+ 2.0 libraries (계속)

  • GDK

    Provides drawing and window system facilities.

  • GTK +

    Contains widgets.


Gtk 1

GLIB 데이터형

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


Widget

Widget 계층구조

  • Widget ?

  • GtkObject

    +--- GtkWidget

    +-- GtkContainer

    +-- GtkBin

    +-- GtkWindow

    +--GnomeApp


Gtk 1

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


Gtk installed

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)


Compile

Compile

  • pkg-config 유틸리티 명령제공

  • pkg-config 옵션

gcc example.c –o example ‘pkg-config –libs –cflags’


Compile1

Compile 예제


Gtk 1

참고자료

  • 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


  • Login