Re: Callbacks using ItemFactory



Jeff Evarts <jdeassoc@earthlink.net> wrote:
>How do you get a callback from a menu item (created with a
>menu factory) to pass the callback function a parameter?

Hi Jeff, you want the last parameter to gtk_item_factory_create_items(). It's
in the tutorial, hidden in a comment in the example code.

John
--
John Cupitt, john.cupitt@ng-london.org.uk, +44 (0)171 930 2108
VASARI Lab, The National Gallery, Trafalgar Square, London, WC2N 5DN



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