How to set a Gtk::Adjustment?
- From: ws <ws bluewin ch>
- To: "gtk-perl-list gnome org" <gtk-perl-list gnome org>
- Subject: How to set a Gtk::Adjustment?
- Date: Wed, 21 Mar 2001 18:29:13 +0100
Hi,
Is there a better idea to set a Gtk::Adjustment then edit the
Glade-generated ApplicUI.pm file and the use of a global value
($::modDbSeqAnaAdj=...) ?
See snipped:
#Part of applicUI.pm (THIS FILE WILL BE OVERWRITTEN BY THE NEXT RUN OF
Glade::PerlGenerate):
# Construct a GtkHScale 'newDbSeqAnaScale'
$::modDbSeqAnaAdj=$work->{'newDbSeqAnaScale-adj'} = new
Gtk::Adjustment(3, 1, 8, 1, 0, 0 );
$widgets->{'newDbSeqAnaScale'} = new
Gtk::HScale($work->{'newDbSeqAnaScale-adj'} );
#Application sets a new value:
$::modDbSeqAnaAdj->set_value(8);
Regards,
Wolfgang
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]