Re: clist append usage
- From: Jim Edwards <jedwards inmet gov br>
- To: Dermot Musgrove <dermot glade perl connectfree co uk>
- Cc: gtk-perl <gtk-perl-list gnome org>
- Subject: Re: clist append usage
- Date: Thu, 21 Jun 2001 16:44:59 +0000
Dermot,
How about
$window->lookup_widget(´OGFDList´);
to go along with the c method?
Jim
Dermot Musgrove wrote:
Hi Jim,
Jim Edwards wrote:
Hi,
First what is the correct method to retreve a widget from the form, I'm
using
my $clist = $window->{FORM}{OGFDList};
but it seems like there ought to be a function call?
You can already call
my $clist = $window->FORM->{OGFDList};
which takes you half the way there but you have set me thinking...
I reckon that it would be useful and fairly trivial to provide an
AUTOLOAD accessor for all widgets so that you would be able to call:
my $clist = $window->FORM->OGFDList;
with an error thrown if the widget does not exist.
Thanks for making a good point - I will try for version 0.59.
Regards, Dermot
_______________________________________________
gtk-perl-list mailing list
gtk-perl-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]