Re: clearing text from a combo box?



On Monday 16 June 2008, Jamiil wrote:
> I have combo boxes and entry boxes that I want to clear up when the user
> clicks on the 'Clear' button. I looked into the Gtk::ComboBox widget,
> but I am unable to find the right method.
> Any body?

I've done something like this on ComboBoxText widgets using the 
set_active_text() method. I don't think the text needs to be one of the 
drop-down options, in fact I'm sure it doesn't, but I haven't tried with a 
blank string.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]