[Gambas-user] Gambas-user Digest, Vol 128, Issue 32
j h
clangbone at ...43...
Mon Jan 30 11:07:46 CET 2017
Thanks for the help with my timer problem guys, it got me sorted.Cheers!
On Friday, 27 January 2017, 14:42, "gambas-user-request at ...629...ge.net" <gambas-user-request at lists.sourceforge.net> wrote:
Send Gambas-user mailing list submissions to
gambas-user at 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-request at lists.sourceforge.net
You can reach the person managing the list at
gambas-user-owner at 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
(bugtracker at ...3416...)
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 <chrisml at ...3340...>
Subject: [Gambas-user] gambaswiki.org seems to be down
To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
Message-ID: <38124547-1286-cd54-c4cb-26ee58649b0c at ...3340...>
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 <gambas at ...1...>
Subject: Re: [Gambas-user] gambaswiki.org seems to be down
To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
Message-ID:
<0999b703-6bb5-5a6d-ee1f-9da2b6c666d2 at ...1...>
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 <buster6seven at ...626...>
Subject: Re: [Gambas-user] Desktop size in sdl2
To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
Message-ID: <6c64d1f1-888d-fd54-1c96-ff4a5bd798b1 at ...626...>
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 <buster6seven at ...626...>:
>> 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 at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
------------------------------
Message: 4
Date: Fri, 27 Jan 2017 00:04:53 GMT
From: <bugtracker at ...3416...>
Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1072: Image pixelated
farm software
To: uno.cero at ...3595...,gambas-user at lists.sourceforge.net
Message-ID: <BUG1072 at ...3416...>
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 <allegfede at ...626...>
Subject: [Gambas-user] play audio trough Jack audio server using ONLY
gambas resources
To: gambas-user at lists.sourceforge.net
Message-ID:
<CAGUPqz7Gva_rXzESH=HfZP300n-X-Wgej=vCtO-c-99=OObV9w at ...627...>
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 <clangbone at ...43...>
Subject: [Gambas-user] Timer
To: "gambas-user at lists.sourceforge.net"
<gambas-user at lists.sourceforge.net>
Message-ID: <306042578.24122630.1485525078224 at ...3424...>
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-sse at ...3629...>
Subject: Re: [Gambas-user] Timer
To: gambas-user at lists.sourceforge.net
Message-ID: <588B5A2E.7030901 at ...3629...>
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.fr at ...626...>
Subject: Re: [Gambas-user] Desktop size in sdl2
To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
Message-ID:
<CAFkCsL5V7XLHnGHNEnxPgF2-Wn=7VpnKfSQ0oWC0sQ0dJeDbug at ...1162.....627...>
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 <buster6seven at ...626...>:
> 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 <buster6seven at ...626...>:
>>> 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 at 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 at 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 at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
End of Gambas-user Digest, Vol 128, Issue 32
********************************************
More information about the User
mailing list