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

Function set_value

win/X11/winval.c:116–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114}
115
116void
117set_value(Widget w, const char *new_value)
118{
119 Arg args[1];
120 Widget val;
121
122 val = get_value_widget(w);
123 XtSetArg(args[0], XtNlabel, new_value);
124 XtSetValues(val, args, ONE);
125}
126
127void
128set_value_width(Widget w, int new_width)

Callers 3

null_out_statusFunction · 0.85
update_valFunction · 0.85
create_widgetFunction · 0.85

Calls 1

get_value_widgetFunction · 0.85

Tested by

no test coverage detected