-
Couldn't load subscription status.
- Fork 6
CTkInput
Rudy edited this page Feb 26, 2024
·
1 revision

# CTkInput
my_input = CTkInput(master=app, width=250, height=35, icon_width=20, icon_height=20, border_width=1)
my_input.pack(padx=20, pady=20)
my_input.show_waring(border_color="red") # Create a warning input
my_input.password_input() # Create a password input
my_input.custom_input(icon_path, text=None, compound="right") # Create a custom input
# Call this function to reset input default
my_input.reset_default()| Parameter | Description |
|---|---|
master |
The parent widget |
icon_width |
Width of the icon |
icon_height |
Height of the icon |
**kwargs |
Additional keyword arguments for the CTkEntry
|