Index: uspace/lib/ui/src/checkbox.c
===================================================================
--- uspace/lib/ui/src/checkbox.c	(revision ef4d684195b9c9d5b45e99bd90a859bf7db2b97b)
+++ uspace/lib/ui/src/checkbox.c	(revision 242e3c3f5867ff817f8e2d1ad542292143ef232a)
@@ -1,4 +1,4 @@
 /*
- * Copyright (c) 2022 Jiri Svoboda
+ * Copyright (c) 2024 Jiri Svoboda
  * All rights reserved.
  *
@@ -139,12 +139,32 @@
 }
 
-/** Set button rectangle.
- *
- * @param checkbox Button
- * @param rect New button rectangle
+/** Set check box rectangle.
+ *
+ * @param checkbox Check box
+ * @param rect New check box rectangle
  */
 void ui_checkbox_set_rect(ui_checkbox_t *checkbox, gfx_rect_t *rect)
 {
 	checkbox->rect = *rect;
+}
+
+/** Return if check box is checked.
+ *
+ * @param checkbox Check box
+ * @return @c true iff check box is checked
+ */
+bool ui_checkbox_get_checked(ui_checkbox_t *checkbox)
+{
+	return checkbox->checked;
+}
+
+/** Set check box checked state.
+ *
+ * @param checkbox Check box
+ * @param checked @c true iff checkbox should be checked
+ */
+void ui_checkbox_set_checked(ui_checkbox_t *checkbox, bool checked)
+{
+	checkbox->checked = checked;
 }
 
