Sebastian Dransfeld wrote:

> Do you know any program that we can try that uses this feature?


Thanks for the reply. See code below. You will require Gtk2-Perl
bindings, which in turn require a couple of other things, but I'm pretty
sure most distos come with them anyway. When this code runs, note that
the large button ( and the window of course ) goes *slightly*
off-screen. When I restore & maximize via e17's buttons, the window is
*properly* maximized, and the button's border ... and the rest of the
window ... now fit properly on-screen.

---

#!/usr/bin/perl

use Gtk2 -init;

sub startup {

        $window = Gtk2::Window->new;
        $window->signal_connect( destroy => sub { Gtk2->main_quit; } );

        my $button = Gtk2::Button->new("Hello World");
        $window->add($button);
        $button->show;

        $window->show;
        $window->maximize;

}

{
        startup;
        Gtk2->main;
}


-- 
Daniel Kasak
IT Developer
NUS Consulting Group
Level 5, 77 Pacific Highway
North Sydney, NSW, Australia 2060
T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989
email: [EMAIL PROTECTED]
website: http://www.nusconsulting.com.au


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to