Help for this page

Select Code to Download


  1. or download this
    my $screen = $windowHandle->get_screen;
    
    my $width = $screen->get_width;
    
    my $height = $screen->get_height;
    
  2. or download this
    my $windowHandle = Gtk2::Window->new('toplevel');
    
    ...
    
    windowHandle->resize($self->currentWidth, $self->currentHeight);