Class: TkWindow (Ruby 2.2.3)
Description: Class : TkWindow - Ruby 2.2.3

- Home
- Core 2.2.3
- Std-lib 2.2.3
- Downloads

Support for the Ruby 2.2 series has ended. See here for reference.

### Home Classes Methods

### In Files

- tk/lib/tk.rb
- tk/lib/tkextlib/tcllib/cursor.rb
- tk/lib/tkextlib/tkDND/shape.rb
- tk/lib/tkextlib/tkDND/tkdnd.rb
- tk/lib/tkextlib/tktrans/tktrans.rb

### Parent

TkObject

### Methods

- ::_widget_inspect_full_=
- ::_widget_inspect_full_?
- ::database_class
- ::database_classname
- ::new
- ::to_eval
- #bind_class
- #bindtags
- #bindtags=
- #bindtags_shift
- #bindtags_unshift
- #caret
- #colormodel
- #command
- #current_grab
- #cursor_propagate
- #cursor_restore
- #database_class
- #database_classname
- #destroy
- #eventloop_tkwait
- #eventloop_tkwait_destroy
- #eventloop_tkwait_visibility
- #eventloop_tkwait_window
- #eventloop_wait
- #eventloop_wait_destroy
- #eventloop_wait_visibility
- #eventloop_wait_window
- #exist?
- #focus
- #grab
- #grab_current
- #grab_release
- #grab_set
- #grab_set_global
- #grab_status
- #grid
- #grid_anchor
- #grid_bbox
- #grid_column
- #grid_columnconfig
- #grid_columnconfiginfo
- #grid_columnconfigure
- #grid_config
- #grid_configure
- #grid_forget
- #grid_in
- #grid_info
- #grid_location
- #grid_propagate
- #grid_remove
- #grid_row
- #grid_rowconfig
- #grid_rowconfiginfo
- #grid_rowconfigure
- #grid_size
- #grid_slaves
- #inspect
- #lower
- #lower_window
- #pack
- #pack_config
- #pack_configure
- #pack_forget
- #pack_in
- #pack_info
- #pack_propagate
- #pack_slaves
- #place
- #place_config
- #place_configinfo
- #place_configure
- #place_forget
- #place_in
- #place_info
- #place_slaves
- #raise
- #raise_window
- #release_grab
- #set_focus
- #set_global_grab
- #set_grab
- #thread_tkwait
- #thread_tkwait_destroy
- #thread_tkwait_visibility
- #thread_tkwait_window
- #thread_wait
- #thread_wait_destroy
- #thread_wait_visibility
- #thread_wait_window
- #tktrans_get_image
- #tktrans_set_image
- #tkwait
- #tkwait_destroy
- #tkwait_window
- #ungrid
- #unpack
- #unplace
- #wait
- #wait_destroy
- #wait_visibility
- #wait_window

### Included Modules

- TkWinfo
- Tk::Wm_for_General
- Tk::Busy
- Tk::TkDND::Shape
- Tk::TkDND::DND

### Class/Module Index

Quicksearch

- Arc
- Bitmap
- BitmapImage
- Checkbutton
- CloneMenu
- Font
- Grid
- INTERP
- Labelframe
- Line
- MenuButton
- MultiTkIp
- MultiTkIp::Command_Queue
- MultiTkIp::ThreadGroup
- MultiTkIp_OK
- MultiTkIp_PseudoToplevel_Evaluable
- Object
- Object::TkNamedVirtualEvent
- Object::TkSystemMenu
- Object::Ttk
- OptionMenuButton
- Oval
- Pack
- Panedwindow
- PhotoImage
- Place
- Polygon
- Radiobutton
- Rectangle
- RemoteTkIp
- Selection
- Spinbox
- TclTk
- TclTkCallback
- TclTkCommand
- TclTkImage
- TclTkInterpreter
- TclTkIp
- TclTkLib
- TclTkLib::EventFlag
- TclTkLib::RELEASE_TYPE
- TclTkLib::VarAccessFlag
- TclTkLibCommand
- TclTkObject
- TclTkVariable
- TclTkWidget
- TextItem
- Tk
- Tk::BLT
- Tk::BLT::Barchart
- Tk::BLT::Bitmap
- Tk::BLT::Busy
- Tk::BLT::Busy::Shield
- Tk::BLT::Container
- Tk::BLT::CutBuffer
- Tk::BLT::DnD
- Tk::BLT::DragDrop
- Tk::BLT::DragDrop::DnD_Handle
- Tk::BLT::DragDrop::PackageCommand
- Tk::BLT::DragDrop::PackageCommand::ValidateArgs
- Tk::BLT::DragDrop::SiteCommand
- Tk::BLT::DragDrop::SiteCommand::ValidateArgs
- Tk::BLT::DragDrop::Token
- Tk::BLT::EPS
- Tk::BLT::Graph
- Tk::BLT::GraphCommand
- Tk::BLT::Hiertable
- Tk::BLT::Htext
- Tk::BLT::PlotComponent
- Tk::BLT::PlotComponent::Axis
- Tk::BLT::PlotComponent::Bar
- Tk::BLT::PlotComponent::BitmapMarker
- Tk::BLT::PlotComponent::Crosshairs
- Tk::BLT::PlotComponent::Element
- Tk::BLT::PlotComponent::GridLine
- Tk::BLT::PlotComponent::ImageMarker
- Tk::BLT::PlotComponent::Legend
- Tk::BLT::PlotComponent::Line
- Tk::BLT::PlotComponent::LineMarker
- Tk::BLT::PlotComponent::Marker
- Tk::BLT::PlotComponent::OptKeys
- Tk::BLT::PlotComponent::Pen
- Tk::BLT::PlotComponent::PolygonMarker
- Tk::BLT::PlotComponent::Postscript
- Tk::BLT::PlotComponent::TextMarker
- Tk::BLT::PlotComponent::WindowMarker
- Tk::BLT::Printer
- Tk::BLT::Spline
- Tk::BLT::Stripchart
- Tk::BLT::Table
- Tk::BLT::Table::TableContainer
- Tk::BLT::Tabnotebook
- Tk::BLT::Tabnotebook::Tab
- Tk::BLT::Tabset
- Tk::BLT::Tabset::NamedTab
- Tk::BLT::Tabset::Tab
- Tk::BLT::Ted
- Tk::BLT::Tile
- Tk::BLT::Tile::Button
- Tk::BLT::Tile::CheckButton
- Tk::BLT::Tile::Checkbutton
- Tk::BLT::Tile::Frame
- Tk::BLT::Tile::Label
- Tk::BLT::Tile::RadioButton
- Tk::BLT::Tile::Radiobutton
- Tk::BLT::Tile::Scrollbar
- Tk::BLT::Tile::Toplevel
- Tk::BLT::Tree
- Tk::BLT::Tree::Node
- Tk::BLT::Tree::Notify
- Tk::BLT::Tree::Tag
- Tk::BLT::Tree::Trace
- Tk::BLT::Treeview
- Tk::BLT::Treeview::ConfigMethod
- Tk::BLT::Treeview::FindExecFlagValue
- Tk::BLT::Treeview::FindExecFlagValue::ValidateArgs
- Tk::BLT::Treeview::Node
- Tk::BLT::Treeview::OpenCloseCommand
- Tk::BLT::Treeview::OpenCloseCommand::ValidateArgs
- Tk::BLT::Treeview::Tag
- Tk::BLT::Treeview::TagOrID_Methods
- Tk::BLT::Vector
- Tk::BLT::VectorAccess
- Tk::BLT::Watch
- Tk::BLT::WinOp
- Tk::BLT::Winop
- Tk::BWidget
- Tk::BWidget::ArrowButton
- Tk::BWidget::Bitmap
- Tk::BWidget::Button
- Tk::BWidget::ButtonBox
- Tk::BWidget::ComboBox
- Tk::BWidget::Dialog
- Tk::BWidget::DragSite
- Tk::BWidget::DropSite
- Tk::BWidget::DynamicHelp
- Tk::BWidget::Entry
- Tk::BWidget::Label
- Tk::BWidget::LabelEntry
- Tk::BWidget::LabelFrame
- Tk::BWidget::ListBox
- Tk::BWidget::ListBox::Event_for_Items
- Tk::BWidget::ListBox::Item
- Tk::BWidget::MainFrame
- Tk::BWidget::MessageDlg
- Tk::BWidget::NoteBook
- Tk::BWidget::NoteBook::Event_for_Tabs
- Tk::BWidget::PagesManager
- Tk::BWidget::PanedWindow
- Tk::BWidget::PanelFrame
- Tk::BWidget::PasswdDlg
- Tk::BWidget::ProgressBar
- Tk::BWidget::ProgressDlg
- Tk::BWidget::ScrollView
- Tk::BWidget::ScrollableFrame
- Tk::BWidget::ScrolledWindow
- Tk::BWidget::SelectColor
- Tk::BWidget::SelectColor::Dialog
- Tk::BWidget::SelectColor::MenuButton
- Tk::BWidget::SelectColor::Menubutton
- Tk::BWidget::SelectFont
- Tk::BWidget::SelectFont::Dialog
- Tk::BWidget::SelectFont::Toolbar
- Tk::BWidget::Separator
- Tk::BWidget::SpinBox
- Tk::BWidget::StatusBar
- Tk::BWidget::TitleFrame
- Tk::BWidget::Tree
- Tk::BWidget::Tree::Event_for_Items
- Tk::BWidget::Tree::Node
- Tk::BWidget::Widget
- Tk::BinaryString
- Tk::Busy
- Tk::Button
- Tk::Canvas
- Tk::CheckButton
- Tk::Clock
- Tk::EncodedString
- Tk::Encoding
- Tk::Entry
- Tk::Frame
- Tk::HTML_Widget
- Tk::HTML_Widget::ClippingWindow
- Tk::ICONS
- Tk::Img
- Tk::Img::BMP
- Tk::Img::DTED
- Tk::Img::GIF
- Tk::Img::ICO
- Tk::Img::JPEG
- Tk::Img::PCX
- Tk::Img::PIXMAP
- Tk::Img::PNG
- Tk::Img::PPM
- Tk::Img::PS
- Tk::Img::Raw
- Tk::Img::SGI
- Tk::Img::SUN
- Tk::Img::TGA
- Tk::Img::TIFF
- Tk::Img::WINDOW
- Tk::Img::XBM
- Tk::Img::XPM
- Tk::Itcl
- Tk::Itcl::ItclObject
- Tk::ItemValidateConfigure
- Tk::Itk
- Tk::Itk::Archetype
- Tk::Itk::Component
- Tk::Itk::Toplevel
- Tk::Itk::Widget
- Tk::Iwidgets
- Tk::Iwidgets::Buttonbox
- Tk::Iwidgets::Calendar
- Tk::Iwidgets::Calendar::CalendarCommand
- Tk::Iwidgets::Calendar::CalendarCommand::ValidateArgs
- Tk::Iwidgets::Canvasprintbox
- Tk::Iwidgets::Canvasprintdialog
- Tk::Iwidgets::Checkbox
- Tk::Iwidgets::Combobox
- Tk::Iwidgets::Dateentry
- Tk::Iwidgets::Datefield
- Tk::Iwidgets::Dialog
- Tk::Iwidgets::Dialogshell
- Tk::Iwidgets::Disjointlistbox
- Tk::Iwidgets::Entryfield
- Tk::Iwidgets::Entryfield::EntryfieldValidate
- Tk::Iwidgets::Entryfield::EntryfieldValidate::ValidateArgs
- Tk::Iwidgets::Extbutton
- Tk::Iwidgets::Extfileselectionbox
- Tk::Iwidgets::Extfileselectiondialog
- Tk::Iwidgets::Feedback
- Tk::Iwidgets::Fileselectionbox
- Tk::Iwidgets::Fileselectiondialog
- Tk::Iwidgets::Finddialog
- Tk::Iwidgets::Hierarchy
- Tk::Iwidgets::Hierarchy::IconCommand
- Tk::Iwidgets::Hierarchy::IconCommand::ValidateArgs
- Tk::Iwidgets::Hierarchy::IndicatorCommand
- Tk::Iwidgets::Hierarchy::IndicatorCommand::ValidateArgs
- Tk::Iwidgets::Hierarchy::QueryCommand
- Tk::Iwidgets::Hierarchy::QueryCommand::ValidateArgs
- Tk::Iwidgets::Hyperhelp
- Tk::Iwidgets::Labeledframe
- Tk::Iwidgets::Labeledwidget
- Tk::Iwidgets::Mainwindow
- Tk::Iwidgets::Menubar
- Tk::Iwidgets::Messagebox
- Tk::Iwidgets::Messagedialog
- Tk::Iwidgets::Notebook
- Tk::Iwidgets::Optionmenu
- Tk::Iwidgets::Panedwindow
- Tk::Iwidgets::Promptdialog
- Tk::Iwidgets::Pushbutton
- Tk::Iwidgets::Radiobox
- Tk::Iwidgets::Scopedobject
- Tk::Iwidgets::Scrolledcanvas
- Tk::Iwidgets::Scrolledframe
- Tk::Iwidgets::Scrolledhtml
- Tk::Iwidgets::Scrolledlistbox
- Tk::Iwidgets::Scrolledtext
- Tk::Iwidgets::Scrolledwidget
- Tk::Iwidgets::Selectionbox
- Tk::Iwidgets::Selectiondialog
- Tk::Iwidgets::Shell
- Tk::Iwidgets::Spindate
- Tk::Iwidgets::Spinint
- Tk::Iwidgets::Spinner
- Tk::Iwidgets::Spinner::EntryfieldValidate
- Tk::Iwidgets::Spinner::EntryfieldValidate::ValidateArgs
- Tk::Iwidgets::Spintime
- Tk::Iwidgets::Tabnotebook
- Tk::Iwidgets::Tabset
- Tk::Iwidgets::Timeentry
- Tk::Iwidgets::Timefield
- Tk::Iwidgets::Toolbar
- Tk::Iwidgets::Watch
- Tk::Label
- Tk::LabelFrame
- Tk::Listbox
- Tk::Mac
- Tk::Mac::IconBitmap
- Tk::MacResource
- Tk::Menu
- Tk::Menu::TkInternalFunction
- Tk::MenuClone
- Tk::Menubutton
- Tk::Message
- Tk::OptionMenubutton
- Tk::OptionMenubutton::OptionMenu
- Tk::OptionObj
- Tk::PanedWindow
- Tk::RadioButton
- Tk::Root
- Tk::Scale
- Tk::Scrollable
- Tk::Scrollbar
- Tk::Spinbox
- Tk::Spinbox::SpinCommand
- Tk::Spinbox::SpinCommand::ValidateArgs
- Tk::SysMenu_Apple
- Tk::SysMenu_Help
- Tk::SysMenu_System
- Tk::SystemMenu
- Tk::TOPLEVEL_ALIASES
- Tk::TclX
- Tk::TclX::XPG3_MsgCat
- Tk::Tcllib
- Tk::Tcllib::Autoscroll
- Tk::Tcllib::CText
- Tk::Tcllib::ChatWidget
- Tk::Tcllib::Crosshair
- Tk::Tcllib::Cursor
- Tk::Tcllib::DateField
- Tk::Tcllib::Datefield
- Tk::Tcllib::Diagrams
- Tk::Tcllib::GetString_Dialog
- Tk::Tcllib::History
- Tk::Tcllib::ICO
- Tk::Tcllib::IP6_Entry
- Tk::Tcllib::IPEntry
- Tk::Tcllib::IPEntry6
- Tk::Tcllib::IP_Entry
- Tk::Tcllib::IP_Entry6
- Tk::Tcllib::KHIM
- Tk::Tcllib::KHIM::Help
- Tk::Tcllib::Ntext
- Tk::Tcllib::Plotchart
- Tk::Tcllib::Plotchart::Barchart
- Tk::Tcllib::Plotchart::Barchart3D
- Tk::Tcllib::Plotchart::Boxplot
- Tk::Tcllib::Plotchart::ChartMethod
- Tk::Tcllib::Plotchart::Ganttchart
- Tk::Tcllib::Plotchart::Histogram
- Tk::Tcllib::Plotchart::HorizontalBarchart
- Tk::Tcllib::Plotchart::IsometricPlot
- Tk::Tcllib::Plotchart::Isometricplot
- Tk::Tcllib::Plotchart::Piechart
- Tk::Tcllib::Plotchart::Plot3D
- Tk::Tcllib::Plotchart::PlotSeries
- Tk::Tcllib::Plotchart::PolarPlot
- Tk::Tcllib::Plotchart::Polarplot
- Tk::Tcllib::Plotchart::Radialchart
- Tk::Tcllib::Plotchart::RibbonChart3D
- Tk::Tcllib::Plotchart::RightAxis
- Tk::Tcllib::Plotchart::Stripchart
- Tk::Tcllib::Plotchart::TXPlot
- Tk::Tcllib::Plotchart::Timechart
- Tk::Tcllib::Plotchart::XLogYPlot
- Tk::Tcllib::Plotchart::XYPlot
- Tk::Tcllib::Style
- Tk::Tcllib::Swaplist_Dialog
- Tk::Tcllib::TableList
- Tk::Tcllib::TableList_Tile
- Tk::Tcllib::Tablelist
- Tk::Tcllib::TablelistItemConfig
- Tk::Tcllib::Tablelist_Tile
- Tk::Tcllib::Tkpiechart
- Tk::Tcllib::Tkpiechart::BoxLabeler
- Tk::Tcllib::Tkpiechart::ConfigMethod
- Tk::Tcllib::Tkpiechart::Label
- Tk::Tcllib::Tkpiechart::PeripheralLabeler
- Tk::Tcllib::Tkpiechart::Pie
- Tk::Tcllib::Tkpiechart::PieChartObj
- Tk::Tcllib::Tkpiechart::Slice
- Tk::Tcllib::Tooltip
- Tk::Tcllib::Validator
- Tk::Tcllib::Widget
- Tk::Tcllib::Widget::Calendar
- Tk::Tcllib::Widget::Canvas_Sqmap
- Tk::Tcllib::Widget::Canvas_Zoom
- Tk::Tcllib::Widget::DateEntry
- Tk::Tcllib::Widget::Dateentry
- Tk::Tcllib::Widget::Dialog
- Tk::Tcllib::Widget::MenuEntry
- Tk::Tcllib::Widget::Menuentry
- Tk::Tcllib::Widget::PanelFrame
- Tk::Tcllib::Widget::Panelframe
- Tk::Tcllib::Widget::Ruler
- Tk::Tcllib::Widget::ScreenRuler
- Tk::Tcllib::Widget::Screenruler
- Tk::Tcllib::Widget::ScrolledWindow
- Tk::Tcllib::Widget::Scrolledwindow
- Tk::Tcllib::Widget::Statusbar
- Tk::Tcllib::Widget::SuperFrame
- Tk::Tcllib::Widget::Toolbar
- Tk::Tcllib::Widget::ToolbarItem
- Tk::Tcllib::Widget::ToolbarItemConfig
- Tk::Text
- Tk::Text::IndexModMethods
- Tk::Text::IndexString
- Tk::Text::Peer
- Tk::Tile
- Tk::Tile::Button
- Tk::Tile::CheckButton
- Tk::Tile::Checkbutton
- Tk::Tile::Combobox
- Tk::Tile::Dialog
- Tk::Tile::Entry
- Tk::Tile::Font
- Tk::Tile::Frame
- Tk::Tile::KeyNav
- Tk::Tile::Label
- Tk::Tile::LabelFrame
- Tk::Tile::Labelframe
- Tk::Tile::MenuButton
- Tk::Tile::Menubutton
- Tk::Tile::Notebook
- Tk::Tile::ParseStyleLayout
- Tk::Tile::Progress
- Tk::Tile::Progressbar
- Tk::Tile::RadioButton
- Tk::Tile::Radiobutton
- Tk::Tile::Scale
- Tk::Tile::Scrollbar
- Tk::Tile::Separator
- Tk::Tile::SizeGrip
- Tk::Tile::Sizegrip
- Tk::Tile::Spinbox
- Tk::Tile::Square
- Tk::Tile::Style
- Tk::Tile::TButton
- Tk::Tile::TCheckButton
- Tk::Tile::TCheckbutton
- Tk::Tile::TCombobox
- Tk::Tile::TEntry
- Tk::Tile::TFrame
- Tk::Tile::TLabel
- Tk::Tile::TLabelFrame
- Tk::Tile::TLabelframe
- Tk::Tile::TMenuButton
- Tk::Tile::TMenubutton
- Tk::Tile::TNotebook
- Tk::Tile::TPaned
- Tk::Tile::TProgress
- Tk::Tile::TProgressbar
- Tk::Tile::TRadioButton
- Tk::Tile::TRadiobutton
- Tk::Tile::TScale
- Tk::Tile::TScrollbar
- Tk::Tile::TSeparator
- Tk::Tile::TSpinbox
- Tk::Tile::TSpinbox::SpinCommand
- Tk::Tile::TSpinbox::SpinCommand::ValidateArgs
- Tk::Tile::TSquare
- Tk::Tile::TileWidget
- Tk::Tile::Treeview
- Tk::Tile::Treeview::Item
- Tk::Tile::Treeview::Root
- Tk::Tile::Treeview::Tag
- Tk::Tile::TreeviewConfig
- Tk::Tile::XScrollbar
- Tk::Tile::YScrollbar
- Tk::TkDND
- Tk::TkDND::DND
- Tk::TkDND::DND_Subst
- Tk::TkDND::Shape
- Tk::TkSystemMenu
- Tk::TkTable
- Tk::TkTable::BrowseCommand
- Tk::TkTable::BrowseCommand::ValidateArgs
- Tk::TkTable::CellCommand
- Tk::TkTable::CellCommand::ValidateArgs
- Tk::TkTable::CellTag
- Tk::TkTable::ConfigMethod
- Tk::TkTable::NamedCellTag
- Tk::TkTable::SelectionCommand
- Tk::TkTable::SelectionCommand::ValidateArgs
- Tk::TkTable::ValidateCommand
- Tk::TkTable::ValidateCommand::ValidateArgs
- Tk::TkTrans
- Tk::Toplevel
- Tk::TreeCtrl
- Tk::TreeCtrl::BindCallback
- Tk::TreeCtrl::BitmapElement
- Tk::TreeCtrl::BorderElement
- Tk::TreeCtrl::Column
- Tk::TreeCtrl::ConfigMethod
- Tk::TreeCtrl::Element
- Tk::TreeCtrl::ImageElement
- Tk::TreeCtrl::Item
- Tk::TreeCtrl::NotifyEvent
- Tk::TreeCtrl::RectangleElement
- Tk::TreeCtrl::Style
- Tk::TreeCtrl_Widget
- Tk::Trofs
- Tk::Ttk
- Tk::UTF8_String
- Tk::ValidateConfigure
- Tk::Vu
- Tk::Vu::Bargraph
- Tk::Vu::ChartsConfig
- Tk::Vu::Dial
- Tk::Vu::NamedPieSlice
- Tk::Vu::Pie
- Tk::Vu::PieSlice
- Tk::Vu::PieSliceConfigMethod
- Tk::Vu::TkcBarchart
- Tk::Vu::TkcSticker
- Tk::Vu::TkcStripchart
- Tk::WinDDE
- Tk::WinRegistry
- Tk::Winico
- Tk::Winico::Winico_callback
- Tk::Winico::Winico_callback::ValidateArgs
- Tk::Wm
- Tk::Wm_for_General
- Tk::XScrollable
- Tk::XScrollbar
- Tk::X_Scrollable
- Tk::YScrollable
- Tk::YScrollbar
- Tk::Y_Scrollable
- TkAfter
- TkBgError
- TkBindCore
- TkBindTag
- TkBindTagAll
- TkBitmapImage
- TkCallbackBreak
- TkCallbackContinue
- TkCallbackEntry
- TkCallbackRedo
- TkCallbackRetry
- TkCallbackReturn
- TkCallbackThrow
- TkCanvasItemConfig
- TkClipboard
- TkComm
- TkComposite
- TkConfigMethod
- TkConsole
- TkCore
- TkCore::Tk_OBJECT_TABLE
- TkDatabaseClass
- TkDialog
- TkDialog2
- TkDialogObj
- TkEvent
- TkEvent::Event
- TkEvent::Event::Grp
- TkEvent::Event::StateMask
- TkEvent::Event::TypeNum
- TkFont
- TkFont::Chooser
- TkFont::CoreMethods
- TkFont::DescendantFont
- TkFont::Fontchooser
- TkGrid
- TkImage
- TkItemConfigMethod
- TkItemConfigOptkeys
- TkItemFontOptkeys
- TkKernel
- TkKinput
- TkListItemConfig
- TkLocalJumpError
- TkManageFocus
- TkMenuEntryConfig
- TkMenuSpec
- TkMenubar
- TkMsgCat
- TkMsgCatalog
- TkNamedFont
- TkNamespace
- TkNamespace::Ensemble
- TkNamespace::NsCode
- TkNamespace::ScopeArgs
- TkObject
- TkOption
- TkOptionDB
- TkOptionDB::Priority
- TkPack
- TkPackage
- TkPalette
- TkPhotoImage
- TkPixmapImage
- TkPlace
- TkRTTimer
- TkResourceDB
- TkScrollbox
- TkSelection
- TkTextImage
- TkTextMark
- TkTextMarkAnchor
- TkTextMarkCurrent
- TkTextMarkInsert
- TkTextNamedMark
- TkTextNamedTag
- TkTextTag
- TkTextTagConfig
- TkTextTagSel
- TkTextWin
- TkTextWindow
- TkTimer
- TkTreatFont
- TkTreatItemFont
- TkTreatTagFont
- TkUtil
- TkUtil::CallbackSubst
- TkUtil::CallbackSubst::Info
- TkValidateCommand
- TkValidateCommand::ValidateArgs
- TkValidation
- TkValidation::ValidateCmd
- TkValidation::ValidateCmd::Action
- TkVarAccess
- TkVariable
- TkVirtualEvent
- TkVirtualEvent::PreDefVirtEvent
- TkVirtualEvent::TkNamedVirtualEvent
- TkWarning
- TkWarning2
- TkWarningObj
- TkWidget
- TkWindow
- TkWinfo
- TkXIM
- TkcArc
- TkcBitmap
- TkcGroup
- TkcImage
- TkcItem
- TkcLine
- TkcNamedTag
- TkcOval
- TkcPolygon
- TkcRectangle
- TkcTag
- TkcTagAccess
- TkcTagAll
- TkcTagCurrent
- TkcTagString
- TkcText
- TkcWindow
- TktImage
- TktMark
- TktMarkAnchor
- TktMarkCurrent
- TktMarkInsert
- TktNamedMark
- TktNamedTag
- TktTag
- TktTagSel
- TktWindow
- Variable
- VirtualEvent
- WindowItem
- Winfo
- unknown

