I'm trying to produce a menu effect in PyGTK similar to the Mozilla tab bar,
where a right-click on the tab produces a popup menu to perform various
actions on the tabs (and/or contents thereof).  I can get most of the way
(sort of) with a button-press-event handler, but there's a couple of things
I can't manage to effect: (a) A right-click on the untabbed portion of the
tab list still gives the menu, and (b) I can't work out which tab was
clicked on.

I thought I was on a winner with Notebook.append_page_menu(), but that turns
out to do things totally different to what I thought (and hoped) it did.

Does anyone know of a way this can be done?  I've googled, checked the API
docs and the PyGTK FAQ at async.com.br without luck, and the helpful guys on
IRC didn't have any immediate suggestions.  Help!

- Matt

Attachment: signature.asc
Description: Digital signature

_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to