モジュール・クラス一覧 - ライブラリ一覧

Gtk::CList

クラスの説明

マルチカラムのリストウィジェット。

参照: Ruby/Gtk Programming:CList ウィジェット

スーパークラス

クラスメソッド

new(columns_number)
new(titles)

1つ目の形式は、タイトルなしで列数 columns_numberだけを指定してCListを作成する。2 つ目の形式は、各列のタイト ル文字列をArrayで渡してCListを作成する。

インスタンスメソッド

append([text, ...]) [***]
[未記述]
clear
[未記述]
clist_moveto(row, column, row_align, col_align) [未定義]
[未記述]
column_title_active(column)
[未記述]
column_title_passive(column)
[未記述]
column_titles_active
[未記述]
column_titles_hide
[未記述]
column_titles_passive
[未記述]
column_titles_show
[未記述]
columns_autosize [未定義]
[未記述]
find_row_from_data(data) [未定義]
[未記述]
focus_row

フォーカスされている行を返す。

freeze
[未記述]
get_cell_style(row, column)

指定セルのスタイルを返す。

get_cell_type(row, column) [未定義]
[未記述]
get_column_title(column) [未定義]
[未記述]
get_column_widget(column) [未定義]
[未記述]
get_pixmap(row, column) [未定義]

(return an array [pixmap, mask])

get_pixtext(row, column) [未定義]

(return an array [text, spacing, pixmap, mask])

get_row_data(row)
[未記述]
get_row_style(row)

指定行のスタイルを返す。

get_selectable(row) [未定義]
[未記述]
get_selection_info(x, y) [未定義]

(return an array [row, column]???)

get_text(row, column)
[未記述]
hadjustment
get_hadjustment
[未記述]
hadjustment = adjustment
set_hadjustment(adjustment)
[未記述]
insert(row, [text, ...]) [***]
[未記述]
optimal_column_width(column) [未定義]
[未記述]
prepend([text, ...]) [***]

先頭行の前に [text, ...]を追加する。

remove_row(row)

(correspond to gtk_clist_remove in GTK+)

row_height
[未記述]
row_height = height
set_row_height(height)
[未記述]
row_is_visible?(row) [未定義]
[未記述]
row_move(source_row, dest_row) [未定義]
[未記述]
select_all [未定義]
[未記述]
select_row(row, column)
[未記述]
selection_each do |row| ... end [***]

選択した行について、ブロックの評価を行うイテレータ。 ブロックの引数には行番号 rowが渡る。

selection_mode

選択モードを返す。

selection_mode = mode
set_selection_mode(mode)

選択モードを設定する。

set_auto_sort(auto_sort) [未定義]
[未記述]
set_background(row, color)
[未記述]
set_button_actions(button, button_actions) [未定義]
[未記述]
set_cell_style(row, column, style)

指定セルのスタイルを設定する。

set_column_auto_resize(column, auto_resize)

指定カラムのサイズが自動で変わるようにするかを設定する。

set_column_justification(column, justification)
[未記述]
set_column_max_width(column, max_width)

指定カラムの最小幅を設定する。

set_column_min_width(column, min_width)

指定カラムの最大幅を設定する。

set_column_resizeable(column, resizeable)

指定カラムのサイズを可変にできるかを設定する。

set_column_title(column, title)
[未記述]
set_column_visibility(column, visible)

指定カラムの可視/不可視を設定する。

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)

行の順位を変更できるようにするかを設定する。

set_row_data(row, data)
[未記述]
set_row_style(row, style)

指定行のスタイルを設定する。

set_selectable(row, selectable) [未定義]
[未記述]
set_shift(row, column, vertical, horizontal)
[未記述]
set_text(row, column, text)
[未記述]
set_use_drag_icons(use_icons) [未定義]
[未記述]
shadow_type = type [未定義]
set_shadow_type(type) [未定義]
[未記述]
sort

ソートを行う。

sort_column

ソートするカラムを返す。

sort_column = column
set_sort_column(column)

ソートするカラムを指定する。

sort_type

ソートの方向を返す。

sort_type = type
set_sort_type(sort_type)

ソートの方向を指定する。

swap_rows(row1, row2) [未定義]
[未記述]
thaw
[未記述]
undo_selection
[未記述]
unselect_all [未定義]
[未記述]
unselect_row(row, column)
[未記述]
vadjustment
get_vadjustment
[未記述]
vadjustment = adjustment
set_vadjustment(adjustment)
[未記述]

モジュール・クラス一覧 - ライブラリ一覧

Generated at Wed Oct 20 03:46:16 JST 1999 by rubyapi2