No matching classes.

# TkWindow

### Constants

TkCommandNames
WidgetClassName

  ## > If TkCommandNames is a string (not a null string),¶ ↑

      assume the string is a Tcl/Tk's create command of the widget class.

### Public Class Methods

_widget_inspect_full_=(mode) click to toggle source

                   # File tk/lib/tk.rb, line 5061
    def TkWindow._widget_inspect_full_=(mode)
      @@WIDGET_INSPECT_FULL = (mode && true) || false
    end

_widget_inspect_full_?() click to toggle source

                   # File tk/lib/tk.rb, line 5058
    def TkWindow._widget_inspect_full_?
      @@WIDGET_INSPECT_FULL
    end

database_class() click to toggle source

                   # File tk/lib/tk.rb, line 5232
    def self.database_class
      WidgetClassNames[self::WidgetClassName]
    end

database_classname() click to toggle source

                   # File tk/lib/tk.rb, line 5229
    def self.database_classname
      self::WidgetClassName
    end

new(parent=nil, keys=nil) click to toggle source

                   # File tk/lib/tk.rb, line 5075
    def initialize(parent=nil, keys=nil)
      if parent.kind_of? Hash
        keys = _symbolkey2str(parent)
        parent = keys.delete('parent')
        widgetname = keys.delete('widgetname')
        install_win(if parent then parent.path end, widgetname)
        without_creating = keys.delete('without_creating')
        # if without_creating && !widgetname
        #   fail ArgumentError,
        #        "if set 'without_creating' to true, need to define 'widgetname'"
        # end
      elsif keys
        keys = _symbolkey2str(keys)
        widgetname = keys.delete('widgetname')
        install_win(if parent then parent.path end, widgetname)
        without_creating = keys.delete('without_creating')
        # if without_creating && !widgetname
        #   fail ArgumentError,
        #        "if set 'without_creating' to true, need to define 'widgetname'"
        # end
      else
        install_win(if parent then parent.path end)
      end
      if self.method(:create_self).arity == 0
        p 'create_self has no arg' if $DEBUG
        create_self unless without_creating
        if keys
          # tk_call @path, 'configure', *hash_kv(keys)
          configure(keys)
        end
      else
        p 'create_self has args' if $DEBUG
        fontkeys = {}
        methodkeys = {}
        if keys
          #['font', 'kanjifont', 'latinfont', 'asciifont'].each{|key|
          #  fontkeys[key] = keys.delete(key) if keys.key?(key)
          #}
          __font_optkeys.each{|key|
            fkey = key.to_s
            fontkeys[fkey] = keys.delete(fkey) if keys.key?(fkey)

            fkey = "kanji#{key}"
            fontkeys[fkey] = keys.delete(fkey) if keys.key?(fkey)

            fkey = "latin#{key}"
            fontkeys[fkey] = keys.delete(fkey) if keys.key?(fkey)

            fkey = "ascii#{key}"
            fontkeys[fkey] = keys.delete(fkey) if keys.key?(fkey)
          }

          __optkey_aliases.each{|alias_name, real_name|
            alias_name = alias_name.to_s
            if keys.has_key?(alias_name)
              keys[real_name.to_s] = keys.delete(alias_name)
            end
          }

          __methodcall_optkeys.each{|key|
            key = key.to_s
            methodkeys[key] = keys.delete(key) if keys.key?(key)
          }

          __ruby2val_optkeys.each{|key, method|
            key = key.to_s
            keys[key] = method.call(keys[key]) if keys.has_key?(key)
          }
        end
        if without_creating && keys
          #configure(keys)
          configure(__conv_keyonly_opts(keys))
        else
          #create_self(keys)
          create_self(__conv_keyonly_opts(keys))
        end
        font_configure(fontkeys) unless fontkeys.empty?
        configure(methodkeys) unless methodkeys.empty?
      end
    end

