in reply to Non-rectangular mainwindow

Try Prima, it supports non-rectangular windows - on Win32 natively, on X11 if you've shape extension compiled in the X server:
use Prima qw(Application); my $icon = Prima::Image-> create( width => 300, height => 300, ); $icon-> begin_paint; $icon-> color( cl::Black); $icon-> bar( 0, 0, 300, 300); $icon-> color( cl::White); $icon-> fillpoly([ 5, 5, 250, 5, 5, 200, 100, 100, 5,5 ]); $icon-> end_paint; Prima::Widget-> create( shape => $icon, size => [ 300, 300], # fixed size onMouseDown => sub { $::application-> close }, # click to exit ); run Prima;

Replies are listed 'Best First'.
Re: Re: Non-rectangular mainwindow
by PodMaster (Abbot) on Aug 25, 2003 at 09:16 UTC
    ++Cool beans -- I remember now, the Prima eyes example shows you this as well ;)

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.

Re: Re: Non-rectangular mainwindow
by sweetblood (Prior) on Aug 25, 2003 at 12:00 UTC
    Thanks - I haven't used prima, barley heard of it infact, but I'll give it a go.