Adding a callback to a GtkAction



Hi,

   Evidently, earlier methods of creating items for menus and toolbars 
have been replaced in GTK 2.4 with GtkAction items.  I have been unable 
to figure out how to associate a callback function with a GtkAction 
item.  gtk_action_new() does not include a parameter for a callback, 
and there doesn't appear to be a function (or any other method) in the
GTK reference manual for associating a callback function with menu or 
toolbar item.  Obviously I'm missing something.  How do you add a callback
to a GtkAction item?

Andy Beckenbach
beckenba sfu ca



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