class_docstr: Button widget.
  
  This widget has an `on_click` method that allows you to listen for the
  user clicking on the button.  The click event itself is stateless.
  
  Parameters
  ----------
  description: str
     description displayed next to the button
  tooltip: str
     tooltip caption of the toggle button
  icon: str
     font-awesome icon name
  disabled: bool
     whether user interaction is enabled
class_docstr_tok: ["Button","widget",".","This","widget","has","an","`","on_click","`","method","that","allows","you","to","listen","for","the","user","clicking","on","the","button",".","The","click","event","itself","is","stateless",".","Parameters","--","--","--","--","--","description",":","str","description","displayed","next","to","the","button","tooltip",":","str","tooltip","caption","of","the","toggle","button","icon",":","str","font-awesome","icon","name","disabled",":","bool","whether","user","interaction","is","enabled"]
docstr: Register a callback to execute when the button is clicked.
  
  The callback will be called with one argument, the clicked button
  widget instance.
  
  Parameters
  ----------
  remove: bool (optional)
      Set to true to remove the callback from the list of callbacks.
docstr_tok: ["Register","a","callback","to","execute","when","the","button","is","clicked",".","The","callback","will","be","called","with","one","argument",",","the","clicked","button","widget","instance",".","Parameters","--","--","--","--","--","remove",":","bool","(","optional",")","Set","to","true","to","remove","the","callback","from","the","list","of","callbacks","."]
code: def on_click(self, callback, remove=False):
      """Register a callback to execute when the button is clicked.
  
      The callback will be called with one argument, the clicked button
      widget instance.
  
      Parameters
      ----------
      remove: bool (optional)
          Set to true to remove the callback from the list of callbacks.
      """
      self._click_handlers.register_callback(callback, remove=remove)
  
file_path: catboost/contrib/python/ipywidgets/py2/ipywidgets/widgets/widget_button.py
imports: from .domwidget import DOMWidget
  from .widget import CallbackDispatcher, register, widget_serialization
  from .widget_core import CoreWidget
  from .widget_style import Style
  from .trait_types import Color, InstanceDict
  from traitlets import Unicode, Bool, CaselessStrEnum, Instance, validate, default
  import warnings
label_desc: Use image node_id 3 for calling the Button obj's underlying member method code with example usage: obj.on_click(callback, remove) without return types