Search found 129 matches

by vuott
Thursday 15th September 2022 6:51pm
Forum: General
Topic: Convert this C code to Gambas
Replies: 10
Views: 166

Re: Convert this C code to Gambas

AndyGable wrote:
Thursday 15th September 2022 2:44pm
this code from C
...C++
by vuott
Thursday 15th September 2022 2:47pm
Forum: Component
Topic: Help with gb.report2
Replies: 5
Views: 131

Re: Help with gb.report2

Remember that Gianluigi (the author of that page of the Italian wiki on gb.report2) points out that the complete projects, related to the examples described, are located in "Software Farm".
by vuott
Thursday 15th September 2022 12:13pm
Forum: Component
Topic: Help with gb.report2
Replies: 5
Views: 131

Re: Help with gb.report2

BruceSteers wrote:
Thursday 15th September 2022 9:13am
and
...and Italian:
https://www.gambas-it.org/wiki/index.ph ... gb.report2
by vuott
Thursday 8th September 2022 1:37pm
Forum: Beginners
Topic: Separation between columns of a GridView
Replies: 4
Views: 186

Re: Separation between columns of a GridView

gambafeliz wrote:
Thursday 8th September 2022 12:11pm
having the width set to automatic, to put a separation between the columns?
Excuse me, can you explain better?
by vuott
Tuesday 23rd August 2022 3:23pm
Forum: Component
Topic: Simple GStreamer display example
Replies: 9
Views: 417

Re: Simple GStreamer display example

...with audio (mono-tone) too: :D Public Sub Button1_Click() Dim pl1, pl2 As Mediapipeline Dim src1, src2, con, res, snk1, snk2 As MediaControl ' "Pipeline" dedicated to video: pl1 = New MediaPipeline src1 = New MediaControl(pl1, "videotestsrc") src1["is-live"] = True src1["horizontal-speed"] = 1 sn...
by vuott
Tuesday 23rd August 2022 3:00pm
Forum: Component
Topic: Simple GStreamer display example
Replies: 9
Views: 417

Re: Simple GStreamer display example

I made some progress on my own oSNK = New MediaControl(oPipeline, "ximagesink") Bravo , so you discovered that with "videotestsrc" you need the "ximagesink" plugin. Capuring: Replacing ximagesink with xvimagesink and I now think I am getting what I need: ...using C / GTK3+. However to me the video ...
by vuott
Tuesday 23rd August 2022 12:24pm
Forum: Component
Topic: Simple GStreamer display example
Replies: 9
Views: 417

Re: Simple GStreamer display example

Unfortunately when I cut/paste the playbin example into a new form, I am getting an error "Cannot set status in FMain:28" at this line: oPipeline.Play. I don't know why it doesn't work for you. It works regularly for me. I did try to run the playbin pipeline via gst-launch and got an error: $gst-la...
by vuott
Monday 22nd August 2022 10:50pm
Forum: Component
Topic: Simple GStreamer display example
Replies: 9
Views: 417

Re: Simple GStreamer display example

For displaying the " video-test ", " autovideosink " Element does not seem to support the "DrawingArea" Control through the ".SetWindow()" Method. I believe that you must use the " Playbin " Element, for example as follows: Private drawingArea1 As DrawingArea Public Sub _new() With Me .W = Screen.Av...
by vuott
Monday 22nd August 2022 4:53pm
Forum: Component
Topic: Simple GStreamer display example
Replies: 9
Views: 417

Re: Simple GStreamer display example

Well, if you want to use in Gambas the external functions of the GStreamer library directly, then I suggest: https://www.gambas-it.org/wiki/index.php/Riproduzione_standard_dei_file_video_con_le_funzioni_esterne_di_GStreamer If you want to use the resources of gb.media Component (based on GStreamer) ...
by vuott
Tuesday 2nd August 2022 10:53am
Forum: General
Topic: [Solved] Word Wrapping on a Label
Replies: 2
Views: 245

Re: Word Wrapping on a Label

Uhmm ... maybe you should use the TextLabel Class, as this Class has the ".Wrap" Property.

https://gambaswiki.org/wiki/comp/gb.qt4/textlabel/wrap