GNOME Bugzilla – Bug 143338
[patch] Gtk::TableList::remove & Gtk::TableList::erase
Last modified: 2004-12-22 21:47:04 UTC
void TableList::remove(const_reference child) { gtk_container_remove(GTK_CONTAINER(gparent_), (GtkWidget*)(child.get_widget()->gobj())); } /* ^^^^^^^^^^^ need 'get_widget()' */ TableList::iterator TableList::erase(iterator position) { //Check that it is a valid iterator, to a real item: if ( !position.node_|| (position == end()) ) return end(); //Get an iterator the the next item, to return: iterator next = position; next++; //Use GTK+ C function to remove it, by providing the GtkWidget*: gtk_container_remove(GTK_CONTAINER(gparent_),(GtkWidget*)(position->get_widget()->gobj())); /*^^^^^^^^^^^^^^need 'get_widget()', too */ return next; }
What problem are you trying to solve? Also, this is not a patch. Please see the patch instructions here: http://www.gtkmm.org/bugs.shtml
What problem are you trying to solve?
I will close this bug report if you do not explain what problem you have found. Please paste any relevant error messages here.
Closing because a) The bug report makes no sense. b) There was no response.