Search found 590 matches

by BruceSteers
Sunday 01st August 2021 11:57am
Forum: Project showcase
Topic: Desktop-ish
Replies: 3
Views: 56

Re: Desktop-ish

More features added. Panel can now be top or bottom. Background for panel and main window now transparent or a colour. Icon font / text colour and background colour can be set. (Note i can't see a way to make semi-transparent colours like the icon text background and panel background in the image be...
by BruceSteers
Saturday 31st July 2021 6:23pm
Forum: Project showcase
Topic: Desktop-ish
Replies: 3
Views: 56

Re: Desktop-ish

Some changes... Bugfix. Icon editor adding gambas toolkit options GB_GUI=gb.gtk, etc was putting in the .desktop file name not the Exec command. Deny list was working but Allow list code was not done. Addition. Now uses DBus and will only launch one instance. There is a ShowDesktop option in the opt...
by BruceSteers
Saturday 31st July 2021 10:50am
Forum: Project showcase
Topic: Desktop-ish
Replies: 3
Views: 56

Re: Desktop-ish

Some notes on Usage: To move/resize the window. If the panel folder is set and showing icons the panel can be used to drag the window around. To resize, right click an area not an icon and select "Options" on the options page enable the titlebar, then resize/move, then hide the titlebar again(if you...
by BruceSteers
Saturday 31st July 2021 10:39am
Forum: Project showcase
Topic: Desktop-ish
Replies: 3
Views: 56

Desktop-ish

It went like this... I got into the gb.desktop component.. I made that editor for Desktop actions , .desktop files are a simple ini file so wouldn't take much. then i found gb.desktop DesktopFile.class is already designed to handle these files. (well kind of, i re-wrote it a bit to make desktop acti...
by BruceSteers
Saturday 31st July 2021 9:41am
Forum: General
Topic: Exec & Shell
Replies: 5
Views: 71

Re: Exec & Shell

Also consider this code...... shell must have $ char to access variables Shell "echo \"this is {path}\"" With ["path=hello there"] Wait Shell "echo \"this is ${path}\"" With ["path=hello there"] Wait Prints... this is {path} this is hello there Doing functions on strings in bash is the only time i u...
by BruceSteers
Saturday 31st July 2021 9:22am
Forum: General
Topic: Exec & Shell
Replies: 5
Views: 71

Re: Exec & Shell

Another possible solution (without seeing your code)... If {path} is an Env variable the shell is looking for you can supply it with "With" This could be one way to do it.. Shell("soffice --headless --convert-to txt \"$path/myfile.odt\"" With ["path=" & sMyPathString] Wait Or something like that :)
by BruceSteers
Saturday 31st July 2021 8:57am
Forum: General
Topic: Exec & Shell
Replies: 5
Views: 71

Re: Exec & Shell

I find glitches where my usual shell is bash but gambas uses sh by default. I start my progs with ... System.Shell = System.Find("bash") I find this has fixed many a glitch. Also what's with Chr(34) ? Will this not work ? Shell("soffice --headless --convert-to txt '{path}/myfile.odt'" Wait Or... She...
by BruceSteers
Wednesday 28th July 2021 5:00pm
Forum: General
Topic: Desktop panel.
Replies: 4
Views: 106

Re: Desktop panel.

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 ...
by BruceSteers
Wednesday 28th July 2021 8:22am
Forum: General
Topic: Desktop panel.
Replies: 4
Views: 106

Re: Desktop panel.

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 t...
by BruceSteers
Tuesday 27th July 2021 8:14pm
Forum: General
Topic: [solved] Listbox not updating until end of subs
Replies: 5
Views: 109

Re: Listbox not updatiug until end of subs

Have you tried using... Wait After setting label text Label1.text = "SOME TEXT" Wait More code... Or Wait 0.1 Thank-you BruceSteers that worked prefectly Sorry for the delay in Replaying I was not getting any Emails to say you had posted. What does the wait 0.1 function do? Waits a tenth of a secon...