Re: [gtkmm] combo



yes there is a way:
instead of adding Gtk::ComboDropDownItem instances to the list, add
instances of a custom class that inhehits of Gtk::ComboDropDownItem. In this
class, you can put whatever you want.

But there is a problem with Gtk::Combo : I have not been able to remove one
element from the list without crashing ...

    Erwan

----- Original Message -----
From: "Moses McKnight" <moses gcecisp com>
To: <gtkmm-list gnome org>
Sent: Thursday, April 10, 2003 6:30 AM
Subject: [gtkmm] combo


> In Microsoft Windows you can attach a pointer to an object or some other
data to
> every item in the dropdown list of a combo box.  Is there any way to do
this
> with a Gtk::Combo widget?
>
> Thanks,
> Moses
>
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
>




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