RAPL

Check-in [55b325702b]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:init the options within the constructor otherwise we have problems in allocating Rapl Objects as the interp does not yet exist!!
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:55b325702b3044b76e7166f47e7ff8649b1893b9
User & Date: arnulf 2012-03-04 21:20:54
Context
2012-03-04
21:22
added param to incrRefCoutn decrRefCount and newObj for being able to check garbage collection and refcounting for rapl check-in: cc0ac3e341 user: arnulf tags: trunk
21:20
init the options within the constructor otherwise we have problems in allocating Rapl Objects as the interp does not yet exist!! check-in: 55b325702b user: arnulf tags: trunk
21:19
fix for ensemble command call to not change argv, because otherwise we have problems in eval_statement, when freeing argv after the call check-in: 91a6cbc019 user: arnulf tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to rapl_tk_option_base.js.

27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
...
250
251
252
253
254
255
256




257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474

475
476
477
478
479
480
481
482





483
484
485
486
487
488
489
490
491
492
493
494
495

  tkob.interp = interp;

  R.log('constructor end', '2.life', 'TkOptionBase', true);
}

init_option = function(opt_name, opt_class_name, opt_class, opt_alias) {
  std_options[opt_name] = new R.TkStandardOption(this.interp, opt_name, opt_class_name, opt_class, opt_alias);
}

var std_options = new Object();
var ACTIVEBACKGROUND = "-activebackground";
var ACTIVEFOREGROUND = "-activeforeground";
var ACTIVERELIEF = "-activerelief";
var ANCHOR = "-anchor";
var AREAHEIGHT = "-areaheight";
var AREAWIDTH = "-areawidth";
var ARROWRELIEF = "-arrowrelief";
................................................................................

var XSCROLLCOMMAND = "-xscrollcommand";
var XSCROLLINCREMENT = "-xscrollincrement";

var YSCROLLCOMMAND = "-yscrollcommand";
var YSCROLLINCREMENT = "-yscrollincrement";





init_option(ACTIVEBACKGROUND, "activeBackground", "Foreground", null);
init_option(ACTIVEFOREGROUND, "activeForeground", "Background", null);
init_option(ACTIVERELIEF, "activeRelief", "Relief", null);
init_option(ANCHOR, "anchor", "Anchor", null);
init_option(AREAHEIGHT, "areaheight", "areaheight", null);
init_option(AREAWIDTH, "areawidth", "areaheight", null);
init_option(ARROWRELIEF, "arrowRelief", "Relief", null);
init_option(AUTOCLEAR, "autoClear", "AutoClear", null);

init_option(BACKGROUND, "background", "Background", null);
init_option(BD, null, null, "-borderwidth");
init_option(BG, null, null, "-background");
init_option(BITMAP, "bitmap", "Bitmap", null);
init_option(BORDERCURSOR, "borderCursor", "Cursor", null);
init_option(BORDERWIDTH, "borderWidth", "BorderWidth", null);
init_option(BROWSECMD, "browseCommand", null, null);
init_option(BROWSECOMMAND, "browseCommand", "BrowseCommand", null);

init_option(CROSSFILL, "crossfill", "Foreground", null);
init_option(CACHE, "cache", "Cache", null);
init_option(CHILDSITEPOS, "childSitePos", "Position", null);
init_option(CLASS, "Class", "Frame", null);
init_option(CLIENTDATA, "clientData", "ClientData", null);
init_option(CONSTRAINEDHEIGHT, "constrainedheight", "constrainedheight", null);
init_option(CONSTRAINEDWIDTH, "constrainedwidth", "constrainedwidth", null);
init_option(CLOSECMD, "closecmd", "closecmd", null);
init_option(CROSSCLOSEBITMAP, "crossclosebitmap", "crossclosebitmap", null);
init_option(CROSSCLOSEIMAGE, "crosscloseimage", "crosscloseimage", null);
init_option(CROSSOPENBITMAP, "crossopenbitmap", "crossopenbitmap", null);
init_option(CROSSOPENIMAGE, "crossopenimage", "crossopenimage", null);
init_option(COLORIGIN, "colOrigin", "Origin", null);
init_option(COLORMAP, "colormap", "Colormap", null);
init_option(COLS, "cols", "Cols", null);
init_option(COLSEPARATOR, "colSeparator", "Separator", null);
init_option(COLSTRETCHMODE, "colStretch", "StretchMode", null);
init_option(COLTAGCOMMAND, "colTagCommand", "TagCommand", null);
init_option(COLWIDTH, "colWidth", "ColWidth", null);
init_option(COMMAND, "command", "Command", null);
init_option(COMPLETION, "completion", "Completion", null);
init_option(COMPOUND, "compound", "Compound", null);
init_option(CONTAINER, "container", "Container", null);
init_option(CURSOR, "cursor", "Cursor", null);

