Re: [gtk-list] GtkCList.
- From: Federico Mena Quintero <federico nuclecu unam mx>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] GtkCList.
- Date: Fri, 24 Apr 1998 00:11:11 -0500
> -) I want to be able to query the width of the columns, so I may
> save and restore them when my program is being run next time.
> (The justification too, but this is changed under Program control, so
> it's a much lesser problem :) )
You can access the clist->column array of GtkCListColumn structures.
Each item contains the width of the column.
> -) What's the correct way to setup the width's of columns sensibly?
> Trial and error and using width's in pixels?
You can use gdk_string_width(), I guess... it's not the easiest way
of doing things, but it works fine.
Federico
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]