Hi Esteban,
That is a really good point - thanks for reminding me. Maybe I’m just a little
early starting this project. Hopefully the bookworm release of PiOS will
include a reasonably stable and functional Wayland.
For now I’ll work on ubuntu with Wayland and see how I go.
Cheers,
J
> On 1
what is the xid? The x11 thingy?
in that case you will need to implement a method on GdkWindow (not GtkWindow):
https://docs.gtk.org/gdk3-x11/method.X11Window.get_xid.html
then you do something like:
GRunLoop defer: [ xid := myGtkWindow gdkWindow xid ].
but this is tied to the x11 system and linux
Hi Estiban,
Thanks for that - works beautifully :)
The next challenge was to let VLC know the xid for the gtk window, but of
course the one function that answers the xid for gtk appears to be in yet
another library (gtk-x11) which, of course, has no binding for Pharo as yet :)
As I’m new to FF
https://github.com/OpenSmock/PharoGStreamer
OpenSmock/PharoGStreamer: A GStreamer binding for Pharo
github.com
> On 10 Jul 2023, at 13:50, Esteban Lorenzano wrote:
>
> Hi,
>
> Heh, there were several problems around :)
>
> 1) Indeed, Ubuntu naming conventions were a problem for the gtk
> b
Hi,
Heh, there were several problems around :)
1) Indeed, Ubuntu naming conventions were a problem for the gtk bindings. I
updated them and now it should not be a problem (but you need to pull them
again).
2) I assume you are using Pharo Launcher (or zeroconf directly). And this is a
problem...
I can't help you with GTK as I'm one of the unfortunate Mac users.
However, I've used the Pharo-LibVLC extensively - although not for video,
so my experience may or may not be relevant for you.
One of the capabilities for Pharo that is sorely under-documented is FFI.
Yes, there is an FFI document,
Hi Esteban,
Thanks for your reply. I’m running on macOS so I think you’ve helped me
identify the issue :)
The target is macOS and PiOS so I’ll give it a go on the pi. For now I can work
on Linux until the Mac issue is resolved.
The process is to zeroconf pharo 11, then install spec-gtk based o
Hi,
Spec-Gtk should work without problems on P11, except on macs, where there is a
known problem.
what is the process you are taking to install it? where are you trying it?
I don't know the status of the VLC bindings.
Esteban
On Jul 9 2023, at 2:53 am, Jupiter Jones wrote:
> The stark silence a
The stark silence answers my question :)
So…
I found a nice binding to VLC [1] and was thinking of using Spec2 GTK+ to
create a video widget/component. Does anyone with more in depth knowledge of
Spec2 and GTK foresee any obvious blocks?
First block :) I can’t find a way to play with the Spec2