Debug Info

2011-12-11 Thread Brian Duffy
Hi, I'm new to vala/clutter development and trying to setup Nemiver to debug my vala/clutter programs. I'm using monodevelop to edit and build the clutter-demo example from the vala web page. I am passing the compiler the --pkg clutter-1.0 -g --save-temps options. I have the clutter-debuginfo pack

clutter_debug_enabled()

2011-12-14 Thread Brian Duffy
New to Vala/Clutter/Linux programming. I included "public bool test = get_debug_enabled();" in my clutter-demo.vala program and printed it out to the console. I notice it returns false. Would this explain why I can't evaluate expressions like r.width (where r is a Clutter Rectangle) while debuggin

SVG animation?

2011-12-23 Thread Brian Duffy
Would it be possible to move an svg along a path and increase its size as it goes? The idea is to have a grid of icons; user selects one of the icons and it moves to a different part of the screen as it increases in size (and the others fade away). Is it worth pursuing? thnx Brian -- Duff _

Re: SVG animation?

2011-12-23 Thread Brian Duffy
act, one of the super cool > things about clutter. Check out this example I found: > > http://pyclutter.sourcearchive.com/documentation/1.0.0/test-animation_8py-source.html > > On Fri, Dec 23, 2011 at 3:45 AM, Brian Duffy wrote: > > Would it be possible to move an svg along a pa

display SVG file

2011-12-30 Thread Brian Duffy
Hi again, Looking for some help displaying SVG's ... What is the easiest way to display an SVG file onto a ClutterCairoTexture? I just want to use SVG files instead of bitmap images. I found Cairo SVGSurface. That seems to load the svg from the filename but I don't know how to put it into CairoText

Re: display SVG file

2011-12-30 Thread Brian Duffy
near the computer at the beginning of next week. > > Best regards, > Vlad > > 2011/12/30 Brian Duffy > >> Hi again, >> Looking for some help displaying SVG's ... >> What is the easiest way to display an SVG file onto a >> ClutterCairoTexture? I just want

Clutter Video Texture

2012-01-03 Thread Brian Duffy
Hello again, So, I got a video to play on my ClutterGst Video Texture, which was nice and easy. Now I am wondering what the state of hardware acceleration of video playback is with ClutterGst as of 1.4. I don't suppose you just get it out of the box. What steps should I take to enable hardware acc

connecting signals

2012-01-04 Thread Brian Duffy
Hello again, I have a simple VideoTexture playing a movie and I would like to connect a mouse press event for that VideoTexture to an event handler using Vala. How can I do that? Thanks Brian -- Duff ___ clutter-app-devel-list mailing list clutter-ap

Fwd: VideoTexture.set_seek_flags

2012-01-05 Thread Brian Duffy
-- Forwarded message -- From: Brian Duffy Date: Thu, Jan 5, 2012 at 4:18 PM Subject: VideoTexture.set_seek_flags To: vala-list Hello again, I can't seem to call set_seek_flags on my ClutterGst VideoTexture. I get the error that set_seek_flags does not exist in the conte

Binding problem or ClutterGst problem or my problem?

2012-01-06 Thread Brian Duffy
Hello, Having trouble figuring out why I can't use set_seek_flags(...) on a ClutterGst VideoTexture. I'm getting the error "set_seek_flags" does not exist in the context of ClutterGst.VideoTexture. I have confirmed I'm using Clutter-Gst 1.4.4 with ClutterGst.Version.check(1,4,4). Also, I am using

Re: Binding problem or ClutterGst problem or my problem?

2012-01-06 Thread Brian Duffy
Okay, thanks for that! Here is what worked for me in Vala... tx.set_property("seek-flags", 1); Seeks seem to be more accurate, or maybe I'm just imagining it ;-). Brian On Fri, Jan 6, 2012 at 10:12 AM, Lionel Landwerlin wrote: > On Fri, 2012-01-06 at 10:02 -0500, Brian Duff

bin layout manager opacity

