Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: perl Tk help

by Anonymous Monk
on Jun 25, 2012 at 07:29 UTC ( [id://978144]=note: print w/replies, xml ) Need Help??


in reply to Re: perl Tk help
in thread perl Tk help

Last I checked there is nothing that will produce perl GTK code for you.

But it is not difficult to translate the generated C code to Gtk2.pm. The APIs are similar.

Replies are listed 'Best First'.
Re^3: perl Tk help
by Anonymous Monk on Jun 25, 2012 at 08:19 UTC

    But it is not difficult to translate the generated C code to Gtk2.pm. The APIs are similar.

    The APIs are identical only the calling convention is different, but there is also no point in doing the translation yourself, it misses the point of using Glade, the idea behind Glade is for it to generate code for you
    Glade::PerlGenerate
    glade2perl - Builds Gtk-Perl sources from a Glade file
    glade2perl-2 - Builds Gtk2-Perl sources from a Glade-2 file
    Glade2::Widget - Creates a new widget from a .glade file. It accepts the following parameters.
    Gtk2::GladeXML - Create user interfaces directly from Glade XML files.
    Gtk2::GladeXML::Simple - A clean object-oriented interface to Gtk2::GladeXML

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://978144]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-04-19 22:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found