[ruby-gnome2-doc-cvs] [Ruby-GNOME2 Project Website] update - tut-gtk2-dynui-bui

Zurück zum Archiv-Index

ruby-****@sourc***** ruby-****@sourc*****
2009年 3月 3日 (火) 08:18:08 JST


-------------------------
REMOTE_ADDR = 74.15.84.244
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-dynui-bui
-------------------------
@@ -40,3 +40,16 @@
 {{br}}
 :Note:
     Do not worry if you are not sure how many widgets the container will hold. You can add or remove cells in the ((*General*)) tab in the widget Property window. You can change the position of a widget within a box under the  ((*Packing*)) tab and you are also able to edit the user interface with your code after it is built by Libglade.
+
+
+=== Adding a Toolbar
+
+It is usually a good idea when creating a toolbar to add it to a handle box so that the user can remove the toolbar from the window if desired. To do this you need to select the Handle Box item from the widget palette, and then click the topmost Gtk::VBox cell. Finally you add the toolbar widget to the handle box.
+
+{{image_left("glade-fig-10-05-toolbNedit.png")}}
+
+When the toolbar widget is placed into the top cell (mesh) if you carefully looked at the Glade menu, you would notice that the Edit button appeared (see the image above). Clicking this button, or right-clickinh the toolbar item in the widget tree view above the properties, will open the ((*toolbar editor*)).
+
+{{image_left("glade-fig-10-05-toolbeditor.png")}}
+
+This ((*toolbar editor*)) creates new tool items that compose the toolbar. 




ruby-gnome2-cvs メーリングリストの案内
Zurück zum Archiv-Index