PyPushButton#

class ansys.aedt.toolkits.common.ui.utils.widgets.py_push_button.py_push_button.PyPushButton(text, radius, color, bg_color, bg_color_hover, bg_color_pressed, font_size, parent=None)[source]#

Initialize the PyPushButton.

Parameters:
textstr

The title text for the right column.

radiusint

The border radius of the button.

colorstr

The text color of the button.

bg_colorstr

The background color of the button.

bg_color_hoverint

The background color of the button when hovered.

bg_color_pressedstr

The background color of the button when pressed.

font_sizeint

The font size of the text on the button.

parentstr, optional

The parent widget. The default is None.