class MyCellRendererProgress
this file is part of manqod manqod is distributed under the CDDL licence the author of manqod is Dobai-Pataky Balint(dpblnt@gmail.com)
Attributes
model_col_num[RW]
view[RW]
Public Class Methods
new(column)
click to toggle source
Calls superclass method
# File lib/ListHolder/EditableList/CellRenderers/Progress.rb, line 6 def initialize(column) super() # set_ellipsize(Pango::ELLIPSIZE_NONE) #? # set_ellipsize_set(true) #? # set_wrap_mode(Pango::WRAP_WORD) #? end
Public Instance Methods
caller()
click to toggle source
# File lib/ListHolder/EditableList/CellRenderers/Progress.rb, line 26 def caller view end
data()
click to toggle source
# File lib/ListHolder/EditableList/CellRenderers/Progress.rb, line 23 def data column.header["data"] end
set_column(column)
click to toggle source
# File lib/ListHolder/EditableList/CellRenderers/Progress.rb, line 15 def set_column(column) @column=column @view=column.list @model_col_num=column.colnum # set_mode(Gtk::CellRenderer::MODE_INERT) # set_sensitive(false) end
set_font(font)
click to toggle source
# File lib/ListHolder/EditableList/CellRenderers/Progress.rb, line 29 def set_font(font) #doing nothing here end
set_wrap_width(width)
click to toggle source
# File lib/ListHolder/EditableList/CellRenderers/Progress.rb, line 32 def set_wrap_width(width) #we don't wrap this :) end