comparison lwlib/lwlib-Xm.c @ 14018:0a94cd2c51c4

Comment fixes.
author Karl Heuer <kwzh@gnu.org>
date Fri, 05 Jan 1996 00:45:43 +0000
parents 23cd08c6dd2a
children ee40177f6c68
comparison
equal deleted inserted replaced
14017:6fb89c4b21c3 14018:0a94cd2c51c4
724 724
725 725
726 /* This function is for activating a button from a program. It's wrong because 726 /* This function is for activating a button from a program. It's wrong because
727 we pass a NULL argument in the call_data which is not Motif compatible. 727 we pass a NULL argument in the call_data which is not Motif compatible.
728 This is used from the XmNdefaultAction callback of the List widgets to 728 This is used from the XmNdefaultAction callback of the List widgets to
729 have a dble-click put down a dialog box like the button woudl do. 729 have a double-click put down a dialog box like the button would do.
730 I could not find a way to do that with accelerators. 730 I could not find a way to do that with accelerators.
731 */ 731 */
732 static void 732 static void
733 activate_button (widget, closure, call_data) 733 activate_button (widget, closure, call_data)
734 Widget widget; 734 Widget widget;
839 } 839 }
840 840
841 n_children++; 841 n_children++;
842 } 842 }
843 843
844 /* invisible seperator button */ 844 /* invisible separator button */
845 ac = 0; 845 ac = 0;
846 XtSetArg (al[ac], XmNmappedWhenManaged, FALSE); ac++; 846 XtSetArg (al[ac], XmNmappedWhenManaged, FALSE); ac++;
847 children [n_children] = XmCreateLabel (row, "separator_button", al, ac); 847 children [n_children] = XmCreateLabel (row, "separator_button", al, ac);
848 n_children++; 848 n_children++;
849 849