Module: Tk::TkDND

Defined in:
lib/tkextlib/tkDND.rb,
lib/tkextlib/tkDND/shape.rb,
lib/tkextlib/tkDND/tkdnd.rb

Defined Under Namespace

Modules: DND, Shape Classes: DND_Subst

Constant Summary collapse

PACKAGE_NAME =
'tkdnd'.freeze

Class Method Summary collapse

Class Method Details

.package_nameObject



20
21
22
# File 'lib/tkextlib/tkDND/tkdnd.rb', line 20

def self.package_name
  PACKAGE_NAME
end

.package_versionObject



24
25
26
27
28
29
30
# File 'lib/tkextlib/tkDND/tkdnd.rb', line 24

def self.package_version
  begin
    TkPackage.require('tkdnd')
  rescue
    ''
  end
end