Re: custom widget for tree-view column header
- From: John Vetterli <jvetterli linux ca>
- To: gtk-app-devel-list gnome org
- Subject: Re: custom widget for tree-view column header
- Date: Wed, 5 Jan 2005 14:42:03 -0500
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
--
Windows 95 is crash compatible with Windows 1.0, 2.x, and 3.x.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]