| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

GtkTreeViewColumn

Page history last edited by PBworks 17 years, 10 months ago

Documentation

A visible column in a GtkTreeView widget.

Example:

GtkTreeViewColumn new: 'Title' cell: GtkCellRendererText new attributes: {'text'->0}

or

GtkTreeViewColumn new: 'Title' text: 0

 


 

GtkTreeViewColumn class

new

Creates a plain GtkTreeViewColumn without any attribute

 

new: aString

Creates a GtkTreeViewColumn with the given column title, without any attribute

 

new: aString cell: aGtkCellRenderer attributes: aDictionary

Creates a GtkTreeViewColumn with the given column title. Also packStart the cell renderer and set to it the given attributes

 

new: aString text: anInteger

Convenience method to create a column with a GtkCellRendererText set on the given column index.

Same as:

GtkTreeViewColumn new: aString cell: GtkCellRendererText new attributes: {'text'->anInteger}

 

GtkTreeViewColumn

uses: GtkCellLayout
subclasses: GtkObject -> GObject

addAttributes: aDictionary on: aGtkCellRenderer

Add the given attributes (anAttributeName->aColumn) to the cell renderer

 

title: aString

Set the column title

Comments (0)

You don't have permission to comment on this page.