ruby-****@sourc*****
ruby-****@sourc*****
2012年 11月 20日 (火) 12:12:05 JST
------------------------- REMOTE_ADDR = 184.145.95.170 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-mnstbs-tb ------------------------- @@ -318,7 +318,7 @@ The blue colour arrows, on the large image above on the right, show the position of the empty frame in which you'd release the mouse button you are holding down since you started to drag the toolbar to its new location. However, it is more tricky to discover a sensitive spot at the edges of toolbar, which responds to a grab. To help you with this, Gtk changes the cursor when you find it. I included the enlarged images of different cursors, conveying to the user the type of the action she may continue to carry out or abort in the case an incorrect spot was chosen. -You can drop the toolbar only at the designated edge. It is up to the program designer to decide whether it would be possible to drag a toolbar to any window edge, or to limit this action to a particular edge. In our example program, we decided to use only the top and left window sides as possible locations for our toolbar. {{image_right("ask-to-drop-document-cursor.png")}} If you look closely, you will see a tiny empty rectangular shape (a.k.a. toolbar's ((*frame placeholder)*)) stretched along the side where you can drop the toolbar once you started to drag it. When your 'drag-document' cursor reaches this 'toolbar placeholder' and hovers over it it adds a little question mark to the((*drag-document*))shape. You can see enlarged image of the drop cursor here on the right. +You can drop the toolbar only at the designated edges of the window with the toolbar. It is up to the program designer to decide whether it would be possible to drag a toolbar to any window edge, or to limit this action to a particular edge. In our example program, we decided to use only the top and left window sides as possible locations for our toolbar. {{image_right("ask-to-drop-document-cursor.png")}} If you look closely, you will see a tiny empty rectangular shape (a.k.a. toolbar's ((*frame placeholder)*)) stretched along the side where you can drop the toolbar once you started to drag it. When your 'drag-document' cursor reaches this 'toolbar placeholder' and hovers over it it adds a little question mark to the((*drag-document*))shape. You can see enlarged image of the drop cursor here on the right. {{br}}