TreeViewColumn

A class representing a column in the tree view.

Constructors

this
this(string title, string anchor)

Construct a new column.

Members

Functions

removeHeadingCommand
auto removeHeadingCommand()

Remove the column command.

setHeading
auto setHeading(string title, string anchor)

Set the heading title.

setHeadingCommand
auto setHeadingCommand(CommandCallback callback)

Set the column command to be executed when clicking on the heading.

setHeadingImage
auto setHeadingImage(Image image)

Set the heading image.

setMinWidth
auto setMinWidth(int minWidth)

Set the minium width of the column.

setStretch
auto setStretch(bool stretch)

Enable or disable stretching for the column. This controls how this column react when other columns or the parent widget is resized.

setWidth
auto setWidth(int width)

Set the width of the column.

Inherited Members

From Element

_tk
Tk _tk;
Undocumented in source.
_parent
Element _parent;
Undocumented in source.
_manualIdentifier
string _manualIdentifier;
Undocumented in source.
_elementId
string _elementId;
Undocumented in source.
_hash
string _hash;
Undocumented in source.
id
string id [@property getter]

The unique id of this element.

parent
Element parent [@property getter]

The parent element if any.

overrideGeneratedId
void overrideGeneratedId(string identifier)
Undocumented in source. Be warned that the author may not have intended to support it.
generateHash
string generateHash()
Undocumented in source. Be warned that the author may not have intended to support it.
generateHash
string generateHash(string text, A args)
Undocumented in source. Be warned that the author may not have intended to support it.
getCommandName
string getCommandName(string uniqueData)
Undocumented in source. Be warned that the author may not have intended to support it.
createCommand
string createCommand(CommandCallback callback, string uniqueData)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta