Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Classes | |
struct | DialogOKMessage |
struct | DialogYesNoMessage |
Payload sent for message TMSG_GUI_DIALOG_YESNO. More... | |
Enumerations | |
enum class | DialogResponse : int { CHOICE_CANCELLED , CHOICE_YES , CHOICE_NO , CHOICE_CUSTOM } |
Functions | |
DialogResponse | ShowYesNoDialogText (CVariant heading, CVariant text, CVariant noLabel=CVariant(), CVariant yesLabel=CVariant(), uint32_t autoCloseTimeout=0) |
This is a helper method to send a threadmessage to open a Yes/No dialog box. | |
DialogResponse | ShowYesNoCustomDialog (CVariant heading, CVariant text, CVariant noLabel=CVariant(), CVariant yesLabel=CVariant(), CVariant customLabel=CVariant(), uint32_t autoCloseTimeout=0) |
This is a helper method to send a threadmessage to open a Yes/No dialog box with a custom button. | |
DialogResponse | ShowYesNoDialogLines (CVariant heading, CVariant line0, CVariant line1=CVariant(), CVariant line2=CVariant(), CVariant noLabel=CVariant(), CVariant yesLabel=CVariant(), uint32_t autoCloseTimeout=0) |
This is a helper method to send a threadmessage to open a Yes/No dialog box. | |
bool | ShowOKDialogText (CVariant heading, CVariant text) |
This is a helper method to send a threadmessage to open a Ok dialog box. | |
void | UpdateOKDialogText (CVariant heading, CVariant text) |
This is a helper method to send a threadmessage to update a Ok dialog text. | |
bool | ShowOKDialogLines (CVariant heading, CVariant line0, CVariant line1=CVariant(), CVariant line2=CVariant()) |
This is a helper method to send a threadmessage to open a OK dialog box. | |
|
strong |
bool KODI::MESSAGING::HELPERS::ShowOKDialogLines | ( | CVariant | heading, |
CVariant | line0, | ||
CVariant | line1 = CVariant(), | ||
CVariant | line2 = CVariant() ) |
This is a helper method to send a threadmessage to open a OK dialog box.
[in] | heading | The text to display as the dialog box header |
[in] | line0 | The text to display on the first line |
[in] | line1 | The text to display on the second line |
[in] | line2 | The text to display on the third line |
This is a helper method to send a threadmessage to open a Ok dialog box.
[in] | heading | The text to display as the dialog box header |
[in] | text | The text to display in the dialog body |
DialogResponse KODI::MESSAGING::HELPERS::ShowYesNoCustomDialog | ( | CVariant | heading, |
CVariant | text, | ||
CVariant | noLabel = CVariant(), | ||
CVariant | yesLabel = CVariant(), | ||
CVariant | customLabel = CVariant(), | ||
uint32_t | autoCloseTimeout = 0 ) |
This is a helper method to send a threadmessage to open a Yes/No dialog box with a custom button.
[in] | heading | The text to display as the dialog box header |
[in] | text | The text to display in the dialog body |
[in] | noLabel | The text to display on the No button defaults to No |
[in] | yesLabel | The text to display on the Yes button defaults to Yes |
[in] | customLabel | The text to display on the optional 3rd custom button defaults to empty and button not shown |
[in] | autoCloseTimeout | The time before the dialog closes defaults to 0 show indefinitely |
DialogResponse KODI::MESSAGING::HELPERS::ShowYesNoDialogLines | ( | CVariant | heading, |
CVariant | line0, | ||
CVariant | line1 = CVariant(), | ||
CVariant | line2 = CVariant(), | ||
CVariant | noLabel = CVariant(), | ||
CVariant | yesLabel = CVariant(), | ||
uint32_t | autoCloseTimeout = 0 ) |
This is a helper method to send a threadmessage to open a Yes/No dialog box.
[in] | heading | The text to display as the dialog box header |
[in] | line0 | The text to display on the first line |
[in] | line1 | The text to display on the second line |
[in] | line2 | The text to display on the third line |
[in] | noLabel | The text to display on the No button defaults to No |
[in] | yesLabel | The text to display on the Yes button defaults to Yes |
[in] | autoCloseTimeout | The time before the dialog closes defaults to 0 show indefinitely |
DialogResponse KODI::MESSAGING::HELPERS::ShowYesNoDialogText | ( | CVariant | heading, |
CVariant | text, | ||
CVariant | noLabel = CVariant(), | ||
CVariant | yesLabel = CVariant(), | ||
uint32_t | autoCloseTimeout = 0 ) |
This is a helper method to send a threadmessage to open a Yes/No dialog box.
[in] | heading | The text to display as the dialog box header |
[in] | text | The text to display in the dialog body |
[in] | noLabel | The text to display on the No button defaults to No |
[in] | yesLabel | The text to display on the Yes button defaults to Yes |
[in] | autoCloseTimeout | The time before the dialog closes defaults to 0 show indefinitely |
This is a helper method to send a threadmessage to update a Ok dialog text.
[in] | heading | The text to display as the dialog box header |
[in] | text | The text to display in the dialog body |