By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,369 Members | 1,197 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,369 IT Pros & Developers. It's quick & easy.

PyGTK overload

P: n/a
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
Share this Question
Share on Google+
5 Replies


P: n/a
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

P: n/a
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

P: n/a
> 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: n/a
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: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.