やすしです。

subjectどおりです(ぉ


--- rbgtkclist.c 1999/11/29 13:55:53 1.1.1.1 +++ rbgtkclist.c 1999/12/10 01:27:26 @@ -141,7 +141,7 @@ } static VALUE -clist_set_col_wigdet(self, col, win) +clist_set_col_widget(self, col, win) VALUE self, col, win; { gtk_clist_set_column_widget(GTK_CLIST(get_widget(self)), @@ -151,6 +151,17 @@ } static VALUE +clist_get_col_widget(self, col) + VALUE self, col; +{ + GtkWidget *widget; + + widget = gtk_clist_get_column_widget(GTK_CLIST(get_widget(self)), + NUM2INT(col)); + return get_value_from_gobject(GTK_OBJECT(widget)); +} + +static VALUE clist_set_col_just(self, col, just) VALUE self, col, just; { @@ -674,7 +685,8 @@ rb_define_method(gCList, "column_titles_active", clist_col_titles_active, 0); rb_define_method(gCList, "column_titles_passive", clist_col_titles_passive, 0); rb_define_method(gCList, "set_column_title", clist_set_col_title, 2); - rb_define_method(gCList, "set_column_widget", clist_set_col_wigdet, 2); + rb_define_method(gCList, "set_column_widget", clist_set_col_widget, 2); + rb_define_method(gCList, "get_column_widget", clist_get_col_widget, 1); rb_define_method(gCList, "set_column_justification", clist_set_col_just, 2); rb_define_method(gCList, "set_column_visibility", clist_set_col_visibility, 2); rb_define_method(gCList, "set_column_resizeable", clist_set_col_resizeable, 2);