init_option(DATA, "data", "Data", null);
init_option(DELTAX, "deltax", "deltax", null);
init_option(DBLCLICKCOMMAND, "dblClickCommand", "Command", null);
init_option(DELTAY, "deltay", "deltay", null);
init_option(DRAGENABLED, "dragenabled", "dragenabled", null);
init_option(DRAGENDCMD, "dragendcmd", "dragendcmd", null);
init_option(DRAGEVENT, "dragevent", "dragevent", null);
init_option(DRAGINITCMD, "draginitcmd", "draginitcmd", null);
init_option(DRAGTYPE, "dragtype", "dragtype", null);
init_option(DRAWCROSS, "drawcross", "drawcross", null);
init_option(DEFAULT, "default", "Default", null);
init_option(DISABLEDBACKGROUND, "disabledBackground", "DisabledBackground", null);
init_option(DISABLEDFOREGROUND, "disabledForeground", "DisabledForeground", null);
init_option(DRAWMODE, "drawMode", "DrawMode", null);
init_option(DROPCMD, "dropcmd", "dropcmd", null);
init_option(DROPDOWN, "dropdown", "Dropdown", null);
init_option(DROPENABLED, "dropenabled", "dropenabled", null);
init_option(DROPOVERCMD, "dropovercmd", "dropovercmd", null);
init_option(DROPOVERMODE, "dropovermode", "dropovermode", null);
init_option(DROPTYPES, "droptypes", "droptypes", null);

init_option(EDITABLE, "editable", "editable", null);
init_option(ELEMENTBORDERWIDTH, "elementBorderWidth", "BorderWidth", null);
init_option(ELLIPSIS, "ellipsis", "Ellipsis", null);
init_option(ENTRYBG, "entrybg", "Background", null);
init_option(ENTRYFG, "entryfg", "Foreground", null);
init_option(EXPORTSELECTION, "exportSelection", "ExportSelection", null);

init_option(FG, null, null, "-foreground");
init_option(FILL, "fill", "Foreground", null);
init_option(FIXED, "fixed", "Fixed", null);
init_option(FLASHMODE, "flashMode", "FlashMode", null);
init_option(FLASHTIME, "flashTime", "FlashTime", null);
init_option(FOCUSCOMMAND, "focusCommand", "Command", null);
init_option(FONT, "font", "Font", null);
init_option(FOREGROUND, "foreground", "Foreground", null);

init_option(GRAB, "grab", "Grab", null);

init_option(HANDLEPAD, "handlePad", "HandlePad", null);
init_option(HANDLESIZE, "handleSize", "HandleSize", null);
init_option(HEIGHT, "height", "Height", null);
init_option(HELPTEXT, "helptext", "helptext", null);
init_option(HELPTYPE, "helptype", "helptype", null);
init_option(HELPVAR, "helpvar", "helpvar", null);
init_option(HIGHLIGHTBACKGROUND, "highlightBackground", "HighlightBackground", null);
init_option(HIGHLIGHTCOLOR, "highlightColor", "HighlightColor", null);
init_option(HIGHLIGHTTHICKNESS, "highlightThickness", "HighlightThickness", null);
init_option(HSCROLLMODE, "hScrollMode", "HScrollMode", null);

init_option(IMAGE, "image", "Image", null);
init_option(INSERTBACKGROUND, "insertBackground", "Foreground", null);
init_option(INSERTBORDERWIDTH, "insertBorderWidth", "BorderWidth", null);
init_option(INSERTOFFTIME, "insertOffTime", "OffTime", null);
init_option(INSERTONTIME, "insertOnTime", "OnTime", null);
init_option(INSERTWIDTH, "insertWidth", "InsertWidth", null);
init_option(INVALID, "invalid", "Command", null);
init_option(INVALIDCOMMAND, "invalidCommand", "InvalidCommand", null);
init_option(INVCMD, null, null, "-invalidcommand");
init_option(INVERTSELECTED, "invertSelected", "InvertSelected", null);
init_option(IPADX, "padX", "Pad", null);
init_option(IPADY, "padY", "Pad", null);

init_option(JUSTIFY, "justify", "Justify", null);
init_option(JUMP, "jump", "jump", null);

init_option(LABEL, "label", "label", null);
init_option(LABELANCHOR, "labelanchor", "Anchor", null);
init_option(LABELBITMAP, "labelBitmap", "Bitmap", null);
init_option(LABELFONT, "labelfont", "Font", null);
init_option(LABELHEIGHT, "labelheight", "Height", null);
init_option(LABELIMAGE, "labelImage", "Image", null);
init_option(LABELMARGIN, "labelMargin", "Margin", null);
init_option(LABELPOS, "labelPos", "Position", null);
init_option(LABELJUSTIFY, "labeljustify", "Justify", null);
init_option(LABELTEXT, "labelText", "Text", null);
init_option(LABELVARIABLE, "labelVariable", "Variable", null);
init_option(LABELTEXTVARIABLE, "labeltextVariable", "labeltextvariable", null);
init_option(LABELWIDTH, "labelwidth", "Width", null);
init_option(LINESFILL, "linesfill", "linesfill", null);
init_option(LINESTIPPLE, "linestipple", "Bitmap", null);
init_option(LISTHEIGHT, "listHeight", "Height", null);
init_option(LISTVARIABLE, "listVariable", "Variable", null);

init_option(MARGIN, "margin", "Margin", null);
init_option(MAXHEIGHT, "maxHeight", "MaxHeight", null);
init_option(MAXWIDTH, "maxWidth", "MaxWidth", null);
init_option(MENU, "menu", "Menu", null);
init_option(MULTILINE, "multiline", "Multiline", null);

init_option(NAME, "name", "name", null);

init_option(OFFSET, "offset", "offset", null);
init_option(OPAQUERESIZE, "opaqueResize", "OpaqueResize", null);
init_option(OPEN, "open", "open", null);
init_option(OPENCMD, "opencmd", "opencmd", null);
init_option(ORIENT, "orient", "Orient", null);
init_option(OVERRELIEF, "overRelief", "OverRelief", null);

init_option(PADX, "padX", "Pad", null);
init_option(PADY, "padY", "Pad", null);
init_option(PASTING, "pasting", "Behavior", null);
init_option(POPUPCURSOR, "popupCursor", "Cursor", null);

init_option(READONLYBACKGROUND, "readonlyBackground", "ReadonlyBackground", null);
init_option(REDRAW, "redraw", "redraw", null);
init_option(RELIEF, "relief", "Relief", null);
init_option(REPEATDELAY, "repeatDelay", "RepeatDelay", null);
init_option(REPEATINTERVAL, "repeatInterval", "RepeatInterval", null);
init_option(RESIZEBORDERS, "resizeBorders", "ResizeBorders", null);
init_option(ROWHEIGHT, "rowHeight", "RowHeight", null);
init_option(ROWORIGIN, "rowOrigin", "Origin", null);
init_option(ROWS, "rows", "Rows", null);
init_option(ROWSEPARATOR, "rowSeparator", "Separator", null);
init_option(ROWSTRETCHMODE, "rowStretch", "StretchMode", null);
init_option(ROWTAGCOMMAND, "rowTagCommand", "TagCommand", null);

