| Trees | Indices | Help |
|
|---|
|
|
object --+
|
SubLayer --+
|
SubLayer_DropDown
A combo-box in the style of csDropDownList (enumerated choices only). Uses Tool_DropDown to show the menu items. Displays the menu using a Tool, therefore can't be used in Tool.layers, only in ToolSpace proper.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
|
label string that's showing when the menu is not open |
|||
|
OnDropDown WeakEvent(SubLayer_DropDown) before the menu is shown |
|||
|
menu you directly edit this list of menu items (label, action), where label is a string, and action() is called when clicked. |
|||
|
Inherited from |
|||
|
|||
| color | |||
|
Inherited from Inherited from |
|||
|
|||
See also: SubLayer.__init__
|
Override this method to paint the SubLayer. Don't forget to call SubLayer.draw(context, w, h, appearance).
|
|
|||
labelstring that's showing when the menu is not open
|
|
|||
color
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Fri Dec 15 19:07:38 2017 | http://epydoc.sourceforge.net |