to_eval() click to toggle source

WidgetClassNames = self

    ==> If self is a widget class, entry to the WidgetClassNames table.

                   # File tk/lib/tk.rb, line 5071
    def self.to_eval
      self::WidgetClassName
    end

### Public Instance Methods

bind_class() click to toggle source

                   # File tk/lib/tk.rb, line 5214
    def bind_class
      @db_class || self.class()
    end

bindtags(taglist=nil) click to toggle source

                   # File tk/lib/tk.rb, line 5708
    def bindtags(taglist=nil)
      if taglist
        fail ArgumentError, "taglist must be Array" unless taglist.kind_of? Array
        tk_call('bindtags', path, taglist)
        taglist
      else
        list(tk_call('bindtags', path)).collect{|tag|
          if tag.kind_of?(String)
            if cls = WidgetClassNames[tag]
              cls
            elsif btag = TkBindTag.id2obj(tag)
              btag
            else
              tag
            end
          else
            tag
          end
        }
      end
    end

bindtags=(taglist) click to toggle source

                   # File tk/lib/tk.rb, line 5730
    def bindtags=(taglist)
      bindtags(taglist)
      taglist
    end

bindtags_shift() click to toggle source

                   # File tk/lib/tk.rb, line 5735
    def bindtags_shift
      taglist = bindtags
      tag = taglist.shift
      bindtags(taglist)
      tag
    end

