Desktop panel.

Post your Gambas programming questions here.
Post Reply
User avatar
BruceSteers
Posts: 654
Joined: Thursday 23rd July 2020 5:20pm

Desktop panel.

Post by BruceSteers » Monday 26th July 2021 10:18pm

Does anyone know how to make a desktop panel?

Specifically so the useable desktop adjusts its size.

I'm making a panel with gambas.

Primarily for desktops like gnome that dont allow desktop icons.

So far it shows all *.desktop files from $HOME/Desktop/ and supports the alternative right click actions from the launcher file.

I've got it opening (and auto hiding) at either top or bottom of screen but I want the desktop to shrink a bit like it does when adding something like mate-panel.

Cheers.
Wishing well
Bruce

If at first you don't succeed , try it differently.

User avatar
BruceSteers
Posts: 654
Joined: Thursday 23rd July 2020 5:20pm

Re: Desktop panel.

Post by BruceSteers » Wednesday 28th July 2021 8:22am

It's developing into an actual desktop now.

it reads the $HOME/Desktop folder and shows the icons in it ,,, on the desktop :)

As i've made software to deal with a .desktop files Action properties it's a bit annoying that gnome does not display the desktop folder or panels.
I know i can right click the applications in the program browser but it's a pain finding them sometimes

So here's a clip of the desktop app i'm making at mo....

I call it Desktop(ish)

Wishing well
Bruce

If at first you don't succeed , try it differently.

User avatar
PJBlack
Posts: 159
Joined: Tuesday 09th June 2020 10:26pm
Location: Florstadt, Hessen, Germany

Re: Desktop panel.

Post by PJBlack » Wednesday 28th July 2021 11:00am

nice ...

User avatar
cogier
Site Admin
Posts: 756
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

Re: Desktop panel.

Post by cogier » Wednesday 28th July 2021 2:02pm

I've got it opening (and auto hiding) at either top or bottom of screen but I want the desktop to shrink a bit like it does when adding something like mate-panel.
Do you mean the background should fit the new, reduced, size created due to a panel being added? If so, how is the image displayed?

User avatar
BruceSteers
Posts: 654
Joined: Thursday 23rd July 2020 5:20pm

Re: Desktop panel.

Post by BruceSteers » Wednesday 28th July 2021 5:00pm

cogier wrote:
Wednesday 28th July 2021 2:02pm
I've got it opening (and auto hiding) at either top or bottom of screen but I want the desktop to shrink a bit like it does when adding something like mate-panel.
Do you mean the background should fit the new, reduced, size created due to a panel being added? If so, how is the image displayed?
the video of a different app now, less a panel more a desktop view.
It's currently it's just a borderless transparent window with Stacking set to Below

the original question was about adding a bar to the screen, yes like you say , the desktop resizing so everything including gambas would then report a different screen height.

I reckon it's probably doable with DBus somehow.
I did some research but didn't find much :(
Wishing well
Bruce

If at first you don't succeed , try it differently.

Post Reply