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

  • Work with all your cloud files (Drive, Dropbox, and Slack and Gmail attachments) and documents (Google Docs, Sheets, and Notion) in one place. Try Dokkio (from the makers of PBworks) for free. Now available on the web, Mac, Windows, and as a Chrome extension!

View
 

GtkTreeViewColumn

Page history last edited by PBworks 15 years, 5 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.