Generally you do not need to worry about those parameters. They are
mainly used internally by the GTK menu code. You use them if you do not
want the menu to be displayed right at the cursor (as would happen when
you have a cascading submenu -- you want it displaced to the right of its
parent menu).
For context menus, leaving those arguments as None will give the desired
result.
James.
--
Email: [EMAIL PROTECTED]
WWW: http://www.daa.com.au/~james/
On Wed, 7 Jul 1999, Fred L. Drake wrote:
>
> Fred L. Drake writes:
> > Calling GtkMenu.popup() is another matter. ;-( I could not find
> > any examples of its use in the examples/ directory. I think I
> > understand the last two parameters, but the first three are
> > confusing. Are there any examples I can look at?
>
> Yet another follow-up to my own mail... ;-(
> Passing None for the first three parameters does the "right" thing,
> so I have it working. The parameters remain somewhat a mystery, even
> after reading some of the interface code and Gtk+ implementation; an
> explanation of when I should pass non-None values would be
> appreciated.
>
>
> -Fred
>
> --
> Fred L. Drake, Jr. <[EMAIL PROTECTED]>
> Corporation for National Research Initiatives
> To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
>
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]