1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950(**************************************************************************)(* Lablgtk *)(* *)(* This program is free software; you can redistribute it *)(* and/or modify it under the terms of the GNU Library General *)(* Public License as published by the Free Software Foundation *)(* version 2, with the exception described in file COPYING which *)(* comes with the library. *)(* *)(* This program is distributed in the hope that it will be useful, *)(* but WITHOUT ANY WARRANTY; without even the implied warranty of *)(* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *)(* GNU Library General Public License for more details. *)(* *)(* You should have received a copy of the GNU Library General *)(* Public License along with this program; if not, write to the *)(* Free Software Foundation, Inc., 59 Temple Place, Suite 330, *)(* Boston, MA 02111-1307 USA *)(* *)(* *)(**************************************************************************)(* $Id$ *)openGobjectopenGtkBuilderopenGtkBuilderPropsclassbuilder(obj:[>Gtk.builder]obj)=objectinheritGObj.gtkobjobjinheritOgtkBuilderProps.builder_propsmethodadd_from_file:string->unit=Builder.add_from_fileobjmethodadd_from_string:string->unit=Builder.add_from_stringobjmethodadd_objects_from_file:string->stringlist->unit=Builder.add_objects_from_fileobjmethodadd_objects_from_string:string->stringlist->unit=Builder.add_objects_from_stringobjmethodget_object:string->unitobj=Builder.get_objectobjendletbuilder?translation_domain()=Builder.make_params?translation_domain[]~cont:(fun_->newbuilder(GtkBuilder.Builder.create()))letbuilder_from_file?translation_domainfilename=Builder.make_params?translation_domain[]~cont:(fun_->newbuilder(GtkBuilder.Builder.create_from_filefilename))letbuilder_from_string?translation_domains=Builder.make_params?translation_domain[]~cont:(fun_->newbuilder(GtkBuilder.Builder.create_from_strings))