Module: Tk::Wm

Extended by:
TkCore
Included in:
Itk::Toplevel, Menu, Root, Toplevel
Defined in:
lib/tk/wm.rb

Constant Summary collapse

TkCommandNames =
['wm'.freeze].freeze
TOPLEVEL_METHODCALL_OPTKEYS =
{}

Constants included from TkCore

TkCore::EventFlag, TkCore::INTERP, TkCore::INTERP_MUTEX, TkCore::INTERP_ROOT_CHECK, TkCore::INTERP_THREAD, TkCore::INTERP_THREAD_STATUS, TkCore::RUN_EVENTLOOP_ON_MAIN_THREAD, TkCore::WIDGET_DESTROY_HOOK, TkCore::WITH_ENCODING, TkCore::WITH_RUBY_VM

Constants included from TkComm

TkComm::GET_CONFIGINFO_AS_ARRAY, TkComm::GET_CONFIGINFOwoRES_AS_ARRAY, TkComm::TkExtlibAutoloadModule, TkComm::Tk_CMDTBL, TkComm::Tk_IDs, TkComm::Tk_WINDOWS, TkComm::USE_TCLs_LIST_FUNCTIONS, TkComm::WidgetClassNames

Constants included from TkUtil

TkUtil::None, TkUtil::RELEASE_DATE

Class Method Summary collapse

Instance Method Summary collapse

Methods included from TkCore

_tk_call_to_list_core, after, after_cancel, after_idle, appname, appsend, appsend_deny, appsend_displayof, callback, callback_break, callback_continue, callback_return, chooseColor, chooseDirectory, do_one_event, event_generate, getMultipleOpenFile, getMultipleSaveFile, getOpenFile, getSaveFile, get_eventloop_tick, get_eventloop_weight, get_no_event_wait, inactive, inactive_displayof, info, ip_eval, ip_eval_with_enc, ip_eval_without_enc, ip_invoke, ip_invoke_with_enc, ip_invoke_without_enc, is_mainloop?, load_cmd_on_ip, mainloop, mainloop_exist?, mainloop_thread?, mainloop_watchdog, messageBox, rb_appsend, rb_appsend_displayof, reset_inactive, reset_inactive_displayof, restart, scaling, scaling_displayof, set_eventloop_tick, set_eventloop_weight, set_no_event_wait, tk_call, tk_call_to_list, tk_call_to_list_with_enc, tk_call_to_list_without_enc, tk_call_to_simplelist, tk_call_to_simplelist_with_enc, tk_call_to_simplelist_without_enc, tk_call_with_enc, tk_call_without_enc, windowingsystem

Methods included from TkComm

_at, _callback_entry?, _callback_entry_class?, _curr_cmd_id, _fromUTF8, _genobj_for_tkwidget, _next_cmd_id, _toUTF8, array2tk_list, #bind, #bind_all, #bind_append, #bind_append_all, #bind_remove, #bind_remove_all, #bindinfo, #bindinfo_all, bool, image_obj, #install_cmd, install_cmd, list, num_or_nil, num_or_str, number, procedure, simplelist, slice_ary, string, #subst, tk_tcl2ruby, uninstall_cmd, #uninstall_cmd, window

Methods included from TkEvent

#install_bind, #install_bind_for_event_class

Methods included from TkUtil

#_conv_args, _conv_args, #_fromUTF8, #_get_eval_enc_str, _get_eval_enc_str, #_get_eval_string, _get_eval_string, _symbolkey2str, #_symbolkey2str, #_toUTF8, #bool, bool, callback, eval_cmd, #hash_kv, hash_kv, install_cmd, #num_or_nil, num_or_nil, num_or_str, #num_or_str, number, #number, string, #string, uninstall_cmd, untrust

Class Method Details

.aspect(win, *args) ⇒ Object



16
17
18
19
20
21
22
23
24
# File 'lib/tk/wm.rb', line 16

