Adding a callback to a GtkAction
- From: beckenba sfu ca
- To: gtk-app-devel-list gnome org
- Subject: Adding a callback to a GtkAction
- Date: Sun, 19 Mar 2006 17:59:25 -0800
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]