[plug] programming

Ryan ryan at is.as.geeky.as
Thu Sep 18 14:00:50 WST 2003


On Thu, 2003-09-18 at 13:46, Adam Hewitt wrote:
> On Thu, 2003-09-18 at 13:24, Craig Ringer wrote:
> > The PyGTK and PyQT modules allow 
> > graphical programming. Python is also pleasantly well documented, and 
> > has a fairly reasonable online community.
> > 
> > Some may point to Ruby as 'all the good bits of python' or 'what python 
> > wanted to be' - I can't comment, having never used it, but perhaps 
> > somebody who has can fill you in.
> 
> Is there any kind of VB style programming suite for gtk or something close?
> What do most people use to do their actual programming specifically when it
> comes to graphical programming?

See my other post - I used Glade as of 2 days ago :) 

It is UI ONLY.  The most programming you do in Glade is specify the
routine names for event signals of widgets. ie:  run on_button_click
when someone clicks this button.

You draw it up using Gtk's rules (boxes, frames, panels etc.) then
export the code - C default, I use Perl, there are other converters
around to convert Glade's XML to {chosen language}.  Then you program
all the logic how you see fit.

In the case of the Perl interfaces and a stock standard default app:

1 - draw forms in Glade
2 - convert xml to perl modules with glade2perl
3 - perl -e 'use src::Project1.pm;window1->run;'

And your form is showing.

Ryan

_______________________________________________
plug mailing list
plug at plug.linux.org.au
http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug


More information about the plug mailing list