123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108(**************************************************************************)(* 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$ *)openGauxopenGobjectopenGtkopenTagsopenGtkBasePropsopenGtkBaseexternal_gtkwindow_init:unit->unit="ml_gtkwindow_init"let()=_gtkwindow_init()moduleWindow=structincludeWindowexternalset_wmclass:[>`window]obj->name:string->clas:string->unit="ml_gtk_window_set_wmclass"externaladd_accel_group:[>`window]obj->accel_group->unit="ml_gtk_window_add_accel_group"externalremove_accel_group:[>`window]obj->accel_group->unit="ml_gtk_window_remove_accel_group"externalactivate_focus:[>`window]obj->bool="ml_gtk_window_activate_focus"externalactivate_default:[>`window]obj->bool="ml_gtk_window_activate_default"externalset_geometry_hints:[>`window]obj->?pos:bool->?min_size:int*int->?max_size:int*int->?base_size:int*int->?aspect:float*float->?resize_inc:int*int->?win_gravity:Gdk.Tags.gravity->?user_pos:bool->?user_size:bool->[>`widget]obj->unit="ml_gtk_window_set_geometry_hints_bc""ml_gtk_window_set_geometry_hints"externallist_toplevels:unit->windowobjlist="ml_gtk_window_list_toplevels"externaladd_mnemonic:[>`window]obj->Gdk.keysym->[>`widget]obj->unit="ml_gtk_window_add_mnemonic"externalremove_mnemonic:[>`window]obj->Gdk.keysym->[>`widget]obj->unit="ml_gtk_window_remove_mnemonic"externalactivate_mnemonic:[>`window]obj->?modi:Gdk.Tags.modifierlist->Gdk.keysym->unit="ml_gtk_window_mnemonic_activate"externalget_focus:[>`window]obj->widgetobj="ml_gtk_window_get_focus"(* set_focus/default are called by Widget.grab_focus/default *)externalset_focus:[>`window]obj->[>`widget]obj->unit="ml_gtk_window_set_focus"externalset_default:[>`window]obj->[>`widget]obj->unit="ml_gtk_window_set_default"(* see gtk.props for others *)endmoduleDialog=structincludeDialogexternalaction_area:[>`dialog]obj->button_boxobj="ml_gtk_dialog_get_action_area"externalvbox:[>`dialog]obj->boxobj="ml_gtk_dialog_get_content_area"externaladd_button:[>`dialog]obj->string->int->unit="ml_gtk_dialog_add_button"externalresponse:[>`dialog]obj->int->unit="ml_gtk_dialog_response"externalset_response_sensitive:[>`dialog]obj->int->bool->unit="ml_gtk_dialog_set_response_sensitive"externalset_default_response:[>`dialog]obj->int->unit="ml_gtk_dialog_set_default_response"externalrun:[>`dialog]obj->int="ml_gtk_dialog_run"letstd_response=Gpointer.encode_variantGtkEnums.Conv.response_tblletdecode_response=Gpointer.decode_variantGtkEnums.Conv.response_tblendmoduleMessageDialog=MessageDialogmoduleAboutDialog=structincludeAboutDialogexternalcreate:unit->Gtk.about_dialogobj="ml_gtk_about_dialog_new"endmodulePlug=structincludePlug(* external create : Gdk.native_window -> plug obj = "ml_gtk_plug_new"*)endmoduleSocket=Socket