Questions tagged [window-management]
79 questions
51
votes
2 answers
Inhibit Matlab Window Focus Stealing
Is there a way to tell Matlab not to steal window focus (from an external editor) such as Emacs) upon graphical commands such as figure and plot. This would increase my productivity a lot because I often want to continue code development during data…

Nordlöw
- 11,838
- 10
- 52
- 99
47
votes
3 answers
Show window in Qt without stealing focus
I'm using the Qt library to show a slideshow on the second monitor when the user isn't using the second monitor. An example is the user playing a game in the first monitor and showing the slideshow in the second monitor.
The problem is that when I…

dutchmega
- 1,384
- 2
- 12
- 16
47
votes
5 answers
Turtle graphics - How do I control when the window closes?
I have a small python script which draws some turtle graphics. When my script has finished running, the turtle screen automatically closes, so to be able to see the graphics for a while I have to use time.sleep(5) at the end of the script to delay…

Tomas Aschan
- 58,548
- 56
- 243
- 402
26
votes
8 answers
Creating a window manager for Linux
I want to create a simple stacking window manager (in C) for private use, mainly for the purpose of learning and challenging myself.
I've looked through twm's source code which has relatively few bells and whistles but it seems very low level since…

Iceland_jack
- 6,848
- 7
- 37
- 46
15
votes
1 answer
Strange sdl side-effect on unrelated windows
When playing with sdl2 via pysdl2 I noticed this strange side-effect where once the sdl script runs unrelated windows which would normally become translucent when moved do now stay opaque.
I wouldn't mind all that much if it weren't for the nagging…

Paul Panzer
- 51,835
- 3
- 54
- 99
11
votes
6 answers
How to get list opened windows in PyGTK or GTK in Ubuntu?
How to get list opened windows in PyGTK or GTK or other programming language? in Ubuntu?
edit:
i want get list paths opened directories on desktop!

john
- 868
- 1
- 8
- 8
10
votes
5 answers
Accessing dock icon right-click menu items with AppleScript
Is there any way to get an AppleScript to access the menu items that come up when you right click on a dock icon?
Specifically, here's what I want to do:
I use Google Chrome as my web browser on MacOS X Snow Leopard. I am a keyboard shortcut…

Daisy Sophia Hollman
- 6,046
- 6
- 24
- 35
9
votes
1 answer
How does OS X load a storyboard based app, and how does it do window management?
I'm working on a brand new OS X app, and I've taken the daring route of working with a few technologies I haven't used much before. (I'm an iOS developer.)
I'm using Storyboards, Swift, and Core Data in my app, all from the Xcode template. When my…

Moshe
- 57,511
- 78
- 272
- 425
7
votes
2 answers
How can I make window movement commands ignore a certain window?
So I generally have 3 buffers open in Emacs.
One buffer for the actual code I am writing.
One buffer for the unit test for said code.
A third buffer that displays the results of the unit test. This buffer comes into being
below the two other…

Stephen Cagle
- 14,124
- 16
- 55
- 86
6
votes
1 answer
Writing Tiling window manager in Python
I have been using Awesome Tiling window manager for over 6 months now, and quite happy with this.
I would like to write my own Tiling window manager as a weekend project and for hackfun. I noticed that Xmonad and dwm are very small. I am aware of…

18bytes
- 5,951
- 7
- 42
- 69
6
votes
3 answers
Xcode: changing double clicking file behavior
One of my projects suddenly had its double-clicking behavior changed and I don't know how to change it back.
The behavior I want:
Double clicking a source code file opens up a new window.
The behavior I have:
Double clicking a source code file opens…

Corey Floyd
- 25,929
- 31
- 126
- 154
5
votes
2 answers
How do I get a list of all windows on my gnome2 desktop using pygtk?
I'm a bit confused with some gtk and gnome concepts. I'm trying to get list of non minimized windows on my gnome2 desktop, but after reading the pygtk documentation and inspecting the results, I can't understand the results.
Neither of the two…

Pico
- 593
- 1
- 5
- 15
5
votes
3 answers
Create a special visual selection tool for Image
I want to create a special kind of selection, in which the image darkened and in part which user is selecting, the real Image is shown. You can see an Example:
I found two approaches for implementing this:
Implementing a control which show the…

bman
- 5,016
- 4
- 36
- 69
5
votes
3 answers
reactivate exiting window using WindowManager
I am using WPF with the currently latest and greatest version of Caliburn.Micro (1.4.1). I use IWindowManager.ShowWindow(...) to open an new modeless window:
private void OpenOrReactivateInfoView()
{
if(this.infoViewModel == null)
{
…

bitbonk
- 48,890
- 37
- 186
- 278
4
votes
2 answers
Handling maximized windows using SDL
We recently ported Bitfighter from GLUT to SDL. There were numerous benefits to doing this, but a few drawbacks as well, especially in the area of window management.
Bitfighter runs in a fixed-aspect-ratio window (800x600 pixels). Users can make…

Watusimoto
- 1,773
- 1
- 23
- 38