Project

General

Profile

Actions

Feature #13841

closed

Allow the WApplication to retrieve the currently focused widget

Added by Matthias Van Ceulebroeck 10 months ago. Updated 29 days ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
07/17/2025
Due date:
% Done:

0%

Estimated time:

Description

Currently, it is possible to query each widget to see whether is has focus (WWidget::hasFocus()).
This can be used to perform render changes on updates, contained to that widget.

When changes in focus occur, this is always sent to the server, so that this state remains consistent.
The WApplication should be able to tell which element is in focus. That way a developer is able to more easily know where users are on the page, or if some widget should be updated in a certain way.

Actions #1

Updated by Romain Mardulyn 9 months ago

  • Status changed from New to InProgress
  • Assignee set to Romain Mardulyn
Actions #2

Updated by Romain Mardulyn 9 months ago

  • Status changed from InProgress to Review
  • Assignee deleted (Romain Mardulyn)
Actions #3

Updated by Matthias Van Ceulebroeck about 1 month ago

  • Assignee set to Matthias Van Ceulebroeck
Actions #4

Updated by Romain Mardulyn about 1 month ago

  • Status changed from Review to Implemented @Emweb
  • Assignee changed from Matthias Van Ceulebroeck to Romain Mardulyn
Actions #5

Updated by Romain Mardulyn about 1 month ago

  • Status changed from Implemented @Emweb to Closed
Actions

Also available in: Atom PDF