Class: GanttHolder
- Inherits:
-
Gtk::VBox
- Object
- Gtk::VBox
- GanttHolder
- Includes:
- ManqodCommon
- Defined in:
- lib/ListHolder/GanttHolder.rb
Overview
this file is part of manqod manqod is distributed under the CDDL licence the author of manqod is Dobai-Pataky Balint([email protected])
Constant Summary
Constants included from ManqodCommon
ManqodCommon::CRITICAL, ManqodCommon::DEBUG, ManqodCommon::ERROR, ManqodCommon::INFO, ManqodCommon::NORMAL, ManqodCommon::WARNING
Constants included from Eprint
Instance Attribute Summary collapse
-
#footer ⇒ Object
readonly
Returns the value of attribute footer.
-
#gantt ⇒ Object
readonly
Returns the value of attribute gantt.
-
#scaler ⇒ Object
readonly
Returns the value of attribute scaler.
Instance Method Summary collapse
-
#initialize(list_holder) ⇒ GanttHolder
constructor
A new instance of GanttHolder.
- #list ⇒ Object
- #update ⇒ Object
Methods included from ManqodCommon
#add_where, #admin, #admin_cache, #admin_qrow, #admin_rows, #backtrace_to_debug, #cache, #changed_ids_of_base, #client, #client_fields, #client_image_of_id, #client_qrow, #client_query, #client_rows, #eeval, #escape_string, #getBinding, #guess_base, #guess_table, #image_of_id, #lzero, #manqod_db, #measure, #myexec, #nick, #nick_id, #number_format, #qrow, #query, #reconnect_manqod_db, #rows, #run_events, #send_message, #sendmail, #set_manqod_db_uri, #set_nick
Methods included from Eprint
#ecode, #edebug, #eerror, #einfo, #enormal, #eprint, #ewarn, #gtk_set_edebug, #set_edebug, #tell_exception
Constructor Details
#initialize(list_holder) ⇒ GanttHolder
Returns a new instance of GanttHolder.
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/ListHolder/GanttHolder.rb', line 8 def initialize(list_holder) @list_holder=list_holder super() @gantt=Gantt.new(self) pack_start(@scaler=GanttScaler.new(self),false,false) pack_start(gantt) pack_start(@footer=GanttFooter.new(self),false,false) set_size_request(0,0) list.signal_connect("cursor-changed"){|me| @gantt.update(self)} list.signal_connect("size-allocate"){|me,*a| @scaler.update(self) @gantt.update(self) } end |
Instance Attribute Details
#footer ⇒ Object (readonly)
Returns the value of attribute footer.
24 25 26 |
# File 'lib/ListHolder/GanttHolder.rb', line 24 def @footer end |
#gantt ⇒ Object (readonly)
Returns the value of attribute gantt.
24 25 26 |
# File 'lib/ListHolder/GanttHolder.rb', line 24 def gantt @gantt end |
#scaler ⇒ Object (readonly)
Returns the value of attribute scaler.
24 25 26 |
# File 'lib/ListHolder/GanttHolder.rb', line 24 def scaler @scaler end |
Instance Method Details
#list ⇒ Object
29 30 31 |
# File 'lib/ListHolder/GanttHolder.rb', line 29 def list @list_holder.list end |
#update ⇒ Object
26 27 |
# File 'lib/ListHolder/GanttHolder.rb', line 26 def update end |