about menu item callback



Hi!

    How can I pass parameter to the callback function of a menu item?
    For example:    
        In callback function:
   void on_view_refresh_activate(GtkMenuItem     *menuitem,
                                        gpointer         user_data) ;
    Where to pass user_data?
                                
              wangtao
              wangtao nanjing-fnst com
                 2003-03-14


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