1
// ============================================================= //
3
// File : aw_xargs.hxx //
6
// Coded by Ralf Westram (coder@reallysoft.de) in March 2012 //
7
// Institute of Microbiology (Technical University Munich) //
8
// http://www.arb-home.de/ //
10
// ============================================================= //
18
#ifndef _XtIntrinsic_h
19
#include <X11/Intrinsic.h>
22
class aw_xargs : virtual Noncopyable {
27
aw_xargs(size_t maxcount)
28
: arg(new Arg[maxcount]),
36
Arg *list() { return arg; }
37
int size() { return count; }
39
void add(String name, XtArgVal value) {
41
XtSetArg(arg[count], name, value);
45
void assign_to_widget(Widget w) {
46
XtSetValues(w, list(), size());
52
#error aw_xargs.hxx included twice
53
#endif // AW_XARGS_HXX