Class: RemoteTkIp (Ruby 2.2.2)
Description: Class : RemoteTkIp - Ruby 2.2.2

- Home
- Core 2.2.2
- Std-lib 2.2.2
- Downloads

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

### Home Classes Methods

### In Files

- tk/lib/remote-tk.rb

### Parent

MultiTkIp

### Methods

- ::do_one_event
- ::get_eventloop_tick
- ::get_eventloop_weight
- ::get_no_event_wait
- ::mainloop
- ::mainloop_abort_on_exception
- ::mainloop_abort_on_exception=
- ::mainloop_watchdog
- ::manipulable?
- ::new
- ::new
- ::set_eventloop_tick
- ::set_eventloop_weight
- ::set_no_event_wait
- #__eval
- #__invoke
- #_conv_listelement
- #_create_console
- #_eval
- #_eval_with_enc
- #_eval_without_enc
- #_fromUTF8
- #_get_global_var
- #_get_global_var2
- #_get_variable
- #_get_variable2
- #_invoke
- #_invoke_with_enc
- #_invoke_without_enc
- #_ip_id_
- #_is_master_of?
- #_merge_tklist
- #_return_value
- #_set_global_var
- #_set_global_var2
- #_set_variable
- #_set_variable2
- #_split_tklist
- #_thread_tkwait
- #_thread_vwait
- #_toUTF8
- #_unset_global_var
- #_unset_global_var2
- #_unset_variable
- #_unset_variable2
- #allow_ruby_exit=
- #allow_ruby_exit?
- #appsend
- #create_slave
- #delete
- #deleted?
- #do_one_event
- #get_eventloop_tick
- #get_eventloop_weight
- #get_no_event_wait
- #has_mainwindow?
- #invalid_namespace?
- #is_rubytk?
- #mainloop
- #mainloop_abort_on_exception
- #mainloop_abort_on_exception=
- #mainloop_watchdog
- #make_safe
- #manipulable?
- #rb_appsend
- #ready?
- #restart
- #safe?
- #safe_base?
- #set_eventloop_tick
- #set_eventloop_weight
- #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.

# RemoteTkIp

### Public Class Methods

do_one_event(flag = nil) click to toggle source

                   # File tk/lib/remote-tk.rb, line 503
    def do_one_event(flag = nil)
      fail RuntimeError, 'not support "do_one_event" on the remote interpreter'
    end

get_eventloop_tick() click to toggle source

                   # File tk/lib/remote-tk.rb, line 515
    def get_eventloop_tick
      fail RuntimeError, 'not support "get_eventloop_tick" on the remote interpreter'
    end

get_eventloop_weight() click to toggle source

                   # File tk/lib/remote-tk.rb, line 527
    def get_eventloop_weight
      fail RuntimeError, 'not support "get_eventloop_weight" on the remote interpreter'
    end

get_no_event_wait() click to toggle source

                   # File tk/lib/remote-tk.rb, line 521
    def get_no_event_wait
      fail RuntimeError, 'not support "get_no_event_wait" on the remote interpreter'
    end

mainloop(*args) click to toggle source

                   # File tk/lib/remote-tk.rb, line 497
    def mainloop(*args)
      fail RuntimeError, 'not support "mainloop" on the remote interpreter'
    end

mainloop_abort_on_exception() click to toggle source

                   # File tk/lib/remote-tk.rb, line 506
    def mainloop_abort_on_exception
      fail RuntimeError, 'not support "mainloop_abort_on_exception" on the remote interpreter'
    end

mainloop_abort_on_exception=(mode) click to toggle source

                   # File tk/lib/remote-tk.rb, line 509
    def mainloop_abort_on_exception=(mode)
      fail RuntimeError, 'not support "mainloop_abort_on_exception=" on the remote interpreter'
    end

mainloop_watchdog(*args) click to toggle source

                   # File tk/lib/remote-tk.rb, line 500
    def mainloop_watchdog(*args)
      fail RuntimeError, 'not support "mainloop_watchdog" on the remote interpreter'
    end

manipulable?() click to toggle source

                   # File tk/lib/remote-tk.rb, line 143
    def self.manipulable?
      true
    end

new(*args, &b) click to toggle source

                   # File tk/lib/remote-tk.rb, line 55
    def new(*args, &b)
      ip = __new(*args)
      ip.eval_proc(&b) if b
      ip
    end

