Search found 168 matches

by thatbruce
Monday 2nd October 2023 2:15am
Forum: General
Topic: [Solved] Sound advise
Replies: 20
Views: 8797

Re: Sound advise

Try:
play -V3 -n synth 0.1 sine 880 vol 0.4

vol 5 means 5 times the normal volume which clips to a DC voltage.
by thatbruce
Sunday 10th September 2023 9:48am
Forum: Beginners
Topic: How to apply a style sheet to a Gambas QT application?
Replies: 2
Views: 2845

Re: How to apply a style sheet to a Gambas QT application?

You can make stylesheets for QT5 (using the qt config thingy, I forget its name, qt5ct or something) but it will apply to the entire user session so I think you'll have to come up with fairly unique names. I have no idea whether QT has the same "impeding catastrophe" or "danger Will R...
by thatbruce
Sunday 10th September 2023 6:55am
Forum: Beginners
Topic: Anyone using dot notation with strings?
Replies: 3
Views: 1279

Re: Anyone using dot notation with strings?

I believe that Bruce is trying to say that declaring a variable as a String is not the same as using the String class even though it is in the gb component.' The gb.String class is a set of static utility functions to specifically handle UTF character strings, a String variable is a "normal&quo...
by thatbruce
Thursday 7th September 2023 12:48pm
Forum: Beginners
Topic: Add new entry on Listview's first position
Replies: 6
Views: 1963

Re: Add new entry on Listview's first position

What if "aaa" is not the first item?
by thatbruce
Tuesday 29th August 2023 11:59am
Forum: General
Topic: Onscreen format
Replies: 3
Views: 1416

Re: Onscreen format

Well said Cogier! This is such a common problem for everybody. When one "expects" that a format or a translation or whatever, one has to ask "Is the relevant language installed?" To ask for a possible improvement though, if the said language (say "sp.ca" for instance) i...
by thatbruce
Tuesday 1st August 2023 11:45am
Forum: General
Topic: [SOLVED] take over system focus
Replies: 16
Views: 3627

Re: take over system focus

Weeeeelll, If you want to control the desktop then I guess that you are going to take into consideration "the desktop". ;)
Or use the dbus notify method. (I believe that I may have mentioned this before :) )
by thatbruce
Tuesday 1st August 2023 1:01am
Forum: General
Topic: [SOLVED] take over system focus
Replies: 16
Views: 3627

Re: take over system focus

The notify (dbus) method will. That's it job. If it doesn't work then something is awry with the distribution you are using. Note Cogier's code above may need to be adjusted depending on what notification daemon you have and are running .* In a terminal type "notify-send --help" which shou...
by thatbruce
Friday 28th July 2023 1:17am
Forum: General
Topic: [SOLVED] take over system focus
Replies: 16
Views: 3627

Re: take over system focus

There are several, if not many, ways to do this. I think the most elegant from the users point of view is using the dbus Notify demon.
by thatbruce
Sunday 16th July 2023 12:16pm
Forum: General
Topic: Serialization error - Gambas 3.18.3
Replies: 1
Views: 674

Re: Serialization error - Gambas 3.18.3

Using a line taken from a game I was enjoying today:

Code: Select all

While Not Eof(something) 
    Read #something, something
    something &= something
Wend
Hint: Search Sylvia's bed room for more clues.
by thatbruce
Saturday 1st July 2023 1:11pm
Forum: General
Topic: [Solved] DataGrid View
Replies: 9
Views: 2276

Re: DatagGrid View

oops. might have been one of mine that escaped. :D