ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/kgsueme/kgsueme/challenge.pl
Revision: 1.3
Committed: Sun May 30 03:24:47 2004 UTC (20 years ago) by pcg
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +0 -0 lines
State: FILE REMOVED
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 pcg 1.1 package challenge; # challenge widget
2    
3     use KGS::Constants;
4    
5     use base gtk::widget;
6    
7     sub new {
8     my $class = shift;
9     my $self = $class->SUPER::new(@_);
10    
11     $self->{widget} = new Gtk2::Frame "Challenge";
12     $self->{widget}->add (my $vbox = new Gtk2::VBox);
13     $vbox->add (my $frame = new Gtk2::Frame "Notes");
14     $frame->add ($self->{entry} = new Gtk2::Entry);
15    
16     $vbox->add (my $hbox = new Gtk2::HBox);
17    
18 pcg 1.2 $hbox->add ($self->{userlist} = new userlist);
19 pcg 1.1
20     $vbox->add (my $hbox = new Gtk2::HButtonBox);
21    
22     $hbox->add (my $button = new Gtk2::Button "OK");
23     $hbox->add (my $button = new Gtk2::Button "Decline");
24     $hbox->add (my $button = new Gtk2::Button "Cancel");
25    
26     $self;
27     }
28    
29     sub destroy {
30     my ($self) = @_;
31     $self->SUPER::destroy;
32     }
33    
34     1;
35    
36