[Webkit-unassigned] [Bug 16115] [GTK] ContextMenu and ContextMenuItem lacks an implementation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Nov 25 11:45:26 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=16115


christian at twotoasts.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |christian at twotoasts.de




------- Comment #2 from christian at twotoasts.de  2007-11-25 11:45 PDT -------
Nice work, apparently you were faster than me with this one. :)

> - How to map that into an API?
The "populate-popup" seems to be a natural choice. It provides a pointer to a
GtkMenu to append or prepend custom items. This of course only really makes
sense once we have means of retrieving the element in question.

We probably want imageMenuItem's and make the edit items match those of a
GtkEntry. And connect to "popup-menu" to show the menu via keyboard.

> - We need to morph a GtkMenuItem to a GtkCheckMenuItem on the fly. So it
might make sense to not create a GtkMenuItem in ContextMenuItem until we need
it or not at all. With the internal API we do not know what we are going to be.
On the fly creation of the items makes the most sense to me.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list