[gtkmm] Thanks and a question



First I'd like to thank Murray Cumming for all his hard work in providing us C++ developers with a great set of wrappers.

Ok. I'm a newbie with a question. The following code produces a segmentation fault:

      ComboDropDown *pList = pCombo->get_list();
   
        pList->children().erase( pList->children().begin(), pList->children().end() );
or
        pList->children().clear();

Am I doing something wrong? I'm trying to clear all the item in the drop-down portion of a combo box. Any help will be appreciated.
--
Art Schwalbenberg <fschwalb tampabay rr com>


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