473,382 Members | 1,386 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

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 2246
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Hans Deragon | last post by:
Greetings. Total newbie to Glade here. I created an interface using glade-2 and I want to use it with my python program. Following is what I wrote (test prg): -------------------------...
9
by: Edilmar | last post by:
Hi, First of all, I'm new in Python... I have worked with manu langs and IDEs, like Delphi, VB, JBuilder, Eclipse, Borland C++, Perl, etc... Then, today I think IDEs like Delphi have a...
8
by: Will | last post by:
I just discovered Python and looked briefly at one of the tutorials for beginners... It looks a lot like the old Command line Basic... I'm sure it does much more but... 1 - Can you create...
59
by: Hugh Macdonald | last post by:
I've recently been trying out various different GUI frameworks in Python and was wondering if I could get your input on the pros and cons of the different ones... wxPython: I love the...
5
by: somesh | last post by:
hello, I wrote a small tute for my brother to teach him python + glade, plz see, and suggest to make it more professional , In tute I discussed on Glade + Python for developing Applications too...
7
by: Madhusudan Singh | last post by:
Is there such a thing for python ? Like Qt Designer for instance ?
0
by: Doug | last post by:
I am having some fun running a program called pygps. This uses libglade and runs fine on my very old Redhat 7.? system running Python 1.5.2. I have not needed to make any changes to the import...
6
by: Doug | last post by:
Hi all, Can someone tell me why I do not get a connection between the events and the functions in the sample below. GUI window appears OK, just no connections seem to be made. I am new to this...
5
by: Kveldulv | last post by:
I made simple GUI in Glade 3 (Ubuntu 7.04) consisting of only 2 buttons. When I run 2buttonsgui.py, no GUI pops out #!/usr/bin/env python import pygtk import gtk.glade class TwoButtonsGUI:...
5
by: holmes86 | last post by:
hi,everyone. I am a python newbie.and I write a python program with glade,as following: import sys import gtk import gtk.glade class TLaitSignals: '''Define TLait singals handler'''
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.