ruby-****@sourc*****
ruby-****@sourc*****
2009年 2月 2日 (月) 04:26:04 JST
------------------------- REMOTE_ADDR = 74.15.84.244 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-glib-filemanip ------------------------- @@ -51,7 +51,7 @@ end # Automatically close. -You must have noticed there are no GUI elements in the above program. If it wern't for the GLib#home_dir we could do without the ((*require 'gtk2'*)). There should be! For instance in the error handling routine you should really implement the message dialogue, to provide user with information and a possible recovery options, such as inserting a CD ROM, closing the device door, or connecting a read/write device. Also, note that in the above program the following error handling would not work: +You must have noticed there are no GUI elements in the above program. There should be! If it wern't for the GLib#home_dir we could do without the ((*require 'gtk2'.*))For instance in the error handling routine you should really implement the message dialogue, to provide user with information and a possible recovery options, such as inserting a CD ROM, closing the device door, or connecting a read/write device. Also, note that in the above program the following error handling would not work: tries = 0 begin # Establish error handling block