Multimedia Keys

2007-10-23 Thread Kevin DeKorte
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I have a keyboard with some multimedia keys on it and in the Gnome Keyboard Shortcuts editor I have mapped a couple of these keys. I see the volume controls working and I want to hook a couple more of them. However, in my gtk window keyboard h

setting image on any widget

2007-10-23 Thread sphurti durgade
Hi All i want to set image on any widget including container. eg. we have function in GtkButton to set image on button. i.e void gtk_button_set_image(GtkButton *button,GtkWidget *image); similarly i want to set image on other widgets (like hscale,vbox,notebook with tab ) i am setting the backgr

detecting tree searches

2007-10-23 Thread Dave Howorth
My application takes actions when a different row is selected in a TreeView (based on the TreeSelection changed signal). But I want to distinguish those cases where the selection changes because the user is typing in a search key. Is there any way to tell when a search is in progress? I've noticed

Re: Compiler warnings "set_label" incompatible pointer

2007-10-23 Thread Emmanuele Bassi
On Tue, 2007-10-23 at 13:59 +0200, Daniel Dieterle wrote: > An the warnings: > > handlers.c: In function 'on_button_run_clicked': > handlers.c:133: warning: passing argument 1 of 'gtk_button_set_label' > from incompatible pointer type > handlers.c:137: warning: passing argument 2 of 'gtk_timeout

Compiler warnings "set_label" incompatible pointer

2007-10-23 Thread Daniel Dieterle
Hi, if i compile following code i get some warnings: void on_button_run_clicked( GtkWidget * widget, GtkEntry *entry, gpointer user_data ) { /* Run changes to Pause */ gtk_button_set_label (widget, ( const gchar *) "Pause"); /* calles every 100 ms function draw_sat