Re: What's the purpose of gtk_menu_attach_to_widget ?



2007/11/21, Wang Baisheng <baisheng wang cn gmail com>:
>
> Hi,
>
>         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.

-- 
Kalle Vahlman, zuh iki fi
Powered by http://movial.fi
Interesting stuff at http://syslog.movial.fi


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