Re: how to add icon to clist items



>
> i loaded
> image in pix buf with gdk_pixbuf_new_from_file,
> but when i use this
> gtk_clist_set_pixmap
> i get segmentation error.
> please solve this

I can't solve that problem, but I can tell you that GtkCList is
deprecated. You really should try to use GtkTreeView instead.
Unfortunately it is a little more complicated, but there is documentation.

In general, when you see a segmentation error, you should try to use a
debugger or valgrind to get some clues about what caused it.


Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




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