Make the panel (taskbar) disappear during full screen
Make the panel (taskbar) disappear during full screen
How do you make the panel disappear during fullscreen windowed mode?
Re: Make the panel (taskbar) disappear during full screen
Hi coco2,
I recently discovered StickyWindow(#Window, State). It forces a window to be on top of other windows.
I'm using a minimal XFCE desktop and my panel, tint2, is set to be below windows hierarchically. It's also set to have maximised windows not cover it. Fullscreen windows do though.
Obviously I have no idea what desktop/environment you are using, but either changing the panel settings or trying StickyWindow might be worth a try?
Another option would be to set your panel to hide intelligently. The downside to that would be that if you shared your software, the recipient would probably have to do the same on their machine.
Moulder.
I recently discovered StickyWindow(#Window, State). It forces a window to be on top of other windows.
I'm using a minimal XFCE desktop and my panel, tint2, is set to be below windows hierarchically. It's also set to have maximised windows not cover it. Fullscreen windows do though.
Obviously I have no idea what desktop/environment you are using, but either changing the panel settings or trying StickyWindow might be worth a try?
Another option would be to set your panel to hide intelligently. The downside to that would be that if you shared your software, the recipient would probably have to do the same on their machine.
Moulder.
"If it ain't broke, fix it until it is!
This message is brought to you thanks to SenselessComments.com
My PB stuff for Linux: "https://u.pcloud.link/publink/show?code ... z3MR0T3jyV
This message is brought to you thanks to SenselessComments.com
My PB stuff for Linux: "https://u.pcloud.link/publink/show?code ... z3MR0T3jyV
Re: Make the panel (taskbar) disappear during full screen
GTK FullScreen ...
Code: Select all
;-TOP
Procedure UpdateWindow()
Protected dx, dy
dx = WindowWidth(0)
dy = WindowHeight(0) - StatusBarHeight(0) - MenuHeight()
; Resize Gadgets
EndProcedure
Procedure Main()
Protected dx, dy
#WinStyle = #PB_Window_SystemMenu | #PB_Window_SizeGadget | #PB_Window_MaximizeGadget | #PB_Window_MinimizeGadget
If OpenWindow(0, #PB_Ignore, #PB_Ignore, 600, 400, "Test Window", #WinStyle)
; MenuBar
CreateMenu(0, WindowID(0))
MenuTitle("&File")
MenuItem(99, "E&xit")
MenuTitle("&View")
MenuItem(1, "Fullscreen On")
MenuItem(2, "Fullscreen Off")
; StatusBar
CreateStatusBar(0, WindowID(0))
AddStatusBarField(#PB_Ignore)
; Gadgets
dx = WindowWidth(0)
dy = WindowHeight(0) - StatusBarHeight(0) - MenuHeight()
; Bind Events
BindEvent(#PB_Event_SizeWindow, @UpdateWindow(), 0)
; Main Loop
Repeat
Select WaitWindowEvent()
Case #PB_Event_CloseWindow
Select EventWindow()
Case 0
Break
EndSelect
Case #PB_Event_Menu
Select EventMenu()
Case 99
PostEvent(#PB_Event_CloseWindow, 0, 0)
Case 1
gtk_window_fullscreen_(WindowID(0))
Case 2
gtk_window_unfullscreen_(WindowID(0))
EndSelect
Case #PB_Event_Gadget
Select EventGadget()
EndSelect
EndSelect
ForEver
EndIf
EndProcedure : Main()
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: Make the panel (taskbar) disappear during full screen
Thanks it works