Bug 987596
Summary: | add functions to get size/position of a component | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dan Winship <danw> | ||||
Component: | newt | Assignee: | Miroslav Lichvar <mlichvar> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | rawhide | CC: | mlichvar | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-08-06 16:31:56 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Thanks for the patch. It's pushed to the newt git. This is in newt-0.52.16-1.fc20. |
Created attachment 777426 [details] patch I want to have some pop-up menus in my newt-based UI. A listbox in its own window works great; the only problem is figuring out where to put it (since everything else is getting laid out via a grid). This patch adds newtComponentGetSize() and newtComponentGetPosition(), to peek at the corresponding internal fields, so I can see where the grid put my components, and then position the menu accordingly.