Hi. I have a VBox which contains a few buttons and a TreeView. For the buttons I call set_border_width(), but this doesn't have any effect on the TreeView. I understand that I should wrap TreeView inside another container. What's the usual 'neutral' container I should use to give TreeView a padding border? Here's a code extract:
self.button2 = gtk.Button("title") self.box1.pack_start(self.button2, 1, 1, 0) self.button2.connect("clicked", self.clicked_button2, "hello", "world") self.button2.set_border_width(5) self.button2.show() self.list = gtk.TreeView(create_model()) self.box1.pack_start(self.list) self.list.set_border_width(50) self.list.set_rules_hint(1) self.list.set_headers_visible(0) Another thing I would like to do is have the TreeView always have the height of five rows. When I store five rows, this is ok, but when I introduce 3, the TreeView height decreases accordingly. One solution I found is to insert empty rows. However, these rows are selectable by the user. Is it possible to have void spacing rows? _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/