Re: [pygtk] Change background color?

2007-06-26 Thread John Dennis
On Tue, 2007-06-26 at 22:55 -0400, Sylvain Saleur wrote: > Hello! > > I'm trying to change the background color of a part of my program. > I would like the background in white but I don't know how to do it... > > If you have any suggestion... The FAQ is your friend :-) It tells you the answer to

[pygtk] Change background color?

2007-06-26 Thread Sylvain Saleur
Hello! I'm trying to change the background color of a part of my program. The structure is the following: Notebook page |_Frame |_HBox |_Scrolledwindow |_VBox |_label |_image |_buton I would like the background in white but I don't

Re: [pygtk] using Py_BuildValue or return statement

2007-06-26 Thread Hrvoje Nikšić
On Mon, 2007-06-25 at 00:03 -0700, varun_shrivastava wrote: > Is there a difference between returning a python object using > return py_obj; > or > Py_BuildValue("O",py_obj); Py_BuildValue will increment the object's reference count. In this case it doesn't make sense to use Py_BuildValue, you ca