Re: [pygtk] How to replace a GtkLabel in a GtkTable

2002-06-18 Thread Steve McClure
On Mon, 2002-06-17 at 20:19, Gary Jaffe wrote: I create a GtkTable and attach a GtkLabel in it with table.attach(GtkLabel(label #1), 0, 1, 0, 1) I then try to change the label with table.attach(GtkLabel(label #2), 0, 1, 0, 1) mainWin.show_all() I get the label #2 written on top of

[pygtk] GdkImLib: Image(filename) seems to cache

2002-06-18 Thread Thomas Guettler
Hi! I use GdkImLib.Image(filename) to load and display jpeg files. The picture gets displayed on a window where the user can choose to rotate the image: img=GdkImLib.Image(filename) #(1)... rotate filename with shell script calling image-magic img=GdkImLib.Image(filename) The second time I

[pygtk] Hourglass Cursor?

2002-06-18 Thread Thomas Guettler
Hi! How can I change the cursor to an hourglass? thomas -- Thomas Guettler [EMAIL PROTECTED] http://www.thomas-guettler.de ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ:

[pygtk] Standard Dialog: Yes, No, Cancel

2002-06-18 Thread Thomas Guettler
Hi! Is there a Method/Class for a standard dialog with the usual Yes, No, Cancel buttons? thomas -- Thomas Guettler [EMAIL PROTECTED] http://www.thomas-guettler.de ___ pygtk mailing list [EMAIL PROTECTED]

Re: [pygtk] Hourglass Cursor?

2002-06-18 Thread Steve McClure
On Tue, 2002-06-18 at 14:41, Thomas Guettler wrote: Hi! How can I change the cursor to an hourglass? def busyCursor(self, w, state): if type(w) == types.StringType: win = self.wtree.get_widget(w).get_window() else: win = w.get_window()

Re: [pygtk] Standard Dialog: Yes, No, Cancel

2002-06-18 Thread Thomas Guettler
On Tue, Jun 18, 2002 at 08:45:20PM +0200, Thomas Guettler wrote: Hi! Is there a Method/Class for a standard dialog with the usual Yes, No, Cancel buttons? Since I found no function I wrote on myself. Feedback welcome! +++ import gtk def yesNoDialog(yes_text=Yes, no_text=No,

Re: [pygtk] GdkImLib: Image(filename) seems to cache

2002-06-18 Thread Jonathan Blandford
Thomas Guettler [EMAIL PROTECTED] writes: Hi! I use GdkImLib.Image(filename) to load and display jpeg files. The picture gets displayed on a window where the user can choose to rotate the image: img=GdkImLib.Image(filename) #(1)... rotate filename with shell script calling image-magic

Re: [pygtk] Standard Dialog: Yes, No, Cancel

2002-06-18 Thread Matt Wilson
This exists in GNOME (for GTK+ 1.2 and GNOME 1.4 platforms). GTK+ 2.0 also has stock dialog functionality. Cheers, Matt On Tue, Jun 18, 2002 at 10:14:17PM +0200, Thomas Guettler wrote: On Tue, Jun 18, 2002 at 08:45:20PM +0200, Thomas Guettler wrote: Hi! Is there a Method/Class for a

Re: [pygtk] Standard Dialog: Yes, No, Cancel

2002-06-18 Thread Christian Reis
On Tue, Jun 18, 2002 at 10:14:17PM +0200, Thomas Guettler wrote: On Tue, Jun 18, 2002 at 08:45:20PM +0200, Thomas Guettler wrote: Hi! Is there a Method/Class for a standard dialog with the usual Yes, No, Cancel buttons? Since I found no function I wrote on myself. Feedback

Re: [pygtk] How to replace a GtkLabel in a GtkTable

2002-06-18 Thread Gary Jaffe
On Tuesday 18 June 2002 09:07 am, Steve McClure wrote: On Mon, 2002-06-17 at 20:19, Gary Jaffe wrote: I create a GtkTable and attach a GtkLabel in it with table.attach(GtkLabel(label #1), 0, 1, 0, 1) I then try to change the label with table.attach(GtkLabel(label #2), 0, 1, 0, 1)

Re: [pygtk] GdkImLib: Image(filename) seems to cache

2002-06-18 Thread James Henstridge
Thomas Guettler wrote: Hi! I use GdkImLib.Image(filename) to load and display jpeg files. The picture gets displayed on a window where the user can choose to rotate the image: img=GdkImLib.Image(filename) #(1)... rotate filename with shell script calling image-magic

Re: [pygtk] Standard Dialog: Yes, No, Cancel

2002-06-18 Thread James Henstridge
Thomas Guettler wrote: Hi! Is there a Method/Class for a standard dialog with the usual Yes, No, Cancel buttons? GtkMessageDialog is the preferred widget for this. James. -- Email: [EMAIL PROTECTED] | Linux.conf.au 2003 Call for Papers out WWW:

[pygtk] pygtk ANd pygnome 2

2002-06-18 Thread Rob Brown-Bayliss
I have built and installed the latestversion (as of yesterday at least) of pygtk and gnome-python. There seem to have been very few files writen to the site-packages directory for these two builds, in particular most of the files in gnome are from a previous install. Examples seem to work

Re: [pygtk] pygtk ANd pygnome 2

2002-06-18 Thread Malcolm Tredinnick
On Wed, Jun 19, 2002 at 02:45:19PM +1200, Rob Brown-Bayliss wrote: I have built and installed the latestversion (as of yesterday at least) of pygtk and gnome-python. There seem to have been very few files writen to the site-packages directory for these two builds, in particular most of the

[pygtk] can i draw text over some pictures?

2002-06-18 Thread vincy
I feel headache on how to draw text over some pictures. In my level in pygtk programming, i usually draw text in a label and pack in a widget. and pictures are import from outside and also pack in a widget. but as u all know, widgets should not / cannot overlap. so, how can i make the effect

Re: [pygtk] pygtk ANd pygnome 2

2002-06-18 Thread Tom Cato Amundsen
On Wed, 2002-06-19 at 05:03, Malcolm Tredinnick wrote: On Wed, Jun 19, 2002 at 02:45:19PM +1200, Rob Brown-Bayliss wrote: I have built and installed the latestversion (as of yesterday at least) of pygtk and gnome-python. [snip] Since I don't have orbit-python on this box, none of the