WebGadget: contextmenu, popupmenu ?
Posted: Sat Aug 07, 2010 11:05 am
Hello,
after successfully enabling the Webgadget on Linux I'd like to built up a small browser for local concerns.
But I got stuck at the point that there is no contextmenu at all. Is there a special APIcall needed to get it displayed?
So I hoped to built my own popupmenu but this too doesn't seem to be possible. I tried to check the events - but all mouseevents are neither available directly nor via #PB_Event_Gadget... .
I also saw this help-note:
Notes: Popup windows and popup menues are not supported on the WebGadget on Linux.
However, the #PB_Web_BlockPopups can still be set to enable the #PB_EventType_PopupWindow event.
The same also applies for #PB_Web_BlockPopupMenu.
but even if I set these attributes neither the contextmenu, nor the gadgetevents apear and still no popupmenu can be implemented. (Maybe these constants are only meant for the actual page concerns allowing their popups but not for the webgadget handling ?)
Maybe my approach is wrong in itself and one can only handle webgadget 'activities' by installing extra buttons?
Unfortunately I could not find a single code example on the forum to help me out and contextmenu questions only concerned how to disable it
greetings ~ Vera
ps: is there a way to debug the constant-value of an event or only it's number?
Debug ???? -> #PB_....
after successfully enabling the Webgadget on Linux I'd like to built up a small browser for local concerns.
But I got stuck at the point that there is no contextmenu at all. Is there a special APIcall needed to get it displayed?
So I hoped to built my own popupmenu but this too doesn't seem to be possible. I tried to check the events - but all mouseevents are neither available directly nor via #PB_Event_Gadget... .
I also saw this help-note:
Notes: Popup windows and popup menues are not supported on the WebGadget on Linux.
However, the #PB_Web_BlockPopups can still be set to enable the #PB_EventType_PopupWindow event.
The same also applies for #PB_Web_BlockPopupMenu.
but even if I set these attributes neither the contextmenu, nor the gadgetevents apear and still no popupmenu can be implemented. (Maybe these constants are only meant for the actual page concerns allowing their popups but not for the webgadget handling ?)
Maybe my approach is wrong in itself and one can only handle webgadget 'activities' by installing extra buttons?
Unfortunately I could not find a single code example on the forum to help me out and contextmenu questions only concerned how to disable it
greetings ~ Vera
ps: is there a way to debug the constant-value of an event or only it's number?
Debug ???? -> #PB_....