Re: XForms: Menu separators

Inorog (inorog@csit-sun.pub.ro)
Mon, 23 Jun 1997 21:21:13 +0300

To subscribers of the xforms list from Inorog <inorog@csit-sun.pub.ro> :

>Can someone tell me how to create separator lines in the menus (like in
>Netscape or Xemacs, for instance)?

[...]

menu_tools = obj = fl_add_menu(FL_PULLDOWN_MENU,220,10,70,20,"Tools");
fl_set_object_shortcut(obj,"T",1);
fl_set_object_boxtype(obj,FL_EMBOSSED_BOX);
fl_set_object_lsize(obj,FL_NORMAL_SIZE);
fl_set_menu(menu_tools, "Logic gates|Browse modules%l|Drawing
^^
tools%l|Zoom in|Zoom out");
^^
[...]

The whole thing is the %l thingie... for more informations have a look
into the examples provided with XForms...

Bogdan.
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/