TimePicker shows a time as 24-hour HH:MM, or a placeholder while no time is chosen, and opens an hour and a minute column at the current value. A tap, a finger drag or fling, or the mouse wheel picks and scrolls; Down opens it, the arrow keys step a column and wrap within it, Left and Right switch columns, and Enter or Escape closes it. Optional Now and Done buttons set the current time and close the popup. The time changes as it is picked, so closing never loses a choice, and the popup stays on screen, opening above the field when there is no room below. The picker takes the dropdown's look from every style, light or dark, and portable apps can draw it through the widget host. Dropdowns now follow Kryon's light and dark system palettes; a dark palette left their field and menu light before. `make -C examples time-picker` builds a window that shows the picker in each of its states.
212 lines
3.2 KiB
Plaintext
212 lines
3.2 KiB
Plaintext
accelerator.zi
|
|
accessibility_node.zi
|
|
accessibility_policy.zi
|
|
accessibility_props.zi
|
|
app_shell_layout.zi
|
|
bevel.zi
|
|
box_props.zi
|
|
box_widget.zi
|
|
button.zi
|
|
button_props.zi
|
|
button_widget.zi
|
|
canvas.zi
|
|
canvas_grid.zi
|
|
canvas_props.zi
|
|
capability_layout.zi
|
|
card.zi
|
|
card_props.zi
|
|
cell.zi
|
|
checkbox.zi
|
|
checkbox_props.zi
|
|
checkbox_widget.zi
|
|
clipboard.zi
|
|
collapsible.zi
|
|
collapsible_props.zi
|
|
collapsible_widget.zi
|
|
color_picker.zi
|
|
color_picker_props.zi
|
|
color_picker_widget.zi
|
|
composition_input.zi
|
|
context_menu_widget.zi
|
|
control_props.zi
|
|
cursor.zi
|
|
dialog.zi
|
|
dpi.zi
|
|
drag.zi
|
|
drag_drop.zi
|
|
drag_drop_props.zi
|
|
drag_props.zi
|
|
drawing_props.zi
|
|
dropdown.zi
|
|
dropdown_props.zi
|
|
dropdown_widget.zi
|
|
fieldset.zi
|
|
fieldset_props.zi
|
|
fieldset_widget.zi
|
|
flow.zi
|
|
focus.zi
|
|
font_metrics.zi
|
|
frame_capture.zi
|
|
frame_input.zi
|
|
frame_pacing.zi
|
|
frame_transition.zi
|
|
geometry.zi
|
|
grid.zi
|
|
grid_props.zi
|
|
group.zi
|
|
icon.zi
|
|
image.zi
|
|
image_props.zi
|
|
image_raster.zi
|
|
image_widget.zi
|
|
input.zi
|
|
input_props.zi
|
|
inspect.zi
|
|
instance.zi
|
|
key_input.zi
|
|
layout.zi
|
|
layout_props.zi
|
|
layout_widget.zi
|
|
link.zi
|
|
link_props.zi
|
|
link_widget.zi
|
|
list_box.zi
|
|
list_box_multi.zi
|
|
list_box_props.zi
|
|
list_box_widget.zi
|
|
locale_defaults.zi
|
|
material.zi
|
|
menu.zi
|
|
menu_props.zi
|
|
menu_widget.zi
|
|
modal.zi
|
|
modal_frame_widget.zi
|
|
modal_props.zi
|
|
modal_widget.zi
|
|
navigation_bar.zi
|
|
navigation_bar_config_props.zi
|
|
navigation_bar_config_widget.zi
|
|
navigation_bar_props.zi
|
|
navigation_bar_widget.zi
|
|
notification.zi
|
|
overlay.zi
|
|
overlay_props.zi
|
|
overlay_widget.zi
|
|
page.zi
|
|
page_props.zi
|
|
page_text.zi
|
|
paint.zi
|
|
paint_queue.zi
|
|
paint_texture.zi
|
|
paned_view.zi
|
|
paned_view_props.zi
|
|
paragraph.zi
|
|
pointer_input.zi
|
|
popup_ownership.zi
|
|
popup_policy.zi
|
|
popup_props.zi
|
|
preference_policy.zi
|
|
press_props.zi
|
|
press_widget.zi
|
|
primitive.zi
|
|
profile_header.zi
|
|
progress.zi
|
|
progress_props.zi
|
|
progress_raster.zi
|
|
progress_style.zi
|
|
progress_widget.zi
|
|
radio.zi
|
|
radio_props.zi
|
|
radio_widget.zi
|
|
raster.zi
|
|
raster_shape.zi
|
|
raster_text.zi
|
|
reorder.zi
|
|
reorder_props.zi
|
|
reorder_widget.zi
|
|
route.zi
|
|
router.zi
|
|
router_props.zi
|
|
rows.zi
|
|
scene_tree_props.zi
|
|
scroll.zi
|
|
scroll_device.zi
|
|
scroll_props.zi
|
|
scroll_widget.zi
|
|
secondary_pointer.zi
|
|
segmented_control.zi
|
|
segmented_control_props.zi
|
|
segmented_control_widget.zi
|
|
selectable.zi
|
|
selectable_props.zi
|
|
selectable_widget.zi
|
|
semantic.zi
|
|
separator.zi
|
|
separator_props.zi
|
|
separator_widget.zi
|
|
session.zi
|
|
slider.zi
|
|
slider_props.zi
|
|
slider_widget.zi
|
|
spinbox.zi
|
|
spinbox_props.zi
|
|
spinbox_widget.zi
|
|
style.zi
|
|
style_picker.zi
|
|
style_picker_props.zi
|
|
style_sheet.zi
|
|
surface.zi
|
|
svg_icon.zi
|
|
svg_shape.zi
|
|
swipe.zi
|
|
swipe_props.zi
|
|
system_clipboard.zi
|
|
system_theme.zi
|
|
tab_bar.zi
|
|
tab_bar_props.zi
|
|
tab_bar_widget.zi
|
|
terminal_list.zi
|
|
text_align.zi
|
|
text_area_widget.zi
|
|
text_behavior.zi
|
|
text_context_menu.zi
|
|
text_emphasis.zi
|
|
text_field_widget.zi
|
|
text_host.zi
|
|
text_input.zi
|
|
text_input_platform.zi
|
|
text_input_props.zi
|
|
text_layout.zi
|
|
text_props.zi
|
|
text_request.zi
|
|
text_rows.zi
|
|
text_style.zi
|
|
text_widget.zi
|
|
theme.zi
|
|
time_picker.zi
|
|
time_picker_props.zi
|
|
time_picker_widget.zi
|
|
title_bar.zi
|
|
title_bar_props.zi
|
|
title_bar_widget.zi
|
|
toast.zi
|
|
toast_props.zi
|
|
toast_widget.zi
|
|
toggle.zi
|
|
toggle_props.zi
|
|
toggle_widget.zi
|
|
toolbar.zi
|
|
toolbar_props.zi
|
|
toolbar_widget.zi
|
|
touch_replay.zi
|
|
transition.zi
|
|
transition_widget.zi
|
|
tree.zi
|
|
tree_draw.zi
|
|
tree_input.zi
|
|
typeface_source.zi
|
|
widget_kind.zi
|
|
window_flags.zi
|
|
window_policy.zi
|
|
zoom.zi
|