Presentation is loading. Please wait.

Presentation is loading. Please wait.

The Basic Usage and The Event Handling in Glade.

Similar presentations


Presentation on theme: "The Basic Usage and The Event Handling in Glade."— Presentation transcript:

1 The Basic Usage and The Event Handling in Glade.
Sung-Ju Kang Department of Physics Kangwon National University Diagram for the GUI program running in GTK library. Application GNOME Libs The basic background knowledge GTK GDK Used to make Pix Map and Color Font GLib The low-level cord library Xlib

2 Tool for GTK Free user interface builder for GTK+. GLADE Dev-C++ 4
Full-featured integrated development environment. GLADE Free user interface builder for GTK+.

3 Main Window It lists all of the windows and dialogs making up your project. Double-clicking on an item in the list shows the corresponding window or dialog. Menu and toolbar commands enable you to create new projects, load and save them, and build the source code.

4 Widget Palette Window The most important window in Glade is the widget palette. It shows icons representing all of the widgets which are available. To add new windows and dialogs to your project, simply select the icon in the palette. To add widgets to a window or dialog, select the widget in the palette, then click on the position you want to add it.

5 Property Editor Window
This allows you to alter the properties of widgets, such as the widget size or the label text. The signals page also allows you to add signal handlers to widgets, so you can, for example, specify the function to be called when a button is clicked.

6 Summary 1. GTK+ is a multi-platform toolkit for creating graphical user interfaces. 2. Glade is a free user interface builder for GTK+.


Download ppt "The Basic Usage and The Event Handling in Glade."

Similar presentations


Ads by Google