Module: Tk::TkDND

Defined in:
ext/lib/tkextlib/tkDND.rb,
ext/lib/tkextlib/tkDND/shape.rb,
ext/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 'ext/lib/tkextlib/tkDND/tkdnd.rb', line 19

def self.package_name
  PACKAGE_NAME
end

.package_versionObject



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

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