init_option(SASHCURSOR, "sashCursor", "SashCursor", null);
init_option(SASHPAD, "sashPad", "SashPad", null);
init_option(SASHRELIEF, "sashRelief", "SashRelief", null);
init_option(SASHWIDTH, "sashWidth", "SashWidth", null);
init_option(SBWIDTH, "sbWidth", "Width", null);
init_option(SCREEN, "screen", "Screen", null);
init_option(SCROLLMARGIN, "scrollMargin", "ScrollMargin", null);
init_option(SELCMD, null, null, "selectionCommand");
init_option(SELECTABLE, "selectable", "selectable", null);
init_option(SELECTBACKGROUND, "selectBackground", "Foreground", null);
init_option(SELECTBORDERWIDTH, "selectBorderWidth", "BorderWidth", null);
init_option(SELECTCOMMAND, "selectcommand", "selectcommand", null);
init_option(SELECTFILL, "selectfill", "selectfill", null);
init_option(SELECTFOREGROUND, "selectForeground", "Background", null);
init_option(SELECTIONCOMMAND, "selectionCommand", "SelectionCommand", null);
init_option(SELECTMODE, "selectMode", "SelectMode", null);
init_option(SELECTTITLES, "selectTitles", "SelectTitles", null);
init_option(SELECTTYPE, "selectType", "SelectType", null);
init_option(SHOW, "show", "Show", null);
init_option(SHOWHANDLE, "showHandle", "ShowHandle", null);
init_option(SHOWLINES, "showlines", "showlines", null);
init_option(SIDE, "side", "side", null);
init_option(SPARSEARRAY, "sparseArray", "SparseArray", null);
init_option(STATE, "state", "State", null);
init_option(STICKY, "sticky", "Sticky", null);

init_option(TAKEFOCUS, "takeFocus", "TakeFocus", null);
init_option(TEXT, "text", "Text", null);
init_option(TEXTBACKGROUND, "textBackground", "Background", null);
init_option(TEXTFONT, "textFont", "Font", null);
init_option(TEXTVARIABLE, "textVariable", "Variable", null);
init_option(TITLECOLS, "titleCols", "TitleCols", null);
init_option(TITLEROWS, "titleRows", "TitleRows", null);
init_option(TROUGHCOLOR, "troughColor", "Background", null);

init_option(UNDERLINE, "underline", "Underline", null);
init_option(UNIQUE, "unique", "Unique", null);
init_option(USE, "use", "Use", null);
init_option(USECOMMAND, "useCommand", "UseCommand", null);

init_option(VALIDATE, "validate", "Validate", null);
init_option(VALIDATECOMMAND, "validateCommand", "ValidateCommand", null);
init_option(VARIABLE, "variable", "Variable", null);
init_option(VCMD, null, null, "validateCommand");
init_option(VISUAL, "visual", "Visual", null);
init_option(VISIBLEITEMS, "visibleItems", "VisibleItems", null);
init_option(VSCROLLMODE, "vscrollMode", "VScrollMode", null);

init_option(WIDTH, "width", "Width", null);
init_option(WINDOW, "window", "Window", null);
init_option(WRAP, "wrap", "Wrap", null);
init_option(WRAPLENGTH, "wrapLength", "WrapLength", null);

init_option(XSCROLLCOMMAND, "xScrollCommand", "ScrollCommand", null);
init_option(XSCROLLINCREMENT, "xScrollIncrement", "ScrollIncrement", null);

init_option(YSCROLLCOMMAND, "yScrollCommand", "ScrollCommand", null);
init_option(YSCROLLINCREMENT, "yScrollIncrement", "ScrollIncrement", null);


R.extend(TkOptionBase, R.Base, {
  standard_options: null,

  /* ==================== init ================================== */
  init: function() {
    var tk_opt = this;






    R.TkOptionBase.prototype.standard_options = std_options;
/*
*/
  },
  


});

TkOptionBase.prototype.constructor = TkOptionBase;
R.TkOptionBase = TkOptionBase;

}, "0.0.1", {});







