Hi, No reason to use FXSeparator, but by chance, i did something like that ......... FXHorizontalSeparator.new(self,SEPARATOR_LINE|LAYOUT_FILL_X) # ok ........... FXSeparator.new(self,SEPARATOR_LINE|LAYOUT_FILL_X) # or FXSeparator(self) ......... abnormal program termination Kory.rb:1604: [BUG] Segmentation fault ruby 1.8.4 (2005-12-24) [i386-mswin32] regards G?rard M?nochet -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/fxruby-users/attachments/20060418/5498f939/attachment-0001.htm
On Apr 18, 2006, at 5:28 AM, G?rard M?nochet wrote:> Hi, > ? > ?No reason to use FXSeparator, but by chance, i did something like thatThanks, I''ve submitted a bug report on your behalf. As you noted, the normal practice is to just construct an FXHorizontalSeparator or FXVerticalSeparator. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 443 bytes Desc: not available Url : http://rubyforge.org/pipermail/fxruby-users/attachments/20060418/de92fb7a/attachment.bin
I''m looking to get a .avi video playing in the middle of an fxruby window. Anyone had any experience with this ? Dylan
wow, please post the solution if you get it to work! i think it will only be possible with FXGLCanvas, FXCanvas is too slow. On 4/19/06, Dylan Bruzenak <dylanb at digitalvalence.com> wrote:> I''m looking to get a .avi video playing in the middle of an fxruby > window. Anyone had any experience with this ? > > Dylan > _______________________________________________ > fxruby-users mailing list > fxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/fxruby-users >
On Wednesday 19 April 2006 14:34, Dylan Bruzenak wrote:> I''m looking to get a .avi video playing in the middle of an fxruby > window. Anyone had any experience with this ?Probably, what''s needed is a subclass of FXWindow which manages a special window which supports X video extension. You can do this, probably two ways: 1) Subclass FXWindow and set up X video window. This is probably preferred. 2) "Swallow" an existing window from the video player application, using attach(). For example if you fire up mplayer you can attach the mplayer or ogle window inside an FXWindow, after which its geometry is managed by the widget set. My vote would be option (2) since setting up the video window isn''t the hard part; its pushing data to it at real-time rates for smooth video playback, not to mention sound. All these problems have been solved in mplayer already. I have to mention that a FOX-based video player already exists; its called Goggles and you can find it here: http://www.fifthplanet.net/goggles.html Hope this helps, - Jeroen -- +----------------------------------------------------------------------------+ | Copyright (C) 16:20 04/19/2006 Jeroen van der Zijp. All Rights Reserved. | +----------------------------------------------------------------------------+ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://rubyforge.org/pipermail/fxruby-users/attachments/20060419/07a3c1b4/attachment.bin
Dylan Bruzenak
2006-Apr-19 21:31 UTC
[fxruby-users] playing video in the middle of an fxruby window
Oops, forgot to change the subject line. I''ll let you know if I get it working. Meinrad Recheis wrote:> wow, please post the solution if you get it to work! i think it will > only be possible with FXGLCanvas, FXCanvas is too slow. > > On 4/19/06, Dylan Bruzenak <dylanb at digitalvalence.com> wrote: > >> I''m looking to get a .avi video playing in the middle of an fxruby >> window. Anyone had any experience with this ? >> >> Dylan >> _______________________________________________ >> fxruby-users mailing list >> fxruby-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/fxruby-users >> >> > > _______________________________________________ > fxruby-users mailing list > fxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/fxruby-users > >