Method GTK2.CellRendererText()->create()
- Method
create
GTK2.CellRendererText GTK2.CellRendererText(
mapping
|void
props
)- Description
Creates a new W(CellRendererText). Adjust how text is drawn using object properties. Object properties can be set globally (with G.Object->set()). Also, with W(TreeViewColumn), you can bind a property to a value in a W(TreeModel). For example, you can bind the "text" property on the cell renderer to a string value in the model, thus rendering a different string in each row of the W(TreeView).