Re: What's the purpose of gtk_menu_attach_to_widget ?



"Kalle Vahlman" <kalle vahlman gmail com> writes:

> >         What's the purpose of gtk_menu_attach_to_widget ? And is there any bad effect
> > if I create a gtk menu without using this function ?
> 
> In short, it's convenience function for tying the menu's lifecycle to
> a widget. I think the only thing to watch out if not using it is that
> you destroy the menu yourself.

It also makes the menu move between screens along with the widget
correctly.


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