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

Function get_name_width

win/X11/winval.c:97–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97int
98get_name_width(Widget w)
99{
100 Arg args[1];
101 Dimension width;
102 Widget name;
103
104 name = XtNameToWidget(w, WNAME);
105 XtSetArg(args[0], XtNwidth, &width);
106 XtGetValues(name, args, ONE);
107 return (int) width;
108}
109
110Widget
111get_value_widget(Widget w)

Callers 1

get_widthsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected