Module: TclTkLib (Ruby 2.3.2)
Description: Module : TclTkLib - Ruby 2.3.2

- Home
- Core 2.3.2
- Std-lib 2.3.2
- Downloads

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

### Home Classes Methods

### In Files

- tk/lib/multi-tk.rb
- tk/lib/tk.rb
- tk/lib/tk/ttk_selector.rb
- tk/tcltklib.c

### Namespace

- MODULE TclTkLib::EventFlag
- MODULE TclTkLib::RELEASE_TYPE
- MODULE TclTkLib::VarAccessFlag

### Methods

- ::_conv_listelement
- ::_encoding
- ::_encoding=
- ::_fromUTF8
- ::_merge_tklist
- ::_split_tklist
- ::_subst_Tcl_backslash
- ::_subst_UTF_backslash
- ::_toUTF8
- ::default_encoding
- ::default_encoding=
- ::do_one_event
- ::do_thread_callback
- ::encoding
- ::encoding=
- ::encoding_name
- ::encoding_obj
- ::encoding_system
- ::encoding_system=
- ::force_default_encoding=
- ::force_default_encoding?
- ::get_eventloop_tick
- ::get_eventloop_weight
- ::get_eventloop_window_mode
- ::get_no_event_wait
- ::get_release_type_name
- ::get_version
- ::mainloop
- ::mainloop_abort_on_exception
- ::mainloop_abort_on_exception=
- ::mainloop_thread?
- ::mainloop_watchdog
- ::num_of_mainwindows
- ::restart
- ::set_eventloop_tick
- ::set_eventloop_weight
- ::set_eventloop_window_mode
- ::set_max_block_time
- ::set_no_event_wait

### 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.

# TclTkLib

wrap methods on TclTkLib : not permit calling TclTkLib module methods

—- initialization —-

### Constants

COMPILE_INFO

FINALIZE_PROC_NAME
RELEASE_DATE
WINDOWING_SYSTEM

### Public Class Methods

_conv_listelement(arg) click to toggle source

                   # File tk/lib/multi-tk.rb, line 2727
    def _conv_listelement(arg)
      MultiTkIp._conv_listelement(arg)
    end

_encoding() click to toggle source
Alias for: encoding
_encoding=(name) click to toggle source
Alias for: encoding=
_fromUTF8(p1, p2 = v2) click to toggle source

                   static VALUE
    lib_fromUTF8(argc, argv, self)
        int   argc;
        VALUE *argv;
        VALUE self;
    {
        VALUE str, encodename;

        if (rb_scan_args(argc, argv, "11", &str, &encodename) == 1) {
            encodename = Qnil;
        }
        return lib_fromUTF8_core(Qnil, str, encodename);
    }

_merge_tklist(*args) click to toggle source

                   # File tk/lib/multi-tk.rb, line 2724
    def _merge_tklist(*args)
      MultiTkIp._merge_tklist(*args)
    end

_split_tklist(p1) click to toggle source

                   static VALUE
    lib_split_tklist(self, list_str)
        VALUE self;
        VALUE list_str;
    {
        return lib_split_tklist_core(Qnil, list_str);
    }

_subst_Tcl_backslash(p1) click to toggle source

                   static VALUE
    lib_Tcl_backslash(self, str)
        VALUE self;
        VALUE str;
    {
        return lib_UTF_backslash_core(self, str, 1);
    }

_subst_UTF_backslash(p1) click to toggle source

                   static VALUE
    lib_UTF_backslash(self, str)
        VALUE self;
        VALUE str;
    {
        return lib_UTF_backslash_core(self, str, 0);
    }

_toUTF8(p1, p2 = v2) click to toggle source

                   static VALUE
    lib_toUTF8(argc, argv, self)
        int   argc;
        VALUE *argv;
        VALUE self;
    {
        VALUE str, encodename;

        if (rb_scan_args(argc, argv, "11", &str, &encodename) == 1) {
            encodename = Qnil;
        }
        return lib_toUTF8_core(Qnil, str, encodename);
    }

