473,320 Members | 1,858 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,320 software developers and data experts.

PyGTK overload

As a newby to PyGTK I already have produced some gui's I like,
but I have difficulties in finding out what method or other instrument
I need for doing various things.

I have not yet found the tutorial or otherwise that explains concepts
like setting (relative) sizes, setting or manipulating focus,
setting colors, etc.

Also when I think I need a method with a specific word it its name,
and I cannot find it, there are two (not necessarily exclusive)
possibilities:
- I have to go higher up the ancestry
- I look for the wrong word

Is there an other way than just going on and become familiar with it ?

egbert
--
Egbert Bouwman - Keizersgracht 197 II - 1016 DS Amsterdam - 020 6257991
================================================== ======================
Jul 18 '05 #1
5 1572
Egbert Bouwman wrote:
I have not yet found the tutorial or otherwise that explains concepts
like setting (relative) sizes, setting or manipulating focus,
setting colors, etc.


Have a look at the PyGTK tutorial and reference:
http://www.pygtk.org/pygtk2tutorial/index.html
http://www.pygtk.org/pygtk2reference/index.html
and here's a list of articles about PyGTK:
http://www.pygtk.org/articles.html
If you haven't allready done so, be sure the try out Glade, a GUI
builder for (Py)GTK.

-Julien
Jul 18 '05 #2
On Sat, Jul 31, 2004 at 04:42:52PM +0200, Julien Poissonnier wrote:
Egbert Bouwman wrote:
I have not yet found the tutorial or otherwise that explains concepts
like setting (relative) sizes, setting or manipulating focus,
setting colors, etc.
Have a look at the PyGTK tutorial and reference:
http://www.pygtk.org/pygtk2tutorial/index.html
http://www.pygtk.org/pygtk2reference/index.html
and here's a list of articles about PyGTK:
http://www.pygtk.org/articles.html


Yes, I know them , and I am busy reading, using and digesting them,
not too much at a time, and they made possible what I have done so far.
Virtual beers for the authors.
But these texts are the core of my problem as well.
I need something that goes at right angles through them,
linking the related subjects, and giving an overall picture.
If you haven't allready done so, be sure the try out Glade, a GUI
builder for (Py)GTK.
Glade is for later, when I am more comfortable with PyGTK.
Or am I too conservative ?

egbert -Julien
--
http://mail.python.org/mailman/listinfo/python-list


--
Egbert Bouwman - Keizersgracht 197 II - 1016 DS Amsterdam - 020 6257991
================================================== ======================
Jul 18 '05 #3
> Glade is for later, when I am more comfortable with PyGTK.
Or am I too conservative ?


I agree that using Glade may be put off until you understand how things
would be done 'by hand'. But, when experimenting with GUI layouts, it is
useful to do the experimentation with Glade rather than by editing
scripts. Also, playing with Glade gives you a good idea of the widgets
available in the toolkit and how they should be composed.

If you have not already discovered it, check out pygtkconsole.py:

http://aspn.activestate.com/ASPN/Coo...n/Recipe/65109

It lets you build/manipulate GUIs from an interactive python prompt.
Jul 18 '05 #4
P
Egbert Bouwman wrote:
Glade is for later, when I am more comfortable with PyGTK.
Or am I too conservative ?


Unless you need to construct the interface
at run time (for e.g. creating arrays of buttons),
just let libglade create the interface for you.
You gain nothing by doing this drudgery yourself.

Pádraig.
Jul 18 '05 #5
P
Egbert Bouwman wrote:
Glade is for later, when I am more comfortable with PyGTK.
Or am I too conservative ?


Unless you need to construct the interface
at run time (for e.g. creating arrays of buttons),
just let libglade create the interface for you.
You gain nothing by doing this drudgery yourself.

Pádraig.
Jul 18 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Edwin Young | last post by:
Hi, I'm writing a fractal-generating program in a mixture of C and Python. Python handles all the GUI parts using PyGTK. After finishing the calculations, I have a buffer containing the RGB data...
4
by: j_mckitrick | last post by:
Hi all. Here is a tiny container for one of each combo box, along with the glade file. Just 2 widgets, so hopefully not too large. How the heck do I get the selection from the ComboBox, as...
6
by: Mark Mitchell | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have a program written in python that tells me it requires PyGTK, so I DLed, ./configure, make, make install and the process seems to go ok. Some...
1
by: Thomas Bartkus | last post by:
I am experimenting (flailing around?) with glade and python. Both under MS Windows and Linux. I understand why I want to "import gtk" It gives me access to the critical gui program loop...
25
by: TPJ | last post by:
GUI's etc: PyGtk on Windows "(...) So if someone develops mainly for X and just wants to make sure that it is not impossible to run on Windows, you can use PyGTK. (...)", July 2nd, 1999 pyGTK...
14
by: Rod W | last post by:
I'm just starting out on Python but my primary goal is to provide applications with some user interface (GUI). Can someone point me to a good comparison of whether I should use wxPython (with...
1
by: krishnakant Mane | last post by:
hello, I will be writing some code in PyGTK to run on linux. but I want to know if there are any installers or distutils available for PyGTK on windows? I have heard that installing gimp or even...
0
by: He Jibo | last post by:
Hi, Everyone, Could someone help me how to install pygtk? I get some problems with it. Here is the error I get while install pygtk: https://netfiles.uiuc.edu/jibohe2/error.GIF?uniq=-k6678k ...
0
by: Michael Palmer | last post by:
On Sep 16, 12:30 pm, binaryjesus <coolman.gu...@gmail.comwrote: I haven't tried it myself, but I came across a blog post the other day that describes a way of building windows installers for...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.