Re: GTK rc binding question



Neil Bird <neil fnxweb com> writes:
>   What would be the correct syntax to have in my .gtkrc.mine file to bind,
> say, by Sun 'Copy' key to do a <Ctrl-C>-copy inside a GtkEditable text
> field?
> 
>   I'm guessing something like:
> 
> 
> binding "clipboard_binding"
> {
>    bind "F16"
>    {
>       copy_clipboard( editable-ptr?, user-data? );
>    }
> };
> 
> 
> widget "*.GtkEditable" binding "clipboard_binding";
> 
> 
>   But how am I supposed to pre-guess the args. for the signal handler?
> 

You don't need to provide the object or user data args. So I think in
this case there are no args.

You only have to provide e.g. enum args.

Havoc







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]