[Gtk-sharp-list] Accelerators
Eric Butler
eric at extremeboredom.net
Tue Dec 13 15:17:26 EST 2005
I have filed a bug regarding this issue:
http://bugzilla.ximian.com/show_bug.cgi?id=76988
Mike suggested to try Marshal.GetUnmanagedThunkForManagedMethodPtr,
but i have not had time to test it.
On 12/11/05, Felipe Almeida Lessa <felipe.lessa at gmail.com> wrote:
> Hello,
>
> I'm willing to have a window that is closed when the user press the
> Escape button. Using glade it was easy to do this, but with C# code
> only I'm having big troubles.
>
> I think that what I want is Gtk.AccelGroup.Connect(), but it requires
> a closure argument of type IntPtr that I don't have any idea of how to
> create it.
>
> Does anybody know how archive these results?
>
> Thanks in advance,
> Felipe.
>
> --
> "Quem excele em empregar a força militar subjulga os exércitos dos outros
> povos sem travar batalha, toma cidades fortificadas dos outros povos sem as
> atacar e destrói os estados dos outros povos sem lutas prolongadas. Deve
> lutar sob o Céu com o propósito primordial da 'preservação'. Desse modo suas
> armas não se embotarão, e os ganhos poderão ser preservados. Essa é a
> estratégia para planejar ofensivas."
>
> -- Sun Tzu, em "A arte da guerra"
> _______________________________________________
> Gtk-sharp-list maillist - Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>
More information about the Gtk-sharp-list
mailing list