Re: close window call backs in menus?




> I need to write a close_window callback accessed from a menu.  I've been
> looking at the code in mc and gnome-help-browser and I am a bit bewildered
> In the menu data structure, it looks as though the close_cb routines are
> being passed NULL for data.

There is a routine gnome_app_set_menus_with_data that lets you pass
any data (I believe gnome_app_set_menus will pass the NULL you are
getting).

Miguel.



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