Red Hat Bugzilla – Bug 987596
add functions to get size/position of a component
Last modified: 2013-08-06 12:31:56 EDT
Created attachment 777426 [details]
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.
Thanks for the patch. It's pushed to the newt git.
This is in newt-0.52.16-1.fc20.