ruby-****@sourc*****
ruby-****@sourc*****
2012年 11月 20日 (火) 07:53:02 JST
------------------------- REMOTE_ADDR = 184.145.95.170 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-mnstbs-tb ------------------------- @@ -312,7 +312,7 @@ {{image_right("drag-document-cursor.png")}} -On the other hand, as demonstrated later in the second example program, to initiate the dragging of a toolbar within the same window, you need to click and hold any mouse button on the edge of the frame in which toolbar resides, or on an empty spot within the toolbar. When you have clicked on a drag-sensitive spot the cursor changes to a((*drag-document*))shape see the small image here on the right. +On the other hand, as demonstrated later in the second example program, to initiate the dragging of a toolbar within the same window, you need to click and hold any mouse button on the edge of the frame in which toolbar resides, or on an empty spot within the toolbar. When you have clicked on a drag-sensitive spot the cursor would indicate that by changing to a((*drag-document*))shape (see the small image here on the right). The blue colour arrows show the position of the empty frame in which you'd release your drag. 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.