Re: [gtk-list] pixmap in list item





On Sat, 27 Dec 1997, Sascha Ziemann wrote:

> How can I invert a black and white pixmap in a list item, if it is
> selected?

I haven't tried it out, but you should be able to hook onto the
"state_changed" signal for the Pixmap widget, and change to the
appropriate pixmap depending on the new state of the widget.
(GTK_STATE_NORMAL/GTK_STATE_SELECTED)

Regards,
                                     Owen



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