2012-01-12 Thread Brian Duffy
Hi, I have a few boxes laid out in a bin layout manager so they are stacked on top of each other. I would like to adjust the opacity of the boxes separately so that the bottom box is slightly translucent while the box above it (that contains some text) has no translucency. Currently the text in th

Fully opaque text on partially transparent background?

2012-01-12 Thread Brian Duffy
Is there any way to show fully opaque text (or image) over a container or rectangle with opacity of less than 255? thnx Brian -- Duff ___ clutter-app-devel-list mailing list clutter-app-devel-list@clutter-project.org http://lists.clutter-project.org/l

opaque text over semi-transparent background

2012-01-12 Thread Brian Duffy
Okay, this worked for me ... layout1 = new BinLayout(Clutter.BinAlignment.CENTER, Clutter.BinAlignment.CENTER); box = new Box(layout1); Text item = new Text(); item.set_text("Hello World"); item.set_color(Color.from_string("white")); item.set_opacity(255); Rectangle rect = new Rectangle(); rec

Re: [Vala] Binding problem or ClutterGst problem or my problem?

2012-01-13 Thread Brian Duffy
se. thnx Brian On Fri, Jan 13, 2012 at 5:25 AM, Andrea Del Signore wrote: > Hi, > > On Fri, 2012-01-06 at 10:02 -0500, Brian Duffy wrote: > > I'm getting the error "set_seek_flags" does not > > exist in the context of ClutterGst.VideoTexture. I

Re: [Vala] Binding problem or ClutterGst problem or my problem?

2012-01-13 Thread Brian Duffy
r and clutter-gst, are having their vapi files updated to something *atleast* relatively recent. On Fri, Jan 13, 2012 at 9:46 AM, Andrea Del Signore wrote: > On Fri, 2012-01-13 at 09:32 -0500, Brian Duffy wrote: > > > I would be interested if anyone can clarify what the deal is here. I

Re: [Vala] Binding problem or ClutterGst problem or my problem?

2012-01-13 Thread Brian Duffy
e Bassi wrote: > > On 2012-01-13 at 09:32, Brian Duffy wrote: > > > Maybe I'm wrong but I was going on the assumption that the vapi > authors are > > > not basing their version numbers on "minor" releases such as > clutter-1.8 or > > > clutter-gst-1.4

Blinking Text?

2012-01-17 Thread Brian Duffy
Hi, I am trying to get a menu item to blink quickly a few times when it is chosen. Is there a built in animation that I can use? Any suggestions? thnx -- Duff ___ clutter-app-devel-list mailing list clutter-app-devel-list@clutter-project.org http://li

Re: Blinking Text?

2012-01-17 Thread Brian Duffy
; clutter_alpha_set_func() with your own ClutterAlphaFunction. > > Hope it helps > Roland > > > > On 17.01.2012, at 22:58, Brian Duffy wrote: > > Hi, > > I am trying to get a menu item to blink quickly a few times when it is &

Re: Blinking Text?

2012-01-18 Thread Brian Duffy
lutterTimeline.html#ClutterTimeline-marker-reached>" > signal for blinking. > 2.) You use an animation on the opacity and make use of > clutter_alpha_set_func() with your own ClutterAlphaFunction. > > Hope it helps > Roland > > > > On 17.01.2

ClutterScript Question

2012-01-19 Thread Brian Duffy
Hello again, I'm investigating ClutterScript because the Clutter Cookbook suggests that there are numerous benefits to its use. Thus far, all my coding (not very much) has been without it. Can anyone suggest any drawbacks to using ClutterScript? After reading the introduction the first question t

Re: ClutterScript Question

2012-01-20 Thread Brian Duffy
traversing my result set in code. So I guess pursuing this clutter script thing for my gui is doable. Although, I am still curious if anyone wants to express reservations about using ClutterScript. thnx On Thu, Jan 19, 2012 at 4:04 PM, Brian Duffy wrote: > Hello again, > > I'm

Re: ClutterScript Question

