libui/docs/uiEntry.md

721 B

uiEntry

uiEntry is a control which represents an area where a user can enter a single line of text.

Windows Unix OS X
Entry on Windows Entry on Unix Entry on OS X

uiEntry derives from uiControl.

constructor NewEntry()

uiEntry *uiNewEntry(void);

Creates a new uiEntry.

func Text()

char *uiEntryText(uiEntry *e);

Returns the text currently entered in the uiEntry. Free the returned string with uiTextFree().

func SetText()

void uiEntrySetText(uiEntry *e, const char *text);

Changes the text currently entered in the uiEntry to the given text string.