default_encoding() click to toggle source
Alias for: encoding_name
default_encoding=(name) click to toggle source

                   # File tk/lib/tk.rb, line 3131
    def default_encoding=(name)
      TkCore::INTERP.default_encoding = name
    end

do_one_event(flag = TclTkLib::EventFlag::ALL) click to toggle source

                   # File tk/lib/multi-tk.rb, line 2693
    def do_one_event(flag = TclTkLib::EventFlag::ALL)
      MultiTkIp.do_one_event(flag)
    end

do_thread_callback(p1 = v1) click to toggle source

                   static VALUE
    lib_thread_callback(argc, argv, self)
        int argc;
        VALUE *argv;
        VALUE self;
    {
        struct thread_call_proc_arg *q;
        VALUE proc, th, ret;
        int status;

        if (rb_scan_args(argc, argv, "01", &proc) == 0) {
            proc = rb_block_proc();
        }

        q = (struct thread_call_proc_arg *)ALLOC(struct thread_call_proc_arg);
        /* q = RbTk_ALLOC_N(struct thread_call_proc_arg, 1); */
        q->proc = proc;
        q->done = (int*)ALLOC(int);
        /* q->done = RbTk_ALLOC_N(int, 1); */
        *(q->done) = 0;

        /* create call-proc thread */
        th = rb_thread_create(_thread_call_proc, (void*)q);

        rb_thread_schedule();

        /* start sub-eventloop */
        lib_eventloop_launcher(/* not check root-widget */0, 0,
                               q->done, (Tcl_Interp*)NULL);

        if (RTEST(rb_thread_alive_p(th))) {
            rb_funcall(th, ID_kill, 0);
            ret = Qnil;
        } else {
            ret = rb_protect(_thread_call_proc_value, th, &status);
        }

        xfree(q->done);
        xfree(q);
        /* ckfree((char*)q->done); */
        /* ckfree((char*)q); */

        if (NIL_P(rbtk_pending_exception)) {
            /* return rb_errinfo(); */
            if (status) {
                rb_exc_raise(rb_errinfo());
            }
        } else {
            VALUE exc = rbtk_pending_exception;
            rbtk_pending_exception = Qnil;
            /* return exc; */
            rb_exc_raise(exc);
        }

        return ret;
    }

encoding() click to toggle source
Also aliased as: _encoding
Alias for: encoding_name
encoding=(name) click to toggle source

                   # File tk/lib/tk.rb, line 3137
    def encoding=(name)
      name = name.name if name.kind_of?(::Encoding) if Tk::WITH_ENCODING
      TkCore::INTERP.encoding = name
    end

Also aliased as: _encoding=
encoding_name() click to toggle source

                   # File tk/lib/tk.rb, line 3142
    def encoding_name
      TkCore::INTERP.encoding
    end

Also aliased as: encoding, default_encoding
encoding_obj() click to toggle source

                   # File tk/lib/tk.rb, line 3148
    def encoding_obj
      if Tk::WITH_ENCODING
        Tk::Encoding.tcl2rb_encoding(TkCore::INTERP.encoding)
      else
        TkCore::INTERP.encoding
      end
    end

encoding_system() click to toggle source

                   static VALUE
    lib_get_system_encoding(self)
        VALUE self;
    {
    #if TCL_MAJOR_VERSION > 8 || (TCL_MAJOR_VERSION == 8 && TCL_MINOR_VERSION > 0)
        tcl_stubs_check();
        return rb_str_new2(Tcl_GetEncodingName((Tcl_Encoding)NULL));
    #else
        return Qnil;
    #endif
    }

