On Tue, 27 Mar 2001, Paul Spencer wrote:
> Hi all,
>
>
>
> I would like to set a busy cursor during a lengthy calculation. I have
> discovered that I can do the following:
>
> ...
> win = self.get_window()
> cur = gtk.cursor_new(cursor_idx)
> win.set_cursor(cu
Hello there,
How does one change the default icon that appears
in the upper left of a GtkWindow on Windows? I tried using
pix, mask = gtk.create_pixmap_from_xpm(self, None,
'path-to-xpm')self.set_icon(pix, mask)
and
self.set_icon_name('path-to-xpm')
neither works and I get the l
Hi all,
I would like to set a busy cursor during a lengthy calculation. I have
discovered that I can do the following:
...
win = self.get_window()
cur = gtk.cursor_new(cursor_idx)
win.set_cursor(cur)
...
where cursor_idx is one of the ones listed in GD
[python 1.5.2, gtk 1.2.8, pygtk 0.6.6]
The GTK+ 1.2 Tutorial, in the section on Managing Selections >>
Supplying the selection, seems to state that one clears the X selection
by setting the owner to NULL:
/* Before clearing the selection by setting the owner to
NULL,
On Tue, 27 Mar 2001, berger patrick wrote:
> Hi all,
>
> i have a little problem with signal function
>
> i have this in a window class :
> ok_button.connect("button_press_event", ok_clicked(entry))
First of all, you probably want to connect the function ok_clicked, rather
than the return valu
Hi all,
i have a little problem with signal function
i have this in a window class :
ok_button.connect("button_press_event", ok_clicked(entry))
and the function :
def ok_clicked(ancestor):
text = GtkEditable.get_chars(ancestor, 0, -1)
at run time i have this message :
Traceback (most
On Tue, 27 Mar 2001, Danie Roux wrote:
> How can I translate strings in my .glade files? I saved the strings in a
> seperate file from glade. And made that file part of my POTFILES.IN. And I
> do get the strings in my .pot files to translate. But it doesn't show.
>
> The rest of my program does
How can I translate strings in my .glade files? I saved the strings in a
seperate file from glade. And made that file part of my POTFILES.IN. And I
do get the strings in my .pot files to translate. But it doesn't show.
The rest of my program does translate.
--
Danie