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



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

def self.package_name
  PACKAGE_NAME
end

.package_versionObject



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

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