[ruby-gnome2-doc-cvs] [Ruby-GNOME2 Project Website] update - tut-gtk2-mnstbs-tb

アーカイブの一覧に戻る

ruby-****@sourc***** ruby-****@sourc*****
2012年 11月 20日 (火) 13:09:24 JST


-------------------------
REMOTE_ADDR = 184.145.95.170
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-mnstbs-tb
-------------------------
@@ -328,6 +328,19 @@
 
 
 
+{{br}}
+
+=== Detached Toolbar Example
+
+
+
+{{image_left("detached-vert-n-horiz-tb-s1.png")}}
+
+I included a new image to start discussing the program listing of our first example program, which allows you to detach the toolbar from the main window. On the image you can see the detached toolbar in both horizontal and vertical form. The second thing you should notice is that there is also a detached 'toolbar item sub-menu', and the last thing you can see is that the size of the detached toolbar affects how the toolbar is displayed, and that you have access to the cut-off toolbar items via the Gtk supplied last toolbar 'arrow' item.
+
+Perhaps you recall, that to detach a toolbar from the containing window, you use Gtk::HandleBox widget. We encountered this widget already in chapter 3 under the title '((<Handle Boxes|tut-gtk2-contwidg-handlebox>))'. However that early in our learning process we did not have enough material, to demonstrate its full power and indeed its drawbacks. Hopefully, the following program example will rectify this 'minor inconvenience':)
+
+Let's look at the code now.
 
 {{br}}
 




ruby-gnome2-cvs メーリングリストの案内
アーカイブの一覧に戻る