ruby-****@sourc*****
ruby-****@sourc*****
2010年 5月 13日 (木) 16:01:16 JST
------------------------- REMOTE_ADDR = 91.202.105.254 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?Gst%3A%3ABus ------------------------- @@ -10,10 +10,13 @@ == Instance Methods ---- add_watch +--- add_watch(priority = G_PRIORITY_DEFAULT, &block) + Adds a bus watch to the default main context. This block is used to receive asynchronous messages in the main loop. + There can only be a single bus watch per bus, you must remove it before you can set a new one.The watch can be removed using GLib::Source.remove or by returning FALSE from block. + * priority: priority of the watch. G_PRIORITY_DEFAULT by default. + * block: watch block. It is passed two parameters: bus & message. If this block returns FALSE it'll be removed from main loop. + * Returns: event source id - * Returns: self: ((*FIXME*)) - == Signals --- message: self @@ -27,5 +30,6 @@ == See Also == ChangeLog - -