Re: [gtkmm] Popup menus



On Sun, 2002-07-21 at 22:32, nick wrote:
> Hi, I'm having a few problems with popup menus..
> 
> Mainly inconsistencies in the documentation - it defines
> 
> Gtk::Menu::popup (Gtk::Widget& parent, guint button, guint32
> activate_time)
> 
> which isn't in the header file.
> 
> Gtk::Menu::popup (Gtk::Window& toplevel, guint button, guint32
> activate_time)
> 
> is the nearest thing in the header file, but its quite inconvenient to
> have to tell all the widgets about the toplevel window :(

That's why I added the first override in cvs, which you see documented
on the website. But expect this method to change again soon.

> also 
> 
> Gtk::Menu::popup (guint button, guint32 activate_time)
> 
> from gtk--1.2 isn't included anymore. Any particular reason?

Popup menus seem to need to know about their Windows so that they can
share a set of accelerator keys.

-- 
Murray Cumming
murrayc usa net
www.murrayc.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]