A woman staring out through a window.
Pensively is defined as something done in a thoughtful manner, often with sadness.
If you stare out the window in deep thought, this is an example of when you starepensively out the window.
(comparative more pensively, superlative most pensively)
pensive + -ly