~ubuntu-branches/ubuntu/dapper/ruby1.9/dapper

« back to all changes in this revision

Viewing changes to ext/tk/lib/tkextlib/iwidgets/calendar.rb

  • Committer: Bazaar Package Importer
  • Author(s): Lucas Nussbaum
  • Date: 2006-05-08 22:23:12 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060508222312-w2wqeaz030ifi59j
Tags: 1.9.0+20060423-3ubuntu1
* Resynchronized with Debian.
* Only change from Debian is the addition of
  debian/patches/903_sparc_fix_define.patch to fix illegal instructions
  at runtime on sparc. (change from 1.9.0+20050921-1ubuntu1)

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
  WidgetClassName = 'Calendar'.freeze
19
19
  WidgetClassNames[WidgetClassName] = self
20
20
 
 
21
  def __strval_optkeys
 
22
    super() + [
 
23
      'buttonforeground', 'outline', 'selectcolor', 
 
24
      'weekdaybackground', 'weekendbackground'
 
25
    ]
 
26
  end
 
27
  private :__strval_optkeys
 
28
 
 
29
  def __listval_optkeys
 
30
    super() << 'days'
 
31
  end
 
32
  private :__listval_optkeys
 
33
 
 
34
  def __font_optkeys
 
35
    super() + ['currentdatefont', 'datefont', 'dayfont', 'titlefont']
 
36
  end
 
37
  private :__font_optkeys
 
38
 
21
39
  ####################################
22
40
 
23
41
  include Tk::ValidateConfigure