From: DH <cra...@ya...> - 2002-09-10 03:04:51
|
Just slap it up on cpan, as i'm eager to try it out. I do have objection to the name, as it has nothing to do with CGI directly, so it wouldn't be a good suggestion. Maybe Wx::Widget::CGI would be less confusing? --- Scott Lanning <sla...@th...> wrote: > I mentioned in passing that I made a library last week > to allow making wPerl widgets using CGI.pm-like interface. > Now I'd like to put it on CPAN unless there is some objection. > Also, is it an okay name? > > Example usage: > > $q = Wx::CGI->new(-parent => $self); > > $pagesizer = Wx::BoxSizer->new(wxVERTICAL); > > $q->print($q->h1('H1 text'), $pagesizer); > > $rowsizer = Wx::BoxSizer->new(wxHORIZONTAL); > > $control = $q->textfield( > -name => 'color_textfield', > -default => 'blue', > -size => 50, # window width, not number of chars > -maxlength => 30, > ); > > $q->print([$q->print('Textfield: '), $control], $rowsizer); > $pagesizer->Add($rowsizer); > > ... > > foreach my $param ($q->param()) { > print "$param: ", $q->param($param), $/; > } > > Also popup_menu, scrolling_list, radio_group, some others. > > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users __________________________________________________ Yahoo! - We Remember 9-11: A tribute to the more than 3,000 lives lost http://dir.remember.yahoo.com/tribute |