Package pyanaconda :: Package iw :: Module checklist :: Class CheckList
[hide private]
[frames] | no frames]

Class CheckList

source code

gtk.TreeView --+
               |
              CheckList

A class (derived from gtk.TreeView) that provides a list of checkbox / text string pairs

Instance Methods [hide private]
 
create_columns(self, columns) source code
 
__init__(self, columns, custom_store=None, sensitivity=False) source code
 
_tipQuery(self, widget, x, y, kbd, tip, *data) source code
 
append_row(self, textList, init_value, tooltipText=None)
Add a row to the list.
source code
 
toggled_item(self, data, row)
Set a function to be called when the value of a row is toggled.
source code
 
clear(self)
Remove all rows
source code
 
get_active(self, row)
Return FALSE or TRUE as to whether or not the row is toggled similar to GtkToggleButtons
source code
 
set_active(self, row, is_active)
Set row to be is_active, similar to GtkToggleButton
source code
 
get_text(self, row, column)
Get the text from row and column
source code
 
set_column_title(self, column, title)
Set the title of column to title
source code
 
set_column_min_width(self, column, min)
Set the minimum width of column to min
source code
 
set_column_clickable(self, column, clickable)
Set the column to be clickable
source code
 
set_column_sizing(self, column, sizing)
Set the column to use the given sizing method
source code
 
set_column_sort_id(self, column, id)
Set the sort id of column to id
source code
 
select_deselect(self, widget, data=None)
Select/Deselect all checkboxes
source code
Method Details [hide private]

append_row(self, textList, init_value, tooltipText=None)

source code 

Add a row to the list. text: text to display in the row init_value: initial state of the indicator tooltipText: the text that will appear when the mouse is over the row.

toggled_item(self, data, row)

source code 

Set a function to be called when the value of a row is toggled. The function will be called with two arguments, the clicked item in the row and a string for which row was clicked.