Re: [pygtk] gtk.main()

2006-01-24 Thread Jakub Piotr Cłapa
Paul Malherbe wrote: Hello I am currently using the following and I am sure it is not the correct way but it seems working. But what are you using it for? ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read

[pygtk] Re: PyGTK Notebook button_press_event connection

2006-01-24 Thread Johan Dahlin
code notebook = gtk.Notebook() ... child = gtk.Frame() ... label = gtk.Label('Any text') label.connect('button_press_event', a_function) ... notebook.append_page(child, label) /code But the button_press_event event is not intercepted (nothing happens when I click on the tab label). A

Re: [pygtk] accessibility mystery

2006-01-24 Thread Rich Burridge
Hi Dusty, Thanks Rich, I think that's exactly the start I'm looking for. I notice it uses bonobo to access the registry, does this mean gnome must be running? Not the whole of GNOME. I've run AT-SPI programs under CDE, the other operating system that comes standard on Solaris, and they've

[pygtk] Multi-paned window

2006-01-24 Thread Luigi Paioro
Hi to all! I'm new to PyGTK programming (I used Tk widgets) and I'd like to know whether it exists a way to have a multi-paned window widget. I explain better: I can use a gtk.HPaned() or gtk.VPaned() widget to pane 2 widgets, for example: import pygtk pygtk.require('2.0') import gtk,

[pygtk] Howto set the length of GenericTreeModel

2006-01-24 Thread Richard Taylor
Hi I am trying to build a subclass of GenericTreeModel for use with a large Berkeley DB database. I have it just about working but one thing I noticed is that TreeView appears to work out the length of the GenericTreeModel by repeatably calling GenericTreeModel.on_iter_next(iter). For a large

[pygtk] Strange ajustments behaviour

2006-01-24 Thread João Paulo Silva
Hi everyone, I'm trying to lead with adjustments. Supose that I have a HBox with a Viewport and a VScrollbar inside it, sharing the same vertical Adjustment: ## self.hbox = gtk.HBox() window.add(self.hbox) self.hbox.show() self.text_view_viewport = gtk.Viewport()