libui-ng
A portable GUI library for C
|
Functions | |
char * | uiOpenFile (uiWindow *parent) |
File chooser dialog window to select a single file. More... | |
char * | uiOpenFolder (uiWindow *parent) |
Folder chooser dialog window to select a single folder. More... | |
char * | uiSaveFile (uiWindow *parent) |
Save file dialog window. More... | |
void | uiMsgBox (uiWindow *parent, const char *title, const char *description) |
Message box dialog window. More... | |
void | uiMsgBoxError (uiWindow *parent, const char *title, const char *description) |
Error message box dialog window. More... | |
void uiMsgBox | ( | uiWindow * | parent, |
const char * | title, | ||
const char * | description | ||
) |
Message box dialog window.
A message box displayed in a new window indicating a common message.
parent | Parent window. |
title | Dialog window title text. A valid, NUL terminated UTF-8 string.Data is copied internally. Ownership is not transferred. |
description | Dialog message text. A valid, NUL terminated UTF-8 string.Data is copied internally. Ownership is not transferred. |
void uiMsgBoxError | ( | uiWindow * | parent, |
const char * | title, | ||
const char * | description | ||
) |
Error message box dialog window.
A message box displayed in a new window indicating an error. On some systems this may invoke an accompanying sound.
parent | Parent window. |
title | Dialog window title text. A valid, NUL terminated UTF-8 string.Data is copied internally. Ownership is not transferred. |
description | Dialog message text. A valid, NUL terminated UTF-8 string.Data is copied internally. Ownership is not transferred. |
char * uiOpenFile | ( | uiWindow * | parent | ) |
File chooser dialog window to select a single file.
parent | Parent window. |
NULL
on cancel.NULL
:uiFreeText()
. char * uiOpenFolder | ( | uiWindow * | parent | ) |
Folder chooser dialog window to select a single folder.
parent | Parent window. |
NULL
on cancel.NULL
:uiFreeText()
. char * uiSaveFile | ( | uiWindow * | parent | ) |
Save file dialog window.
The user is asked to confirm overwriting existing files, should the chosen file path already exist on the system.
parent | Parent window. |
NULL
on cancel.NULL
:uiFreeText()
.