Questions tagged [window-management]

79 questions
2
votes
1 answer

Expression-Blend-3 - Has Anyone Lost a Window? How Can You Get It Back?

Here's what I did: Right-clicked on an item in the 'Objects and Timeline' panel. Selected 'View XAML' Resized the window to a '0' size so that it went off the bottom of the screen. Now, even if I: Select 'Reset Current Workspace'... Or restart…
Jim G.
  • 15,141
  • 22
  • 103
  • 166
2
votes
2 answers

How to manipulate a window in Linux

I've been programming in Linux for years but don't have too much knowledge in the perspective of display. Now I'm asked to write a separate process that will monitor which window (probably not the window created by my process) is focused by the user…
Hanks
  • 349
  • 1
  • 2
  • 15
2
votes
2 answers

What's the name of the behaviour of the "buddy list" window of pidgin?

I noticed the following feature of the "buddy list" window of pidgin on windows: If you drag the window not far from the top right corner of the desktop, the following things happen: The appearance of the border slightly changes: Before: After:…
Samuel Rossille
  • 18,940
  • 18
  • 62
  • 90
2
votes
1 answer

When are qt windows created?

If QWidget is created without a parent, it creates a window. So, when exactly is the window created? Is it when the show() is called? Or when the object is constructed?
BЈовић
  • 62,405
  • 41
  • 173
  • 273
1
vote
2 answers

Is there a way to determine if a top level Qt window has been moved?

I am trying to determine when the main window of my application has been moved. The main window is a standard QMainWindow and we've installed an eventFilter on the QApplication to look for moveEvents for the QMainWindow, but none are being…
Joe Corkery
  • 2,564
  • 3
  • 18
  • 26
1
vote
2 answers

How do i open a new terminal in python and control it?

how do I, crossplatform, open a new terminal window and control it? I want to be able to send text to the terminal, and recieve keyboard inputs, without needing to run in console mode, as this program will be running as a pyw and not py. I havent…
nate_4000
  • 13
  • 3
1
vote
0 answers

System-wide recognition of scroll events on Mac OSX and setting focus to a different window

I'm registering for global mouse wheel events in my cocoa application. My goal is to have some kind of background application to be able to focus a window of another application when the user scrolls in it's window. If possible with Objective-C and…
Akku
  • 4,373
  • 4
  • 48
  • 67
1
vote
0 answers

Does Qt provide a way to get notified when the user starts and/or stops moving or resizing a top-level window?

While answering a different StackOverflow question I realized that a 100% correct solution would need to know when the Qt application's window was being dragged or resized by the user's mouse, so that it would refrain from moving or resizing itself…
Jeremy Friesner
  • 70,199
  • 15
  • 131
  • 234
1
vote
1 answer

Qt - Catch events normally handled by the Window Manager

I'm not sure quite how to phrase the question concisely, so if there is a similar question, please point me in the right direction and close this one. I am currently building a CAD app, the user interacts within the 3D viewports primarily through…
cmannett85
  • 21,725
  • 8
  • 76
  • 119
1
vote
1 answer

Terminal doesn't open window on top Mac - Atom

I am currently using Atom to code in Python3 on my Mac and I have a package installed ("atom-python-run") which launches a terminal window with the command "python3 {path}" with 'path' being the current working directory with filename.py included.…
1
vote
1 answer

Roll up / shade floating windows in awesome?

I am trying out awesome at the moment coming from KDE/MATE since many years and I really like it a lot. There's really only one thing that I'm missing from my previous workflows. Occasionally I'm working with applications that have a lot of floating…
julsVFX
  • 25
  • 5
1
vote
2 answers

Moving window on the screen

Is there any shortcuts to move/drag the window(box) on the screen when the window is not maximized without changing its dimension? Say I want to drag the vim/emacs editor window to the left side/middle/right side of my screen so it doesn't cover…
ACuriousCat
  • 1,003
  • 1
  • 8
  • 21
1
vote
1 answer

Use Python to resize the active window to half the screen size in Linux?

This question is a follow up to: Manipulate window size in linux via compiled code? Per the title, I want to resize the active window to half the screen size (either on the left or the right of the screen. I can do this with a bash script as follows…
jonderry
  • 23,013
  • 32
  • 104
  • 171
1
vote
1 answer

How to get the title of the current Aquamacs window using applescript

I'm trying to programmatically retrieve the major mode of aquamacs. I had a few ideas: get the menubar items, get the window title and parse it using regexes. I've tried both, and ran into a problem, both the menubar and window arrays are empty,…
1
vote
1 answer

How can I show/hide a window with a hotkey?

I'm looking for a way to show/hide a window with a specific title. One example is when you press win+1, the first window at task bar will show, when you press again, it will be minimized. I checked this page, but the methods they suggested are not…
Deqing
  • 14,098
  • 15
  • 84
  • 131