[fpc-pascal]RE: GTK accelerator handling

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Mar 24 10:43:22 CET 2004


On Tue, 23 Mar 2004 22:35:48 -0800 (PST)  Jeff Pohlmeyer
<yetanothergeek at yahoo.com> wrote:

> > I tried to use gtk_window_remove_accel_group(...) but it is not 
> > found by fpc (gtk has it, I've got the name from its docs).
> 
> > Is is possible in a simple way to get the missing procedure working?
> 
> Just add this declaration somewhere in your program:
> 
> procedure gtk_window_remove_accel_group(window: PGtkWindow;  accel_group:
> PGtkAccelGroup); 
>   external name 'gtk_window_remove_accel_group';

cdecl; is missing.


Mattias




More information about the fpc-pascal mailing list