Madhusudan E wrote:

>When a button is pressed , is it possible to set another image file of
>format jpeg or gif or from GdkPixbuf?
>
> 
>
>is it possible to support the above feature using GtkState, when the state
>is active (GTK_STATE_ACTIVE) ,
>
>it will read from the GtkStyle  or by using RC file and display the image.
>
> 
>
>i think currently the rc file supports xmp format 
>
>  
>
Yes you can do that with the style engine, use the "pixbuf"
engine and it will allow you to define graphics files for every state
of every style in any graphics format supported by GdkPixbuf.

HINT: You'll probably want to skin your button by name.
HINT2: If you've never done gtkrc before - search and find examples
and start from there (the docs are a good read too - but you'll need
solid functional evidence I think).

Cheers,
                                     -Tristan

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to