encoding_system=(p1) click to toggle source

                   static VALUE
    lib_set_system_encoding(self, enc_name)
        VALUE self;
        VALUE enc_name;
    {
    #if TCL_MAJOR_VERSION > 8 || (TCL_MAJOR_VERSION == 8 && TCL_MINOR_VERSION > 0)
        tcl_stubs_check();

        if (NIL_P(enc_name)) {
            Tcl_SetSystemEncoding((Tcl_Interp *)NULL, (CONST char *)NULL);
            return lib_get_system_encoding(self);
        }

        enc_name = rb_funcallv(enc_name, ID_to_s, 0, 0);
        if (Tcl_SetSystemEncoding((Tcl_Interp *)NULL,
                                  StringValuePtr(enc_name)) != TCL_OK) {
            rb_raise(rb_eArgError, "unknown encoding name '%s'",
                     RSTRING_PTR(enc_name));
        }

        return enc_name;
    #else
        return Qnil;
    #endif
    }

force_default_encoding=(mode) click to toggle source

                   # File tk/lib/tk.rb, line 3123
    def force_default_encoding=(mode)
      TkCore::INTERP.force_default_encoding = mode
    end

force_default_encoding?() click to toggle source

                   # File tk/lib/tk.rb, line 3127
    def force_default_encoding?
      TkCore::INTERP.force_default_encoding?
    end

get_eventloop_tick() click to toggle source

                   # File tk/lib/multi-tk.rb, line 2705
    def get_eventloop_tick
      MultiTkIp.get_eventloop_tick
    end

get_eventloop_weight() click to toggle source

                   # File tk/lib/multi-tk.rb, line 2717
    def get_eventloop_weight
      MultiTkIp.get_eventloop_weight
    end

get_eventloop_window_mode() click to toggle source

                   static VALUE
    get_eventloop_window_mode(self)
        VALUE self;
    {
        if ( ~window_event_mode ) {
          return Qfalse;
        } else {
          return Qtrue;
        }
    }

get_no_event_wait() click to toggle source

                   # File tk/lib/multi-tk.rb, line 2711
    def get_no_event_wait
      MultiTkIp.get_no_event_wait
    end

get_release_type_name(*args) click to toggle source

                   static VALUE
    lib_get_reltype_name(self)
        VALUE self;
    {
        set_tcltk_version();

        switch(tcltk_version.type) {
        case TCL_ALPHA_RELEASE:
          return rb_str_new2("alpha");
        case TCL_BETA_RELEASE:
          return rb_str_new2("beta");
        case TCL_FINAL_RELEASE:
          return rb_str_new2("final");
        default:
          rb_raise(rb_eRuntimeError, "tcltklib has invalid release type number");
        }

        UNREACHABLE;
    }

get_version(*args) click to toggle source

                   static VALUE
    lib_getversion(self)
        VALUE self;
    {
        set_tcltk_version();

        return rb_ary_new3(4, INT2NUM(tcltk_version.major),
                              INT2NUM(tcltk_version.minor),
                              INT2NUM(tcltk_version.type),
                              INT2NUM(tcltk_version.patchlevel));
    }

mainloop(check_root = true) click to toggle source

execute Tk_MainLoop

                   # File tk/lib/multi-tk.rb, line 2687
    def mainloop(check_root = true)
      MultiTkIp.mainloop(check_root)
    end

mainloop_abort_on_exception() click to toggle source

                   static VALUE
    lib_evloop_abort_on_exc(self)
        VALUE self;
    {
        if (event_loop_abort_on_exc > 0) {
            return Qtrue;
        } else if (event_loop_abort_on_exc == 0) {
            return Qfalse;
        } else {
            return Qnil;
        }
    }

mainloop_abort_on_exception=(p1) click to toggle source

                   static VALUE
    lib_evloop_abort_on_exc_set(self, val)
        VALUE self, val;
    {
        if (RTEST(val)) {
            event_loop_abort_on_exc =  1;
        } else if (NIL_P(val)) {
            event_loop_abort_on_exc = -1;
        } else {
            event_loop_abort_on_exc =  0;
        }
        return lib_evloop_abort_on_exc(self);
    }

