Project

General

Profile

Actions

Feature #13841

open

Allow the WApplication to retrieve the currently focused widget

Added by Matthias Van Ceulebroeck 2 months ago. Updated about 1 month ago.

Status:
Review
Priority:
Normal
Assignee:
-
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 about 1 month ago

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

Updated by Romain Mardulyn about 1 month ago

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

Also available in: Atom PDF