Re: Insensitive pixmaps



>   Can't you just use gtk_pixmap_set() to switch the GtkPixmap between the
> two images you want for sensitive and insensitive? 

Well, it is what I am doing... But it is really a "hack" (each time I
do a gtk_widget_set_sensitive, I need to call a special function that
changes the pixmap).

And changing the Pixmap code would mean that all the code using
GtkPixmaps (as toolbar for example) would not have to be changed to
have the "new" sensitive code.

-- 
  Lionel ULMER  -  bbrox@mygale.org - http://www.mygale.org/~bbrox/



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