[clutter] Problem with Box Layout

2010-03-16 Thread Kevin DeKorte
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I think I have a problem with the box layout, but am unsure.

I have a cairo texture and then horizontal box layout (which works fine)
and I pack them into a vertical box layout.

The clutter_cairo_texture I am defaulting to 10,10 but I would like it
to reallocated based on the size given to it by the box layout.

I'm doing this

tracker-vlayout = clutter_box_layout_new();
tracker-vcontainer = clutter_box_new(tracker-vlayout);
clutter_box_layout_set_pack_start(CLUTTER_BOX_LAYOUT(tracker-vlayout),
TRUE);
clutter_box_layout_set_vertical(CLUTTER_BOX_LAYOUT(tracker-vlayout), TRUE);

tracker-progress = clutter_cairo_texture_new(10,10);
clutter_box_layout_pack(CLUTTER_BOX_LAYOUT(tracker-vlayout),tracker-progress,TRUE,TRUE,TRUE,CLUTTER_BOX_ALIGNMENT_START,CLUTTER_BOX_ALIGNMENT_START);
clutter_box_layout_pack(CLUTTER_BOX_LAYOUT(tracker-vlayout),tracker-hcontainer,FALSE,TRUE,FALSE,CLUTTER_BOX_ALIGNMENT_START,CLUTTER_BOX_ALIGNMENT_START);

But the tracker-progress is never given all the extra space. Do I need
to put in another container in there or is there a better way to
initialize the texture.

Thanks,

Kevin
- -- 
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x7D0BD5D1
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkuf/sAACgkQ6w2kMH0L1dGq/QCdFoJVvlp/Rpt9T9UakMYS9YN5
kPgAnA9Nogk/ZZr0PG5+nLSL7z+Lv68P
=+eeW
-END PGP SIGNATURE-
-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



[clutter] iPhone Contact list widget?

2009-12-16 Thread Kevin DeKorte
Is there a widget available that is based on clutter that works kinda 
like the iPhone contact list. Where you can scroll up and down with the 
flick of the mouse?


Thanks,

Kevin
--
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x7D0BD5D1
--
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



[clutter] clutter-gst and playbin2

2009-11-13 Thread Kevin DeKorte
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Any progress on converting clutter-gst from using a playbin to using
playbin2? I've been running into some problems with gstreamer and they
are recommending I switch to playbin2.

I tried just changing playbin to playbin2 in the clutter-gst code, but I
didn't get any video.

Thanks,

Kevin
- -- 
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x7D0BD5D1
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkr9egIACgkQ6w2kMH0L1dFt7QCfTOgJhE2tneLXXBofZgUwHkWa
BhUAnRdqOF83zvgrWfRRnr5/uIh9EnvD
=mWYl
-END PGP SIGNATURE-
-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



Re: [clutter] MPlayer and clutter

2009-11-10 Thread Kevin DeKorte
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/10/09 16:03, Matej Kupljen wrote:
 Damien,
 
