Module: Tk::Tile

Module | Tk::Tile
In: | tk/lib/tkextlib/tile.rb tk/lib/tkextlib/tile/tsquare.rb tk/lib/tkextlib/tile/tseparator.rb tk/lib/tkextlib/tile/tscrollbar.rb tk/lib/tkextlib/tile/tscale.rb tk/lib/tkextlib/tile/treeview.rb tk/lib/tkextlib/tile/tradiobutton.rb tk/lib/tkextlib/tile/tprogressbar.rb tk/lib/tkextlib/tile/tpaned.rb tk/lib/tkextlib/tile/tnotebook.rb tk/lib/tkextlib/tile/tmenubutton.rb tk/lib/tkextlib/tile/tlabelframe.rb tk/lib/tkextlib/tile/tlabel.rb tk/lib/tkextlib/tile/tframe.rb tk/lib/tkextlib/tile/tentry.rb tk/lib/tkextlib/tile/tcombobox.rb tk/lib/tkextlib/tile/tcheckbutton.rb tk/lib/tkextlib/tile/tbutton.rb tk/lib/tkextlib/tile/style.rb tk/lib/tkextlib/tile/dialog.rb

### Methods

__Import_Tile_Widgets__! load_images package_name package_version style

### Classes and Modules

Module Tk::Tile::Font
Module Tk::Tile::KeyNav
Module Tk::Tile::ParseStyleLayout
Module Tk::Tile::Style
Module Tk::Tile::TileWidget
Module Tk::Tile::TreeviewConfig
Class Tk::Tile::Dialog
Class Tk::Tile::TButton
Class Tk::Tile::TCheckButton
Class Tk::Tile::TCombobox
Class Tk::Tile::TEntry
Class Tk::Tile::TFrame
Class Tk::Tile::TLabel
Class Tk::Tile::TLabelframe
Class Tk::Tile::TMenubutton
Class Tk::Tile::TNotebook
Class Tk::Tile::TPaned
Class Tk::Tile::TProgress
Class Tk::Tile::TProgressbar
Class Tk::Tile::TRadioButton
Class Tk::Tile::TScale
Class Tk::Tile::TScrollbar
Class Tk::Tile::TSeparator
Class Tk::Tile::TSquare
Class Tk::Tile::Treeview

### Constants

USE_TILE_NAMESPACE | = | true
TILE_SPEC_VERSION_ID | = | 0
USE_TILE_NAMESPACE | = | true
TILE_SPEC_VERSION_ID | = | 5
USE_TILE_NAMESPACE | = | false
TILE_SPEC_VERSION_ID | = | 7
PACKAGE_NAME | = | 'tile'.freeze
Square | = | TSquare
Separator | = | TSeparator
Scrollbar | = | TScrollbar
Scale | = | TScale
Progress | = | TProgress
TRadiobutton | = | TRadioButton
RadioButton | = | TRadioButton
Radiobutton | = | TRadioButton
Progressbar | = | TProgressbar
Paned | = | TPaned
Notebook | = | TNotebook
Menubutton | = | TMenubutton
Labelframe | = | TLabelframe
Label | = | TLabel
Frame | = | TFrame
Entry | = | TEntry
Combobox | = | TCombobox
TCheckbutton | = | TCheckButton
CheckButton | = | TCheckButton
Checkbutton | = | TCheckButton
Button | = | TButton

### Public Class methods

__Import_Tile_Widgets__!()

[Source]

    # File tk/lib/tkextlib/tile.rb, line 63
        def self.__Import_Tile_Widgets__!
          Tk.tk_call('namespace', 'import', 'ttk::*')
        end

load_images(imgdir, pat=TkComm::None)

[Source]

    # File tk/lib/tkextlib/tile.rb, line 67
        def self.load_images(imgdir, pat=TkComm::None)
          images = Hash[*TkComm.simplelist(Tk.tk_call('::tile::LoadImages',
                                                      imgdir, pat))]
          images.keys.each{|k|
            images[k] = TkPhotoImage.new(:imagename=>images[k],
                                         :without_creating=>true)
          }

          images
        end

package_name()

[Source]

    # File tk/lib/tkextlib/tile.rb, line 51
        def self.package_name
          PACKAGE_NAME
        end

package_version()

[Source]

    # File tk/lib/tkextlib/tile.rb, line 55
        def self.package_version
          begin
            TkPackage.require('tile')
          rescue
            ''
          end
        end

style(*args)

[Source]

    # File tk/lib/tkextlib/tile.rb, line 78
        def self.style(*args)
          args.map!{|arg| TkComm._get_eval_string(arg)}.join('.')
        end

[Validate]