Re: [gtk-list] Re: Pixmaps in gtk



Hi !

> I beg to differ.  Buttons can hold any widget, including GtkPixmaps.
> While handling the button-press event, swap in a different GtkPixmap.
> You can make the user_data be a pointer to an array of GtkPixmaps,
> and drop the correct one in at each button press.

I was not precise enough (sorry). As you said, it is possible. But I had
in mind, that you can define in your gtkrc something like
"Style = fancy_pixmap_style" and have all your application automatically using
pixmaps for widgets. Without recompiling your apps or gtk.

			Jens Ch. Restemeier



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