ruby-****@sourc*****
ruby-****@sourc*****
2012年 11月 25日 (日) 13:17:59 JST
------------------------- REMOTE_ADDR = 184.145.95.170 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?Gtk%3A%3ATreeDragSource ------------------------- @@ -1,9 +1,40 @@ = module Gtk::TreeDragSource == Included Modules * GLib::Interface +((* ----- FIXME FIXME FIXME FIXME FIXME FIXME FIXME FIXME FIXME FIXME ----- (start) --- *)) + +One of the following methods is needed during drag-and-drop operations, in order to obtain the iterator for the source tree-view or icon-view item being dragged: + + +== Class Methods + +--- drag_data_get(drag_source, path, selection_data) + + Asks the Gtk::TreeDragSource to fill in selection_data with a representation of the row at path. 'selection_data.target' gives the required type of the data. Should robustly handle a path no longer found in the model! + + * drag_source: (Gtk::TreeDragSource) ... // however, explain where do we get this (Gtk::TreeDragSource) object ((*FIXME*)) // + * path: row that was dragged (Gtk::TreePath) + * selection_data: Gtk::SelectionData + * Returns: true if data of the required type was provided ((*FIXME*)) + +or perhaps the instance method: + +== Instance Methods + +--- drag_data_get(path, selection_data) + + Asks the Gtk::TreeDragSource to fill in selection_data with a representation of the row at path. 'selection_data.target' gives the required type of the data. Should robustly handle a path no longer found in the model! ... // however, explain how do we get the receiver (Gtk::TreeDragSource) object ((*FIXME*)) // + + * path: Gtk::TreePath + * selection_data: Gtk::SelectionData + * Returns: true if data of the required type was provided ((*FIXME*)) + +((* ----- FIXME FIXME FIXME FIXME FIXME FIXME FIXME FIXME FIXME FIXME ----- (end) --- *)) + + == See Also == ChangeLog