Thanks for the help with my timer problem guys, it got me sorted.Cheers!
On Friday, 27 January 2017, 14:42, "gambas-user-requ...@lists.sourceforge.net" <gambas-user-requ...@lists.sourceforge.net> wrote: Send Gambas-user mailing list submissions to gambas-user@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gambas-user or, via email, send a message with subject or body 'help' to gambas-user-requ...@lists.sourceforge.net You can reach the person managing the list at gambas-user-ow...@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gambas-user digest..." Today's Topics: 1. gambaswiki.org seems to be down (Christof Thalhofer) 2. Re: gambaswiki.org seems to be down (Beno?t Minisini) 3. Re: Desktop size in sdl2 (Shane) 4. [Gambas Bug Tracker] Bug #1072: Image pixelated farm software (bugtrac...@gambaswiki.org) 5. play audio trough Jack audio server using ONLY gambas resources (Federico Allegretti) 6. Timer (j h) 7. Re: Timer (Rolf-Werner Eilert) 8. Re: Desktop size in sdl2 (Fabien Bodard) ---------------------------------------------------------------------- Message: 1 Date: Thu, 26 Jan 2017 14:46:32 +0100 From: Christof Thalhofer <chri...@deganius.de> Subject: [Gambas-user] gambaswiki.org seems to be down To: mailing list for gambas users <gambas-user@lists.sourceforge.net> Message-ID: <38124547-1286-cd54-c4cb-26ee58649...@deganius.de> Content-Type: text/plain; charset="utf-8" Hello, Service Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature ------------------------------ Message: 2 Date: Thu, 26 Jan 2017 15:09:50 +0100 From: Beno?t Minisini <gam...@users.sourceforge.net> Subject: Re: [Gambas-user] gambaswiki.org seems to be down To: mailing list for gambas users <gambas-user@lists.sourceforge.net> Message-ID: <0999b703-6bb5-5a6d-ee1f-9da2b6c66...@users.sourceforge.net> Content-Type: text/plain; charset=windows-1252; format=flowed Le 26/01/2017 ? 14:46, Christof Thalhofer a ?crit : > Hello, > > Service Unavailable > > The server is temporarily unable to service your request due to > maintenance downtime or capacity problems. Please try again later. > > Alles Gute > > Christof Thalhofer > It's back! -- Beno?t Minisini ------------------------------ Message: 3 Date: Fri, 27 Jan 2017 10:51:02 +1100 From: Shane <buster6se...@gmail.com> Subject: Re: [Gambas-user] Desktop size in sdl2 To: mailing list for gambas users <gambas-user@lists.sourceforge.net> Message-ID: <6c64d1f1-888d-fd54-1c96-ff4a5bd79...@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed So I can center my window on the Screen On 26/01/17 22:12, Fabien Bodard wrote: > why the desktop ? > > 2017-01-26 0:29 GMT+01:00 Shane <buster6se...@gmail.com>: >> How do you get the Desktop size in SDL2? >> >> >> >> ------------------------------------------------------------------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------ Message: 4 Date: Fri, 27 Jan 2017 00:04:53 GMT From: <bugtrac...@gambaswiki.org> Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1072: Image pixelated farm software To: uno.c...@live.com,gambas-user@lists.sourceforge.net Message-ID: <bug1...@gambaswiki.org> Content-Type: text/plain;charset=utf-8; charset="utf-8" http://gambaswiki.org/bugtracker/edit?object=BUG.1072&from=L21haW4- V?ctor PEREZ reported a new bug. Summary ------- Image pixelated farm software Type : Bug Priority : Low Gambas version : 3.9 Product : Software farm Description ----------- The images of the projects on the farm are blurred or pixelated. Do you need any special format? Why does that happen System information ------------------ Gambas=3.9.2 OperatingSystem=Linux Kernel=3.19.0-32-generic Architecture=x86 Distribution=Linux Mint 17.3 Rosa Desktop=MATE Theme=Gtk Language=es_UY.UTF-8 Memory=1950M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+2=libgtk-x11-2.0.so.0.2400.23 GTK+3=libgtk-3.so.0.1000.8 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 QT4=libQtCore.so.4.8.6 QT5=libQt5Core.so.5.2.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 ------------------------------ Message: 5 Date: Fri, 27 Jan 2017 14:23:54 +0100 From: Federico Allegretti <allegf...@gmail.com> Subject: [Gambas-user] play audio trough Jack audio server using ONLY gambas resources To: gambas-user@lists.sourceforge.net Message-ID: <CAGUPqz7Gva_rXzESH=HfZP300n-X-Wgej=vCtO-c-99=oob...@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 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 UscitaAudio As MediaControl 'l'area di rendering dei media ...... Public Sub Button3_Click() Player_A = New MediaPlayer As "MediaPlayer" UscitaAudio = New MediaControl(Player_A, "jackaudiosink") Player_A.URL = Media.URL(Label1.Text) Player_A.Play Timer1.Start End ...... in patch bay i cannot see the gambas "client" creation nor cable connected, like i see if i run in the shell this command: gst-launch audiotestsrc ! jackaudiosink so i suppose i need a way to create the jack audio client, but cannot figure out the procedure. Thanks for the help. Federico -- Open TV Architecture project: http://sourceforge.net/projects/otva/ Messagenet VOIP: 5338759 YouTube Channel: v1p3r's lab VIMEO HD videos: http://www.vimeo.com/user1912745/videos ------------------------------ Message: 6 Date: Fri, 27 Jan 2017 13:51:18 +0000 (UTC) From: j h <clangb...@yahoo.com> Subject: [Gambas-user] Timer To: "gambas-user@lists.sourceforge.net" <gambas-user@lists.sourceforge.net> Message-ID: <306042578.24122630.1485525078...@mail.yahoo.com> Content-Type: text/plain; charset=UTF-8 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 right! I really want to like and use Gambas but am put off by the unclear help and lack of very simple examples.? Here is where I Went delete happy then gave up. ' Gambas class file Public Sub Form_Open() ? End Public Sub Timer1_Timer() ? ValueBox1.Value = Timer1 ? End Public Sub ValueBox1_MouseDown() End Public Sub Button1_Click() Timer1.Enabled = True End Public Sub Button2_Click() ? End Public Sub Button3_Click() ? End Any help would help. Ta. ------------------------------ Message: 7 Date: Fri, 27 Jan 2017 15:33:18 +0100 From: Rolf-Werner Eilert <rwe-...@osnanet.de> Subject: Re: [Gambas-user] Timer To: gambas-user@lists.sourceforge.net Message-ID: <588b5a2e.7030...@osnanet.de> Content-Type: text/plain; charset=UTF-8; format=flowed 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 the help browser still not right! > > I really want to like and use Gambas but am put off by the unclear help and > lack of very simple examples. I agree, that could be improved. You're welcome to help ;) > ' Gambas class file > > Public Sub Form_Open() > > > > End > > Public Sub Timer1_Timer() > > ValueBox1.Value = Timer1 > > > End Hm, guess you got this Timer thing wrong. As soon as activated, Timer will just run and the program will jump into the Timer event each time it "ticks" (the time you adjust, e. g. 1000 ms for 1 second). So, if you want your clock to tick every second, make a counter variable for the whole class file and set Inc MyCounterVariable within the Timer1_Timer() event and let the clock show it. Public Sub Timer1_Timer() Inc MyCounterVariable 'show the value in this line End For the beginning, use a Label to show the value. > Public Sub Button1_Click() > > Timer1.Enabled = True > > End > > > > Public Sub Button2_Click() > > > > End > > Public Sub Button3_Click() > > > > End > > > Won't be back before Monday, but hope it helps :) Regards Rolf ------------------------------ Message: 8 Date: Fri, 27 Jan 2017 15:41:47 +0100 From: Fabien Bodard <gambas...@gmail.com> Subject: Re: [Gambas-user] Desktop size in sdl2 To: mailing list for gambas users <gambas-user@lists.sourceforge.net> Message-ID: <CAFkCsL5V7XLHnGHNEnxPgF2-Wn=7vpnkfsq0owc0sq0djed...@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 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 <buster6se...@gmail.com>: > So I can center my window on the Screen > > > On 26/01/17 22:12, Fabien Bodard wrote: >> why the desktop ? >> >> 2017-01-26 0:29 GMT+01:00 Shane <buster6se...@gmail.com>: >>> How do you get the Desktop size in SDL2? >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Check out the vibrant tech community on one of the world's most >>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard ------------------------------ ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user End of Gambas-user Digest, Vol 128, Issue 32 ******************************************** ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user