Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. QWebPage::swallowContextMenuEvent?

QWebPage::swallowContextMenuEvent?

Scheduled Pinned Locked Moved Qt WebKit
1 Posts 1 Posters 847 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    zeveck
    wrote on last edited by
    #1

    Can somebody explain the behavior of QWebPage::swallowContextMenuEvent? "As documented":http://harmattan-dev.nokia.com/docs/platform-api-reference/xml/daily-docs/libqt4/qwebpage.html#swallowContextMenuEvent it seems it should return true if the JS suppresses the context menu, but when I try
    @window.oncontextmenu = function() {
    return false;
    }@
    it still returns false. When should it be expected to actually return true?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved