ruby-****@sourc*****
ruby-****@sourc*****
2009年 3月 3日 (火) 02:37:11 JST
------------------------- REMOTE_ADDR = 74.15.84.244 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-dynui ------------------------- TITLE = tut-gtk2-dynui KEYWORD = = Dynamic User Interfaces Built With Glade {{link "tut-gtk2-mnstbs-tyu", "tut-gtk2-dynui", "tut-gtk", "tut-gtk2-dynui-glade"}} = Sorry this page is still under cnstruction :Contents of this chapter: * 10 ((<Dynamic User Interfaces|tut-gtk2-dynui>)) (this page) * 1 ((<The Glade User Interface Builder|tut-gtk2-dynui-glade>)) * 2 ((<xxxxxx|tut-gtk2-dynui-xxxxx>)) * 3 ((<xxxxxx|tut-gtk2-dynui-xxxxx>)) By now you have learnt a great deal about GTK+ and its supporting libraries and are able to create fairly complex applications. However, manually writing all of the code to create and configure the the widgets and behaviour for these applications can quickly become tedious. The Glade User Interface builder removes the need for you to write all that code by allowing you to design your UI graphically. It supports the GTK+ library of widgets as well as various widgets from GNOME libraries. User interfaces are saved as XML files, which can be used to dynamically build your application's user interface. The last part of this chapter covers Libglade, a library that can be used to dynamically load the XML files. Libglade will crate all of the necessary widgets and allow you to connect any signals defined in Glade. :In this chapter you will learn: * How to design custom graphical user interface with Glade * How to dynamically load Glade user interfaces with Libglade :((<"Ruby/Libglade">)) If you are running examples while reading this tutorial, you will need Glade and Libglade installed on your system. On most Linux systems you will be able to install it from your Software Package Managers, on Windows check out the ((<gladewin32|URL:http://sourceforge.net/projects/gladewin32>)). Once you have Glade installed check also out: ((<"Ruby/Libglade">)).