Now when I try to use any of the menu stuff it segfaults without
explanation.
Happy to see I'm not the only one ;-) I guess there is really a bug, it's
not in your code. But as far as I remember, the stack at crash time does not
point into pygnome, so if there is a bug in it, it appears with
On Fri, Feb 25, 2000 at 09:41:45AM +0200, Moshe Zadka wrote:
It's probably extremely easy, but I'm having problems figuring
out how to display a file dialog so when it's active, the rest of
the application doesn't respond.
Do I need a seperate event loop, or something like that?
This sounds
On Fri, 25 Feb 2000, Aaron Optimizer Digulla wrote:
On Fri, Feb 25, 2000 at 09:41:45AM +0200, Moshe Zadka wrote:
It's probably extremely easy, but I'm having problems figuring
out how to display a file dialog so when it's active, the rest of
the application doesn't respond.
Do I need
You can use the set_modal method of any GtkWindow derived class:
window.set_modal(TRUE)
When the dialog is shown, it will act as any other dialog, but no other
window can take input. It will loose modality when it is hidden or
destroyed.
Unless you really have to it is probably better not to
On Fri, Feb 25, 2000 at 12:21:04PM +0200, Moshe Zadka wrote:
[...how to create a modal file requester...]
This sounds like "I want to annoy the user". Why do you want it
modal ?
The main application window is all kinds of bells and whistles, among
which is a place to fill in a file name.
On Fri, 25 Feb 2000, James Henstridge wrote:
You can use the set_modal method of any GtkWindow derived class:
window.set_modal(TRUE)
Thanks.
Unless you really have to it is probably better not to use a modal dialog,
as most users prefer non modal dialogs.
This maybe slightly off-topic,
On Fri, Feb 25, 2000 at 01:41:04PM +0200, Moshe Zadka wrote:
Unless you really have to it is probably better not to use a modal dialog,
as most users prefer non modal dialogs.
This maybe slightly off-topic, since it's more about UI design then about
PyGTK specifically, but the alternative
If there is part of the GUI that the user shouldn't use while the dialog
is open, consider making it insensitive (with set_sensitive(FALSE)). This
is sometimes nicer than making a window application modal.
James.
--
Email: [EMAIL PROTECTED]
WWW: http://www.daa.com.au/~james/
On Fri, 25 Feb
My previous experience in Python GUI toolkits was with Tkinter. In
Tkinter, the official advice was ``don't inherit from anything except
Frame''. I wonder what the official advice about PyGTK is.
Is it considered politically correct to inherit from Gtk[VH]Box?
Are there any caveats?
Thanks in
On Fri, 25 Feb 2000, Aaron Optimizer Digulla wrote:
On Fri, Feb 25, 2000 at 01:41:04PM +0200, Moshe Zadka wrote:
This maybe slightly off-topic, since it's more about UI design then about
PyGTK specifically, but the alternative I'm considering is to make
it into a dialog which replaces
I've been trying to play a bit with GtkCTree, and I can't seem
to get anything useful out of it. Does anyone have small
sample code which displays a GtkCTree?
Thanks.
--
Moshe Zadka [EMAIL PROTECTED].
INTERNET: Learn what you know.
Share what you don't.
To unsubscribe: echo "unsubscribe" |
After a call to a timeout, which does gtk calls and network calls, my application
locks up. Any ideas??
thanks,
- Scott
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
On Fri, Feb 25, 2000 at 08:59:15PM +0200, Moshe Zadka wrote:
I've been trying to play a bit with GtkCTree, and I can't seem
to get anything useful out of it. Does anyone have small
sample code which displays a GtkCTree?
this is off the top of my head, but it should be close to
something
In more complex Tkinter projects, that rule does not seem to be followed.
Usually you may want to subclass an existing widget to get some special
behaviour. In both pygtk and Tkinter cases, subclassing a widget is the
easiest way of achieving this.
I don't really have any specific
14 matches
Mail list logo