bindtags_unshift(tag) click to toggle source

                   # File tk/lib/tk.rb, line 5742
    def bindtags_unshift(tag)
      bindtags(bindtags().unshift(tag))
    end

caret(keys=nil) click to toggle source

                   # File tk/lib/tk.rb, line 5617
    def caret(keys=nil)
      TkXIM.caret(path, keys)
    end

colormodel(model=None) click to toggle source

                   # File tk/lib/tk.rb, line 5612
    def colormodel(model=None)
      tk_call('tk', 'colormodel', path, model)
      self
    end

command(cmd=nil, &b) click to toggle source

                   # File tk/lib/tk.rb, line 5602
    def command(cmd=nil, &b)
      if cmd
        configure_cmd('command', cmd)
      elsif b
        configure_cmd('command', Proc.new(&b))
      else
        cget('command')
      end
    end

current_grab() click to toggle source
Alias for: grab_current
cursor_propagate(cursor) click to toggle source

                   # File tk/lib/tkextlib/tcllib/cursor.rb, line 56
    def cursor_propagate(cursor)
      # Sets the cursor for self and all its descendants to cursor.
      #tk_call_without_enc('::cursor::propagate', @path, cursor)
      Tk::Tcllib::Cursor.cursor_propagate(self, cursor)
    end

