[PyGTK] forbid focus of TreeView columns

2005-02-21 Thread Franck Pommereau
Hi all, I'm building a PyGTK interface in which I would like that no widget would be able to get the focus (and so to be activated by pressing the Return key). For this purpose, for each widget, I do: widget.set_property("can-focus", gtk.FALSE) My problem is a TreeView which has a clickable

[PyGTK] Resizing a HandleBox

2005-02-21 Thread Franck Pommereau
Hi all, I'm using PyGTK-2.0.0, when I detach a HandleBox, the resizing of the newly created window is broken: it can be resized but it's content (the HandleBox and its child) is not affected at all and is not resized. Does any one have a solytion to this problem? Thanks in advance! Franck -- htt

Re: Setting sizes of widgets (PyGTK)

2005-03-11 Thread Franck Pommereau
Harlin Seritt wrote: I have the following code and I would like to know how to set the length and width of widgets like Buttons. When the window opens the button fills up the space even though I have told it not to. Your button is stretched horizontally because there is nothing to put around it in

The problem of anonymity with decorators

2006-02-07 Thread Franck Pommereau
Dear all, I would like to work around the "anonymizing" effect of decorators when an exception is raised in the wrapped function. Let's consider the following example: def int_result (fun) : def wrapped (*largs, **kwargs) : result = fun(*largs, **kwargs) if not

Re: The problem of anonymity with decorators

2006-02-08 Thread Franck Pommereau
Alex, Michele and Skip, Many thanks for your help, I should find my way by putting all these information together. Best regards, Franck -- http://mail.python.org/mailman/listinfo/python-list

Re: how to traverse network devices in our system?

2006-05-18 Thread Franck Pommereau
> Yes, it is Linux. I was just googling and found that there are kudzu > bindings for python. From that i can query kudzu for any configured and > unconfigured device (i hope so). is there any other method available > other kudzu python bindings ? I do it using DBus/Hal, for instance: ###

Re: Python / glade fundamentals

2006-03-20 Thread Franck Pommereau
> maybe you will find it easyer to use GladeGen to generate the > skeleton of your application rather then coding it yourself. Take a > look here: http://www.linuxjournal.com/article/7421 You may also use my PyGG module: http://freshmeat.net/projects/pygg Cheers, Franck -- http://mail.python

[Off topic] Re: Backing Up VMWare

2006-04-11 Thread Franck Pommereau
> Hello - has anyone written a Python script to backup VMWare servers? > If so, I'd appreciate any pointers as to how to go about doing so. Nothing to do with Python, but... Under Linux, VMware disks are mountable using the script vmware-mount.pl, see: http://www.vmware.com/support/reference/li