self.paste=ToolButton(value=paste_symbol,elem_id="paste",tooltip="Read generation parameters from prompt or last generation if prompt is empty into user interface.")
self.apply_styles=ToolButton(value=ui_prompt_styles.styles_materialize_symbol,elem_id=f"{id_part}_style_apply",tooltip="Apply all selected styles to prompts.")
self.selection=gr.Dropdown(label="Styles",elem_id=f"{tabname}_styles_edit_select",choices=list(shared.prompt_styles.styles),value=[],allow_custom_value=True,info="Styles allow you to add custom text to prompt. Use the {prompt} token in style text, and it will be replaced with user's prompt when applying style. Otherwise, style's text will be added to the end of the prompt.")
self.materialize=ui_components.ToolButton(value=styles_materialize_symbol,elem_id=f"{tabname}_style_apply",tooltip="Apply all selected styles from the style selction dropdown in main UI to the prompt.")
self.materialize=ui_components.ToolButton(value=styles_materialize_symbol,elem_id=f"{tabname}_style_apply_dialog",tooltip="Apply all selected styles from the style selction dropdown in main UI to the prompt.")
self.copy=ui_components.ToolButton(value=styles_copy_symbol,elem_id=f"{tabname}_style_copy",tooltip="Copy main UI prompt to style.")