[Gambas-user] play audio trough Jack audio server using ONLY gambas resources

2017-01-27 Thread Federico Allegretti
hello everybody. Trying to play audio files with GB.MEDIA and his jack audio sink plug in. I got gb.media returning media informations (like duration), but no playback after play. ' Gambas class file Private Player_A As MediaPlayer 'player che gestira' i media con gb.media (gstreamer) Private

[Gambas-user] Timer

2017-01-27 Thread j h
I need help with a simple Stopwatch program in Gambas 3.9.2 The program has a form with 3 buttons and a valuebox. Button 1 starts timer. Button 2 stops timer. Button 3 restarts timer. As usual I just cannot get the syntax correct to make it work. When I copy/paste from the help browser still not

Re: [Gambas-user] Timer

2017-01-27 Thread Rolf-Werner Eilert
Hi, > > The program has a form with 3 buttons and a valuebox. > Button 1 starts timer. > Button 2 stops timer. > Button 3 restarts timer. Restart? What for, you have Button 1... Or do you mean "resume"? > > As usual I just cannot get the syntax correct to make it work. > When I copy/paste from

Re: [Gambas-user] Desktop size in sdl2

2017-01-27 Thread Fabien Bodard
you can do : Dim s As String Dim aDesktop As Integer[] Exec ["xprop", "-root", "_NET_DESKTOP_GEOMETRY"] Wait To s aDesktop = Split(Split(Trim(s), "=")[1]) 2017-01-27 0:51 GMT+01:00 Shane : > So I can center my window on the Screen > > > On 26/01/17 22:12, Fabien Bodard wrote: >> why the desktop

Re: [Gambas-user] Timer

2017-01-27 Thread Jussi Lahtinen
It's much easier to help you with your project, if you would put the whole thing as attachment. Select from the menu: Project --> Make --> Source archive And then attach the result to your mail. Jussi On Fri, Jan 27, 2017 at 3:51 PM, j h wrote: > I need help with a simple Stopwatch program in

Re: [Gambas-user] Timer

2017-01-27 Thread Charlie
Hi j h-7, I have created what I think you are looking for, have a look at the attached program. Stopwatch.tar - Check out www.gambas.one -- View this message in conte

[Gambas-user] Scrollview control coding example

2017-01-27 Thread Martin McGlensey
I'm looking for an example of the use of the scrollview control. Have spent about a week trying different approaches and web research. No luck so far. Gambas help does not give enough detail. I want to embed a window into the control and scroll the contents by using the scrollbars. This may not be

Re: [Gambas-user] Scrollview control coding example

2017-01-27 Thread Tobias Boege
On Fri, 27 Jan 2017, Martin McGlensey wrote: > I'm looking for an example of the use of the scrollview control. Have spent > about a week trying different approaches and web research. No luck so far. > Gambas help does not give enough detail. > > I want to embed a window into the control and scrol