Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Python and Glade-2

Reply
Thread Tools

Python and Glade-2

 
 
P. Jouin
Guest
Posts: n/a
 
      07-25-2004
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)
 
Reply With Quote
 
 
 
 
David Cook
Guest
Posts: n/a
 
      07-25-2004
On 2004-07-25, 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


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

 
Reply With Quote
 
 
 
 
P. Jouin
Guest
Posts: n/a
 
      07-25-2004
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
 
Reply With Quote
 
Markus Bertheau
Guest
Posts: n/a
 
      07-25-2004
В Вск, 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 <>

 
Reply With Quote
 
Dave Reed
Guest
Posts: n/a
 
      07-25-2004
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



 
Reply With Quote
 
Dave Cook
Guest
Posts: n/a
 
      07-26-2004
In article <ce1c6p$r0c$>, 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
 
Reply With Quote
 
Dave Cook
Guest
Posts: n/a
 
      07-26-2004
In article <ce1c6p$r0c$>, 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
 
Reply With Quote
 
Dave Cook
Guest
Posts: n/a
 
      07-26-2004
In article <>, Dave Cook wrote:

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


Woops...

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

Dave Cook
 
Reply With Quote
 
R?ben Gon?alves
Guest
Posts: n/a
 
      07-26-2004
"P. Jouin" <> wrote in message news:<ce1agf$qeu$>...
> 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!!
 
Reply With Quote
 
P@draigBrady.com
Guest
Posts: n/a
 
      08-03-2004
Dave Cook wrote:
> In article <>, 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
--
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: [Python-Dev] [python-committers] [RELEASED] Python 3.2 rc 1 R. David Murray Python 0 01-17-2011 02:23 PM
Re: [Python-Dev] [python-committers] [RELEASED] Python 3.2 rc 1 Senthil Kumaran Python 0 01-17-2011 10:31 AM
Re: [Python-Dev] [Python-3000] RELEASED Python 2.6a1 and 3.0a3 Martin v. Lwis Python 0 03-01-2008 10:51 PM
Re: [Python-Dev] [Python-3000] RELEASED Python 2.6a1 and 3.0a3 Paul Moore Python 0 03-01-2008 10:39 PM
Searching comp.lang.python/python-list@python.org (was: UTF-8) skip@pobox.com Python 0 03-10-2007 02:50 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57