cursor_restore(cursor = None) click to toggle source

                   # File tk/lib/tkextlib/tcllib/cursor.rb, line 61
    def cursor_restore(cursor = None)
      # Restore the original or previously set cursor for self and all its
      # descendants. If cursor is specified, that will be used if on any
      # widget that did not have a preset cursor (set by a previous call
      # to TkWindow#cursor_propagate).
      #tk_call_without_enc('::cursor::restore', @path, cursor)
      Tk::Tcllib::Cursor.cursor_restore(self, cursor)
    end

database_class() click to toggle source

                   # File tk/lib/tk.rb, line 5221
    def database_class
      name = database_classname()
      if WidgetClassNames[name]
        WidgetClassNames[name]
      else
        TkDatabaseClass.new(name)
      end
    end

database_classname() click to toggle source

                   # File tk/lib/tk.rb, line 5218
    def database_classname
      TkWinfo.classname(self)
    end

destroy() click to toggle source

                   # File tk/lib/tk.rb, line 5621
    def destroy
      super
      children = []
      rexp = /^#{self.path}\.[^.]+$/
      TkCore::INTERP.tk_windows.each{|path, obj|
        children << [path, obj] if path =~ rexp
      }
      if defined?(@cmdtbl)
        for id in @cmdtbl
          uninstall_cmd id
        end
      end

      children.each{|path, obj|
        obj.instance_eval{
          if defined?(@cmdtbl)
            for id in @cmdtbl
              uninstall_cmd id
            end
          end
        }
        TkCore::INTERP.tk_windows.delete(path)
      }

      begin
        tk_call_without_enc('destroy', epath)
      rescue
      end
      uninstall_win
    end

eventloop_tkwait() click to toggle source
Alias for: eventloop_wait_visibility
eventloop_tkwait_destroy() click to toggle source
Alias for: eventloop_wait_destroy
eventloop_tkwait_visibility() click to toggle source
Alias for: eventloop_wait_visibility
eventloop_tkwait_window() click to toggle source
Alias for: eventloop_wait_destroy
eventloop_wait() click to toggle source
Alias for: eventloop_wait_visibility
eventloop_wait_destroy() click to toggle source

                   # File tk/lib/tk.rb, line 5690
    def eventloop_wait_destroy
      wait_destroy(false)
    end

Also aliased as: eventloop_wait_window, eventloop_tkwait_destroy, eventloop_tkwait_window
eventloop_wait_visibility() click to toggle source

                   # File tk/lib/tk.rb, line 5663
    def eventloop_wait_visibility
      wait_visibility(false)
    end

Also aliased as: eventloop_wait, eventloop_tkwait, eventloop_tkwait_visibility
eventloop_wait_window() click to toggle source
Alias for: eventloop_wait_destroy
exist?() click to toggle source

                   # File tk/lib/tk.rb, line 5208
    def exist?
      TkWinfo.exist?(self)
    end

focus(force=false) click to toggle source
Alias for: set_focus
grab(opt = nil) click to toggle source

                   # File tk/lib/tk.rb, line 5540
    def grab(opt = nil)
      unless opt
        tk_call_without_enc('grab', 'set', path)
        return self
      end

      case opt
      when 'set', :set
        tk_call_without_enc('grab', 'set', path)
        return self
      when 'global', :global
        #return(tk_call('grab', 'set', '-global', path))
        tk_call_without_enc('grab', 'set', '-global', path)
        return self
      when 'release', :release
        #return tk_call('grab', 'release', path)
        tk_call_without_enc('grab', 'release', path)
        return self
      when 'current', :current
        return window(tk_call_without_enc('grab', 'current', path))
      when 'status', :status
        return tk_call_without_enc('grab', 'status', path)
      else
        return tk_call_without_enc('grab', opt, path)
      end
    end

grab_current() click to toggle source

                   # File tk/lib/tk.rb, line 5567
    def grab_current
      grab('current')
    end

Also aliased as: current_grab
grab_release() click to toggle source

                   # File tk/lib/tk.rb, line 5571
    def grab_release
      grab('release')
    end

Also aliased as: release_grab
grab_set() click to toggle source

                   # File tk/lib/tk.rb, line 5575
    def grab_set
      grab('set')
    end

Also aliased as: set_grab
grab_set_global() click to toggle source

                   # File tk/lib/tk.rb, line 5579
    def grab_set_global
      grab('global')
    end

Also aliased as: set_global_grab
grab_status() click to toggle source

                   # File tk/lib/tk.rb, line 5583
    def grab_status
      grab('status')
    end

grid(keys = nil) click to toggle source

                   # File tk/lib/tk.rb, line 5309
    def grid(keys = nil)
      #tk_call 'grid', epath, *hash_kv(keys)
      if keys
        TkGrid.configure(self, keys)
      else
        TkGrid.configure(self)
      end
      self
    end

grid_anchor(anchor=None) click to toggle source

                   # File tk/lib/tk.rb, line 5331
    def grid_anchor(anchor=None)
      if anchor == None
        TkGrid.anchor(self)
      else
        TkGrid.anchor(self, anchor)
        self
      end
    end

grid_bbox(*args) click to toggle source

                   # File tk/lib/tk.rb, line 5347
    def grid_bbox(*args)
      #list(tk_call('grid', 'bbox', epath, *args))
      TkGrid.bbox(self, *args)
    end

grid_column(index, keys=nil) click to toggle source

                   # File tk/lib/tk.rb, line 5406
    def grid_column(index, keys=nil)
      if keys.kind_of?(Hash)
        grid_columnconfigure(index, keys)
      else
        grid_columnconfiginfo(index, keys)
      end
    end

grid_columnconfig(index, keys) click to toggle source

                   # File tk/lib/tk.rb, line 5366
    def grid_columnconfig(index, keys)
      #tk_call('grid', 'columnconfigure', epath, index, *hash_kv(keys))
      TkGrid.columnconfigure(self, index, keys)
    end

Also aliased as: grid_columnconfigure
grid_columnconfiginfo(index, slot=nil) click to toggle source

                   # File tk/lib/tk.rb, line 5378
    def grid_columnconfiginfo(index, slot=nil)
      #if slot
      #  tk_call('grid', 'columnconfigure', epath, index, "-#{slot}").to_i
      #else
      #  ilist = list(tk_call('grid', 'columnconfigure', epath, index))
      #  info = {}
      #  while key = ilist.shift
      #   info[key[1..-1]] = ilist.shift
      #  end
      #  info
      #end
      TkGrid.columnconfiginfo(self, index, slot)
    end