From what I can see, it seems that v4l2src is failing enumerating the
 standards defined by your driver (v4l2src could enumerate 20 standards
 but stopped at the 21st). The driver is supposed to return EINVAL when
 the index is out of bounds in the VIDIOC_ENUMSTD request (see
 http://v4l2spec.bytesex.org/spec/r9288.htm ) but, for some reason
 returns EPERM ?
 
 You solved the case, thank you! :D
 I wasn't looking good enough.
 
 Now, the problem was located, but another problem is that this is a
 semi open source meaning that only the interface is opened and
 the rest is shipped in the binary object file.
 
 However I was able to intercept the call to ioctl and then I checked
 if it is calling with those parameters, I just returned EINVAL as
 specified by standard.
 
 Now, to continue with my demo application.
 
 Thank you once again.
 
 Regards,
 Matej

Matej,

If you want to look at my clutter/gstreamer app for ideas.

You can find it here:
http://code.google.com/p/fosfor/

Screenshots of it are here:
http://kdekorte.blogspot.com/search/label/fosfor

Kevin

- -- 
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x7D0BD5D1
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkr588YACgkQ6w2kMH0L1dFZEwCfR8QnGaAc0cpTIniSG5g4pgj+
vO4An1oW9gUYZk6JqTP1li4vn3XY9Z3k
=6f6p
-END PGP SIGNATURE-
-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



[clutter] leave-event?

2009-11-02 Thread Kevin DeKorte
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Would it be possible to fire the leave event when the mouse leaves the
stage, specifically a stage embedded in GTK? If you have an actor that
is on the edge of the stage and the mouse leaves the stage on the edge
that the actor is touching the leave event does not seem to fire.

Kevin
- -- 
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x7D0BD5D1
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkrvI4kACgkQ6w2kMH0L1dFd/ACeKxeAFTcktMH5yxxH0EFQM1yo
ocoAn2yvmjuo3WUydzHyAtTQPKEbF9oA
=s1eV
-END PGP SIGNATURE-
-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



[clutter] Unable to compile git master

2009-11-02 Thread Kevin DeKorte
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I tried to compile git master today and I'm getting these errors...

./clutter-stage.c: In function 'clutter_stage_read_pixels':
./clutter-stage.c:1381: warning: implicit declaration of function
'cogl_read_pixels'
./clutter-stage.c:1382: error: 'COGL_READ_PIXELS_COLOR_BUFFER'
undeclared (first use in this function)
./clutter-stage.c:1382: error: (Each undeclared identifier is reported
only once
./clutter-stage.c:1382: error: for each function it appears in.)
make[4]: *** [clutter-stage.lo] Error 1
make[4]: *** Waiting for unfinished jobs
./clutter-texture.c: In function 'clutter_texture_paint':
./clutter-texture.c:563: warning: implicit declaration of function
'_cogl_setup_viewport'
./clutter-texture.c: In function 'clutter_texture_class_init':
./clutter-texture.c:985: error: 'COGL_TYPE_PIXEL_FORMAT' undeclared
(first use in this function)
./clutter-texture.c:985: error: (Each undeclared identifier is reported
only once
./clutter-texture.c:985: error: for each function it appears in.)

Kevin


- -- 
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x7D0BD5D1
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkrvJSIACgkQ6w2kMH0L1dGGJwCfeHI/3Rt8Uo2AW1vl7LtsjUh9
AbQAn0XSROX3l2SHLLcuMBWeVooMMHha
=bpK/
-END PGP SIGNATURE-
-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



Re: [clutter] Unable to compile git master

2009-11-02 Thread Kevin DeKorte
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/02/09 11:46, Emmanuele Bassi wrote:
 On Mon, 2009-11-02 at 11:29 -0700, Kevin DeKorte wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 I tried to compile git master today and I'm getting these errors...
 
 when was the last time you compiled master?
 
 please, run 'make distclean' or 'git clean -xdf' and try running
 autogen.sh again.
 
 ciao,
  Emmanuele.
 
 

I ran this sequence

 1015  git pull
 1016  make distclean
 1017  ./autogen.sh --prefix=/usr --libdir=/usr/lib64 --enable-gtk-doc
 1018  make

And it still fails to compile

but then I ran git clean -xdf and then the sequence and it compiled
properly. Thanks for the tip.

Kevin

- -- 
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x7D0BD5D1
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkrvLiQACgkQ6w2kMH0L1dGgmwCfeZmHsBZ0k39l3KZPOk5hZEf7
s2EAni4FuDKnqrNEHT4B8SGWsDQLzbjB
=52Wy
-END PGP SIGNATURE-
-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



[clutter] Box Layout

2009-10-30 Thread Kevin DeKorte
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I have a question about the usage of the box layout. I have an actor
contained in the box layout with the expand flag set to true. If I make
the box layout larger the actor gets larger as expected. but when I try
to make the box smaller, the embedded actor keeps the larger size. Is
there another flag I need to set to allow the actor to be shrunk?

Thanks,

Kevin
- -- 
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x7D0BD5D1
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkrrFJoACgkQ6w2kMH0L1dHHKQCfXE1A5uI7AvGCa4zPTQfgvFnl
3+kAn37LvaSnah3GDkcxOCdRVFxUUOWW
=GY6k
-END PGP SIGNATURE-
-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



Re: [clutter] Some questions about Clutter-GST

2009-10-20 Thread Kevin DeKorte
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10/20/09 10:52, Damien Lespiau wrote:
 On Tue, 2009-10-20 at 16:50 +0100, Kevin DeKorte wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 I've been having some great luck with clutter-gst and clutter-gtk and in
 fact created a new project with it

 http://code.google.com/p/fosfor/

 Looks something like this:
 http://1.bp.blogspot.com/_8vVUG9EUYMg/Srk-JPdRiNI/Euw/BUQcZH8-dQk/s1600-h/Screenshot-.-MediaWall.png
 
 Awesome! Still sliders instead of funky progress bars make me sad these
 days, I do like the way several flash players report progress :p

Funky clutter based progress bars and buttons are on the way, needed to
use some existing parts to get things going. I have a fosfor_button
developed which is a ClutterActor that highlights as you mouse over it
and you can put gtk stock icons into it. You have a progress bar you
particularly like? I was going to model the youtube one, but maybe there
is something better.

the zoom in/out functionality was super easy thanks to clutter (Keypad
plus/minus and enter). And really makes things nice.

Plan to the do the playlist as kind of a Rolodex view. Where you could
flip thru the items that way. Just need time to make it happen.

 
 To do DVD menus I need to first hook the element-added function of the
 video-sink, so I do this...
 
 element-added is a signal that GstBins fire.
 
 element =
 clutter_gst_video_texture_get_playbin(CLUTTER_GST_VIDEO_TEXTURE(media));
  g_object_get(G_OBJECT(element),video-sink,video_sink, NULL);

  if (video_sink != NULL) {
  if (GST_IS_BIN(video_sink))
 
 The variable called element is a GstBin (it's playbin, should evolve to
 playbin2 before 1.0), so you can listen for element-added on that
 GstElement.

Ok, I'll try that. I was just following the method that totem uses to
obtain the navigation element.

 
 ClutterGstVideoSink is not a GstBin, it's a subclass of GstBaseSink
 which is a subclass of GstElement. It's the element responsible for
 displaying a frame in the pipeline.
 
 The reason I need to make this hook is that I need to use

 gst_bin_get_by_interface (GST_BIN(video_sink), GST_TYPE_NAVIGATION);
 
 Ah, for that to work (navigation events sent upstream from the sink),
 CluttetGstVideoTexture would have to implement the
 http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstnavigation.html#GstNavigation-struct
 GstNavigation
 http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstnavigation.html#GstNavigation-struct
 interface to forward ClutterEvents from the internal texture to upstream
 elements (the one actually handling click on DVD menus).
 
 That's not overly complicated but needs some work in clutter-gst,
 patches are welcomed :p. I may end up doing it at some point, no ETA though.
 
 HTH,
 
 -- 
 Damien

Ok, so basically at the moment I can't accomplish what I need cause the
code has not been written yet. I don't exactly need the clicks to work
however, I can sent navigation events to the navigation. Was thinking
either a clutter based on screen remote if the mouse clicks were not
possible.

Kevin


- -- 
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x7D0BD5D1
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkrd7wIACgkQ6w2kMH0L1dGCEQCgk49yBrFVPkcyi+4U5EbK0dKH
xRMAnjiJIbyKi+/Uq3maHqPrV//6lDi3
=jpgb
-END PGP SIGNATURE-
-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



Re: [clutter] Some questions about Clutter-GST

2009-10-20 Thread Kevin DeKorte
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10/20/09 11:26, Bastien Nocera wrote:
 On Tue, 2009-10-20 at 09:50 -0600, Kevin DeKorte wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 I've been having some great luck with clutter-gst and clutter-gtk and in
 fact created a new project with it

 http://code.google.com/p/fosfor/

 Looks something like this:
 http://1.bp.blogspot.com/_8vVUG9EUYMg/Srk-JPdRiNI/Euw/BUQcZH8-dQk/s1600-h/Screenshot-.-MediaWall.png

 but I've ran into a couple of issues and I wonder if you can point me in
 the right direction.
 
 That's nice, but it would be nicer if those changes could be
 retro-fitted into Totem somehow.
 
 We've been needing a reworked fullscreen UI for a while now.
 
 Cheers
 

Actually I'm using fosfor as an alternate backend for gecko-mediaplayer
and a parallel component to gnome-mplayer.

Totem probably could not take a lot of this code because the base
component requirements are so high that a lot of users would not be able
to install totem. I still have people that complain when I require
something in GTK 2.10 in gnome-mplayer.

Kevin
- -- 
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x7D0BD5D1
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkrd9qgACgkQ6w2kMH0L1dFZWACfavMmGLGp2XOUjHqdPqOB/ejV
fFUAoIdxDFbgG3X/hHUyMrIhadl3Y0TE
=AAH6
-END PGP SIGNATURE-
-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com