469,929 Members | 1,889 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,929 developers. It's quick & easy.

Python and Glade-2

I work with Linux Mandrake10 and KDE. I have compiled and install :
Python 2.3.4
pygtk-2.2.0
Glade2 2.6.0

My problem is : I want to know what can i do for having Python in the
Language of general option for generate my project .

I have only C, C++ and Ada95 ???

Thanks (and sorry for my english)
Jul 18 '05 #1
9 2117
On 2004-07-25, P. Jouin <Pa**********@Neuf.fr> wrote:
I work with Linux Mandrake10 and KDE. I have compiled and install :
Python 2.3.4
pygtk-2.2.0
Glade2 2.6.0
There is now a project to rewrite glade in Python. Certainly should be
easier to hack on:

http://gruppy.sicem.biz/pantallazos
My problem is : I want to know what can i do for having Python in the
Language of general option for generate my project .


Are you having a specific technical problem, or do you have a more general
question about pygtk resources? Start here:

http://www.async.com.br/faq/pygtk/index.py?req=index

Dave Cook

Jul 18 '05 #2
В Вск, 25.07.2004, в 23:59, P. Jouin пишет:
I work with Linux Mandrake10 and KDE. I have compiled and install :
Python 2.3.4
pygtk-2.2.0
Glade2 2.6.0

My problem is : I want to know what can i do for having Python in the
Language of general option for generate my project .


Code generation with glade is deprecated. Write the code yourself and
just use the XML UI description glade generates. :)

So select C if you can't tell glade not to generate any code.

--
Markus Bertheau <tw*****@bluetwanger.de>

Jul 18 '05 #3
David Cook wrote:
http://www.async.com.br/faq/pygtk/index.py?req=index

Dave Cook


Thanks for this faq but i have already read it and i have not find why
Python is not include in the version 2.6.0 of Glade or what do i do for
have it ?

P. Jouin
Jul 18 '05 #4
On Sunday 25 July 2004 17:59, P. Jouin wrote:
I work with Linux Mandrake10 and KDE. I have compiled and install :
Python 2.3.4
pygtk-2.2.0
Glade2 2.6.0

My problem is : I want to know what can i do for having Python in the
Language of general option for generate my project .

I have only C, C++ and Ada95 ???

Thanks (and sorry for my english)


You might find the code I wrote and the article about it in Linux
Journal useful. Note that this uses libglade to create the interface,
but also includes "skeleton" code for all the callbacks/signal
handlers.

http://www.linuxjournal.com/article.php?sid=7421

Dave

Jul 18 '05 #5
In article <ce**********@aphrodite.grec.isp.9tel.net>, P. Jouin wrote:
Thanks for this faq but i have already read it and i have not find why
Python is not include in the version 2.6.0 of Glade or what do i do for
have it ?


Glade never generated python code AFAIK, and code generation is now
deprecated. Use libglade instead. There's a simple example in the pygtk
distribution in examples/glade. See also the tutorial previously mentioned:

http://www.async.com.br/faq/pygtk/index.py?req=all#1.9

Dave Cook
Jul 18 '05 #6
In article <ce**********@aphrodite.grec.isp.9tel.net>, P. Jouin wrote:
Thanks for this faq but i have already read it and i have not find why
Python is not include in the version 2.6.0 of Glade or what do i do for
have it ?


Here's a more up to date list of tutorials:

Dave Cook
Jul 18 '05 #7
In article <sl*********************@localhost.localdomain>, Dave Cook wrote:
Here's a more up to date list of tutorials:


Woops...

http://www.pygtk.org/articles.html

Dave Cook
Jul 18 '05 #8
"P. Jouin" <Pa**********@Neuf.fr> wrote in message news:<ce**********@aphrodite.grec.isp.9tel.net>...
I work with Linux Mandrake10 and KDE. I have compiled and install :
Python 2.3.4
pygtk-2.2.0
Glade2 2.6.0

My problem is : I want to know what can i do for having Python in the
Language of general option for generate my project .

I have only C, C++ and Ada95 ???

Thanks (and sorry for my english)


just writte thw code in a separated file and use the xml created by
glade as Markus Bertheau said... is impossible to add the python to
the list because glade don't have natural support for this ...

this is what i think ... i am new .. or something..
if you don't know how to work with the gtk you have to learn .. try
the tutorial!!
Jul 18 '05 #9
P
Dave Cook wrote:
In article <sl*********************@localhost.localdomain>, Dave Cook wrote:

Here's a more up to date list of tutorials:

Woops...

http://www.pygtk.org/articles.html

Dave Cook


I've a tutorial with a couple of example apps here:
http://www.pixelbeat.org/talks/pygtk

--
Pdraig Brady - http://www.pixelbeat.org
--
Jul 18 '05 #10

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Hans Deragon | last post: by
59 posts views Thread by Hugh Macdonald | last post: by
5 posts views Thread by somesh | last post: by
7 posts views Thread by Madhusudan Singh | last post: by
reply views Thread by Doug | last post: by
6 posts views Thread by Doug | last post: by
5 posts views Thread by Kveldulv | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.