Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Re: question about gtk.ComboBoxEntry
Martin Portman
8/8/2007 1:08:00 PM
shawn bright wrote:
> i cannot seem to find how to set the active text in a gtk.ComboBoxEntry.
> i can populate it with a list of items using the append_text(item) method.
> but i cannot seem to find how to actually set the item i want to be active.
look in the superclass:
Gtk::ComboBox.set_active( index )
but you have to work out index yourself, rather than passing in
the text item.
ruby-gnome2 has its own mailing list which is more suited for
questions like this:
https://lists.sourceforge.net/lists/listinfo/ruby-gnome...
martin.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: question about gtk.ComboBoxEntry
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password