code: def setup_apply_button(self, button):
      button.click(
          fn=materialize_styles,
          inputs=[
              self.main_ui_prompt,
              self.main_ui_negative_prompt,
              self.dropdown,
          ],
          outputs=[
              self.main_ui_prompt,
              self.main_ui_negative_prompt,
              self.dropdown,
          ],
          show_progress=False,
      ).then(
          fn=None,
          _js="function(){update_"
          + self.tabname
          + "_tokens(); closePopup();}",
          show_progress=False,
      )
  
file_path: stable-diffusion-webui/modules/ui_prompt_styles.py
imports: import gradio
  from modules import shared, ui_common, ui_components, styles
label_desc: Use image node_id 2 for calling the UiPromptStyles obj's underlying member method code with example usage: obj.setup_apply_button(button) without return types