def Wm.aspect(win, *args)
  if args.length == 0
    list(tk_call_without_enc('wm', 'aspect', win.epath))
  else
    args = args[0] if args.length == 1 && args[0].kind_of?(Array)
    tk_call('wm', 'aspect', win.epath, *args)
    win
  end
end

.attributes(win, slot = nil, value = TkComm::None) ⇒ Object



31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# File 'lib/tk/wm.rb', line 31

def Wm.attributes(win, slot=nil,value=TkComm::None)
  if slot == nil
    lst = tk_split_list(tk_call('wm', 'attributes', win.epath))
    info = {}
    while key = lst.shift
      info[key[1..-1]] = lst.shift
    end
    info
  elsif slot.kind_of? Hash
    tk_call('wm', 'attributes', win.epath, *hash_kv(slot))
    win
  elsif value == TkComm::None
    tk_call('wm', 'attributes', win.epath, "-#{slot}")
  else
    tk_call('wm', 'attributes', win.epath, "-#{slot}", value)
    win
  end
end

.client(win, name = TkComm::None) ⇒ Object



55
56
57
58
59
60
61
62
63
# File 'lib/tk/wm.rb', line 55

def Wm.client(win, name=TkComm::None)
  if name == TkComm::None
    tk_call('wm', 'client', win.epath)
  else
    name = '' if name == nil
    tk_call('wm', 'client', win.epath, name)
    win
  end
end

.colormapwindows(win, *args) ⇒ Object



70
71
72
73
74
75
76
77
78
# File 'lib/tk/wm.rb', line 70

def Wm.colormapwindows(win, *args)
  if args.size == 0
    list(tk_call_without_enc('wm', 'colormapwindows', win.epath))
  else
    args = args[0] if args.length == 1 && args[0].kind_of?(Array)
    tk_call_without_enc('wm', 'colormapwindows', win.epath, *args)
    win
  end
end

.command(win, value = nil) ⇒ Object



85
86
87
88
89
90
91
92
93
# File 'lib/tk/wm.rb', line 85

def Wm.command(win, value=nil)
  if value
    tk_call('wm', 'command', win.epath, value)
    win
  else
    #procedure(tk_call('wm', 'command', win.epath))
    tk_call('wm', 'command', win.epath)
  end
end

.deiconify(win, ex = true) ⇒ Object



99
100
101
102
103
104
105
106
# File 'lib/tk/wm.rb', line 99

def Wm.deiconify(win, ex = true)
  if ex
    tk_call_without_enc('wm', 'deiconify', win.epath)
  else
    Wm.iconify(win)
  end
  win
end

.focusmodel(win, mode = nil) ⇒ Object



112
113
114
115
116
117
118
119
# File 'lib/tk/wm.rb', line 112

def Wm.focusmodel(win, mode = nil)
  if mode
    tk_call_without_enc('wm', 'focusmodel', win.epath, mode)
    win
  else
    tk_call_without_enc('wm', 'focusmodel', win.epath)
  end
end

.forget(win) ⇒ Object



126
127
128
129
130
131
# File 'lib/tk/wm.rb', line 126

def Wm.forget(win)
  # Tcl/Tk 8.5+
  # work with dockable frames
  tk_call_without_enc('wm', 'forget', win.epath)
  win
end

.frame(win) ⇒ Object



136
137
138
# File 'lib/tk/wm.rb', line 136

def Wm.frame(win)
  tk_call_without_enc('wm', 'frame', win.epath)
end

.geometry(win, geom = nil) ⇒ Object



144
145
146
147
148
149
150
151
# File 'lib/tk/wm.rb', line 144

def Wm.geometry(win, geom=nil)
  if geom
    tk_call_without_enc('wm', 'geometry', win.epath, geom)
    win
  else
    tk_call_without_enc('wm', 'geometry', win.epath)
  end
end

.grid(win, *args) ⇒ Object



158
159
160
161
162
163
164
165
166
# File 'lib/tk/wm.rb', line 158

def Wm.grid(win, *args)
  if args.size == 0
    list(tk_call_without_enc('wm', 'grid', win.epath))
  else
    args = args[0] if args.length == 1 && args[0].kind_of?(Array)
    tk_call_without_enc('wm', 'grid', win.epath, *args)
    win
  end
end

.group(win, leader = nil) ⇒ Object



172
173
174
175
176
177
178
179
# File 'lib/tk/wm.rb', line 172

def Wm.group(win, leader = nil)
  if leader
    tk_call('wm', 'group', win.epath, leader)
    win
  else
    window(tk_call('wm', 'group', win.epath))
  end
end

.iconbitmap(win, bmp = nil) ⇒ Object



186
187
188
189
190
191
192
193
# File 'lib/tk/wm.rb', line 186

def Wm.iconbitmap(win, bmp=nil)
  if bmp
    tk_call_without_enc('wm', 'iconbitmap', win.epath, bmp)
    win
  else
    image_obj(tk_call_without_enc('wm', 'iconbitmap', win.epath))
  end
end

.iconify(win, ex = true) ⇒ Object



229
230
231
232
233
234
235
236
# File 'lib/tk/wm.rb', line 229

def Wm.iconify(win, ex = true)
  if ex
    tk_call_without_enc('wm', 'iconify', win.epath)
  else
    Wm.deiconify(win)
  end
  win
end

.iconmask(win, bmp = nil) ⇒ Object



242
243
244
245
246
247
248
249
# File 'lib/tk/wm.rb', line 242

def Wm.iconmask(win, bmp=nil)
  if bmp
    tk_call_without_enc('wm', 'iconmask', win.epath, bmp)
    win
  else
    image_obj(tk_call_without_enc('wm', 'iconmask', win.epath))
  end
end

.iconname(win, name = nil) ⇒ Object



256
257
258
259
260
261
262
263
# File 'lib/tk/wm.rb', line 256

def Wm.iconname(win, name=nil)
  if name
    tk_call('wm', 'iconname', win.epath, name)
    win
  else
    tk_call('wm', 'iconname', win.epath)
  end
end

.iconphoto(win, *imgs) ⇒ Object



200
201
202
203
204
205
206
207
208
209
210
211
212
# File 'lib/tk/wm.rb', line 200

def Wm.iconphoto(win, *imgs)
  if imgs.empty?
    win.instance_eval{
      @wm_iconphoto = nil unless defined? @wm_iconphoto
      return @wm_iconphoto
    }
  end

  imgs = imgs[0] if imgs.length == 1 && imgs[0].kind_of?(Array)
  tk_call_without_enc('wm', 'iconphoto', win.epath, *imgs)
  win.instance_eval{ @wm_iconphoto = imgs  }
  win
end

.iconphoto_default(win, *imgs) ⇒ Object



219
220
221
222
223
# File 'lib/tk/wm.rb', line 219

def Wm.iconphoto_default(win, *imgs)
  imgs = imgs[0] if imgs.length == 1 && imgs[0].kind_of?(Array)
  tk_call_without_enc('wm', 'iconphoto', win.epath, '-default', *imgs)
  win
end

.iconposition(win, *args) ⇒ Object



270
271
272
273
274
275
276
277
278
# File 'lib/tk/wm.rb', line 270

def Wm.iconposition(win, *args)
  if args.size == 0
    list(tk_call_without_enc('wm', 'iconposition', win.epath))
  else
    args = args[0] if args.length == 1 && args[0].kind_of?(Array)
    tk_call_without_enc('wm', 'iconposition', win.epath, *args)
    win
  end
end

.iconwindow(win, iconwin = nil) ⇒ Object



285
286
287
288
289
290
291
292
293
# File 'lib/tk/wm.rb', line 285

def Wm.iconwindow(win, iconwin = nil)
  if iconwin
    tk_call_without_enc('wm', 'iconwindow', win.epath, iconwin)
    win
  else
    w = tk_call_without_enc('wm', 'iconwindow', win.epath)
    (w == '')? nil: window(w)
  end
end

.manage(win) ⇒ Object



300
301
302
303
304
# File 'lib/tk/wm.rb', line 300

def Wm.manage(win)
  # Tcl/Tk 8.5+ feature
  tk_call_without_enc('wm', 'manage', win.epath)
  win
end

.maxsize(win, *args) ⇒ Object

def Wm.manage(win, use_id = nil)

  # Tcl/Tk 8.5+ feature
  # --------------------------------------------------------------
  # In the future release, I want to support to embed the 'win'
  # into the container which has window-id 'use-id'.
  # It may give users frexibility on controlling their GUI.
  # However, it may be difficult for current Tcl/Tk (Tcl/Tk8.5.1),
  # because it seems to require to modify Tcl/Tk's source code.
  # --------------------------------------------------------------
  if use_id
    tk_call_without_enc('wm', 'manage', win.epath, '-use', use_id)
  else
    tk_call_without_enc('wm', 'manage', win.epath)
  end
  win
end


327
328
329
330
331
332
333
334
335
# File 'lib/tk/wm.rb', line 327

def Wm.maxsize(win, *args)
  if args.size == 0
    list(tk_call_without_enc('wm', 'maxsize', win.epath))
  else
    args = args[0] if args.length == 1 && args[0].kind_of?(Array)
    tk_call_without_enc('wm', 'maxsize', win.epath, *args)
    win
  end
end

.minsize(win, *args) ⇒ Object



342
343
344
345
346
347
348
349
350
# File 'lib/tk/wm.rb', line 342

def Wm.minsize(win, *args)
  if args.size == 0
    list(tk_call_without_enc('wm', 'minsize', win.epath))
  else
    args = args[0] if args.length == 1 && args[0].kind_of?(Array)
    tk_call_without_enc('wm', 'minsize', win.path, *args)
    win
  end
end

.overrideredirect(win, mode = TkComm::None) ⇒ Object



357
358
359
360
361
362
363
364
# File 'lib/tk/wm.rb', line 357

def Wm.overrideredirect(win, mode=TkComm::None)
  if mode == TkComm::None
    bool(tk_call_without_enc('wm', 'overrideredirect', win.epath))
  else
    tk_call_without_enc('wm', 'overrideredirect', win.epath, mode)
    win
  end
end

.positionfrom(win, who = TkComm::None) ⇒ Object



371
372
373
374
375
376
377
378
379
# File 'lib/tk/wm.rb', line 371

def Wm.positionfrom(win, who=TkComm::None)
  if who == TkComm::None
    r = tk_call_without_enc('wm', 'positionfrom', win.epath)
    (r == "")? nil: r
  else
    tk_call_without_enc('wm', 'positionfrom', win.epath, who)
    win
  end
end

.protocol(win, name = nil, cmd = nil, &b) ⇒ Object



386
387
388
389
390
391
392
393
394
395
396
397
398
399
# File 'lib/tk/wm.rb', line 386

def Wm.protocol(win, name=nil, cmd=nil, &b)
  if cmd
    tk_call_without_enc('wm', 'protocol', win.epath, name, cmd)
    win
  elsif b
    tk_call_without_enc('wm', 'protocol', win.epath, name, proc(&b))
    win
  elsif name
    result = tk_call_without_enc('wm', 'protocol', win.epath, name)
    (result == "")? nil : tk_tcl2ruby(result)
  else
    tk_split_simplelist(tk_call_without_enc('wm', 'protocol', win.epath))
  end
end

.protocols(win, kv = nil) ⇒ Object



405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
# File 'lib/tk/wm.rb', line 405

def Wm.protocols(win, kv=nil)
  unless kv
    ret = {}
    Wm.protocol(win).each{|name|
      ret[name] = Wm.protocol(win, name)
    }
    return ret
  end

  unless kv.kind_of?(Hash)
    fail ArgumentError, 'expect a hash of protocol=>command'
  end
  kv.each{|k, v| Wm.protocol(win, k, v)}
  win
end

.resizable(win, *args) ⇒ Object



426
427
428
429
430
431
432
433
434
# File 'lib/tk/wm.rb', line 426

def Wm.resizable(win, *args)
  if args.length == 0
    list(tk_call_without_enc('wm', 'resizable', win.epath)).map!{|e| bool(e)}
  else
    args = args[0] if args.length == 1 && args[0].kind_of?(Array)
    tk_call_without_enc('wm', 'resizable', win.epath, *args)
    win
  end
end

.sizefrom(win, who = TkComm::None) ⇒ Object



441
442
443
444
445
446
447
448
449
# File 'lib/tk/wm.rb', line 441

def Wm.sizefrom(win, who=TkComm::None)
  if who == TkComm::None
    r = tk_call_without_enc('wm', 'sizefrom', win.epath)
    (r == "")? nil: r
  else
    tk_call_without_enc('wm', 'sizefrom', win.epath, who)
    win
  end
end

.stackorder(win) ⇒ Object



456
457
458
# File 'lib/tk/wm.rb', line 456

def Wm.stackorder(win)
  list(tk_call('wm', 'stackorder', win.epath))
end

.stackorder_is_above(win, target) ⇒ Object



467
468
469
# File 'lib/tk/wm.rb', line 467

def Wm.stackorder_is_above(win, target)
  Wm.stackorder_isabove(win, target)
end

.stackorder_is_below(win, target) ⇒ Object



480
481
482
# File 'lib/tk/wm.rb', line 480

def Wm.stackorder_is_below(win, target)
  Wm.stackorder_isbelow(win, target)
end

.stackorder_isabove(win, target) ⇒ Object



464
465
466
# File 'lib/tk/wm.rb', line 464

def Wm.stackorder_isabove(win, target)
  bool(tk_call('wm', 'stackorder', win.epath, 'isabove', target))
end

.stackorder_isbelow(win, target) ⇒ Object



477
478
479
# File 'lib/tk/wm.rb', line 477

def Wm.stackorder_isbelow(win, target)
  bool(tk_call('wm', 'stackorder', win.epath, 'isbelow', target))
end

.state(win, st = nil) ⇒ Object



490
491
492
493
494
495
496
497
# File 'lib/tk/wm.rb', line 490

def Wm.state(win, st=nil)
  if st
    tk_call_without_enc('wm', 'state', win.epath, st)
    win
  else
    tk_call_without_enc('wm', 'state', win.epath)
  end
end

.title(win, str = nil) ⇒ Object



504
505
506
507
508
509
510
511
# File 'lib/tk/wm.rb', line 504

def Wm.title(win, str=nil)
  if str
    tk_call('wm', 'title', win.epath, str)
    win
  else
    tk_call('wm', 'title', win.epath)
  end
end

.transient(win, master = nil) ⇒ Object



518
519
520
521
522
523
524
525
# File 'lib/tk/wm.rb', line 518

def Wm.transient(win, master=nil)
  if master
    tk_call_without_enc('wm', 'transient', win.epath, master)
    win
  else
    window(tk_call_without_enc('wm', 'transient', win.epath))
  end
end

.withdraw(win, ex = true) ⇒ Object



532
533
534
535
536
537
538
539
# File 'lib/tk/wm.rb', line 532

def Wm.withdraw(win, ex = true)
  if ex
    tk_call_without_enc('wm', 'withdraw', win.epath)
  else
    Wm.deiconify(win)
  end
  win
end

Instance Method Details

#aspect(*args) ⇒ Object Also known as: wm_aspect



25
26
27
# File 'lib/tk/wm.rb', line 25

def aspect(*args)
  Wm.aspect(self, *args)
end

#attributes(slot = nil, value = TkComm::None) ⇒ Object Also known as: wm_attributes



49
50
51
# File 'lib/tk/wm.rb', line 49

def attributes(slot=nil,value=TkComm::None)
  Wm.attributes(self, slot, value)
end

#client(name = TkComm::None) ⇒ Object Also known as: wm_client



64
65
66
# File 'lib/tk/wm.rb', line 64

def client(name=TkComm::None)
  Wm.client(self, name)
end

#colormapwindows(*args) ⇒ Object Also known as: wm_colormapwindows



79
80
81
# File 'lib/tk/wm.rb', line 79

def colormapwindows(*args)
  Wm.colormapwindows(self, *args)
end

#deiconify(ex = true) ⇒ Object Also known as: wm_deiconify



107
108
109
# File 'lib/tk/wm.rb', line 107

def deiconify(ex = true)
  Wm.deiconify(self, ex)
end

#focusmodel(mode = nil) ⇒ Object Also known as: wm_focusmodel



120
121
122
# File 'lib/tk/wm.rb', line 120

def focusmodel(mode = nil)
  Wm.focusmodel(self, mode)
end

#frameObject Also known as: wm_frame



139
140
141
# File 'lib/tk/wm.rb', line 139

def frame
  Wm.frame(self)
end

#geometry(geom = nil) ⇒ Object Also known as: wm_geometry



152
153
154
# File 'lib/tk/wm.rb', line 152

def geometry(geom=nil)
  Wm.geometry(self, geom)
end

#group(leader = nil) ⇒ Object Also known as: wm_group



180
181
182
# File 'lib/tk/wm.rb', line 180

def group(leader = nil)
  Wm.group(self, leader)
end

#iconbitmap(bmp = nil) ⇒ Object Also known as: wm_iconbitmap



194
195
196
# File 'lib/tk/wm.rb', line 194

def iconbitmap(bmp=nil)
  Wm.iconbitmap(self, bmp)
end

#iconify(ex = true) ⇒ Object Also known as: wm_iconify



237
238
239
# File 'lib/tk/wm.rb', line 237

def iconify(ex = true)
  Wm.iconify(self, ex)
end

#iconmask(bmp = nil) ⇒ Object Also known as: wm_iconmask



250
251
252
# File 'lib/tk/wm.rb', line 250

def iconmask(bmp=nil)
  Wm.iconmask(self, bmp)
end

#iconname(name = nil) ⇒ Object Also known as: wm_iconname



264
265
266
# File 'lib/tk/wm.rb', line 264

def iconname(name=nil)
  Wm.iconname(self, name)
end

#iconphoto(*imgs) ⇒ Object Also known as: wm_iconphoto



213
214
215
# File 'lib/tk/wm.rb', line 213

def iconphoto(*imgs)
  Wm.iconphoto(self, *imgs)
end

#iconphoto_default(*imgs) ⇒ Object Also known as: wm_iconphoto_default



224
225
226
# File 'lib/tk/wm.rb', line 224

def iconphoto_default(*imgs)
  Wm.iconphoto_default(self, *imgs)
end

#iconposition(*args) ⇒ Object Also known as: wm_iconposition



279
280
281
# File 'lib/tk/wm.rb', line 279

def iconposition(*args)
  Wm.iconposition(self, *args)
end

#iconwindow(iconwin = nil) ⇒ Object Also known as: wm_iconwindow



294
295
296
# File 'lib/tk/wm.rb', line 294

def iconwindow(iconwin = nil)
  Wm.iconwindow(self, iconwin)
end

#maxsize(*args) ⇒ Object Also known as: wm_maxsize



336
337
338
# File 'lib/tk/wm.rb', line 336

def maxsize(*args)
  Wm.maxsize(self, *args)
end

#minsize(*args) ⇒ Object Also known as: wm_minsize



351
352
353
# File 'lib/tk/wm.rb', line 351

def minsize(*args)
  Wm.minsize(self, *args)
end

#overrideredirect(mode = TkComm::None) ⇒ Object Also known as: wm_overrideredirect



365
366
367
# File 'lib/tk/wm.rb', line 365

def overrideredirect(mode=TkComm::None)
  Wm.overrideredirect(self, mode)
end

#positionfrom(who = TkComm::None) ⇒ Object Also known as: wm_positionfrom



380
381
382
# File 'lib/tk/wm.rb', line 380

def positionfrom(who=TkComm::None)
  Wm.positionfrom(self, who)
end

#protocol(name = nil, cmd = nil, &b) ⇒ Object Also known as: wm_protocol



400
401
402
# File 'lib/tk/wm.rb', line 400

def protocol(name=nil, cmd=nil, &b)
  Wm.protocol(self, name, cmd, &b)
end

#protocols(kv = nil) ⇒ Object Also known as: wm_protocols



420
421
422
# File 'lib/tk/wm.rb', line 420

def protocols(kv=nil)
  Wm.protocols(self, kv)
end

#resizable(*args) ⇒ Object Also known as: wm_resizable



435
436
437
# File 'lib/tk/wm.rb', line 435

def resizable(*args)
  Wm.resizable(self, *args)
end

#sizefrom(who = TkComm::None) ⇒ Object Also known as: wm_sizefrom



450
451
452
# File 'lib/tk/wm.rb', line 450

def sizefrom(who=TkComm::None)
  Wm.sizefrom(self, who)
end

#stackorderObject Also known as: wm_stackorder



459
460
461
# File 'lib/tk/wm.rb', line 459

def stackorder
  Wm.stackorder(self)
end

#stackorder_isabove(target) ⇒ Object Also known as: stackorder_is_above, wm_stackorder_isabove, wm_stackorder_is_above



470
471
472
# File 'lib/tk/wm.rb', line 470

def stackorder_isabove(target)
  Wm.stackorder_isabove(self, target)
end

#stackorder_isbelow(target) ⇒ Object Also known as: stackorder_is_below, wm_stackorder_isbelow, wm_stackorder_is_below



483
484
485
# File 'lib/tk/wm.rb', line 483

def stackorder_isbelow(target)
  Wm.stackorder_isbelow(self, target)
end

#state(st = nil) ⇒ Object Also known as: wm_state



498
499
500
# File 'lib/tk/wm.rb', line 498

def state(st=nil)
  Wm.state(self, st)
end

#title(str = nil) ⇒ Object Also known as: wm_title



512
513
514
# File 'lib/tk/wm.rb', line 512

def title(str=nil)
  Wm.title(self, str)
end

#transient(master = nil) ⇒ Object Also known as: wm_transient



526
527
528
# File 'lib/tk/wm.rb', line 526

def transient(master=nil)
  Wm.transient(self, master)
end

#withdraw(ex = true) ⇒ Object Also known as: wm_withdraw



540
541
542
# File 'lib/tk/wm.rb', line 540

def withdraw(ex = true)
  Wm.withdraw(self, ex)
end

#wm_command(value = nil) ⇒ Object



94
95
96
# File 'lib/tk/wm.rb', line 94

def wm_command(value=nil)
  Wm.command(self, value)
end

#wm_forgetObject



132
133
134
# File 'lib/tk/wm.rb', line 132

def wm_forget
  Wm.forget(self)
end

#wm_grid(*args) ⇒ Object



167
168
169
# File 'lib/tk/wm.rb', line 167

def wm_grid(*args)
  Wm.grid(self, *args)
end

#wm_manageObject



305
306
307
# File 'lib/tk/wm.rb', line 305

def wm_manage
  Wm.manage(self)
end