Questions tagged [window-management]

79 questions
1
vote
1 answer

Why does adding a custom menu break keyboard event binding in Python3/tkinter?

In the following code, when I press the button to add some secondary windows, and then try to close a window by using "Command-w" it does not always close the active window. But if I disable the menu creation by commenting the line…
Victor Domingos
  • 1,003
  • 1
  • 18
  • 40
1
vote
1 answer

How can I find out or record the X11 top-level window from which a top-level window was opened?

I'm thinking of writing an X11 window manager which does for windows something like what TabKit does for tabs in Firefox (in its default tree view mode). To do this, I'd need to be to able to find out which window a window was opened from. Is there…
Robin Green
  • 32,079
  • 16
  • 104
  • 187
1
vote
1 answer

Close Stateflow editor programmatically

Is there a way to close (or hide) a Stateflow Editor programmatically? I could not find any hint about this in the documentation or the net. The only way I know of is to close the model entirely, but I do not want this, as a changed model might need…
walderich
  • 500
  • 1
  • 9
  • 24
1
vote
1 answer

How to keep multiple windows focused at the same time (on Windows 10)

I am working on making a large multi-touch table which is powered by Windows 10. I have the idea that multiple people could work on the table at once, on different windows. The problem is, Windows 10 only allows one windows to be focused at once.…
William Taylor
  • 691
  • 8
  • 23
1
vote
0 answers

How to handle "switch from" and "switch to" events in X11?

I'm making a fullscreen OpenGL application, and I want it to restore original desktop mode when user switches away from it, and to restore mode back when user switches to it. This looks like "FocusIn" and "FocusOut" events, but they are not suitable…
Mad Fish
  • 703
  • 1
  • 8
  • 12
1
vote
0 answers

Linux - Use a Specific Corner of a Window as the Transformation Point?

# xdotool --version xdotool version 2.20110530.1 # wmctrl --version 1.07 # bash --version GNU bash, version 4.1.10(1)-release (i586-suse-linux-gnu) I have been playing around with the Commands wmctrl and xdotool for rearranging/moving windows…
Matt
  • 413
  • 1
  • 10
  • 16
1
vote
2 answers

GetWindowPlacement/SetWindowPlacement not working in WinForms for high DPI

I've got a legacy WinForms app and I want to save the window position and size across sessions. I've been using GetWindowPlacement and SetWindowPlacement during the FormClosing and Load events. The problem I'm getting is that at higher DPI settings…
RandomEngy
  • 14,931
  • 5
  • 70
  • 113
1
vote
3 answers

Linux : Get window border height

I try to get in a bash script the maximal size of a window (i.e. the size of the screen minus the panels on the edges of the screen). I am using Kubuntu but if it could work for any linux system it would be great. Currently, my solution is to…
Zach
  • 600
  • 5
  • 16
1
vote
1 answer

How to monitor applications being open or launch in linux/tcl/python?

I am trying to build a panel application, alike avant window navigator or ubuntu unity. My question is once I build the panel with the predifined applications, how I can add items to the panel when applications are open or launch? Here is my source…
milarepa
  • 759
  • 9
  • 28
1
vote
1 answer

Marking sections of X11 window as draggable

In case I want to have an undecorated window (for example, I may paint the decorations myself), is there a way to tell the current X11 window manager that a region of window should be draggable and managed by the window manager? I'm interested in…
Ivan Vučica
  • 9,529
  • 9
  • 60
  • 111
1
vote
1 answer

Various issues using SetParent to embed window into external process

Possible Duplicate: Embedding HWND into external process using SetParent I'm trying to embed a window from my process into the window of an external process using the SetParent function and have encountered a few problems that I'm hoping someone…
Sean
  • 19
  • 1
  • 2
0
votes
1 answer

Managing subwindows in QT

I'm trying to write an interface around my program (using qt). Basically I have a main window, and then at certain points it should "ask the user for interaction". - I'm using a dialog for this. Now when reading about dialog windowses I read…
paul23
  • 8,799
  • 12
  • 66
  • 149
0
votes
1 answer

MDI application with window management

How can I develop MDI application with window management option where one child from only open one time, if user again click on to open the same child form application should display the instance of same child form. I am using JFrame and…
0
votes
0 answers

How to Move the Solution explorer in Visual Studio 2019 to the left? (and the other stuff)

I am having a hard time to move all the stuff under the solution explorer in Visual Studio 2019 to the left. If it do it manually, stuff will open in the Tab. the Left, Top and Right option for the tabs is not available like for any cpp files…
Ameyah
  • 1
  • 2
0
votes
1 answer

Save and restore form position and size using only NormalPosition from GetWindowPlacement

In .NET Framework 4.6 and Windows Forms, I have a borderless form, without title bar and without minimize and maximize buttons, resizable (using custom code). I'd like to save and restore the form location and size using GetWindowPlacement and…
TechAurelian
  • 5,561
  • 5
  • 50
  • 65