|


|







 







>
>
>
>
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|

|
|
|
|
|
|
|
|

|

|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
|
|

|
|

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|

|

|
|
|
|
|
|

|
|
|
|

|
|
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|

|
|
|
|

|
|
|
|
|
|
|

|
|
|
|

|
|

|
|
>

<
<
<




>
>
>
>
>













27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
...
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480



481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502

  tkob.interp = interp;

  R.log('constructor end', '2.life', 'TkOptionBase', true);
}

init_option = function(opt_name, opt_class_name, opt_class, opt_alias) {
  std_options[opt_name] = new R.TkStandardOption(interp, opt_name, opt_class_name, opt_class, opt_alias);
}

var std_options = null;
var ACTIVEBACKGROUND = "-activebackground";
var ACTIVEFOREGROUND = "-activeforeground";
var ACTIVERELIEF = "-activerelief";
var ANCHOR = "-anchor";
var AREAHEIGHT = "-areaheight";
var AREAWIDTH = "-areawidth";
var ARROWRELIEF = "-arrowrelief";
................................................................................

var XSCROLLCOMMAND = "-xscrollcommand";
var XSCROLLINCREMENT = "-xscrollincrement";

var YSCROLLCOMMAND = "-yscrollcommand";
var YSCROLLINCREMENT = "-yscrollincrement";

