Desktop panel.

Post your Gambas programming questions here.
Post Reply
User avatar
BruceSteers
Posts: 1505
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

Desktop panel.

Post by BruceSteers »

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.
If at first you don't succeed , try doing something differently.
BruceS
User avatar
BruceSteers
Posts: 1505
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

Re: Desktop panel.

Post by BruceSteers »

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)

If at first you don't succeed , try doing something differently.
BruceS
User avatar
PJBlack
Posts: 184
Joined: Tuesday 9th June 2020 10:26pm
Location: Florstadt, Hessen, Germany

Re: Desktop panel.

Post by PJBlack »

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

Re: Desktop panel.

Post by cogier »

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: 1505
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

Re: Desktop panel.

Post by BruceSteers »

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 :(
If at first you don't succeed , try doing something differently.
BruceS
Post Reply