Re: textview



On Thu, Aug 31, 2006 at 02:57:26AM -0700, cnu_sree wrote:
> 
> how we can restrict tha num of chars iin each line of a tree view
> is there any special function
> please tell me

you mean restrict the length of the line that's rendered in each line in
the treeview?  You probably want to read about the GtkCellRendererText
type.

https://stage.maemo.org/svn/maemo/projects/haf/doc/api/gtk/GtkCellRendererText.html

Columns have default renderers.  You use this class to make a
specialized renderer.  What does the "rendering" is a callback you
provide which is referenced from an instance of this class.  Google for
GtkCellRendererText and similar things and you'll find a tutorial.

- Anna




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