| 136 | } |
| 137 | |
| 138 | int |
| 139 | get_value_width(Widget w) |
| 140 | { |
| 141 | Arg args[1]; |
| 142 | Widget val; |
| 143 | Dimension width; |
| 144 | |
| 145 | val = get_value_widget(w); |
| 146 | XtSetArg(args[0], XtNwidth, &width); |
| 147 | XtGetValues(val, args, ONE); |
| 148 | return (int) width; |
| 149 | } |
| 150 | |
| 151 | /* Swap foreground and background colors (this is the best I can do with */ |
| 152 | /* a label widget, unless I can get some init hook in there). */ |
no test coverage detected