Class: MyCellRendererConstCombo
- Inherits:
-
MyCellRendererCombo
- Object
- Gtk::CellRendererCombo
- MyCellRendererCombo
- MyCellRendererConstCombo
- Defined in:
- lib/ListHolder/EditableList/CellRenderers/ConstCombo.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
Attributes inherited from MyCellRendererCombo
#column, #model_col_num, #view
Instance Method Summary collapse
-
#initialize(column) ⇒ MyCellRendererConstCombo
constructor
A new instance of MyCellRendererConstCombo.
Methods inherited from MyCellRendererCombo
#append_row, #caller, #data, #get_text_from_value, #get_value_from_text, #set_column
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(column) ⇒ MyCellRendererConstCombo
Returns a new instance of MyCellRendererConstCombo.
6 7 8 9 10 |
# File 'lib/ListHolder/EditableList/CellRenderers/ConstCombo.rb', line 6 def initialize(column) column.header['admin']=true column.header['querySQL']="select * from scv where combo='#{column.header['data']}' order by cdisplay" super end |