CList And ScrolledWindow
- From: Stefan Kamphausen <kamphausen novelscience com>
- To: gtk-perl-list gnome org
- Subject: CList And ScrolledWindow
- Date: Wed, 18 Apr 2001 17:38:58 +0200
Dear Perl-GTK-Gurus,
I have created an application that shows a list of information
(whatever...) within a CList. As described in The Tutorial I have put
that into a ScrolledWindow:
$msg_win = new Gtk::ScrolledWindow( undef, undef );
$msg_win->set_policy('automatic','always');
$msg_win->show();
$msg = new_with_titles Gtk::CList( @msg_titles );
$msg->signal_connect( "select_row", \&msg_details );
$msg->set_selection_mode( 'single' );
$msg->column_titles_passive();
$msg_win->add_with_viewport( $msg );
Now what astonishes me is that in this quite straight-forward solution
the titles are scrolled away, too. From the perl code this seems
logical to me, but from a practical view the titles should stay at the
top.
I have checked with other application (like gnomecard) that this is
not necessarily the case and I'd like to know how to achieve this.
Thanks And Regards
Stefan
--
Stefan Kamphausen <kamphausen novelscience com>
http://www.skamphausen.de
Novel Science International GmbH
____________________________________________________________
Postfach 2944 Tel: +49 551 / 50 41 6- 0
37019 Goettingen Fax: +49 551 / 50 41 6-99
Germany http://www.novelscience.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]