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

Re: PixBufs and TreeViews



On Tue, May 14, 2002 at 05:10:16PM +1000, Brett Nash wrote:
>         renderer = gtk_cell_renderer_pixbuf_new();
>         pixbuf = gdk_pixbuf_new_from_file("myfile.xpm",&gerror);
>         column = gtk_tree_view_column_new_with_attributes(
>                         "P",renderer,
>                         "pixmap",1, /* the store col */
>                         "pixbuf",pixbuf,
>                         NULL);
>         gtk_tree_view_append_column(GTK_TREE_VIEW(view), column);

I don't see any property "pixmap" on GtkCellRendererPixbuf or any of its
parents-- where'd you get that from?

-- 
      Evan Martin
martine@cs.washington.edu
  http://neugierig.org



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