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

  • Stop wasting time looking for files and revisions. Connect your Gmail, DriveDropbox, and Slack accounts and in less than 2 minutes, Dokkio will automatically organize all your file attachments. Learn more and claim your free account.

View
 

GtkTreeViewColumn

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