non standard windows?

Linux specific forum
vwidmer
Enthusiast
Enthusiast
Posts: 282
Joined: Mon Jan 20, 2014 6:32 pm

non standard windows?

Post by vwidmer »

is it possible or has any one made a non standard window in using PB in Linux?

Something like: http://doc.qt.io/qt-4.8/qt-widgets-shap ... ample.html

Thanks
WARNING: I dont know what I am doing! I just put stuff here and there and sometimes like magic it works. So please improve on my code and post your changes so I can learn more. TIA
IdeasVacuum
Always Here
Always Here
Posts: 6425
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: non standard windows?

Post by IdeasVacuum »

On some window systems
.... Perhaps they specifically mean Windows OS, or have you seen a QT window like that on Linux?
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
vwidmer
Enthusiast
Enthusiast
Posts: 282
Joined: Mon Jan 20, 2014 6:32 pm

Re: non standard windows?

Post by vwidmer »

xeyes ? Maybe something close? but cant think of much else.
WARNING: I dont know what I am doing! I just put stuff here and there and sometimes like magic it works. So please improve on my code and post your changes so I can learn more. TIA
vwidmer
Enthusiast
Enthusiast
Posts: 282
Joined: Mon Jan 20, 2014 6:32 pm

Re: non standard windows?

Post by vwidmer »

So I just wanted to check it since I havent in a while. And I pulled up xeyes in my package manager and found

Code: Select all

1 extra/xorg-xeyes 1.1.1-3
    Follow the mouse/SHAPE extension X demo
I searched "linux shape extension" on google and found this: https://linux.die.net/man/3/xshape

Wikipedia https://en.wikipedia.org/wiki/Shape_extension
WARNING: I dont know what I am doing! I just put stuff here and there and sometimes like magic it works. So please improve on my code and post your changes so I can learn more. TIA
User avatar
Shardik
Addict
Addict
Posts: 1989
Joined: Thu Apr 21, 2005 2:38 pm
Location: Germany

Re: non standard windows?

Post by Shardik »

vwidmer wrote:is it possible or has any one made a non standard window in using PB in Linux?

Something like: http://doc.qt.io/qt-4.8/qt-widgets-shap ... ample.html

Thanks
You may take a look into the second code example of this posting which displays a similar clock in a transparent window. But before running the example you have to set the subsystem to "gtk2" because lots of internal changes between GTK+ 2 and 3 make the example code incompatible with the default GTK+ 3 subsystem...
Post Reply