new(remote_ip, displayof=nil, timeout=5) click to toggle source

                   # File tk/lib/remote-tk.rb, line 63
      def initialize(remote_ip, displayof=nil, timeout=5)
        if $SAFE >= 4
          fail SecurityError, "cannot access another interpreter at level #{$SAFE}"
        end

        @interp = MultiTkIp.__getip
        if @interp.safe?
          fail SecurityError, "safe-IP cannot create RemoteTkIp"
        end

        @interp.allow_ruby_exit = false
        @appname = @interp._invoke('tk', 'appname')
        @remote = remote_ip.to_s.dup.freeze
        if displayof.kind_of?(TkWindow)
          @displayof = displayof.path.dup.freeze
        else
          @displayof = nil
        end
        if self.deleted?
          fail RuntimeError, "no Tk application named \"#{@remote}\""
        end

        @tk_windows = {}
        @tk_table_list = []
        @slave_ip_tbl = {}
        @slave_ip_top = {}

        @force_default_encoding ||= TkUtil.untrust([false])
        @encoding ||= TkUtil.untrust([nil])
        def @encoding.to_s; self.join(nil); end

        TkUtil.untrust(@tk_windows)    unless @tk_windows.tainted?
        TkUtil.untrust(@tk_table_list) unless @tk_table_list.tainted?
        TkUtil.untrust(@slave_ip_tbl)  unless @slave_ip_tbl.tainted?
        TkUtil.untrust(@slave_ip_top)  unless @slave_ip_top.tainted?

        @system = Object.new

        @threadgroup  = ThreadGroup.new

        @safe_level = [$SAFE]

        @wait_on_mainloop = [true, 0]

        @cmd_queue = Queue.new

    =begin
        @cmd_receiver, @receiver_watchdog = _create_receiver_and_watchdog()

        @threadgroup.add @cmd_receiver
        @threadgroup.add @receiver_watchdog

        @threadgroup.enclose
    =end
        @@DEFAULT_MASTER.assign_receiver_and_watchdog(self)

        @@IP_TABLE[@threadgroup] = self
        @@TK_TABLE_LIST.size.times{
          (tbl = {}).tainted? || TkUtil.untrust(tbl)
          @tk_table_list << tbl
        }

        @ret_val = TkVariable.new
        if timeout > 0 && ! _available_check(timeout)
          fail RuntimeError, "cannot create connection"
        end
        @ip_id = _create_connection

        class << self
          undef :instance_eval
        end

        self.freeze  # defend against modification
      end

set_eventloop_tick(*args) click to toggle source

                   # File tk/lib/remote-tk.rb, line 512
    def set_eventloop_tick(*args)
      fail RuntimeError, 'not support "set_eventloop_tick" on the remote interpreter'
    end

set_eventloop_weight(*args) click to toggle source

                   # File tk/lib/remote-tk.rb, line 524
    def set_eventloop_weight(*args)
      fail RuntimeError, 'not support "set_eventloop_weight" on the remote interpreter'
    end

set_no_event_wait(*args) click to toggle source

                   # File tk/lib/remote-tk.rb, line 518
    def set_no_event_wait(*args)
      fail RuntimeError, 'not support "set_no_event_wait" on the remote interpreter'
    end

### Public Instance Methods

__eval(str) click to toggle source

                   # File tk/lib/remote-tk.rb, line 341
    def __eval(str)
      _appsend(false, false, str)
    end

__invoke(*args) click to toggle source

                   # File tk/lib/remote-tk.rb, line 358
    def __invoke(*args)
      _appsend(false, false, *args)
    end

_conv_listelement(str) click to toggle source

                   # File tk/lib/remote-tk.rb, line 452
    def _conv_listelement(str)
      raise SecurityError, "no permission to manipulate" unless self.manipulable?
      @interp._conv_listelement(str)
    end

_create_console() click to toggle source

                   # File tk/lib/remote-tk.rb, line 457
    def _create_console
      fail RuntimeError, 'not support "_create_console" on the remote interpreter'
    end

_eval(str) click to toggle source

                   # File tk/lib/remote-tk.rb, line 344
    def _eval(str)
      _appsend(nil, false, str)
    end

_eval_with_enc(str) click to toggle source

                   # File tk/lib/remote-tk.rb, line 350
    def _eval_with_enc(str)
      _appsend(true, false, str)
    end

