Re: [gtk-list] Pb with CLIST and Pixmaps ...



Hi Quentin!

On Thu, May 20, 1999 at 02:36:38PM +0200, Quentin Delamarre wrote:

> I would like to create a CLIST with 2 columns: one for some
> text, and one for pixmaps.
> 
> The problem I have is that the pixmaps are not visible !

gtk_clist_set_pixmap needs a GdkPixmap and a GdkBitmap.
                              ^
You try to call set_pixmap with an GtkPixmap. You should call
something like :

gtk_clist_set_pixmap (GTK_CLIST(clist), row, 1, gdkpixmap, mask);
 
bye,
  Lars



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