Questions tagged [clutter]

An open source software library for creating dynamic graphical user interfaces.

Clutter is an open source (LGPL 2.1) software library for creating fast, compelling, portable, and dynamic graphical user interfaces.

Clutter uses OpenGL for rendering (and optionally OpenGL|ES for use on mobile and embedded platforms), but wraps an easy to use, efficient, flexible API around GL's complexity.

155 questions
2
votes
2 answers

What should I use instead of clutter_score_new?

I've been following this tutorial on Clutter, and as you can imagine, it's pretty out of date, with my GCC throwing all manner of deprecation warnings about. As I don't want them to be chucked around (things get deprecated for a reason), I managed…
Koz Ross
  • 3,040
  • 2
  • 24
  • 44
2
votes
2 answers

draw 3D with cogl?

Cogl is a modern 3D graphics API with associated utility APIs designed to expose the features of 3D graphics hardware using a more object oriented design than OpenGL. The library has primarily been driven by the practical needs of Clutter but it is…
user69969
  • 341
  • 2
  • 10
2
votes
0 answers

Prevent Clutter transition from getting stopped

i'm using clutter transition to animate stuff: actor.save_easing_state(); actor.set_easing_duration(1000); //animate stuff actor.restore_easing_state(); have read somewhere that if you start a new transition and another transition is already…
user69969
  • 341
  • 2
  • 10
2
votes
1 answer

How to write a button_press_event signal handler in Vala?

I have been using Clutter together with Vala for some time now. It is a pleasure to work with Vala, but I have had some problems with clutter (especially with signals that do not seem to work for some reason). I'm having a hard time finding…
user69969
  • 341
  • 2
  • 10
2
votes
0 answers

gtk menu popup not showing when calling it inside a clutter actor?

im trying to show a gtk menu popup when a Clutter Actor is right-clicked. For some reason, the menu is not showing. Here is my code (not all, only the handler) button_press_event.connect((event) => { if (event.click_count < 2 && event.button ==…
angrymadcat
  • 554
  • 4
  • 11
2
votes
0 answers

Efficient reflections in Clutter/COGL?

I'm working on a program that uses Clutter (1.10) and COGL to render elements to the display. I've created a set of ClutterTextures that I am rendering video to, and I'd like the video textures to have reflections. The "standard" way to implement…
jldeon
  • 363
  • 2
  • 11
2
votes
0 answers

Filling a custom-shaped Clutter Actor with a Cairo-drawn canvas

Clutter 1.12 Cogl 1.10 Vala or C or Python. I might have a fundamental misunderstanding here — I think of "Actors" as 3D polygon things. I think of their colours as either vertex colors or as texture-mapping. In this light, I have been trying to…
Donn
  • 121
  • 1
  • 8
2
votes
1 answer

Howto sub class a Clutter.Actor (involves Cairo/Clutter.Canvas)

Can anyone help me get this to run? I'm aiming for a custom Actor. (I have only just started hacking with Vala in the last few days and Clutter is a mystery too.) The drawme method is being run (when invalidate is called) but there doesn't seem to…
Donn
  • 121
  • 1
  • 8
2
votes
0 answers

Adding External Library in CMake ( linux )

What is the simple process to add my external .so in Cmake. I want to know the exact location to where it needs to be added. And also for the include directories path. Please suggest the simplest way. I am a newB in CMake. Suppose my external .so…
2
votes
0 answers

clutter plugin using npapi

I have developed a plugin using NPAPI for calling Clutter Apis. I used OpenGL+Plugin as reference while creating the plugin. Standalone Native Clutter examples run with out any issue. My Questions How can I create a Clutter Stage from the Plugin's…
2
votes
1 answer

is there a way to disable pixman completely

I have pixman installed on my arm target, for bench-marking purposes i want to disable pixman completely(if that is even possible !). Is there a way to do this nicely without actually removing it. I know of the PIXMAN_DISABLE flag, but will that…
maheshg
  • 339
  • 2
  • 7
  • 17
2
votes
1 answer

Clutter - high scene composition, performance and suggested practices

I am absolutely new to Clutter and Cogl and am supposed to work on an application, which will display rather large amounts of data (lists, endless menus, highly nested elements and more). I have been working with many frameworks, especially on…
Martin Macak
  • 3,507
  • 2
  • 30
  • 54
2
votes
1 answer

Is there a way to *really* force pydev to use a forced builtin?

I'm using pydev to develop a pyclutter application. Clutter is added to the interpreter path and is in the list of forced builtins, but all the objects within clutter's namespace show up as "missing import" errors (i.e. the red squiggles). Is there…
PerilousApricot
  • 633
  • 1
  • 7
  • 19
1
vote
2 answers

Get current width and height of an Embed Clutter Stage

I'm using Clutter to compose an interactive/animate UI. I'm using two box containers (ClutterBox) with an integrated FixedLayout, and I want to be able to rearrange those boxes onto screen using an hard-coded layout during (gtk-)window resizing.…
Archedius
  • 2,887
  • 3
  • 20
  • 24
1
vote
2 answers

What XWindow property can prevent a window from getting focus, while letting it receive mouse events?

I am writing an Onscreen Keyboard in python, with clutter. I've gotten the ClutterStage's XWindow object, but I can't find any properties which prevent the window from stealing focus. Basically, it needs to accept mouse events (click, motion, etc),…
crazedpsyc
  • 65
  • 1
  • 4
1 2
3
10 11