_eval_without_enc(str) click to toggle source

                   # File tk/lib/remote-tk.rb, line 347
    def _eval_without_enc(str)
      _appsend(false, false, str)
    end

_fromUTF8(str, encoding=nil) click to toggle source

                   # File tk/lib/remote-tk.rb, line 376
    def _fromUTF8(str, encoding=nil)
      raise SecurityError, "no permission to manipulate" unless self.manipulable?
      @interp._fromUTF8(str, encoding)
    end

_get_global_var(var_name) click to toggle source

                   # File tk/lib/remote-tk.rb, line 421
    def _get_global_var(var_name)
      _appsend(false, 'set', TkComm::_get_eval_string(var_name))
    end

_get_global_var2(var_name, index_name) click to toggle source

                   # File tk/lib/remote-tk.rb, line 424
    def _get_global_var2(var_name, index_name)
      _appsend(false, 'set', "#{TkComm::_get_eval_string(var_name)}(#{TkComm::_get_eval_string(index_name)})")
    end

_get_variable(var_name, flag) click to toggle source

                   # File tk/lib/remote-tk.rb, line 394
    def _get_variable(var_name, flag)
      # ignore flag
      _appsend(false, 'set', TkComm::_get_eval_string(var_name))
    end

_get_variable2(var_name, index_name, flag) click to toggle source

                   # File tk/lib/remote-tk.rb, line 398
    def _get_variable2(var_name, index_name, flag)
      # ignore flag
      _appsend(false, 'set', "#{TkComm::_get_eval_string(var_name)}(#{TkComm::_get_eval_string(index_name)})")
    end

_invoke(*args) click to toggle source

                   # File tk/lib/remote-tk.rb, line 354
    def _invoke(*args)
      _appsend(nil, false, *args)
    end

_invoke_with_enc(*args) click to toggle source

                   # File tk/lib/remote-tk.rb, line 367
    def _invoke_with_enc(*args)
      _appsend(true, false, *args)
    end

_invoke_without_enc(*args) click to toggle source

                   # File tk/lib/remote-tk.rb, line 364
    def _invoke_without_enc(*args)
      _appsend(false, false, *args)
    end

_ip_id_() click to toggle source

                   # File tk/lib/remote-tk.rb, line 152
    def _ip_id_
      @ip_id
    end

_merge_tklist(*args) click to toggle source

                   # File tk/lib/remote-tk.rb, line 447
    def _merge_tklist(*args)
      raise SecurityError, "no permission to manipulate" unless self.manipulable?
      @interp._merge_tklist(*args)
    end

_return_value() click to toggle source

                   # File tk/lib/remote-tk.rb, line 389
    def _return_value
      raise SecurityError, "no permission to manipulate" unless self.manipulable?
      @interp._return_value
    end

_set_global_var(var_name, value) click to toggle source

                   # File tk/lib/remote-tk.rb, line 428
    def _set_global_var(var_name, value)
      _appsend(false, 'set', TkComm::_get_eval_string(var_name), TkComm::_get_eval_string(value))
    end

_set_global_var2(var_name, index_name, value) click to toggle source

                   # File tk/lib/remote-tk.rb, line 431
    def _set_global_var2(var_name, index_name, value)
      _appsend(false, 'set', "#{TkComm::_get_eval_string(var_name)}(#{TkComm::_get_eval_string(index_name)})", TkComm::_get_eval_string(value))
    end

_set_variable(var_name, value, flag) click to toggle source

                   # File tk/lib/remote-tk.rb, line 403
    def _set_variable(var_name, value, flag)
      # ignore flag
      _appsend(false, 'set', TkComm::_get_eval_string(var_name), TkComm::_get_eval_string(value))
    end

_set_variable2(var_name, index_name, value, flag) click to toggle source

                   # File tk/lib/remote-tk.rb, line 407
    def _set_variable2(var_name, index_name, value, flag)
      # ignore flag
      _appsend(false, 'set', "#{TkComm::_get_eval_string(var_name)}(#{TkComm::_get_eval_string(index_name)})", TkComm::_get_eval_string(value))
    end

_split_tklist(str) click to toggle source

                   # File tk/lib/remote-tk.rb, line 442
    def _split_tklist(str)
      raise SecurityError, "no permission to manipulate" unless self.manipulable?
      @interp._split_tklist(str)
    end

_thread_tkwait(mode, target) click to toggle source

                   # File tk/lib/remote-tk.rb, line 385
    def _thread_tkwait(mode, target)
      _appsend(false, 'thread_tkwait', mode, target)
    end

