ButtonRegistry¶
-
class ButtonRegistry¶
The ButtonRegistry class maintains all the assigned
ButtonHandlesin a given system. There should be only one ButtonRegistry class during the lifetime of the application.Inheritance diagram
digraph inheritance65a746165a { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "ButtonRegistry" [URL="acron.core.ButtonRegistry.html#acron.core.ButtonRegistry",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "ButtonRegistry" [arrowsize=0.75,style=""]; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; }- ButtonRegistry.__init__()¶
- ButtonRegistry.find_ascii_button()¶
Finds a
ButtonHandlein the registry matching the indicated ASCII equivalent character. If there is no suchButtonHandle, returnsButtonHandle::none().
- ButtonRegistry.find_button()¶
Finds a
ButtonHandlein the registry matching the indicated name. If there is no suchButtonHandle, returnsButtonHandle::none().
- ButtonRegistry.get_button()¶
Finds a
ButtonHandlein the registry matching the indicated name. If there is no suchButtonHandle, registers a new one and returns it.
- static ButtonRegistry.ptr()¶
ptr() returns the pointer to the global
ButtonRegistryobject.Returns the pointer to the global
ButtonRegistryobject.
- ButtonRegistry.write()¶