[ruby-gnome2-doc-cvs] [Ruby-GNOME2 Project Website] update - Gtk::Drag

Back to archive index

ruby-****@sourc***** ruby-****@sourc*****
2012年 12月 6日 (木) 06:05:24 JST


-------------------------
REMOTE_ADDR = 184.145.82.22
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?Gtk%3A%3ADrag
-------------------------
@@ -49,7 +49,7 @@
 
     Sets the target types that this widget can accept from drag-and-drop. The widget must first be made into a drag destination with Gtk::Drag.dest_set().
     * widget: a Gtk::Widget that's a drag destination 
-    * target_list: the Gtk::TargetList or nil for none 
+    * target_list: the Gtk::TargetList or nil for none. The 'target_list' argument is a sequence (list or tuple) of 3 items in the form [target, flags, info] that contain information about the targets. The 'target' item contains a string representing the drag type, the 'flags (a combination of  Gtk::Drag::TARGET_{SAME|OTHER}_APP, Gtk::Drag::TARGET_{SAME|OTHER}_WIDGET or neither). The last 'info' item in the tuple is an application assigned integer ID used for identification purposes.
     * Returns: self
 
 --- Gtk::Drag.dest_add_text_targets(widget)




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