dhtmlXWindowsButton API

Methods
attachContextMenu attaches a context menu to a window's button
attachEvent adds any user-defined handler to available events
detachContextMenu detaches a context menu from a window's button
detachEvent detaches a handler from an event
disable disables a button
enable enables a button
getContextMenu returns the context menu object attached to a window's button
hide hides a button
isEnabled checks if a button is enabled
isHidden checks if a button is hidden
setCss sets custom CSS style for a button
show shows a button
Events
onClick redefines default onClick handler
Back to top