Methods
- C
- F
- H
- M
- N
- S
- T
- V
Included Modules
Constants
TkCommandNames | = | [ 'canvas'.freeze, '::Plotchart::createGanttchart'.freeze ].freeze |
Class Public methods
new(*args)
Link
# File ext/tk/lib/tkextlib/tcllib/plotchart.rb, line 1260 def initialize(*args) # args := ([parent,] time_begin, time_end, items [, text_width] [, keys]) # time_begin := String of time format (e.g. "1 january 2004") # time_end := String of time format (e.g. "1 january 2004") # args := Expected/maximum number of items # ( This determines the vertical spacing. ), # Expected/maximum width of items, # Option Hash ( { key=>value, ... } ) if args[0].kind_of?(String) @time_begin = args.shift @time_end = args.shift @args = args super(*args) # create canvas widget else parent = args.shift @time_begin = args.shift @time_end = args.shift @args = args if parent.kind_of?(Tk::Canvas) @path = parent.path else super(parent, *args) # create canvas widget end end @chart = _create_chart end
Instance Public methods
color_of_part(keyword, newcolor)
Link
connect(from_task, to_task)
Link
font_of_part(keyword, newfont)
Link
hscroll(scr)
Link
hscroll=(scr)
Link
milestone(txt, time, col=None)
Link
summary(txt, tasks)
Link
task(txt, time_begin, time_end, completed=0.0)
Link
vertline(txt, time)
Link
vscroll(scr)
Link