grid_columnconfigure(index, keys) click to toggle source
Alias for: grid_columnconfig
grid_config(slot, value=None) click to toggle source

                   # File tk/lib/tk.rb, line 5352
    def grid_config(slot, value=None)
      #if slot.kind_of? Hash
      #  tk_call 'grid', 'configure', epath, *hash_kv(slot)
      #else
      #  tk_call 'grid', 'configure', epath, "-#{slot}", value
      #end
      if slot.kind_of? Hash
        TkGrid.configure(self, slot)
      else
        TkGrid.configure(self, slot=>value)
      end
    end

Also aliased as: grid_configure
grid_configure(slot, value=None) click to toggle source
Alias for: grid_config
grid_forget() click to toggle source

                   # File tk/lib/tk.rb, line 5340
    def grid_forget
      #tk_call('grid', 'forget', epath)
      TkGrid.forget(self)
      self
    end

Also aliased as: ungrid
grid_in(target, keys = nil) click to toggle source

                   # File tk/lib/tk.rb, line 5319
    def grid_in(target, keys = nil)
      if keys
        keys = keys.dup
        keys['in'] = target
      else
        keys = {'in'=>target}
      end
      #tk_call 'grid', epath, *hash_kv(keys)
      TkGrid.configure(self, keys)
      self
    end

grid_info() click to toggle source

                   # File tk/lib/tk.rb, line 5422
    def grid_info()
      #list(tk_call('grid', 'info', epath))
      TkGrid.info(self)
    end

grid_location(x, y) click to toggle source

                   # File tk/lib/tk.rb, line 5427
    def grid_location(x, y)
      #list(tk_call('grid', 'location', epath, x, y))
      TkGrid.location(self, x, y)
    end

grid_propagate(mode=None) click to toggle source

                   # File tk/lib/tk.rb, line 5432
    def grid_propagate(mode=None)
      #if mode == None
      #  bool(tk_call('grid', 'propagate', epath))
      #else
      #  tk_call('grid', 'propagate', epath, mode)
      #  self
      #end
      if mode == None
        TkGrid.propagate(self)
      else
        TkGrid.propagate(self, mode)
        self
      end
    end

grid_remove() click to toggle source

                   # File tk/lib/tk.rb, line 5447
    def grid_remove()
      #tk_call 'grid', 'remove', epath
      TkGrid.remove(self)
      self
    end

grid_row(index, keys=nil) click to toggle source

                   # File tk/lib/tk.rb, line 5414
    def grid_row(index, keys=nil)
      if keys.kind_of?(Hash)
        grid_rowconfigure(index, keys)
      else
        grid_rowconfiginfo(index, keys)
      end
    end

grid_rowconfig(index, keys) click to toggle source

                   # File tk/lib/tk.rb, line 5372
    def grid_rowconfig(index, keys)
      #tk_call('grid', 'rowconfigure', epath, index, *hash_kv(keys))
      TkGrid.rowconfigure(self, index, keys)
    end

Also aliased as: grid_rowconfigure
grid_rowconfiginfo(index, slot=nil) click to toggle source

                   # File tk/lib/tk.rb, line 5392
    def grid_rowconfiginfo(index, slot=nil)
      #if slot
      #  tk_call('grid', 'rowconfigure', epath, index, "-#{slot}").to_i
      #else
      #  ilist = list(tk_call('grid', 'rowconfigure', epath, index))
      #  info = {}
      #  while key = ilist.shift
      #   info[key[1..-1]] = ilist.shift
      #  end
      #  info
      #end
      TkGrid.rowconfiginfo(self, index, slot)
    end

grid_rowconfigure(index, keys) click to toggle source
Alias for: grid_rowconfig
grid_size() click to toggle source

                   # File tk/lib/tk.rb, line 5453
    def grid_size()
      #list(tk_call('grid', 'size', epath))
      TkGrid.size(self)
    end

grid_slaves(keys = nil) click to toggle source

                   # File tk/lib/tk.rb, line 5458
    def grid_slaves(keys = nil)
      #list(tk_call('grid', 'slaves', epath, *hash_kv(args)))
      TkGrid.slaves(self, keys)
    end

inspect() click to toggle source

                   # File tk/lib/tk.rb, line 5199
    def inspect
      if @@WIDGET_INSPECT_FULL
        super
      else
        str = super
        str[0..(str.index(' '))] << '@path=' << @path.inspect << '>'
      end
    end

lower(below=None) click to toggle source

                   # File tk/lib/tk.rb, line 5587
    def lower(below=None)
      # below = below.epath if below.kind_of?(TkObject)
      below = _epath(below)
      tk_call 'lower', epath, below
      self
    end

Also aliased as: lower_window
lower_window(below=None) click to toggle source
Alias for: lower
pack(keys = nil) click to toggle source

                   # File tk/lib/tk.rb, line 5236
    def pack(keys = nil)
      #tk_call_without_enc('pack', epath, *hash_kv(keys, true))
      if keys
        TkPack.configure(self, keys)
      else
        TkPack.configure(self)
      end
      self
    end

pack_config(slot, value=None) click to toggle source

                   # File tk/lib/tk.rb, line 5265
    def pack_config(slot, value=None)
      #if slot.kind_of? Hash
      #  tk_call 'pack', 'configure', epath, *hash_kv(slot)
      #else
      #  tk_call 'pack', 'configure', epath, "-#{slot}", value
      #end
      if slot.kind_of? Hash
        TkPack.configure(self, slot)
      else
        TkPack.configure(self, slot=>value)
      end
    end

Also aliased as: pack_configure
pack_configure(slot, value=None) click to toggle source
Alias for: pack_config
pack_forget() click to toggle source

                   # File tk/lib/tk.rb, line 5258
    def pack_forget
      #tk_call_without_enc('pack', 'forget', epath)
      TkPack.forget(self)
      self
    end

Also aliased as: unpack
pack_in(target, keys = nil) click to toggle source

                   # File tk/lib/tk.rb, line 5246
    def pack_in(target, keys = nil)
      if keys
        keys = keys.dup
        keys['in'] = target
      else
        keys = {'in'=>target}
      end
      #tk_call 'pack', epath, *hash_kv(keys)
      TkPack.configure(self, keys)
      self
    end

pack_info() click to toggle source

                   # File tk/lib/tk.rb, line 5279
    def pack_info()
      #ilist = list(tk_call('pack', 'info', epath))
      #info = {}
      #while key = ilist.shift
      #  info[key[1..-1]] = ilist.shift
      #end
      #return info
      TkPack.info(self)
    end

pack_propagate(mode=None) click to toggle source

                   # File tk/lib/tk.rb, line 5289
    def pack_propagate(mode=None)
      #if mode == None
      #  bool(tk_call('pack', 'propagate', epath))
      #else
      #  tk_call('pack', 'propagate', epath, mode)
      #  self
      #end
      if mode == None
        TkPack.propagate(self)
      else
        TkPack.propagate(self, mode)
        self
      end
    end

pack_slaves() click to toggle source

                   # File tk/lib/tk.rb, line 5304
    def pack_slaves()
      #list(tk_call('pack', 'slaves', epath))
      TkPack.slaves(self)
    end

place(keys) click to toggle source

                   # File tk/lib/tk.rb, line 5463
    def place(keys)
      #tk_call 'place', epath, *hash_kv(keys)
      TkPlace.configure(self, keys)
      self
    end

place_config(slot, value=None) click to toggle source

                   # File tk/lib/tk.rb, line 5488
    def place_config(slot, value=None)
      #if slot.kind_of? Hash
      #  tk_call 'place', 'configure', epath, *hash_kv(slot)
      #else
      #  tk_call 'place', 'configure', epath, "-#{slot}", value
      #end
      TkPlace.configure(self, slot, value)
    end

Also aliased as: place_configure
place_configinfo(slot = nil) click to toggle source

                   # File tk/lib/tk.rb, line 5498
    def place_configinfo(slot = nil)
      # for >= Tk8.4a2 ?
      #if slot
      #  conf = tk_split_list(tk_call('place', 'configure', epath, "-#{slot}") )
      #  conf[0] = conf[0][1..-1]
      #  conf
      #else
      #  tk_split_simplelist(tk_call('place',
      #                             'configure', epath)).collect{|conflist|
      #   conf = tk_split_simplelist(conflist)
      #   conf[0] = conf[0][1..-1]
      #   conf
      #  }
      #end
      TkPlace.configinfo(self, slot)
    end

place_configure(slot, value=None) click to toggle source
Alias for: place_config
place_forget() click to toggle source

                   # File tk/lib/tk.rb, line 5481
    def  place_forget
      #tk_call 'place', 'forget', epath
      TkPlace.forget(self)
      self
    end

Also aliased as: unplace
place_in(target, keys = nil) click to toggle source

                   # File tk/lib/tk.rb, line 5469
    def place_in(target, keys = nil)
      if keys
        keys = keys.dup
        keys['in'] = target
      else
        keys = {'in'=>target}
      end
      #tk_call 'place', epath, *hash_kv(keys)
      TkPlace.configure(self, keys)
      self
    end

place_info() click to toggle source

                   # File tk/lib/tk.rb, line 5515
    def place_info()
      #ilist = list(tk_call('place', 'info', epath))
      #info = {}
      #while key = ilist.shift
      #  info[key[1..-1]] = ilist.shift
      #end
      #return info
      TkPlace.info(self)
    end

place_slaves() click to toggle source

                   # File tk/lib/tk.rb, line 5525
    def place_slaves()
      #list(tk_call('place', 'slaves', epath))
      TkPlace.slaves(self)
    end

raise(above=None) click to toggle source

                   # File tk/lib/tk.rb, line 5594
    def raise(above=None)
      #above = above.epath if above.kind_of?(TkObject)
      above = _epath(above)
      tk_call 'raise', epath, above
      self
    end

Also aliased as: raise_window
raise_window(above=None) click to toggle source
Alias for: raise
release_grab() click to toggle source
Alias for: grab_release
set_focus(force=false) click to toggle source

                   # File tk/lib/tk.rb, line 5530
    def set_focus(force=false)
      if force
        tk_call_without_enc('focus', '-force', path)
      else
        tk_call_without_enc('focus', path)
      end
      self
    end

Also aliased as: focus
set_global_grab() click to toggle source
Alias for: grab_set_global
set_grab() click to toggle source
Alias for: grab_set
thread_tkwait() click to toggle source
Alias for: thread_wait_visibility
thread_tkwait_destroy() click to toggle source
Alias for: thread_wait_destroy
thread_tkwait_visibility() click to toggle source
Alias for: thread_wait_visibility
thread_tkwait_window() click to toggle source
Alias for: thread_wait_destroy
thread_wait() click to toggle source
Alias for: thread_wait_visibility
thread_wait_destroy() click to toggle source

                   # File tk/lib/tk.rb, line 5694
    def thread_wait_destroy
      wait_destroy(true)
    end

Also aliased as: thread_wait_window, thread_tkwait_destroy, thread_tkwait_window
thread_wait_visibility() click to toggle source

                   # File tk/lib/tk.rb, line 5666
    def thread_wait_visibility
      wait_visibility(true)
    end

Also aliased as: thread_wait, thread_tkwait, thread_tkwait_visibility
thread_wait_window() click to toggle source
Alias for: thread_wait_destroy
tktrans_get_image() click to toggle source

                   # File tk/lib/tkextlib/tktrans/tktrans.rb, line 37
    def tktrans_get_image()
      tk_send('tktrans::setwidget', @path)
    end

tktrans_set_image(img) click to toggle source

                   # File tk/lib/tkextlib/tktrans/tktrans.rb, line 33
    def tktrans_set_image(img)
      tk_send('tktrans::setwidget', @path, img)
      self
    end

tkwait(on_thread = true) click to toggle source
Alias for: wait_visibility
tkwait_destroy(on_thread = true) click to toggle source
Alias for: wait_destroy
tkwait_window(on_thread = true) click to toggle source
Alias for: wait_destroy
ungrid() click to toggle source
Alias for: grid_forget
unpack() click to toggle source
Alias for: pack_forget
unplace() click to toggle source
Alias for: place_forget
wait(on_thread = true) click to toggle source
Alias for: wait_visibility
wait_destroy(on_thread = true) click to toggle source

                   # File tk/lib/tk.rb, line 5678
    def wait_destroy(on_thread = true)
      if $SAFE >= 4
        fail SecurityError, "can't wait destroy at $SAFE >= 4"
      end
      on_thread &= (Thread.list.size != 1)
      if on_thread
        INTERP._thread_tkwait('window', epath)
      else
        INTERP._invoke('tkwait', 'window', epath)
      end
    end

Also aliased as: wait_window, tkwait_destroy, tkwait_window
wait_visibility(on_thread = true) click to toggle source

                   # File tk/lib/tk.rb, line 5652
    def wait_visibility(on_thread = true)
      if $SAFE >= 4
        fail SecurityError, "can't wait visibility at $SAFE >= 4"
      end
      on_thread &= (Thread.list.size != 1)
      if on_thread
        INTERP._thread_tkwait('visibility', path)
      else
        INTERP._invoke('tkwait', 'visibility', path)
      end
    end

Also aliased as: wait, tkwait
wait_window(on_thread = true) click to toggle source
Alias for: wait_destroy