Delivered-To: lablgtk at yquem.inria.fr DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=e93S9W2+ra8F9Cjsr6TAR3af8jj4AEHWxFdryqrcM0g=; b=VPc3hyjBB/ZYeuRuYoc1eiCZMAUksfDp8VY469/4KFE+pspjKlrXKIn4DwZTXB0edntHbP9Zo9IWnkKHeoX3x8zT1GdMWlhNfH+c85UnBKxquKR+kCgRViVITvzio/bzoVpsQpf0YJIXymXkSilk/rnSGsQUn71aCJ3S82Z/g5Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=fYcsYhBI+370NeIuvsUB+pKEUoSRwEvEQ7wCLTsNBpG/TqTiR9+O31BusEsuds2rdc7F3QStytq5oDN6cufDDQDKREnKgdY0vd9c6G6q6AWHFialdLQcsPjvKpVvPfrn7R2pJgEvpmaQKSbxXxNTG4XZmXTDiza/wkyTB4gJlak= Message-ID: <90823c940802211056x5b3d4487p4709e52844af4643 at mail.gmail.com> Date: Thu, 21 Feb 2008 21:56:19 +0300 From: "Dmitry Bely" To: lablgtk at yquem.inria.fr MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [Lablgtk] set_model method Content-Type: text/plain; charset=ISO-8859-1 Content-Length: 910 Compare class view : tree_view obj -> ... method set_model : model option -> unit and class entry_completion : ([> `entrycompletion|`celllayout] as 'a) Gtk.obj -> ... method set_model : GTree.model -> unit class combo_box : ([> Gtk.combo_box] as 'a) Gtk.obj -> ... method set_model : GTree.model -> unit I believe combo_box & entry_completion classes should also have "model option" as a parameter (you pass None to unset the current model). This is mentioned in GTK docs: void gtk_combo_box_set_model (GtkComboBox *combo_box, GtkTreeModel *model); Sets the model used by combo_box to be model. Will unset a previously set model (if applicable). If model is NULL, then it will unset the model. - Dmitry Bely _______________________________________________ Lablgtk mailing list Lablgtk@yquem.inria.fr http://yquem.inria.fr/cgi-bin/mailman/listinfo/lablgtk