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

Methods

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::SizeGrip
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

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

Public Class methods

[Source]

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

[Source]

# File tk/lib/tkextlib/tile.rb, line 71
    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

[Source]

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

[Source]

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

[Source]

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

[Validate]

ruby-doc.org is hosted and run by James Britt and Happy Camper Studios, a Ruby application development company in Phoenix, Arizona. Ruby-doc.org was created in 2002 to promote the Ruby language and to help other Ruby hackers.

Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.

For more information on the Ruby programming language, visit ruby-lang.org.

Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.