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

Back to archive index

ruby-****@sourc***** ruby-****@sourc*****
2012年 12月 8日 (土) 07:18:02 JST


-------------------------
REMOTE_ADDR = 184.145.81.223
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-dnd-intro
-------------------------
@@ -341,13 +341,17 @@
 
 Our 'button-to-label-dnd.rb' example program consists of a single 'DnDWindow' class which is the subclass of the 'BasicWindow' base class, i.e. the class defined in the module 'HikiGTK'. The BasicWindow base class is a Gtk::Window class, implementing the most rudimentary Gtk::Window behaviour, that any application should always implement. It sets up the top level 'delete_event' and 'destroy' widget signals, sets up the window title if, it is passed to its window constructor, and takes care of the window size and its border. Indeed, you can override all these properties and behaviours in your main (driving) window subclass you are defining. 
 
+:A Note About the DnD Widgets and 'HikiDnDdbg' Module In This Example:
 
+    Note, that the 'HikiDnDdbg' module is not terribly important in this program, we could easily live without it. We included it only to add a single method, called ((*show_if_widget_contains_its_own_gdk_window*)), to our 'DnDWindow' class, to show that neither the button nor the label widget contains its own Gdk::Window, and yet, contrary to the official Gtk API documentation, we can set these two widgets as dnd source and destination. 
+
+
 
 {{br}}
 
 
 
-:Button-to-label-dnd Example Download Notes:
+:'button-to-label-dnd' Example Download Notes:
 
     Finally you are going to copy the example program itself onto your system. Do not forget, you can copy each example program into a different directory (folder), you only need to have all the module and class files which you 'require' in the example programs (unless specifically instructed otherwise in the example documentation) in the same directory (as discussed in section # (10.2.1.1) '((<Time To Start Using Object-Oriented Programming Paradigm|tut-gtk2-dnd-intro#Time To Start Using Object-Oriented Programming Paradigm>))').
 




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