2012-01-20 Thread Brian Duffy
Good points. Also, all of those brackets are giving me a headache. On Fri, Jan 20, 2012 at 10:06 AM, Jonathan Ryan wrote: > On Fri, Jan 20, 2012 at 9:14 AM, Brian Duffy wrote: > >> Its funny how things sometimes come to me right before I fall asleep at >> night or in the m

Re: ClutterScript Question

2012-01-20 Thread Brian Duffy
le. For each object, you can set their > properties direclty in the json. Then, you can fetch only the objects you > need and work with them, using clutter_script_get_object(). > > > -- > Dominique > > > > On Fri, 20 Jan 2012 10:44:21 -0500, Brian Duffy wrote: > >

Re: ClutterScript Question

2012-01-20 Thread Brian Duffy
to: > clutter-app-devel-list-boun...@clutter-project.org] On Behalf Of > Dominique Bureau > Sent: Saturday, January 21, 2012 12:40 AM > To: Brian Duffy > Cc: clutter-app-devel-list@clutter-project.org > Subject: Re: ClutterScript Question > > A simple advice: whenever you buil

Access Clutter Script Actor in Event handler

2012-01-25 Thread Brian Duffy
Hi again, I'm trying to get clutter script working with vala. I can't figure out how to access my rectangle in its button-press-event handler. how can I define the params of the handler to get access to the ui object? ... thnx using Clutter; using GLib; bool button_press (ButtonEvent event, Sc

Re: [Vala] Access Clutter Script Actor in Event handler

2012-01-26 Thread Brian Duffy
: [ >{ "name" : "hide", "handler" : "clutter_main_quit" } > ], >"children" : [ > { >"id" : "rectangle", >"type" : "ClutterRectangle", >

Re: [Vala] Access Clutter Script Actor in Event handler

2012-01-27 Thread Brian Duffy
n_press_event.connect (() => {button_press (stage, ui); > return true;}); > stage.key_press_event.connect (key_pressed); > stage.show_all(); > Clutter.main(); > return 0; > } > > > and the json-file (slightly simpler) like this: > > [ > { >"id" : &qu

Deprecations

2012-02-01 Thread Brian Duffy
The deprecated list in the new clutter release has me thinking I may want to rethink my ui definitions. How big a hassle would it be to update my clutter environment to 1.9.4? F16 made getting my clutter environment setup nice and easy but when I tried to install Clutter 1.9.4 from source I immedia

Re: Deprecations

2012-02-02 Thread Brian Duffy
that. On Thu, Feb 2, 2012 at 7:04 AM, Emmanuele Bassi wrote: > hi; > > On 2012-02-01 at 16:43, Brian Duffy wrote: > > The deprecated list in the new clutter release has me thinking I may want > > to rethink my ui definitions. > > first of all, deprecations are just

jhbuild

2012-02-06 Thread Brian Duffy
Any jhbuilders out there? Is gettext-autopoint not contained in gettext-devel on F16? When I try to run clutter-build-setup.sh it asks if I want to search for and install gettext-autopoint and then can't find the package. I have gettext-devel installed. Brian -- Duff ___

jhbuild

2012-02-06 Thread Brian Duffy
After reading the jhbuild instructions on Clutter docs I went ahead and installed the latest version of jhbuild. Then I ran clutter-build-setup.sh. I did not realize that the shell script is also trying to install jhbuild. That was not very clear in the docs. Anyway, the shell script fails to find

Fwd: Running Clutter without a desktop

2012-02-07 Thread Brian Duffy
-- Forwarded message -- From: Brian Duffy Date: Tue, Feb 7, 2012 at 12:33 PM Subject: Re: Running Clutter without a desktop To: t...@ubilix.com Hi Tom, This may not be exactly what you are looking for right now, but it sounds like you are working towards creating a device for a

Re: Deprecations

2012-02-10 Thread Brian Duffy
other systems getting this working or is this typical with setting up jhbuild? The clutter-build-setup.sh script does not work for me either. thnx Brian On Thu, Feb 2, 2012 at 7:04 AM, Emmanuele Bassi wrote: > hi; > > On 2012-02-01 at 16:43, Brian Duffy wrote: > > The deprecated lis

Re: Deprecations

2012-02-13 Thread Brian Duffy
at 6:49 AM, Emmanuele Bassi wrote: > On 2012-02-10 at 16:09, Brian Duffy wrote: > > What OS do you do your jhbuild stuff on? On F16 I can't get jhbuild > working > > with the clutter .jhbuildrc file. Problems installing expat. jhbuild > > sanitycheck works okay. jhb

Re: Deprecations

2012-02-13 Thread Brian Duffy
Correction, The error output is from running jhbuild build after having successfully completed jhbuild sysdeps --install sorry. On Mon, Feb 13, 2012 at 1:52 PM, Brian Duffy wrote: > Okay, here is what I get when starting from scratch after "jhbuild sysdeps >

Re: Deprecations

2012-02-13 Thread Brian Duffy
What about "sudo yum update libdrm --enablerepo=rawhide"? Would that be appropriate? b On Mon, Feb 13, 2012 at 1:55 PM, Brian Duffy wrote: > Correction, > > The error output is from running jhbuild build after having successfully > completed jhbuild sysdeps --install &

Porting "Using PocketSphinx with GStreamer and python" to Vala

2012-03-21 Thread Brian Duffy
Hello all, I am trying to port thisexample "Using PocketSphinx with GStreamer and Python" to Vala. I have an example compiling but I am getting some warnings that I don't understand and a segmentation fault when running. Also, I am not sure what data

Fwd: Porting "Using PocketSphinx with GStreamer and python" to Vala

2012-03-21 Thread Brian Duffy
Sorry, forgot to mention that the segfault happens when I speak into the microphone; so my pipeline and asr are working well enough to pick up utterances from my microphone. -- Forwarded message -- From: Brian Duffy Date: Wed, Mar 21, 2012 at 2:30 PM Subject: Porting "

Clutter-Gst VideoTexture problem (fc17)

2012-06-01 Thread Brian Duffy
Hello all, I installed fedora 17 (vala 0.16, clutter 1.10) on a development machine today and tried porting a project over from fedora 16 (using vala 0.14, clutter 1.8, etc). I'm having trouble getting the Clutter-Gst VideoTexture to work now. I can start the movie and pause it , but then I can't

Clutter-Gst VideoTexture correction

2012-06-01 Thread Brian Duffy
The example does not work without initially using Hello all, I installed fedora 17 (vala 0.16, clutter 1.10) on a development machine today and tried porting a project over from fedora 16 (using vala 0.14, clutter 1.8, etc). I'm having trouble getting the Clutter-Gst VideoTexture to work now. I c

VideoTexture Correction Correction (OMG)

2012-06-01 Thread Brian Duffy
Sorry, I just needed to point out that I forgot to do "videoPlayer.set_playing(false);" when creating the player. If I don't do that then the if statement in the buttonevent handler does not work. Here is the working test (still the same problem as original post) ... using Clutter; using ClutterG

Clutter-Gst 1.5.6 (fc17)

2012-06-01 Thread Brian Duffy
So, it looks like 1.5.6 has a fix related to playing/pausing video with the default cluttersink. This may solve my problem. What is the recommended way to get 1.5.6 on my fc17 box? Will there likely be an update available in fc17 soon (it just dropped a few days ago) or should I uninstall the 1.5.4

[Clutter] ClutterText border?

2012-06-18 Thread Brian Duffy
Hi everyone, I'm a little confused about how to get a border around my (editable) text. I am using the latest clutter on f17 and I am being careful to move away from deprecated functionality. With Rectangle being deprecated I am wondering what is the proper way to create a "text box" with a simple

[Vala/Clutter] set_background_color confusion

2012-06-27 Thread Brian Duffy
Hi, I have a collection of text actors inside a parent actor with a BoxLayout applied to the parent actor. I am obtaining pointers to the different Text objects in the collection with the get_child_at_index(int Index) method. My wish is to just set the background color of the Text object as I iter

[Vala/Clutter] ClutterText.set_single_line_mode() problem

2012-06-29 Thread Brian Duffy
Hi, Vala 0.16-0.4.fc17 Clutter 1.10.6-1.fc17 Here I have a stripped down program to demonstrate a problem I am having with setting a ClutterText to single_line_mode. If I do mainMenuListItem7.set_single_line_mode(true), and stage.set_key_focus(mainMenuItem7), then the text box works as I need it

Last message sent in error please refer to this one

2012-06-29 Thread Brian Duffy
Hi, I am having a problem setting the background colors of items in my layout. Please try this out if you can and see if the text items background color is set properly when iterating through the items. Thanks Brian using Clutter; /* Gui: class called from main to define the ui before the clut

[Clutter/Vala] background color issue development environment

2012-06-29 Thread Brian Duffy
Just to reiterate my development environment, I'm on fc17 with latest stable packages of Clutter and Vala. -- Duff ___ clutter-app-devel-list mailing list clutter-app-devel-list@clutter-project.org http://lists.clutter-project.org/listinfo/clutter-app-d

Re: Clutter vs. Qt

2012-07-04 Thread Brian Duffy
I chose Clutter over Qt because it was easier to add video playback to my application. Since then, there has been some progress made in that area with Qt in the form of qtgstreamer. Also, I really like the way Clutter allows me to make a fluid interface without having to add additional libs. There

[Clutter/Vala] Horizontal Scrolling of ClutterText

2012-08-01 Thread Brian Duffy
. Anyone have any pointers on the easiest way to accomplish it? thanks Brian Duffy -- Duff ___ clutter-app-devel-list mailing list clutter-app-devel-list@clutter-project.org http://lists.clutter-project.org/listinfo/clutter-app-devel-list

[CLUTTER] Pause looping animation between loop iterations?

2012-08-03 Thread Brian Duffy
I would like to pause for a few seconds between iterations of a looping animation. Can it be done? thanks Brian -- Duff ___ clutter-app-devel-list mailing list clutter-app-devel-list@clutter-project.org http://lists.clutter-project.org/listinfo/clutte

Re: [CLUTTER] Pause looping animation between loop iterations?

2012-08-03 Thread Brian Duffy
at all. On Fri, Aug 3, 2012 at 6:12 PM, Lionel Landwerlin wrote: > What about getting the timeline of the animation and > clutter_timeline_pause() ? > > -- > Lionel > > On Fri, 2012-08-03 at 18:08 -0400, Brian Duffy wrote: > > I would like to pause for a few seco

Re: [CLUTTER] Pause looping animation between loop iterations?

2012-08-04 Thread Brian Duffy
ever completes, but a looping Timeline does. Now ... private void on_animation_completed (Timeline timeline) { stdout.printf("%s", "inside completed"); timeline.stop(); timeline.set_delay(3000); timeline.start(); } gets it done. thanks On Sat, Aug 4, 2012 at 3:30 AM, Emmanuele Bass

Re: [CLUTTER] Pause looping animation between loop iterations?

2012-08-05 Thread Brian Duffy
using the TransitionGroup class. > > Ciao, > Emmanuele. > > On 4 Aug 2012, at 20:00, Brian Duffy wrote: > > ahhh ... > A > ClutterAnimation<http://developer.gnome.org/clutter/stable/clutter-Implicit-Animations.html#ClutterAnimation> > will > emit the &

RE: [CLUTTER] Pause looping animation between loop iterations?

2012-08-07 Thread Brian Duffy
lutter_timeline_pause() ? > > -- > Lionel > > On Fri, 2012-08-03 at 18:08 -0400, Brian Duffy wrote: > > I would like to pause for a few seconds between iterations of a > > looping animation. Can it be done? > > > >