This is the description of standalone Python functions in the customtreectrl module.
ChopText | Chops the input text if its size does not fit in max_size, by cutting the text and adding ellipsis at the end. |
DrawTreeItemButton | Draw the expanded/collapsed icon for a tree control item. |
EventFlagsToSelType | Translate the key or mouse event flag to the type of selection we are dealing with. |
MakeDisabledBitmap | Creates a disabled-looking bitmap starting from the input one. |
Chops the input text if its size does not fit in max_size, by cutting the text and adding ellipsis at the end.
Parameters: |
|
---|
Note
This method is used exclusively when CustomTreeCtrl has the TR_ELLIPSIZE_LONG_ITEMS style set.
New in version 0.9.3.
Draw the expanded/collapsed icon for a tree control item.
Parameters: |
---|
Note
This is a simple replacement of wx.RendererNative.DrawTreeItemButton.
Note
This method is never used in wxPython versions newer than 2.6.2.1.
Translate the key or mouse event flag to the type of selection we are dealing with.
Parameters: |
|
---|---|
Returns: | A 3-elements tuple, with the following elements:
|
Creates a disabled-looking bitmap starting from the input one.
Parameters: | original – an instance of wx.Bitmap to be greyed-out. |
---|---|
Returns: | An instance of wx.Bitmap, containing a disabled-looking representation of the original item image. |