Re: Clear the pull-down menu.



On Wed, 2012-10-24 at 15:18 -0400, Kevin Brightwell wrote:
> Also, after about two minutes of searching,
> http://developer.gnome.org/gtkmm/stable/classGtk_1_1ComboBoxText.html#ae2820f73e92df9abacaae71bed2d244a

If you did not find a comparable method in 2.22/2.24 (if you use any of
those versions), it's Gtk::ComboBoxText::clear_items():

http://developer.gnome.org/gtkmm/2.24/classGtk_1_1ComboBoxText.html#aec3e17b23e8b13957e25547f1ef08d05

> 
> On Wed, Oct 24, 2012 at 3:16 PM, Kevin Brightwell
> <kevin brightwell2 gmail com> wrote:
>         Wouldn't you just clear the underlying model?
>         
>         Kevin
>         
>         
>         
>         
>         On Wed, Oct 24, 2012 at 2:09 PM, Arbol One
>         <arbolone gmail com> wrote:
>                 Helloooo, is any body in here?
>                 I was wondering if this mail list is dead, there are
>                 very few postings,
>                 mostly dealing with other issues than development of
>                 applications per se. Is
>                 any, anyone there developing with gtkmm?
>                 I posted this message some time ago, but to no avail.
>                 -----------
>                 Uisng 'Gtk::ComboBoxEntryText' I display the data
>                 chosen by the user,
>                 however, after the user has made his/her first choice
>                 and having the data
>                 displayed in the 'Gtk::ComboBoxEntryText', s/he might
>                 go back and chose
>                 again. Giving this scenario, 'Gtk::ComboBoxEntryText'
>                 displays the data from
>                 the first choice plus the data from the second choice.
>                 Is there a way to
>                 clear the data in the pull-down menu? Say, something
>                 like...
>                 Gtk::ComboBoxEntryText::clear().
>                 
>                 Thanks
>                 
>                 ----------
>                 I worry that this toolkit will be discontinued totally
>                 or partially. Please
>                 give me some feedback on the existence of some one in
>                 this mail list.
>                 
>                 
>                 This e-mail is for the sole use of the intended
>                 recipient and may contain
>                 confidential or privileged information. Unauthorized
>                 use of its contents is
>                 prohibited. If you have received this e-mail in error,
>                 please notify sender
>                 immediately via return e-mail and then delete the
>                 original e-mail.
>                 
>                 
>                 
>                 _______________________________________________
>                 gtkmm-list mailing list
>                 gtkmm-list gnome org
>                 https://mail.gnome.org/mailman/listinfo/gtkmm-list
>                 
>         
>         
>         
>         
>         -- 
>         Kevin Brightwell
>         Year 4 Bachelor of Computer Engineering (BESc.)
>         Year 3 Bachelor of Computer Science (BSc.) 
>         Residence Don - Saugeen-Maitland Hall
>         Western University www.westernu.ca
>         e. kevin brightwell2 gmail com c. 226.678.4927
>         
> 
> 
> 
> -- 
> Kevin Brightwell
> Year 4 Bachelor of Computer Engineering (BESc.)
> Year 3 Bachelor of Computer Science (BSc.) 
> Residence Don - Saugeen-Maitland Hall
> Western University www.westernu.ca
> e. kevin brightwell2 gmail com c. 226.678.4927
> 
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> https://mail.gnome.org/mailman/listinfo/gtkmm-list

-- 
José




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