Re: Trapping menu clicks in GTK2

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu