menu factory



Hi everyone, 

struct GtkItemFactoryEntry
{
  gchar *path;
  gchar *accelerator;
  GtkItemFactoryCallback callback;
  guint	callback_action;
  gchar	*item_type;
};

The third argument 'callback' is of
GtkItemFactoryCallback type, which is defined as:
void    (*GtkItemFactoryCallback)(  ); and there
is no arguments it it. So, if I add a item to the
factory by calling gtk_item_factory_creat_item(),
how can I pass a parametre to the call back functions
?

thanks,

Jason






__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com



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