[ruby-gnome2-doc-cvs] [Ruby-GNOME2 Project Website] update - GladeXML

Back to archive index

ruby-****@sourc***** ruby-****@sourc*****
2005年 8月 5日 (金) 03:30:14 JST


-------------------------
REMOTE_ADDR = 218.45.66.76
REMOTE_HOST = 
REMOTE_USER = ruby-gnome2-hiki
        URL = /hiki.cgi?GladeXML
-------------------------
@@ -13,6 +13,7 @@
     Optionally it will only build the interface from the widget node root (if it is not nil).  
     This feature is useful if you only want to build say a toolbar or menu from the Glade XML file, but not the window it is embedded in.  
     Note also that the XML parse tree is cached to speed up creating another GladeXML object for the same file
+    locale target directory is picked up from GETTEXT_PATH environment variable, or used system path(e.g. /usr/share/locale).
 
     The additional block is connected to all signal handlers.
     It receives the signal handler name as the only argument.
@@ -28,6 +29,19 @@
     * {|handler| ...}: a handler block. If you don't define this block, you will need to call GladeXML#signal_autoconnect_full
         * handler: the name of the signal handler.
     * Returns: a GladeXML instance
+
+--- GladeXML.new(file_or_buffer, root = nil, domain = nil, localedir, source = GladeXML::FILE) {|handler| ... }
+    Creates a new GladeXML object (and the corresponding widgets) from the Glade XML file or a String representation of the XML.  
+    * file_or_buffer: if source is GladeXML::FILE, a file name, if source is GladeXML::BUFFER, a String representation of the Glade XML.
+    * root: the widget node in fname to start building from.
+    * domain: the translation domain for the XML file
+    * localedir: locale directory. If nil, use GETTEXT_PATH environment variable, or system path(e.g. /usr/share/locale).
+    * source: GladeXML::FILE or GladeXML::BUFFER
+    * {|handler| ...}: a handler block. If you don't define this block, you will need to call GladeXML#signal_autoconnect_full
+        * handler: the name of the signal handler.
+    * Returns: a GladeXML instance
+
 
 --- GladeXML.require(library)
     Ensures that a required library is available. 





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