After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 613279 - Gtk2::Menu docs of popup()
Gtk2::Menu docs of popup()
Status: RESOLVED FIXED
Product: gnome-perl
Classification: Bindings
Component: Gtk2
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: gtk2-perl-bugs
gtk2-perl-bugs
Depends on:
Blocks:
 
 
Reported: 2010-03-18 22:04 UTC by Kevin Ryde
Modified: 2010-03-31 17:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
docs of Gtk2::Menu::popup() (1.33 KB, patch)
2010-03-18 22:04 UTC, Kevin Ryde
committed Details | Review
show $menu->reposition (1.06 KB, patch)
2010-03-30 23:14 UTC, Kevin Ryde
committed Details | Review

Description Kevin Ryde 2010-03-18 22:04:00 UTC
Created attachment 156517 [details] [review]
docs of Gtk2::Menu::popup()

The docs for Gtk2::Menu could show how the popup() callback works, per attachment.  In particular I think it should note how the func and data are stored in the menu as that's a bit subtle and affects circular references.
Comment 1 Torsten Schoenfeld 2010-03-29 13:34:37 UTC
Committed.  Thanks!
Comment 2 Kevin Ryde 2010-03-30 23:14:32 UTC
Created attachment 157545 [details] [review]
show $menu->reposition

That was quick :-).

Actually can I have this bit on top, showing $menu->reposition which I had overlooked and is probably the main way positioning would be re-run.
Comment 3 Torsten Schoenfeld 2010-03-31 17:05:06 UTC
Committed too, thanks.  But I kept the "as" in front of the call signature.