[pygtk] Window destroyed and show up again

2010-12-11 Thread José Luis Segura Lucas
Hello people. In my program, I need to show a window and, after being closed by the user, it will be re-opened after a few time under certain circumstances. When I close at the first time the window, the hide callback is called, I free the objects using the window XID (my program use that XID to

[pygtk] Problem with scrolledwindow on a notebook

2010-08-06 Thread José Luis Segura Lucas
Hello! I'm using a scrolled window widget inside a notebook page (the second page of my notebook). If I go to the second page, I see the scrolled window empty, and if I return to the first notebook page again and add some elements, then I can see the elements on the second page. But, if I don't

[pygtk] Resize a non-decorated window

2009-07-09 Thread José Luis
Hi people! I have a program with a Window without decorations. I need to be able to resize the window. I can move it using the shift key and using the left mouse button, but I don't know if there is any way to resize my window. Can you help me? ___

[pygtk] Two models: can I have only one?

2008-10-29 Thread José Luis
Hello to all! First, I explain my situation: I have one treeview and one combobox on my GUI. The treeview model contains objects (it is a ListStore(object)). The ComboBox model has only strings (ListStore(str)). My problem is that the information represented by the second model is a subset of

[pygtk] Problem with shrinking a Table on a ScrolledWindow

2008-10-23 Thread José Luis
Hello people! I'm having a trouble when I shrink a window that contains the following widgets tree: + ScrolledWindow + Viewport + Table + Frame1 + Frame2 . When I expand my main window, the

[pygtk] GTK_CELL_RENDERER_GET_CLASS (cell)-get_size != NULL (assertion failed)

2008-09-29 Thread José Luis
Hello everybody! I'm creating a special CellRenderer. I have a class which inherits from gtk.CellRenderer. I correctly registered on gobject with gobject.type_register and everything. When the cell is rendered I always get this warning: GtkWarning: gtk_cell_renderer_get_size: assertion

[pygtk] Differents CellRendererS on the same column

2008-09-19 Thread José Luis
Hi people! This is my first message on the list. I need to do a Tree View a little extrange: it only have 2 columns: the left one will always be a string, and I can use CellRendererText for all the rows. My problem is with the right column: I need a different renderer on each row, for example: