GUI: DateTimeInput view module API. More...
Go to the source code of this file.
Functions | |
| DateTimeInput * | date_time_input_alloc (void) |
| Allocate and initialize date/time input. | |
| void | date_time_input_free (DateTimeInput *date_time_input) |
| Deinitialize and free date/time input. | |
| View * | date_time_input_get_view (DateTimeInput *date_time_input) |
| Get date/time input view. | |
| void | date_time_input_set_result_callback (DateTimeInput *date_time_input, DateTimeChangedCallback changed_callback, DateTimeDoneCallback done_callback, void *callback_context, DateTime *datetime) |
| Set date/time input result callback. | |
| void | date_time_input_set_editable_fields (DateTimeInput *date_time_input, bool year, bool month, bool day, bool hour, bool minute, bool second) |
| Set date/time fields which can be edited. | |
GUI: DateTimeInput view module API.
| DateTimeInput * date_time_input_alloc | ( | void | ) |
Allocate and initialize date/time input.
This screen used to input a date and time
| void date_time_input_free | ( | DateTimeInput * | date_time_input | ) |
Deinitialize and free date/time input.
| date_time_input | Date/time input instance |
| View * date_time_input_get_view | ( | DateTimeInput * | date_time_input | ) |
Get date/time input view.
| date_time_input | Date/time input instance |
| void date_time_input_set_editable_fields | ( | DateTimeInput * | date_time_input, |
| bool | year, | ||
| bool | month, | ||
| bool | day, | ||
| bool | hour, | ||
| bool | minute, | ||
| bool | second ) |
Set date/time fields which can be edited.
| date_time_input | date/time input instance |
| year | whether to allow editing the year |
| month | whether to allow editing the month |
| day | whether to allow editing the day |
| hour | whether to allow editing the hour |
| minute | whether to allow editing the minute |
| second | whether to allow editing the second |
| void date_time_input_set_result_callback | ( | DateTimeInput * | date_time_input, |
| DateTimeChangedCallback | changed_callback, | ||
| DateTimeDoneCallback | done_callback, | ||
| void * | callback_context, | ||
| DateTime * | datetime ) |
Set date/time input result callback.
| date_time_input | date/time input instance |
| changed_callback | changed callback fn |
| done_callback | finished callback fn |
| callback_context | callback context |
| datetime | date/time value |