MCPcopy Create free account
hub / github.com/NetHack/NetHack / get_value_width

Function get_value_width

win/X11/winval.c:138–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138int
139get_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). */

Callers 1

get_widthsFunction · 0.85

Calls 1

get_value_widgetFunction · 0.85

Tested by

no test coverage detected