Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Activeperl Gtk2 canvas

by Anonymous Monk
on May 05, 2012 at 02:54 UTC ( #969010=perlquestion: print w/ replies, xml ) Need Help??
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

hi! is there a canvas widget that i can use using activeperl in windows + gtk2? i've been looking around and found nothing. i need something like goo canvas for windows.

Comment on Activeperl Gtk2 canvas
Re: Activeperl Gtk2 canvas
by BrowserUk (Pope) on May 05, 2012 at 04:40 UTC

    Take a look at Bundle-Gnome2 which is available via PPM and amongst other things contains Gnome2::Canvas.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    The start of some sanity?

      I haven't checked for a while, but I don't think that installing the ppm package for Bundle::Gnome2 gets you any closer to installing Gnome2 on Windows.
      Bundle::Gnome2 is a pure perl package that probably builds fine under ActiveState's automated ppm build process, but doesn't provide any of the guts that are needed to successfully install Gnome2 on Windows.

      To the OP:
      My sisyphusion ppm repo does provide Gtk2 Windows binaries.
      Does that help ? Precisely which Gtk2 module is needed ?

      I've been unable to get very far wrt Gnome2 because I couldn't get one of the pre-requisite C libraries to build. (Perhaps someone else has done better - it has probably been a year since I re-visited that particular problem.)

      Cheers,
      Rob

        I typed search gnome2 into an open ppm-shell session and in listed Bundle-Gnome2; I looked at cpan for that module and it listed Gnome2::Canvas - Perl interface to the Gnome Canvas; I offered it for reference to the OP> That's all :)


        With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.

        The start of some sanity?

Re: Activeperl Gtk2 canvas
by zentara (Archbishop) on May 05, 2012 at 17:09 UTC
    I agree, Goo is way better than the Gnome2::Canvas. The Gnome2::Canvas isn't being developed anymore.

    You might want to look at Citrus Perl which comes with WxWidgets and even includes Tk now. :-) WxWidgets has a Canvas type widget.

    Your easiest solution would be to install Tk::Zinc, but sadly the tkzinc.org website, the one with Windows binaries, has dissappeared. Anyone know where Windows Zinc binaries can be found?


    I'm not really a human, but I play one on earth.
    Old Perl Programmer Haiku ................... flash japh

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://969010]
Approved by BrowserUk
Front-paged by BrowserUk
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2014-07-28 05:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (186 votes), past polls