[ruby-gnome2-doc-cvs] [Ruby-GNOME2 Project Website] update - tut-gtk2-dnd-intro

Zurück zum Archiv-Index

ruby-****@sourc***** ruby-****@sourc*****
2012年 12月 6日 (木) 09:16:59 JST


-------------------------
REMOTE_ADDR = 70.49.50.122
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-dnd-intro
-------------------------
@@ -33,6 +33,13 @@
 :Note:
     All widgets which have their own Gdk::Window can be set as source or destination widgets. A widget that contains its own Gdk::Window must not have Gtk::Widget::NO_WINDOW flag set. You can check for this flag with the Gtk::Widget#no_window? method. (Note that this method returns true if the widget (the receiver object) does not contain the Gdk::Window.)
 
+
+
+The basic principles behind setting up drag-and-drop source and destination objects are simple, however, some widgets support dnd by design, while most of the Gtk widgets do not. Naturally, sometimes you need to mix the two kinds of (the dnd and the non-dnd) widgets. This complicates both the teaching and the learning of the Gtk's dnd metaphor a bit. 
+
+
+
+# (10.2.2.1)
 :There Are Three Different Source And Destination Set-Up Scenarios:
 
     Normally, you have to set up source and destination widgets. There exists a plethora of methods to accomplish this. However, there are three different situations or circumstances in which you need to set up either source or destination widget for drag-and-drop management. Depending on the combination of the source and destination drag-and-drop widgets you are using in your application, there are many ways to set up (or, as you will soon see, perhaps not at all set up) these source and destination widgets.




ruby-gnome2-cvs メーリングリストの案内
Zurück zum Archiv-Index