_thread_vwait(var_name) click to toggle source

                   # File tk/lib/remote-tk.rb, line 381
    def _thread_vwait(var_name)
      _appsend(false, 'thread_vwait', varname)
    end

_toUTF8(str, encoding=nil) click to toggle source

                   # File tk/lib/remote-tk.rb, line 371
    def _toUTF8(str, encoding=nil)
      raise SecurityError, "no permission to manipulate" unless self.manipulable?
      @interp._toUTF8(str, encoding)
    end

_unset_global_var(var_name) click to toggle source

                   # File tk/lib/remote-tk.rb, line 435
    def _unset_global_var(var_name)
      _appsend(false, 'unset', TkComm::_get_eval_string(var_name))
    end

_unset_global_var2(var_name, index_name) click to toggle source

                   # File tk/lib/remote-tk.rb, line 438
    def _unset_global_var2(var_name, index_name)
      _appsend(false, 'unset', "#{var_name}(#{index_name})")
    end

_unset_variable(var_name, flag) click to toggle source

                   # File tk/lib/remote-tk.rb, line 412
    def _unset_variable(var_name, flag)
      # ignore flag
      _appsend(false, 'unset', TkComm::_get_eval_string(var_name))
    end

_unset_variable2(var_name, index_name, flag) click to toggle source

                   # File tk/lib/remote-tk.rb, line 416
    def _unset_variable2(var_name, index_name, flag)
      # ignore flag
      _appsend(false, 'unset', "#{var_name}(#{index_name})")
    end

allow_ruby_exit=(mode) click to toggle source

                   # File tk/lib/remote-tk.rb, line 293
    def allow_ruby_exit= (mode)
      fail RuntimeError, 'cannot change mode of the remote interpreter'
    end

allow_ruby_exit?() click to toggle source

                   # File tk/lib/remote-tk.rb, line 289
    def allow_ruby_exit?
      false
    end

appsend(async, *args) click to toggle source

                   # File tk/lib/remote-tk.rb, line 240
    def appsend(async, *args)
      raise SecurityError, "no permission to manipulate" unless self.manipulable?

      if async != true && async != false && async != nil
        args.unshift(async)
        async = false
      end
      if @displayof
        Tk.appsend_displayof(@remote, @displayof, async, *args)
      else
        Tk.appsend(@remote, async, *args)
      end
    end

create_slave(name, safe=false) click to toggle source

                   # File tk/lib/remote-tk.rb, line 268
    def create_slave(name, safe=false)
      if safe
        safe_opt = ''
      else
        safe_opt = '-safe'
      end
      _appsend(false, false, "interp create #{safe_opt} -- #{name}")
    end

delete() click to toggle source

                   # File tk/lib/remote-tk.rb, line 297
    def delete
      _appsend(false, true, 'exit')
    end

deleted?() click to toggle source

                   # File tk/lib/remote-tk.rb, line 301
    def deleted?
      raise SecurityError, "no permission to manipulate" unless self.manipulable?

      if @displayof
        lst = @interp._invoke_without_enc('winfo', 'interps',
                                          '-displayof', @displayof)
      else
        lst = @interp._invoke_without_enc('winfo', 'interps')
      end
      # unless @interp._split_tklist(lst).index(@remote)
      unless @interp._split_tklist(lst).index(_toUTF8(@remote))
        true
      else
        false
      end
    end

do_one_event(flag = nil) click to toggle source

                   # File tk/lib/remote-tk.rb, line 467
    def do_one_event(flag = nil)
      fail RuntimeError, 'not support "do_one_event" on the remote interpreter'
    end

get_eventloop_tick() click to toggle source

                   # File tk/lib/remote-tk.rb, line 479
    def get_eventloop_tick
      fail RuntimeError, 'not support "get_eventloop_tick" on the remote interpreter'
    end

get_eventloop_weight() click to toggle source

                   # File tk/lib/remote-tk.rb, line 491
    def get_eventloop_weight
      fail RuntimeError, 'not support "get_eventloop_weight" on the remote interpreter'
    end

get_no_event_wait() click to toggle source

                   # File tk/lib/remote-tk.rb, line 485
    def get_no_event_wait
      fail RuntimeError, 'not support "get_no_event_wait" on the remote interpreter'
    end

