Copy signal bindings



I'm currently trying to modify the GtkWindow to send all key strokes not
being handled by any Widget to a specific widget in my app.
AFAIR the way to do this is to get the specific widgets' binding set via:

gtk_binding_set_by_class(GTK_WIDGET_GET_CLASS(source))

and then add all the signal entries present in the source to the window via:

gtk_binding_entry_add_signal
(
destinationSet,
sourceEntry->keyval,
sourceEntry->modifiers,
currentSignal->signal_name,
currentSignal->n_args,
...
);

The problem I get with this is that gtk_binding_entry_add_signal wants a
vararg - and AFAIK there is no way to build a vararg from GtkBindingArg,
is there?
Could somebody give me a hint how to do this properly?
_______________________________________________
gnome-list mailing list
gnome-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gnome-list



Relevant Pages

  • Re: Common Lisp for Mac OS X
    ... | I'm not defending Apple. ... | I'm not sure yet what to think about the app store. ... Apple culling widget apps from App Store? ...
    (comp.lang.lisp)
  • Help with app design
    ... I need one big text widget. ... A basic text editor for free form text. ... associated with that word/hot spot. ... I thought I could use wikit or Will Duquette's Notebook app for that, ...
    (comp.lang.tcl)
  • Re: declared variables cause a segmentation fault on exit
    ... > I have a simple qt app, using a QMainWindow subclass as the central widget. ... If I declare any qt widget, ... Do note that you give way to litle information to help you. ...
    (alt.comp.lang.learn.c-cpp)
  • Re: declared variables cause a segmentation fault on exit
    ... The main window contains a custom widget made of simple widgets ... > returns a segmentation fault when I exit the app. ... If I declare any qt widget, ...
    (alt.comp.lang.learn.c-cpp)
  • declared variables cause a segmentation fault on exit
    ... I have a simple qt app, using a QMainWindow subclass as the central widget. ... If I declare a simple variable it compiles and runs as before ... returns a segmentation fault when I exit the app. ...
    (alt.comp.lang.learn.c-cpp)