DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=I1TM+8lOfUOePX2kJXM0/pqdNlETg/Fa7Wv8gd2x/Z9J+rhovPnkxoSJBa9GaBmMhRO6FXtUWgVe9SeDKDDNmdLwL6fnLJpIbQwer4zhPDIBDuaLbIlIVLeycclSuDFPc7awuSyudRHEFjZc3vrJnoQt3wwEjqxvO42LYRoKiac= Message-ID: Date: Fri, 30 Dec 2005 14:00:39 +0100 From: Maurizio Colucci To: Robert Roessler Subject: Re: GMenu.option_menu - retrieving the selected item? Cc: LablGTK List In-Reply-To: <43B51ED0.1020108 at rftp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline References: <43B51ED0.1020108@rftp.com> Content-Transfer-Encoding: 8bit 2005/12/30, Robert Roessler : > Maurizio Colucci wrote: > > how do I retrieve the selected item of a GMenu.option_menu? > > > > the gtk_option_menu_get_history does not seem to be wrapped... > > > > Thanks for any help > > Well, under the "any help" category, the "GtkOptionMenu" is considered > deprecated as of 2.4... but LablGTK has good support for the suggested > alternative, combo boxes (particularly simple text ones). I assume you mean GtkComboBox. But to which ocaml class does it map? I am having some trouble finding it. (GEdit.combo? this seems to be the old GtkCombo class) Or, would you happen to have some sample code? I just need a simple combo box, with no manual text entry, with a few predetermined text items. Thank you very much. :-) Maurizio