Re: Making Glade created ComboBox behave like Gtk2::ComboBox->new_text?




Martin Junius said:
muppet wrote:

According to the docs, it is not safe:

"Note that you can only use this function with combo boxes constructed with
gtk_combo_box_new_text()."

So it's better then to use something similar to the following code?

    $model->set($model->append, 0, $label);

Or some variant thereof, yes.


-- 
muppet <scott at asofyet dot org>




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