custom widget for tree-view column header



hi hi,

instead of passing a title I now use a onw label (because later this will be a
box with buttons and the label). I use the following code. The problem is that
the heading is blank. Any ideas.

label=gtk_label_new("abc");
gtk_widget_show(label);
gtk_tree_view_insert_column_with_attributes(
    self->priv->sequence_table,-1,NULL,renderer,
    "widget",label,
    NULL);

Stefan
-- 
      \|/            Stefan Kost
     <@ @>           private            business
+-oOO-(_)-OOo------------------------------------------------------ - - -  -   -
|       __  Address  Simildenstr. 5     HTWK Leipzig, Fb IMN, Postfach 301166
|      ///           04277 Leipzig      04251 Leipzig
| __  ///            Germany            Germany
| \\\///    Phone    +49341 2253538     +49341 30766101
|  \__/     EMail    st_kost_at_gmx.net kost_at_imn.htwk-leipzig.de
|           WWW      www.sonicpulse.de  www.imn.htwk-leipzig.de/~kost/about.html
===-=-=--=---=---------------------------------- - - -  -    -


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