[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[patch] a small addition to Gtk2::SimpleList's pod
- From: James Curbo <hannibal adtrw org>
- To: gtk perl mailing list <gtk-perl-list gnome org>
- Subject: [patch] a small addition to Gtk2::SimpleList's pod
- Date: 04 Aug 2003 22:20:12 -0500
This isn't a very significant patch, but I thought it should be made a
little clearer that SimpleList is derived from TreeView. I didn't
realize this until hours of coding (it was quite a 'doh' moment) so I
thought I'd add a little bit to the pod to clarify it. I was going to
try and add more documentation to SimpleList, but I feel it's pretty
complete right now. Perhaps later I will hack on some of the other pod
docs, though.
baby steps, you know. :)
--
James Curbo <hannibal adtrw org>
http://www.raspberryheaven.net/~hannibal/
*** SimpleList.pm 31 Jul 2003 05:45:56 -0000 1.5
--- SimpleList.pm 5 Aug 2003 03:13:44 -0000
***************
*** 376,382 ****
=head1 SYNOPSIS
use Gtk2 -init;
! use Gtk2::SimpleList.pm;
use constant TRUE => 1;
use constant FALSE => 0;
--- 376,382 ----
=head1 SYNOPSIS
use Gtk2 -init;
! use Gtk2::SimpleList;
use constant TRUE => 1;
use constant FALSE => 0;
***************
*** 408,413 ****
--- 408,418 ----
# simple way to make text columns editable
$slist->set_column_editable ($col_num, TRUE);
+
+ # SimpleList is a derived class of TreeView
+ $slist->set_rules_hint(TRUE);
+ $slist->signal_connect('row-activated' => \&row_clicked);
+
=head1 ABSTRACT
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]