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

Function set_name_width

win/X11/winval.c:86–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86void
87set_name_width(Widget w, int new_width)
88{
89 Arg args[1];
90 Widget name;
91
92 name = XtNameToWidget(w, WNAME);
93 XtSetArg(args[0], XtNwidth, new_width);
94 XtSetValues(name, args, ONE);
95}
96
97int
98get_name_width(Widget w)

Callers 1

set_widthsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected