[Lazarus] TPopupMenu bug

Michael Van Canneyt michael at freepascal.org
Mon May 18 15:15:22 CEST 2009



On Mon, 18 May 2009, Mattias Gärtner wrote:

> Zitat von Michael Van Canneyt <michael at freepascal.org>:
>
>> [...]
>> I think that if I specify my own TPopupMenu, then that should replace
>> whatever GTK thinks it should put there. If I don't specify one, then
>> the standard GTK one is used. I don't want merging or whatever.
>> 
>> It's the same as what happens on Windows.
>
> I don't know what windows has as default menu items.
>
> Ok, so you vote against using the gtk2 bidi system and easy switching input 
> methods, which afaik is needed by many asian languages. But I'm no expert - 
> maybe you are right.
> Perhaps there is some one here who knows about the gtk2 imm features and can 
> tell what we will loose?
> Should I ask on the gtk2 list?

I don't think so; The point is that the system should behave the same on all
platforms, i.e. assigning a popupmenu removes the system-defined popup menu.

Otherwise you'd have to merge the system popup menu on e.g. windows as well, 
and I don't think you have access to that.

Michael.


More information about the Lazarus mailing list