dialog_event_get_selected_label()

Get the label of the selected button from a DIALOG_RESPONSE event.

Synopsis:

#include <bps/dialog.h>
 
BPS_API const char* dialog_event_get_selected_label(bps_event_t *event)

Since:

BlackBerry 10.0.0

Arguments:

event

The DIALOG_RESPONSE event to get the selected button label from.

Library:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

The dialog_event_get_selected_label() function gets the label of the selected button after a dialog button has been pressed by the user.

Returns:

The text label of the selected button.

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus