On Windows, dropdowns are drawn as seperate popup windows which sit on top of all other content. I.e. They are not drawn into the browser window.

The Win32 code to do this is in :-

[mozilla]\widget\src\windows\nsWindow.cpp

... then do a search for 'popup'

Sounds like a similar thing is happening under gtk ...




Mattias Nordstrom wrote:
Hi.

I'm writing an embedded browser using the gtkmozembed widget. The browser runs directly under X (no window manager). I've got everything working perfectly except dropdown menus. They just flash when I click at them, however, if I run the browser under a window manager, they work they way they should. Does anyone know if there is a signal I need to catch or how should I get the dropdowns working?

Thanks in advance.

--
Mattias Nordstr�m
Systems Design
Oy Realnode Ab





Reply via email to