xxxxxxxxxx
== SecureHandler templates==
{| class="darktable"
! Template !! Function !! Executed snippets
|-
| SecureHandlerBaseTemplate || Enables use of SecureHandler methods on the frame. || ''none''
| SecureHandlerStateTemplate || Fires snippet when a state-''xxx'' attribute changes. || '''_onstate-''xxx'''''(self, stateid, newstate)
| SecureHandlerAttributeTemplate || Responds to attribute changes || '''_onattributechanged'''(self, name, value)
| SecureHandlerClickTemplate || Responds to clicks || '''_onclick'''(self, button, down)
| SecureHandlerDoubleClickTemplate || Responds to double clicks || '''_ondoubleclick'''(self, button, down)
| SecureHandlerDragTemplate || Enables dragging || '''_ondragstart'''(self, button), '''_onreceivedrag'''(self, button, kind, value, ...)
| SecureHandlerMouseUpDownTemplate || Mouse up/down events || '''_onmouseup'''(self, button), '''_onmousedown'''(self, button)
| SecureHandlerMouseWheelTemplate || Mouse wheel || '''_onmousewheel'''(self, delta)
| SecureHandlerEnterLeaveTemplate || Mouse entering/leaving frame || '''_onenter'''(self), '''_onleave'''(self)
|}