set_width_chars


Description:

public void set_width_chars (int max_width)

Sets this's maximum width in characters, without taking into account any prefix or suffix (which will automatically be handled).

If you want to take a prefix or suffix into account direclty, then use set_width_chars

Parameters:

this

a Entry widget

max_width

maximum width, or -1




2022 vala-language.org