don't show on panel - python

I am trying to write a simple aplication (a continuously changing label on a window on the upper left side of the screen) and I don't want it to be seen on panel but only on system tray.Because it will run for a long time. How can I do that? Thanks.
PS: I am using python and pyqt on Linux. I tried SplashScreen but when I clicked on the window it disapears. I have a contexmenu on the window, so I must click on it.!
http://www.qtcentre.org/attachment.php?attachmentid=4686&d=1274802065

I found the solution. I set the window flag as "Qt.Popup". Now there in no window on the panel.

Related

Is there a way to select pyqt window/ui on mouse hover?

I have a little problem, I am using PyQt to make UI in Maya. Problem is that my current UI has hotkeys, but unless you click on the window, you can't use it because the window of UI is not selected(running on the back when you are doing things in Maya). UI being active all the time is also inconvenient because some hotkeys are the same as Maya's. So I was wondering is there any way to select a window without clicking on it, just mouse hover. Thank you!

Changing default window position in PyCharm

How do I change the default window position? The output window when I run a script defaults to the bottom, but I prefer it to the left, so every time I need to click through this menu. I haven't been able to find such a setting, or a guide online. Any help?
You can save your current tool window layout as the default tool window layout by going to Window -> Store Current Layout as Default in the menu bar.
For more about tool window manipulation, visit here.

Add button to Tkinter Window panel before minimise, maximise buttons

I have developed a Tkinter GUI and need to add a button in the GUI window top panel, next to the minimise, maximise and close buttons. The button then calls a function. How can this be done?
Tkinter doesn't have any support to do what you want. You'll have to find some sort of platform-specific library to alter what is shown in the window border.
Your only other option is to turn off the window border provided by your OS with overrideredirect, and then create your own border with whatever controls you want. This requires a lot of work because you also have to write the code for moving and resizing the window, but it's possible.

Create a click through window for Linux

I want to make a click through window. A window which I click but the click pass to the window below it.
I've found this two solutions for windows:
How to make click-through windows PyQt
I have a form that can "click through", i.e. direct clicks to the window below. How can I undo my changes after the event?
But I want it to work in linux. I study the xlib mechanisms but cannot understand how the window stack works. Actually I can get all the windows with XQueryTree() and found the ones under my window. But I don't know witch one are above.

PyGObject and glade send window to the front

im having some problems to send to the front a GTK window.
I have a main window (window_root) with a button that launches another window (window_programs).
with this commands:
window_root.hide()
window_programs.show()
then, in window_programs, i have a button that displays another window (window_list) with the command:
window_list.show()
window_list is modal.
The problem was that window_list appeared at the back of window_programs.
so i did some research and i found window_list.show().
The problems is that window_list appears at the front, but when i click it window_programs comes to the front!
it makes some time that i'm looking for the solution, any help will be appreciated!
You are looking for the transient-for property of the modal window (which should be available in Glade). If the modal window needs to be transient to either of the two other windows, then you need to use gtk_window_set_transient_for() as needed since the modal can only be transient for one window at a time.

Categories

Resources