Opened 3 years ago

#17736 new enhancement

API for querying the window hierarchy of a display

Reported by: hgsfghs Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Kits/Application Kit Version: R1/beta3
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Haiku currently lacks a public interface for applications to query the window tree of the display, making simple tasks such as determining the frame rectangle of the window underneath the pointer difficult.

An ideal interface would be similar to the private `get_window_order' interface in WindowInfo.h. It should return a list of BWindows that are visible on the current workspace; that list can contain BMessengers (instead of BWindows) for windows that were created by other applications.

Change History (0)

Note: See TracTickets for help on using tickets.