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

Back to archive index

ruby-****@sourc***** ruby-****@sourc*****
2012年 11月 21日 (水) 04:53:16 JST


-------------------------
REMOTE_ADDR = 184.145.95.170
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-mnstbs-tb
-------------------------
@@ -338,7 +338,7 @@
 
 I included a new image to start discussing the following program listing. 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 (teared-off) '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.
 
-What you can not see is that once it is detached from the main window there is no way for the operator to resize the toolbar. This calls for some planning when you design this feature, or you will cause the detached toolbar to be rather awkward if not useless. We will look into some of these issues in our program notes.  
+What you can not see is that once it is detached from the main window there is no way for the operator to resize the toolbar. This calls for some planning when you design this feature, or you will cause the detached toolbar to be rather awkward if not useless. Namely, had we designed our toolbar with the 'Preferences' toolbar item sub-menu positioned at the end of the toolbar, it would be impossible to access the Preferences sub-menus, since the Gtk supplied 'arrow sub-menu' does not provide sub-menu expansions, and there is no way to resize a toolbar once it is detached from the containing window. We will address programming issues related to the menu detachment features after the program listing in program notes.  
 
 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':)
 




ruby-gnome2-cvs メーリングリストの案内
Back to archive index