Re: custom widget for tree-view column header
- From: Stefan Kost <kost imn htwk-leipzig de>
- To: John Vetterli <jvetterli linux ca>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: custom widget for tree-view column header
- Date: Thu, 06 Jan 2005 13:35:54 +0100
thanks john, youre absolutely right! Man, that is so clear (getting red ..)
Stefan
John Vetterli wrote:
On Wed, 05 Jan 2005 17:34:14 +0100
Stefan Kost <kost imn htwk-leipzig de> wrote:
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);
The attributes control what is displayed in the cells, not the header.
I think what you want is gtk_tree_view_column_set_widget.
JV
--
\|/ 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]