[Gambas-user] X11.SetWindowProperty

herberth guzman herberthguzman at ...626...
Tue Mar 10 19:40:24 CET 2015


Congratulations on Pre-release of Gambas 3.7, fantastic. Great job to you
and all who collaborate.

Benoit

Doing tests I noticed a problem.
In the Form in the Open event if I put:

X11.SetWindowProperty 1- (f_panel.Id, Atom ["_ NET_WM_WINDOW_TYPE"] Atom
["ATOM"] Atom ["_ NET_WM_WINDOW_TYPE_DOCK"])

"No problem," but if I put 2 or more just take the last line of the code

Example:

1 - X11.SetWindowProperty 1- (f_panel.Id, Atom ["_ NET_WM_WINDOW_TYPE"]
Atom ["ATOM"] Atom ["_ NET_WM_WINDOW_TYPE_DOCK"])

2 - X11.SetWindowProperty 2- (f_panel.Id, Atom ["_ NET_WM_STATE"] Atom
["ATOM"] Atom ["_ NET_WM_WINDOW_TYPE"])

Just run No. 2

and if i put

1 - X11.SetWindowProperty 1- (f_wallpaper.Id, Atom ["_ NET_WM_STATE"] Atom
["ATOM"] Atom ["_ NET_WM_STATE_STICKY"])
2 - X11.SetWindowProperty 2- (f_wallpaper.Id, Atom ["_ NET_WM_STATE"] Atom
["ATOM"] Atom ["_ NET_WM_STATE_SKIP_TASKBAR"])
3 - X11.SetWindowProperty (f_wallpaper.Id, Atom ["_ NET_WM_STATE"] Atom
["ATOM"] Atom ["_ NET_WM_STATE_SKIP_PAGER"])
4 - X11.SetWindowProperty 4- (f_wallpaper.Id, Atom ["_ NET_WM_STATE"] Atom
["ATOM"] Atom ["_ NET_WM_STATE_FULLSCREEN"])

takes the line No.4

I know No. 1, 2  and 4 the IDE-Gambas has these functions.
Only is one example


As I can do to work me 2 or more lines of these functions.

Regards


Herberth Guzman



More information about the User mailing list