mainloop_thread?() click to toggle source

                   static VALUE
    lib_evloop_thread_p(self)
        VALUE self;
    {
        if (NIL_P(eventloop_thread)) {
            return Qnil;    /* no eventloop */
        } else if (rb_thread_current() == eventloop_thread) {
            return Qtrue;   /* is eventloop */
        } else {
            return Qfalse;  /* not eventloop */
        }
    }

mainloop_watchdog(check_root = true) click to toggle source

                   # File tk/lib/multi-tk.rb, line 2690
    def mainloop_watchdog(check_root = true)
      MultiTkIp.mainloop_watchdog(check_root)
    end

num_of_mainwindows() click to toggle source

                   static VALUE
    lib_num_of_mainwindows(self)
        VALUE self;
    {
    #ifdef RUBY_USE_NATIVE_THREAD  /* Ruby 1.9+ !!! */
        return tk_funcall(lib_num_of_mainwindows_core, 0, (VALUE*)NULL, self);
    #else
        return lib_num_of_mainwindows_core(self, 0, (VALUE*)NULL);
    #endif
    }

restart(*args) click to toggle source

                   # File tk/lib/multi-tk.rb, line 2720
    def restart(*args)
      MultiTkIp.restart(*args)
    end

set_eventloop_tick(tick) click to toggle source

def ::mainloop_abort_on_exception

    MultiTkIp.mainloop_abort_on_exception

end def ::mainloop_abort_on_exception=(mode)

    MultiTkIp.mainloop_abort_on_exception=(mode)

end

                   # File tk/lib/multi-tk.rb, line 2702
    def set_eventloop_tick(tick)
      MultiTkIp.set_eventloop_tick(tick)
    end

set_eventloop_weight(loop_max, no_event_tick) click to toggle source

                   # File tk/lib/multi-tk.rb, line 2714
    def set_eventloop_weight(loop_max, no_event_tick)
      MultiTkIp.set_eventloop_weight(loop_max, no_event_tick)
    end

set_eventloop_window_mode(p1) click to toggle source

                   static VALUE
    set_eventloop_window_mode(self, mode)
        VALUE self;
        VALUE mode;
    {

        if (RTEST(mode)) {
          window_event_mode = ~0;
        } else {
          window_event_mode = ~TCL_WINDOW_EVENTS;
        }

        return mode;
    }

set_max_block_time(p1) click to toggle source

                   static VALUE
    set_max_block_time(self, time)
        VALUE self;
        VALUE time;
    {
        struct Tcl_Time tcl_time;
        VALUE divmod;

        switch(TYPE(time)) {
        case T_FIXNUM:
        case T_BIGNUM:
            /* time is micro-second value */
            divmod = rb_funcall(time, rb_intern("divmod"), 1, LONG2NUM(1000000));
            tcl_time.sec  = NUM2LONG(RARRAY_AREF(divmod, 0));
            tcl_time.usec = NUM2LONG(RARRAY_AREF(divmod, 1));
            break;

        case T_FLOAT:
            /* time is second value */
            divmod = rb_funcall(time, rb_intern("divmod"), 1, INT2FIX(1));
            tcl_time.sec  = NUM2LONG(RARRAY_AREF(divmod, 0));
            tcl_time.usec = (long)(NUM2DBL(RARRAY_AREF(divmod, 1)) * 1000000);

        default:
            {
                VALUE tmp = rb_funcallv(time, ID_inspect, 0, 0);
                rb_raise(rb_eArgError, "invalid value for time: '%s'",
                         StringValuePtr(tmp));
            }
        }

        Tcl_SetMaxBlockTime(&tcl_time);

        return Qnil;
    }

set_no_event_wait(tick) click to toggle source

                   # File tk/lib/multi-tk.rb, line 2708
    def set_no_event_wait(tick)
      MultiTkIp.set_no_event_wait(tick)
    end