Multi-columned list widget.
new(columns_number)
new(titles)
The first form creates a CList with columns number
columns_number
and no titles. The second form
creates a CList with titles of columns in Array.
append([text, ...])
[***]
clear
clist_moveto(row, column, row_align, col_align)
[undefined]
column_title_active(column)
column_title_passive(column)
column_titles_active
column_titles_hide
column_titles_passive
column_titles_show
columns_autosize
[undefined]
find_row_from_data(data)
[undefined]
focus_row
Return the focused row.
freeze
get_cell_style(row, column)
Return styles of specified cell.
get_cell_type(row, column)
[undefined]
get_column_title(column)
[undefined]
get_column_widget(column)
[undefined]
get_pixmap(row, column)
[undefined]
(return an array [pixmap, mask])
get_pixtext(row, column)
[undefined]
(return an array [text, spacing, pixmap, mask])
get_row_data(row)
get_row_style(row)
Return styles of specified row.
get_selectable(row)
[undefined]
get_selection_info(x, y)
[undefined]
(return an array [row, column]???)
get_text(row, column)
hadjustment
get_hadjustment
hadjustment = adjustment
set_hadjustment(adjustment)
insert(row, [text, ...])
[***]
optimal_column_width(column)
[undefined]
prepend([text, ...])
[***]
Insert [text, ...]before the first row.
remove_row(row)
(correspond to gtk_clist_remove in GTK+)
row_height
row_height = height
set_row_height(height)
row_is_visible?(row)
[undefined]
row_move(source_row, dest_row)
[undefined]
select_all
[undefined]
select_row(row, column)
selection_each do |row| ... end
[***]
Iterator for each selected row to evaluate the block. A row number rowis passed as block argument.
selection_mode
Return the CList's selection mode.
selection_mode = mode
set_selection_mode(mode)
Set the CList's selection mode.
set_auto_sort(auto_sort)
[undefined]
set_background(row, color)
set_button_actions(button, button_actions)
[undefined]
set_cell_style(row, column, style)
Set styles of specified cell.
set_column_auto_resize(column, auto_resize)
resize column automatically to its optimal width.
set_column_justification(column, justification)
set_column_max_width(column, max_width)
set minimum width of specified column.
set_column_min_width(column, min_width)
set maximum width of specified column.
set_column_resizeable(column, resizeable)
enable/disable column resize operations by mouse.
set_column_title(column, title)
set_column_visibility(column, visible)
set visibility of a column.
set_column_widget(column, widget)
set_column_width(column, width)
set_compare_func(&cmp_func)
[***]
set_foreground(row, color)
set_pixmap(row, column, pixmap, mask)
set_pixtext(row, column, text, spacing, pixmap, mask)
set_reorderable(reorderable)
Enable clists reorder ability.
set_row_data(row, data)
set_row_style(row, style)
Set styles of specified row.
set_selectable(row, selectable)
[undefined]
set_shift(row, column, vertical, horizontal)
set_text(row, column, text)
set_use_drag_icons(use_icons)
[undefined]
shadow_type = type
[undefined]
set_shadow_type(type)
[undefined]
sort
Sort the list with the current compare function.
sort_column
Return the column to sort by.
sort_column = column
set_sort_column(column)
Specify the column to sort by.
sort_type
Return how to sort : ascending or descending.
sort_type = type
set_sort_type(sort_type)
Specify how to sort : ascending or descending.
swap_rows(row1, row2)
[undefined]
thaw
undo_selection
unselect_all
[undefined]
unselect_row(row, column)
vadjustment
get_vadjustment
vadjustment = adjustment
set_vadjustment(adjustment)
Generated at Wed Oct 20 03:52:02 JST 1999 by rubyapi2