diff -r 7dfd5e546b99 -r bead55b1e6ca ui/motif/widget.c
--- a/ui/motif/widget.c	Wed Feb 26 21:14:24 2025 +0100
+++ b/ui/motif/widget.c	Wed Feb 26 21:19:54 2025 +0100
@@ -52,3 +52,20 @@
     return widget;
 }
 
+
+UIEXPORT UIWIDGET ui_separator_create(UiObject *obj, UiWidgetArgs *args) {
+    Arg xargs[64];
+    int n = 0;
+    UiWidgetArgs a = *args;
+    
+    UiContainerPrivate *ctn = ui_obj_container(obj);
+    UI_APPLY_LAYOUT(ctn->layout, a);
+    
+    char *name = a.name ? (char*)a.name : "separator";
+    Widget parent = ctn->prepare(ctn, xargs, &n);
+    Widget widget = XmCreateSeparator(parent, name, xargs, n);
+    XtManageChild(widget);
+    ctn->add(ctn, widget);
+    
+    return widget;
+}