R.extend(TkOptionBase, R.Base, {
  standard_options: null,

  initOptions: function() {
    init_option(ACTIVEBACKGROUND, "activeBackground", "Foreground", null);
    init_option(ACTIVEFOREGROUND, "activeForeground", "Background", null);
    init_option(ACTIVERELIEF, "activeRelief", "Relief", null);
    init_option(ANCHOR, "anchor", "Anchor", null);
    init_option(AREAHEIGHT, "areaheight", "areaheight", null);
    init_option(AREAWIDTH, "areawidth", "areaheight", null);
    init_option(ARROWRELIEF, "arrowRelief", "Relief", null);
    init_option(AUTOCLEAR, "autoClear", "AutoClear", null);

    init_option(BACKGROUND, "background", "Background", null);
    init_option(BD, null, null, "-borderwidth");
    init_option(BG, null, null, "-background");
    init_option(BITMAP, "bitmap", "Bitmap", null);
    init_option(BORDERCURSOR, "borderCursor", "Cursor", null);
    init_option(BORDERWIDTH, "borderWidth", "BorderWidth", null);
    init_option(BROWSECMD, "browseCommand", null, null);
    init_option(BROWSECOMMAND, "browseCommand", "BrowseCommand", null);

    init_option(CROSSFILL, "crossfill", "Foreground", null);
    init_option(CACHE, "cache", "Cache", null);
    init_option(CHILDSITEPOS, "childSitePos", "Position", null);
    init_option(CLASS, "Class", "Frame", null);
    init_option(CLIENTDATA, "clientData", "ClientData", null);
    init_option(CONSTRAINEDHEIGHT, "constrainedheight", "constrainedheight", null);
    init_option(CONSTRAINEDWIDTH, "constrainedwidth", "constrainedwidth", null);
    init_option(CLOSECMD, "closecmd", "closecmd", null);
    init_option(CROSSCLOSEBITMAP, "crossclosebitmap", "crossclosebitmap", null);
    init_option(CROSSCLOSEIMAGE, "crosscloseimage", "crosscloseimage", null);
    init_option(CROSSOPENBITMAP, "crossopenbitmap", "crossopenbitmap", null);
    init_option(CROSSOPENIMAGE, "crossopenimage", "crossopenimage", null);
    init_option(COLORIGIN, "colOrigin", "Origin", null);
    init_option(COLORMAP, "colormap", "Colormap", null);
    init_option(COLS, "cols", "Cols", null);
    init_option(COLSEPARATOR, "colSeparator", "Separator", null);
    init_option(COLSTRETCHMODE, "colStretch", "StretchMode", null);
    init_option(COLTAGCOMMAND, "colTagCommand", "TagCommand", null);
    init_option(COLWIDTH, "colWidth", "ColWidth", null);
    init_option(COMMAND, "command", "Command", null);
    init_option(COMPLETION, "completion", "Completion", null);
    init_option(COMPOUND, "compound", "Compound", null);
    init_option(CONTAINER, "container", "Container", null);
    init_option(CURSOR, "cursor", "Cursor", null);

    init_option(DATA, "data", "Data", null);
    init_option(DELTAX, "deltax", "deltax", null);
    init_option(DBLCLICKCOMMAND, "dblClickCommand", "Command", null);
    init_option(DELTAY, "deltay", "deltay", null);
    init_option(DRAGENABLED, "dragenabled", "dragenabled", null);
    init_option(DRAGENDCMD, "dragendcmd", "dragendcmd", null);
    init_option(DRAGEVENT, "dragevent", "dragevent", null);
    init_option(DRAGINITCMD, "draginitcmd", "draginitcmd", null);
    init_option(DRAGTYPE, "dragtype", "dragtype", null);
    init_option(DRAWCROSS, "drawcross", "drawcross", null);
    init_option(DEFAULT, "default", "Default", null);
    init_option(DISABLEDBACKGROUND, "disabledBackground", "DisabledBackground", null);
    init_option(DISABLEDFOREGROUND, "disabledForeground", "DisabledForeground", null);
    init_option(DRAWMODE, "drawMode", "DrawMode", null);
    init_option(DROPCMD, "dropcmd", "dropcmd", null);
    init_option(DROPDOWN, "dropdown", "Dropdown", null);
    init_option(DROPENABLED, "dropenabled", "dropenabled", null);
    init_option(DROPOVERCMD, "dropovercmd", "dropovercmd", null);
    init_option(DROPOVERMODE, "dropovermode", "dropovermode", null);
    init_option(DROPTYPES, "droptypes", "droptypes", null);

    init_option(EDITABLE, "editable", "editable", null);
    init_option(ELEMENTBORDERWIDTH, "elementBorderWidth", "BorderWidth", null);
    init_option(ELLIPSIS, "ellipsis", "Ellipsis", null);
    init_option(ENTRYBG, "entrybg", "Background", null);
    init_option(ENTRYFG, "entryfg", "Foreground", null);
    init_option(EXPORTSELECTION, "exportSelection", "ExportSelection", null);

    init_option(FG, null, null, "-foreground");
    init_option(FILL, "fill", "Foreground", null);
    init_option(FIXED, "fixed", "Fixed", null);
    init_option(FLASHMODE, "flashMode", "FlashMode", null);
    init_option(FLASHTIME, "flashTime", "FlashTime", null);
    init_option(FOCUSCOMMAND, "focusCommand", "Command", null);
    init_option(FONT, "font", "Font", null);
    init_option(FOREGROUND, "foreground", "Foreground", null);

    init_option(GRAB, "grab", "Grab", null);

    init_option(HANDLEPAD, "handlePad", "HandlePad", null);
    init_option(HANDLESIZE, "handleSize", "HandleSize", null);
    init_option(HEIGHT, "height", "Height", null);
    init_option(HELPTEXT, "helptext", "helptext", null);
    init_option(HELPTYPE, "helptype", "helptype", null);
    init_option(HELPVAR, "helpvar", "helpvar", null);
    init_option(HIGHLIGHTBACKGROUND, "highlightBackground", "HighlightBackground", null);
    init_option(HIGHLIGHTCOLOR, "highlightColor", "HighlightColor", null);
    init_option(HIGHLIGHTTHICKNESS, "highlightThickness", "HighlightThickness", null);
    init_option(HSCROLLMODE, "hScrollMode", "HScrollMode", null);

    init_option(IMAGE, "image", "Image", null);
    init_option(INSERTBACKGROUND, "insertBackground", "Foreground", null);
    init_option(INSERTBORDERWIDTH, "insertBorderWidth", "BorderWidth", null);
    init_option(INSERTOFFTIME, "insertOffTime", "OffTime", null);
    init_option(INSERTONTIME, "insertOnTime", "OnTime", null);
    init_option(INSERTWIDTH, "insertWidth", "InsertWidth", null);
    init_option(INVALID, "invalid", "Command", null);
    init_option(INVALIDCOMMAND, "invalidCommand", "InvalidCommand", null);
    init_option(INVCMD, null, null, "-invalidcommand");
    init_option(INVERTSELECTED, "invertSelected", "InvertSelected", null);
    init_option(IPADX, "padX", "Pad", null);
    init_option(IPADY, "padY", "Pad", null);

    init_option(JUSTIFY, "justify", "Justify", null);
    init_option(JUMP, "jump", "jump", null);

    init_option(LABEL, "label", "label", null);
    init_option(LABELANCHOR, "labelanchor", "Anchor", null);
    init_option(LABELBITMAP, "labelBitmap", "Bitmap", null);
    init_option(LABELFONT, "labelfont", "Font", null);
    init_option(LABELHEIGHT, "labelheight", "Height", null);
    init_option(LABELIMAGE, "labelImage", "Image", null);
    init_option(LABELMARGIN, "labelMargin", "Margin", null);
    init_option(LABELPOS, "labelPos", "Position", null);
    init_option(LABELJUSTIFY, "labeljustify", "Justify", null);
    init_option(LABELTEXT, "labelText", "Text", null);
    init_option(LABELVARIABLE, "labelVariable", "Variable", null);
    init_option(LABELTEXTVARIABLE, "labeltextVariable", "labeltextvariable", null);
    init_option(LABELWIDTH, "labelwidth", "Width", null);
    init_option(LINESFILL, "linesfill", "linesfill", null);
    init_option(LINESTIPPLE, "linestipple", "Bitmap", null);
    init_option(LISTHEIGHT, "listHeight", "Height", null);
    init_option(LISTVARIABLE, "listVariable", "Variable", null);

    init_option(MARGIN, "margin", "Margin", null);
    init_option(MAXHEIGHT, "maxHeight", "MaxHeight", null);
    init_option(MAXWIDTH, "maxWidth", "MaxWidth", null);
    init_option(MENU, "menu", "Menu", null);
    init_option(MULTILINE, "multiline", "Multiline", null);

    init_option(NAME, "name", "name", null);

    init_option(OFFSET, "offset", "offset", null);
    init_option(OPAQUERESIZE, "opaqueResize", "OpaqueResize", null);
    init_option(OPEN, "open", "open", null);
    init_option(OPENCMD, "opencmd", "opencmd", null);
    init_option(ORIENT, "orient", "Orient", null);
    init_option(OVERRELIEF, "overRelief", "OverRelief", null);

    init_option(PADX, "padX", "Pad", null);
    init_option(PADY, "padY", "Pad", null);
    init_option(PASTING, "pasting", "Behavior", null);
    init_option(POPUPCURSOR, "popupCursor", "Cursor", null);

    init_option(READONLYBACKGROUND, "readonlyBackground", "ReadonlyBackground", null);
    init_option(REDRAW, "redraw", "redraw", null);
    init_option(RELIEF, "relief", "Relief", null);
    init_option(REPEATDELAY, "repeatDelay", "RepeatDelay", null);
    init_option(REPEATINTERVAL, "repeatInterval", "RepeatInterval", null);
    init_option(RESIZEBORDERS, "resizeBorders", "ResizeBorders", null);
    init_option(ROWHEIGHT, "rowHeight", "RowHeight", null);
    init_option(ROWORIGIN, "rowOrigin", "Origin", null);
    init_option(ROWS, "rows", "Rows", null);
    init_option(ROWSEPARATOR, "rowSeparator", "Separator", null);
    init_option(ROWSTRETCHMODE, "rowStretch", "StretchMode", null);
    init_option(ROWTAGCOMMAND, "rowTagCommand", "TagCommand", null);

    init_option(SASHCURSOR, "sashCursor", "SashCursor", null);
    init_option(SASHPAD, "sashPad", "SashPad", null);
    init_option(SASHRELIEF, "sashRelief", "SashRelief", null);
    init_option(SASHWIDTH, "sashWidth", "SashWidth", null);
    init_option(SBWIDTH, "sbWidth", "Width", null);
    init_option(SCREEN, "screen", "Screen", null);
    init_option(SCROLLMARGIN, "scrollMargin", "ScrollMargin", null);
    init_option(SELCMD, null, null, "selectionCommand");
    init_option(SELECTABLE, "selectable", "selectable", null);
    init_option(SELECTBACKGROUND, "selectBackground", "Foreground", null);
    init_option(SELECTBORDERWIDTH, "selectBorderWidth", "BorderWidth", null);
    init_option(SELECTCOMMAND, "selectcommand", "selectcommand", null);
    init_option(SELECTFILL, "selectfill", "selectfill", null);
    init_option(SELECTFOREGROUND, "selectForeground", "Background", null);
    init_option(SELECTIONCOMMAND, "selectionCommand", "SelectionCommand", null);
    init_option(SELECTMODE, "selectMode", "SelectMode", null);
    init_option(SELECTTITLES, "selectTitles", "SelectTitles", null);
    init_option(SELECTTYPE, "selectType", "SelectType", null);
    init_option(SHOW, "show", "Show", null);
    init_option(SHOWHANDLE, "showHandle", "ShowHandle", null);
    init_option(SHOWLINES, "showlines", "showlines", null);
    init_option(SIDE, "side", "side", null);
    init_option(SPARSEARRAY, "sparseArray", "SparseArray", null);
    init_option(STATE, "state", "State", null);
    init_option(STICKY, "sticky", "Sticky", null);

    init_option(TAKEFOCUS, "takeFocus", "TakeFocus", null);
    init_option(TEXT, "text", "Text", null);
    init_option(TEXTBACKGROUND, "textBackground", "Background", null);
    init_option(TEXTFONT, "textFont", "Font", null);
    init_option(TEXTVARIABLE, "textVariable", "Variable", null);
    init_option(TITLECOLS, "titleCols", "TitleCols", null);
    init_option(TITLEROWS, "titleRows", "TitleRows", null);
    init_option(TROUGHCOLOR, "troughColor", "Background", null);

    init_option(UNDERLINE, "underline", "Underline", null);
    init_option(UNIQUE, "unique", "Unique", null);
    init_option(USE, "use", "Use", null);
    init_option(USECOMMAND, "useCommand", "UseCommand", null);

    init_option(VALIDATE, "validate", "Validate", null);
    init_option(VALIDATECOMMAND, "validateCommand", "ValidateCommand", null);
    init_option(VARIABLE, "variable", "Variable", null);
    init_option(VCMD, null, null, "validateCommand");
    init_option(VISUAL, "visual", "Visual", null);
    init_option(VISIBLEITEMS, "visibleItems", "VisibleItems", null);
    init_option(VSCROLLMODE, "vscrollMode", "VScrollMode", null);

    init_option(WIDTH, "width", "Width", null);
    init_option(WINDOW, "window", "Window", null);
    init_option(WRAP, "wrap", "Wrap", null);
    init_option(WRAPLENGTH, "wrapLength", "WrapLength", null);

    init_option(XSCROLLCOMMAND, "xScrollCommand", "ScrollCommand", null);
    init_option(XSCROLLINCREMENT, "xScrollIncrement", "ScrollIncrement", null);

    init_option(YSCROLLCOMMAND, "yScrollCommand", "ScrollCommand", null);
    init_option(YSCROLLINCREMENT, "yScrollIncrement", "ScrollIncrement", null);
  },




  /* ==================== init ================================== */
  init: function() {
    var tk_opt = this;

print("initOptions1");
    if (std_options == null) {
print("initOptions2");
      initOptions();
    }
    R.TkOptionBase.prototype.standard_options = std_options;
/*
*/
  },
  


});

TkOptionBase.prototype.constructor = TkOptionBase;
R.TkOptionBase = TkOptionBase;

}, "0.0.1", {});