Skip to content

CTextEdit

D. Liam Mc. edited this page Jun 19, 2025 · 1 revision
CLineEdit Image

Example

text_edit = CTextEdit(self, placeholder_text="CTextEdit")

Arguments

Argument Value
master self, Any PySide Qt Widget or PyCt Widget
width integer, width in pixels
height integer, height in pixels
text string, text
placeholder_text string, placeholder text
tooltip string, tooltip
font_family string, font
font_size integer, font size in pixels
font_style string, font style
border_width integer, border width in pixels
corner_radius integer, corner radius in pixels
text_color tuple: ("light color", "dark color") or single color, text color
placeholder_text_color tuple: ("light color", "dark color") or single color, placeholder text color
background_color tuple: ("light color", "dark color") or single color, background color
border_color tuple: ("light color", "dark color") or single color, border color
disabled_text_color tuple: ("light color", "dark color") or single color, disabled text color
disabled_background_color tuple: ("light color", "dark color") or single color, disabled background color

Clone this wiki locally