Re: sending keystrokes to gtk window

2006-01-25 Thread Johan Dahlin
sven wrote: > hi list, > i'd like to send keystrokes to a (terminal) window. > the windowmanager is gnome (ubuntu). > what i want to do is to control dvgrab which can be > started in interactive mode. > thx in advance, This is not entirely trivial to do. The best way to do that would be to use the

Re: PyGTK Notebook button_press_event connection

2006-01-24 Thread Johan Dahlin
ESS_MASK) eventbox.connect('button-press-event', callback) label = gtk.Label() eventbox.add(label) notebook.append_page(..., eventbox) Perhaps you should subscribe to the PyGTK mailing list[1] though, where this kind of question is more appropriately asked [1]: http://www.daa.com.au/mailma