Re: Trapping menu clicks in GTK2
- Posted by Guillermo Bonvehi <knixeur at speedy.com.ar> Apr 23, 2004
- 516 views
Hi Michael, I'll paste some code from a program i made using Irv's GTK2 Wrappers, i hope it helps:
function ShowHarvText(atom ctl, atom data) end function constant show_harvtext = call_back(routine_id("ShowHarvText")) hout3 = button("Calcular") when(hout3,"clicked",show_harvtext,0)
Best Regards, Guillermo Bonvehi On Fri, 23 Apr 2004 14:51:45 -0700 "Michael J. Sabal" <guest at RapidEuphoria.com> wrote: > > > posted by: Michael J. Sabal <m_sabal at yahoo.com> > > Irv, or anyone else with GTK2 experience: > > How do you trap menu selections? I tried applying the code for the quit > button from button.exu to a File-->Quit menu choice, but it didn't work. Any > help is as always appreciated. > > Michael J. Sabal