libgui:Add native window attribute to query usage