has_mainwindow?() click to toggle source

                   # File tk/lib/remote-tk.rb, line 318
    def has_mainwindow?
      raise SecurityError, "no permission to manipulate" unless self.manipulable?

      begin
        inf = @interp._invoke_without_enc('info', 'command', '.')
      rescue Exception
        return nil
      end
      if !inf.kind_of?(String) || inf != '.'
        false
      else
        true
      end
    end

invalid_namespace?() click to toggle source

                   # File tk/lib/remote-tk.rb, line 333
    def invalid_namespace?
      false
    end

is_rubytk?() click to toggle source

                   # File tk/lib/remote-tk.rb, line 234
    def is_rubytk?
      return false if _appsend(false, false, 'info', 'command', 'ruby') == ""
      [ _appsend(false, false, 'ruby', 'RUBY_VERSION'),
        _appsend(false, false, 'set', 'tk_patchLevel') ]
    end

mainloop() click to toggle source

                   # File tk/lib/remote-tk.rb, line 461
    def mainloop
      fail RuntimeError, 'not support "mainloop" on the remote interpreter'
    end

mainloop_abort_on_exception() click to toggle source

                   # File tk/lib/remote-tk.rb, line 470
    def mainloop_abort_on_exception
      fail RuntimeError, 'not support "mainloop_abort_on_exception" on the remote interpreter'
    end

mainloop_abort_on_exception=(mode) click to toggle source

                   # File tk/lib/remote-tk.rb, line 473
    def mainloop_abort_on_exception=(mode)
      fail RuntimeError, 'not support "mainloop_abort_on_exception=" on the remote interpreter'
    end

mainloop_watchdog() click to toggle source

                   # File tk/lib/remote-tk.rb, line 464
    def mainloop_watchdog
      fail RuntimeError, 'not support "mainloop_watchdog" on the remote interpreter'
    end

make_safe() click to toggle source

                   # File tk/lib/remote-tk.rb, line 277
    def make_safe
      fail RuntimeError, 'cannot change safe mode of the remote interpreter'
    end

manipulable?() click to toggle source

                   # File tk/lib/remote-tk.rb, line 139
    def manipulable?
      return true if (Thread.current.group == ThreadGroup::Default)
      MultiTkIp.__getip == @interp && ! @interp.safe?
    end

rb_appsend(async, *args) click to toggle source

                   # File tk/lib/remote-tk.rb, line 254
    def rb_appsend(async, *args)
      raise SecurityError, "no permission to manipulate" unless self.manipulable?

      if async != true && async != false && async != nil
        args.unshift(async)
        async = false
      end
      if @displayof
        Tk.rb_appsend_displayof(@remote, @displayof, async, *args)
      else
        Tk.rb_appsend(@remote, async, *args)
      end
    end

ready?(timeout=5) click to toggle source

                   # File tk/lib/remote-tk.rb, line 227
    def ready?(timeout=5)
      if timeout < 0
        fail ArgumentError, "timeout must be positive number"
      end
      _available_check(timeout)
    end

restart() click to toggle source

                   # File tk/lib/remote-tk.rb, line 337
    def restart
      fail RuntimeError, 'cannot restart the remote interpreter'
    end

safe?() click to toggle source

                   # File tk/lib/remote-tk.rb, line 281
    def safe?
      _appsend(false, false, 'interp issafe')
    end

safe_base?() click to toggle source

                   # File tk/lib/remote-tk.rb, line 285
    def safe_base?
      false
    end

set_eventloop_tick(*args) click to toggle source

                   # File tk/lib/remote-tk.rb, line 476
    def set_eventloop_tick(*args)
      fail RuntimeError, 'not support "set_eventloop_tick" on the remote interpreter'
    end

set_eventloop_weight(*args) click to toggle source

                   # File tk/lib/remote-tk.rb, line 488
    def set_eventloop_weight(*args)
      fail RuntimeError, 'not support "set_eventloop_weight" on the remote interpreter'
    end

set_no_event_wait(*args) click to toggle source

                   # File tk/lib/remote-tk.rb, line 482
    def set_no_event_wait(*args)
      fail RuntimeError, 'not support "set_no_event_wait" on the remote interpreter'
    end

### Protected Instance Methods

_is_master_of?(tcltkip_obj) click to toggle source

                   # File tk/lib/remote-tk.rb, line 147
    def _is_master_of?(tcltkip_obj)
      tcltkip_obj == @interp
    end