Re: Manipulating popup menus



"Mike Martin" <redtux1 googlemail com> writes:

I have worked out how to add add entries using populate -popup signal,
but I cant find any way to remove entries

A menu is a container so I guess it ought to work to get_children and
hide or remove the ones you don't want.  Hiding might be safer if
GtkEntry isn't expecting anyone to destroy its items.



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