Re: How to remove MenuItem from Menu?





jcupitt gmail com wrote:
2009/10/21 Peter Daum <gator_ml yahoo de>:
(I tried some strange things like calling item->destroy
and was not surprised that it didn't work ...)

You can just use gtk_widget_destroy(item), I believe. Though I
generally just destroy and rebuild the whole menu for safety.

oops - when I tried it with destroy, I had screwed up;
I re-checked it, and this time it works :-)

Thanks,
                    Peter




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