Re: [Java-gnome-developer] Glade ComboBox
Brought to you by:
afcowie
From: Rafael G. <raf...@gm...> - 2008-03-13 16:21:32
|
Hello, thanks for the answer, but i have made this already, and there is no method that returns the currently selected String. I can only get the selected Index, but I can't get the string :( also there is no method to insert new Itens. Thanks again, Rafael Gil 2008/3/13, Andrew Cowie <an...@op...>: > > On Thu, 2008-03-13 at 08:19 -0300, Rafael Gil wrote: > > I'm new to java-gnome and I'm trying to understand how ComboBox works. > > > I've made a window with a ComboBox using glade, > > > You should be able to just do: > > cb = (ComboBox) glade.getWidget("combobox1"); > > and then use the various methods on ComboBox. > > AfC > Berlin > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > > > |