Module: TkWinfo

Extended by:
Tk
Includes:
Tk
Included in:
TkWindow
Defined in:
lib/tk/winfo.rb,
lib/tk/winfo.rb

Overview

frozen_string_literal: false

tk/winfo.rb : methods for winfo command

Constant Summary collapse

TkCommandNames =
['winfo'.freeze].freeze

Constants included from Tk

Tk::AUTO_PATH, Tk::Fontchooser, Tk::INTERP, Tk::JAPANIZED_TK, Tk::LIBRARY_PATH, Tk::MAINLOOP, Tk::PACKAGE_PATH, Tk::RELEASE_DATE, Tk::TCL_LIBRARY_PATH, Tk::TCL_MAJOR_VERSION, Tk::TCL_MINOR_VERSION, Tk::TCL_PACKAGE_PATH, Tk::TCL_PATCHLEVEL, Tk::TCL_PRECISION, Tk::TCL_VERSION, Tk::TK_MAJOR_VERSION, Tk::TK_MINOR_VERSION, Tk::TK_PATCHLEVEL, Tk::TK_VERSION, Tk::Tkextlib_RELEASE_DATE, Tk::TreeCtrl_Widget, Tk::X_Scrollable, Tk::Y_Scrollable

Constants included from Tk::Encoding

Tk::Encoding::BINARY, Tk::Encoding::BINARY_NAME, Tk::Encoding::DEFAULT_EXTERNAL_NAME, Tk::Encoding::DEFAULT_INTERNAL_NAME, Tk::Encoding::ENCODING_TABLE, Tk::Encoding::RubyEncoding, Tk::Encoding::UNKNOWN, Tk::Encoding::UTF8_NAME

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 Tk

BinaryString, EncodedString, Grid, Pack, Place, UTF8_String, __create_widget_set__, __disable_toplevel_control__, __import_toplevel_aliases__, __regist_toplevel_aliases__, __remove_toplevel_aliases__, __reset_toplevel_owner__, __set_loaded_toplevel_aliases__, __set_toplevel_aliases__, __toplevel_alias_setup_proc__, _replace_toplevel_aliases, add_kinsoku, backup_current_topdef, bell, bell_on_display, const_missing, current_grabs, cursor_display, default_widget_set, default_widget_set=, define_topalias, define_topobj, delete_kinsoku, destroy, encoding, encoding=, errorCode, errorInfo, exit, focus, focus_lastfor, focus_next, focus_prev, focus_to, fromUTF8, grid, grid_forget, has_mainwindow?, load_tcllibrary, load_tclscript, load_tclscript_rsrc, load_tclscript_rsrcid, lower_window, pack, pack_forget, pkgconfig_get, pkgconfig_list, place, place_forget, raise_window, regist_sym_for_loaded_file, replace_topalias, replace_topobj, root, set_topalias, show_kinsoku, sleep, strictMotif, subst_tk_backslash, subst_utf_backslash, tcl_pkgconfig_get, tcl_pkgconfig_list, thread_update, thread_update_idletasks, tk_pkgconfig_get, tk_pkgconfig_list, toUTF8, to_backslash_sequence, topalias_defined?, toplevel_aliases_on_widget_set, topobj_defined?, ungrid, unload_tcllibrary, unpack, unplace, update, update, update_idletasks, utf_to_backslash, utf_to_backslash_sequence, wakeup, widget_set_symbols

Methods included from Tk::Encoding

#default_encoding=, #encoding=, #encoding_convertfrom, #encoding_convertto, #encoding_dirs, #encoding_dirs=, #encoding_name, #encoding_names, #encoding_obj, #encoding_objs, #encoding_system=, #encoding_system_name, #encoding_system_obj, #force_default_encoding, #force_default_encoding=, #force_default_encoding?, #tk_encoding_names

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

.appname(win) ⇒ Object



154
155
156
# File 'lib/tk/winfo.rb', line 154

def TkWinfo.appname(win)
  tk_call('winfo', 'name', win)
end

.atom(name, win = nil) ⇒ Object



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

def TkWinfo.atom(name, win=nil)
  if win
    number(tk_call_without_enc('winfo', 'atom', '-displayof', win,
                               _get_eval_enc_str(name)))
  else
    number(tk_call_without_enc('winfo', 'atom', _get_eval_enc_str(name)))
  end
end

.atomname(id, win = nil) ⇒ Object



28
29
30
31
32
33
34
35
# File 'lib/tk/winfo.rb', line 28

def TkWinfo.atomname(id, win=nil)
  if win
    _fromUTF8(tk_call_without_enc('winfo', 'atomname',
                                  '-displayof', win, id))
  else
    _fromUTF8(tk_call_without_enc('winfo', 'atomname', id))
  end
end

.cells(win) ⇒ Object



40
41
42
# File 'lib/tk/winfo.rb', line 40

def TkWinfo.cells(win)
  number(tk_call_without_enc('winfo', 'cells', win))
end

.children(win) ⇒ Object



47
48
49
# File 'lib/tk/winfo.rb', line 47

def TkWinfo.children(win)
  list(tk_call_without_enc('winfo', 'children', win))
end

.classname(win) ⇒ Object



54
55
56
# File 'lib/tk/winfo.rb', line 54

def TkWinfo.classname(win)
  tk_call_without_enc('winfo', 'class', win)
end

.colormapfull(win) ⇒ Object



62
63
64
# File 'lib/tk/winfo.rb', line 62

def TkWinfo.colormapfull(win)
   bool(tk_call_without_enc('winfo', 'colormapfull', win))
end

.containing(rootX, rootY, win = nil) ⇒ Object



69
70
71
72
73
74
75
76
# File 'lib/tk/winfo.rb', line 69

def TkWinfo.containing(rootX, rootY, win=nil)
  if win
    window(tk_call_without_enc('winfo', 'containing',
                               '-displayof', win, rootX, rootY))
  else
    window(tk_call_without_enc('winfo', 'containing', rootX, rootY))
  end
end

.depth(win) ⇒ Object



81
82
83
# File 'lib/tk/winfo.rb', line 81

def TkWinfo.depth(win)
  number(tk_call_without_enc('winfo', 'depth', win))
end

.exist?(win) ⇒ Boolean

Returns:

  • (Boolean)


88
89
90
# File 'lib/tk/winfo.rb', line 88

def TkWinfo.exist?(win)
  bool(tk_call_without_enc('winfo', 'exists', win))
end

.fpixels(win, dist) ⇒ Object



95
96
97
# File 'lib/tk/winfo.rb', line 95

def TkWinfo.fpixels(win, dist)
  number(tk_call_without_enc('winfo', 'fpixels', win, dist))
end

.geometry(win) ⇒ Object



102
103
104
# File 'lib/tk/winfo.rb', line 102

def TkWinfo.geometry(win)
  tk_call_without_enc('winfo', 'geometry', win)
end

.height(win) ⇒ Object



109
110
111
# File 'lib/tk/winfo.rb', line 109

def TkWinfo.height(win)
  number(tk_call_without_enc('winfo', 'height', win))
end

.id(win) ⇒ Object



116
117
118
# File 'lib/tk/winfo.rb', line 116

def TkWinfo.id(win)
  tk_call_without_enc('winfo', 'id', win)
end

.interps(win = nil) ⇒ Object



123
124
125
126
127
128
129
130
131
132
133
134
135
# File 'lib/tk/winfo.rb', line 123

def TkWinfo.interps(win=nil)
  if win
    #tk_split_simplelist(tk_call_without_enc('winfo', 'interps',
    #                                        '-displayof', win))
    tk_split_simplelist(tk_call_without_enc('winfo', 'interps',
                                            '-displayof', win),
                        false, true)
  else
    #tk_split_simplelist(tk_call_without_enc('winfo', 'interps'))
    tk_split_simplelist(tk_call_without_enc('winfo', 'interps'),
                        false, true)
  end
end

.manager(win) ⇒ Object



147
148
149
# File 'lib/tk/winfo.rb', line 147

def TkWinfo.manager(win)
  tk_call_without_enc('winfo', 'manager', win)
end

.mapped?(win) ⇒ Boolean

Returns:

  • (Boolean)


140
141
142
# File 'lib/tk/winfo.rb', line 140

def TkWinfo.mapped?(win)
  bool(tk_call_without_enc('winfo', 'ismapped', win))
end

.parent(win) ⇒ Object



161
162
163
# File 'lib/tk/winfo.rb', line 161

def TkWinfo.parent(win)
  window(tk_call_without_enc('winfo', 'parent', win))
end

.pixels(win, dist) ⇒ Object



179
180
181
# File 'lib/tk/winfo.rb', line 179

def TkWinfo.pixels(win, dist)
  number(tk_call_without_enc('winfo', 'pixels', win, dist))
end

.pointerx(win) ⇒ Object



373
374
375
# File 'lib/tk/winfo.rb', line 373

def TkWinfo.pointerx(win)
  number(tk_call_without_enc('winfo', 'pointerx', win))
end

.pointerxy(win) ⇒ Object



387
388
389
# File 'lib/tk/winfo.rb', line 387

def TkWinfo.pointerxy(win)
  list(tk_call_without_enc('winfo', 'pointerxy', win))
end

.pointery(win) ⇒ Object



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

def TkWinfo.pointery(win)
  number(tk_call_without_enc('winfo', 'pointery', win))
end

.reqheight(win) ⇒ Object



186
187
188
# File 'lib/tk/winfo.rb', line 186

def TkWinfo.reqheight(win)
  number(tk_call_without_enc('winfo', 'reqheight', win))
end

.reqwidth(win) ⇒ Object



193
194
195
# File 'lib/tk/winfo.rb', line 193

def TkWinfo.reqwidth(win)
  number(tk_call_without_enc('winfo', 'reqwidth', win))
end

.rgb(win, color) ⇒ Object



200
201
202
# File 'lib/tk/winfo.rb', line 200

def TkWinfo.rgb(win, color)
  list(tk_call_without_enc('winfo', 'rgb', win, color))
end

.rootx(win) ⇒ Object



207
208
209
# File 'lib/tk/winfo.rb', line 207

def TkWinfo.rootx(win)
  number(tk_call_without_enc('winfo', 'rootx', win))
end

.rooty(win) ⇒ Object



214
215
216
# File 'lib/tk/winfo.rb', line 214

def TkWinfo.rooty(win)
  number(tk_call_without_enc('winfo', 'rooty', win))
end

.screen(win) ⇒ Object



221
222
223
# File 'lib/tk/winfo.rb', line 221

def TkWinfo.screen(win)
  tk_call('winfo', 'screen', win)
end

.screencells(win) ⇒ Object



228
229
230
# File 'lib/tk/winfo.rb', line 228

def TkWinfo.screencells(win)
  number(tk_call_without_enc('winfo', 'screencells', win))
end

.screendepth(win) ⇒ Object



235
236
237
# File 'lib/tk/winfo.rb', line 235

def TkWinfo.screendepth(win)
  number(tk_call_without_enc('winfo', 'screendepth', win))
end

.screenheight(win) ⇒ Object



242
243
244
# File 'lib/tk/winfo.rb', line 242

def TkWinfo.screenheight (win)
  number(tk_call_without_enc('winfo', 'screenheight', win))
end

.screenmmheight(win) ⇒ Object



249
250
251
# File 'lib/tk/winfo.rb', line 249

def TkWinfo.screenmmheight(win)
  number(tk_call_without_enc('winfo', 'screenmmheight', win))
end

.screenmmwidth(win) ⇒ Object



256
257
258
# File 'lib/tk/winfo.rb', line 256

def TkWinfo.screenmmwidth(win)
  number(tk_call_without_enc('winfo', 'screenmmwidth', win))
end

.screenvisual(win) ⇒ Object



263
264
265
# File 'lib/tk/winfo.rb', line 263

def TkWinfo.screenvisual(win)
  tk_call_without_enc('winfo', 'screenvisual', win)
end

.screenwidth(win) ⇒ Object



270
271
272
# File 'lib/tk/winfo.rb', line 270

def TkWinfo.screenwidth(win)
  number(tk_call_without_enc('winfo', 'screenwidth', win))
end

.server(win) ⇒ Object



277
278
279
# File 'lib/tk/winfo.rb', line 277

def TkWinfo.server(win)
  tk_call('winfo', 'server', win)
end

.toplevel(win) ⇒ Object



284
285
286
# File 'lib/tk/winfo.rb', line 284

def TkWinfo.toplevel(win)
  window(tk_call_without_enc('winfo', 'toplevel', win))
end

.viewable(win) ⇒ Object



366
367
368
# File 'lib/tk/winfo.rb', line 366

def TkWinfo.viewable(win)
  bool(tk_call_without_enc('winfo', 'viewable', win))
end

.visual(win) ⇒ Object



291
292
293
# File 'lib/tk/winfo.rb', line 291

def TkWinfo.visual(win)
  tk_call_without_enc('winfo', 'visual', win)
end

.visualid(win) ⇒ Object



298
299
300
# File 'lib/tk/winfo.rb', line 298

def TkWinfo.visualid(win)
  tk_call_without_enc('winfo', 'visualid', win)
end

.visualsavailable(win, includeids = false) ⇒ Object



305
306
307
308
309
310
311
312
# File 'lib/tk/winfo.rb', line 305

def TkWinfo.visualsavailable(win, includeids=false)
  if includeids
    list(tk_call_without_enc('winfo', 'visualsavailable',
                             win, "includeids"))
  else
    list(tk_call_without_enc('winfo', 'visualsavailable', win))
  end
end

.vrootheight(win) ⇒ Object



317
318
319
# File 'lib/tk/winfo.rb', line 317

def TkWinfo.vrootheight(win)
  number(tk_call_without_enc('winfo', 'vrootheight', win))
end

.vrootwidth(win) ⇒ Object



324
325
326
# File 'lib/tk/winfo.rb', line 324

def TkWinfo.vrootwidth(win)
  number(tk_call_without_enc('winfo', 'vrootwidth', win))
end

.vrootx(win) ⇒ Object



331
332
333
# File 'lib/tk/winfo.rb', line 331

def TkWinfo.vrootx(win)
  number(tk_call_without_enc('winfo', 'vrootx', win))
end

.vrooty(win) ⇒ Object



338
339
340
# File 'lib/tk/winfo.rb', line 338

def TkWinfo.vrooty(win)
  number(tk_call_without_enc('winfo', 'vrooty', win))
end

.widget(id, win = nil) ⇒ Object



168
169
170
171
172
173
174
# File 'lib/tk/winfo.rb', line 168

def TkWinfo.widget(id, win=nil)
  if win
    window(tk_call_without_enc('winfo', 'pathname', '-displayof', win, id))
  else
    window(tk_call_without_enc('winfo', 'pathname', id))
  end
end

.width(win) ⇒ Object



345
346
347
# File 'lib/tk/winfo.rb', line 345

def TkWinfo.width(win)
  number(tk_call_without_enc('winfo', 'width', win))
end

.x(win) ⇒ Object



352
353
354
# File 'lib/tk/winfo.rb', line 352

def TkWinfo.x(win)
  number(tk_call_without_enc('winfo', 'x', win))
end

.y(win) ⇒ Object



359
360
361
# File 'lib/tk/winfo.rb', line 359

def TkWinfo.y(win)
  number(tk_call_without_enc('winfo', 'y', win))
end

Instance Method Details

#winfo_appnameObject



157
158
159
# File 'lib/tk/winfo.rb', line 157

def winfo_appname
  TkWinfo.appname self
end

#winfo_atom(name) ⇒ Object



24
25
26
# File 'lib/tk/winfo.rb', line 24

def winfo_atom(name)
  TkWinfo.atom(name, self)
end

#winfo_atomname(id) ⇒ Object



36
37
38
# File 'lib/tk/winfo.rb', line 36

def winfo_atomname(id)
  TkWinfo.atomname(id, self)
end

#winfo_cellsObject



43
44
45
# File 'lib/tk/winfo.rb', line 43

def winfo_cells
  TkWinfo.cells self
end

#winfo_childrenObject



50
51
52
# File 'lib/tk/winfo.rb', line 50

def winfo_children
  TkWinfo.children self
end

#winfo_classnameObject Also known as: winfo_class



57
58
59
# File 'lib/tk/winfo.rb', line 57

def winfo_classname
  TkWinfo.classname self
end

#winfo_colormapfullObject



65
66
67
# File 'lib/tk/winfo.rb', line 65

def winfo_colormapfull
  TkWinfo.colormapfull self
end

#winfo_containing(x, y) ⇒ Object



77
78
79
# File 'lib/tk/winfo.rb', line 77

def winfo_containing(x, y)
  TkWinfo.containing(x, y, self)
end

#winfo_depthObject



84
85
86
# File 'lib/tk/winfo.rb', line 84

def winfo_depth
  TkWinfo.depth self
end

#winfo_exist?Boolean

Returns:

  • (Boolean)


91
92
93
# File 'lib/tk/winfo.rb', line 91

def winfo_exist?
  TkWinfo.exist? self
end

#winfo_fpixels(dist) ⇒ Object



98
99
100
# File 'lib/tk/winfo.rb', line 98

def winfo_fpixels(dist)
  TkWinfo.fpixels self, dist
end

#winfo_geometryObject



105
106
107
# File 'lib/tk/winfo.rb', line 105

def winfo_geometry
  TkWinfo.geometry self
end

#winfo_heightObject



112
113
114
# File 'lib/tk/winfo.rb', line 112

def winfo_height
  TkWinfo.height self
end

#winfo_idObject



119
120
121
# File 'lib/tk/winfo.rb', line 119

def winfo_id
  TkWinfo.id self
end

#winfo_interpsObject



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

def winfo_interps
  TkWinfo.interps self
end

#winfo_managerObject



150
151
152
# File 'lib/tk/winfo.rb', line 150

def winfo_manager
  TkWinfo.manager self
end

#winfo_mapped?Boolean

Returns:

  • (Boolean)


143
144
145
# File 'lib/tk/winfo.rb', line 143

def winfo_mapped?
  TkWinfo.mapped? self
end

#winfo_parentObject



164
165
166
# File 'lib/tk/winfo.rb', line 164

def winfo_parent
  TkWinfo.parent self
end

#winfo_pixels(dist) ⇒ Object



182
183
184
# File 'lib/tk/winfo.rb', line 182

def winfo_pixels(dist)
  TkWinfo.pixels self, dist
end

#winfo_pointerxObject



376
377
378
# File 'lib/tk/winfo.rb', line 376

def winfo_pointerx
  TkWinfo.pointerx self
end

#winfo_pointerxyObject



390
391
392
# File 'lib/tk/winfo.rb', line 390

def winfo_pointerxy
  TkWinfo.pointerxy self
end

#winfo_pointeryObject



383
384
385
# File 'lib/tk/winfo.rb', line 383

def winfo_pointery
  TkWinfo.pointery self
end

#winfo_reqheightObject



189
190
191
# File 'lib/tk/winfo.rb', line 189

def winfo_reqheight
  TkWinfo.reqheight self
end

#winfo_reqwidthObject



196
197
198
# File 'lib/tk/winfo.rb', line 196

def winfo_reqwidth
  TkWinfo.reqwidth self
end

#winfo_rgb(color) ⇒ Object



203
204
205
# File 'lib/tk/winfo.rb', line 203

def winfo_rgb(color)
  TkWinfo.rgb self, color
end

#winfo_rootxObject



210
211
212
# File 'lib/tk/winfo.rb', line 210

def winfo_rootx
  TkWinfo.rootx self
end

#winfo_rootyObject



217
218
219
# File 'lib/tk/winfo.rb', line 217

def winfo_rooty
  TkWinfo.rooty self
end

#winfo_screenObject



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

def winfo_screen
  TkWinfo.screen self
end

#winfo_screencellsObject



231
232
233
# File 'lib/tk/winfo.rb', line 231

def winfo_screencells
  TkWinfo.screencells self
end

#winfo_screendepthObject



238
239
240
# File 'lib/tk/winfo.rb', line 238

def winfo_screendepth
  TkWinfo.screendepth self
end

#winfo_screenheightObject



245
246
247
# File 'lib/tk/winfo.rb', line 245

def winfo_screenheight
  TkWinfo.screenheight self
end

#winfo_screenmmheightObject



252
253
254
# File 'lib/tk/winfo.rb', line 252

def winfo_screenmmheight
  TkWinfo.screenmmheight self
end

#winfo_screenmmwidthObject



259
260
261
# File 'lib/tk/winfo.rb', line 259

def winfo_screenmmwidth
  TkWinfo.screenmmwidth self
end

#winfo_screenvisualObject



266
267
268
# File 'lib/tk/winfo.rb', line 266

def winfo_screenvisual
  TkWinfo.screenvisual self
end

#winfo_screenwidthObject



273
274
275
# File 'lib/tk/winfo.rb', line 273

def winfo_screenwidth
  TkWinfo.screenwidth self
end

#winfo_serverObject



280
281
282
# File 'lib/tk/winfo.rb', line 280

def winfo_server
  TkWinfo.server self
end

#winfo_toplevelObject



287
288
289
# File 'lib/tk/winfo.rb', line 287

def winfo_toplevel
  TkWinfo.toplevel self
end

#winfo_viewableObject



369
370
371
# File 'lib/tk/winfo.rb', line 369

def winfo_viewable
  TkWinfo.viewable self
end

#winfo_visualObject



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

def winfo_visual
  TkWinfo.visual self
end

#winfo_visualidObject



301
302
303
# File 'lib/tk/winfo.rb', line 301

def winfo_visualid
  TkWinfo.visualid self
end

#winfo_visualsavailable(includeids = false) ⇒ Object



313
314
315
# File 'lib/tk/winfo.rb', line 313

def winfo_visualsavailable(includeids=false)
  TkWinfo.visualsavailable self, includeids
end

#winfo_vrootheightObject



320
321
322
# File 'lib/tk/winfo.rb', line 320

def winfo_vrootheight
  TkWinfo.vrootheight self
end

#winfo_vrootwidthObject



327
328
329
# File 'lib/tk/winfo.rb', line 327

def winfo_vrootwidth
  TkWinfo.vrootwidth self
end

#winfo_vrootxObject



334
335
336
# File 'lib/tk/winfo.rb', line 334

def winfo_vrootx
  TkWinfo.vrootx self
end

#winfo_vrootyObject



341
342
343
# File 'lib/tk/winfo.rb', line 341

def winfo_vrooty
  TkWinfo.vrooty self
end

#winfo_widget(id) ⇒ Object



175
176
177
# File 'lib/tk/winfo.rb', line 175

def winfo_widget(id)
  TkWinfo.widget id, self
end

#winfo_widthObject



348
349
350
# File 'lib/tk/winfo.rb', line 348

def winfo_width
  TkWinfo.width self
end

#winfo_xObject



355
356
357
# File 'lib/tk/winfo.rb', line 355

def winfo_x
  TkWinfo.x self
end

#winfo_yObject



362
363
364
# File 'lib/tk/winfo.rb', line 362

def winfo_y
  TkWinfo.y self
end