ruby-****@sourc*****
ruby-****@sourc*****
2012年 10月 25日 (木) 06:38:13 JST
------------------------- REMOTE_ADDR = 184.145.49.94 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-mnstbs-popup ------------------------- @@ -3,7 +3,7 @@ == Pop-up Menus -In this chapter we will learn how to create pop-up menus, menu bars, and toolbars. We will begin by creating each of these manually to see how these widgets are constructed, and what are the principles and concepts on which the toolbars and menus are built. After that we will introduce the Gtk::UIManager, which allows us to dynamically construct a user interface (menus and toolbars) from UI definitions, stored in XML files. Each UI file is loaded into the GTK system, and each element applied to a corresponding ((*action*))object, which is responsible for item's presentation on the display and for its behaviour (actions). +In this chapter we will learn how to create pop-up menus, menu bars, and toolbars. We will begin by creating each of these manually to see how these widgets are constructed, and what are the principles and concepts on which the toolbars and menus are built. After that we will introduce the Gtk::UIManager, which allows us to dynamically construct a user interface (menus and toolbars) from UI definitions stored in XML files. Each UI file is loaded into the GTK system, and each element applied to a corresponding ((*action*))object, which is responsible for item's presentation on the display and for its behaviour (actions). :Jump ahead: