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.

145 questions
19
votes
1 answer

The relationship between libraries: Clutter, Cogl, Clutter, GTK+, etc

I'm a little confused about the relationship of the libraries listed above, here are what I think: Cairo is a 2D graphic library, and GTK+ uses it to render widgets. Cario is low-level. Cogl is a 3D graphic library based on OpenGL(or a fork? I…
molikto
  • 486
  • 3
  • 15
12
votes
1 answer

Javascript extension to use C based APIs(clutter) in a webapp

My goal is to use the C libraries to form web apps. I have chosen the way to do that via using "SWIG" tool. The Swig tool requires three things: .c file which defines all the functions. .i file also called interface file which is creating…
user1872227
  • 141
  • 3
8
votes
3 answers

Looking for a cross-platform method for basic 2D/3D graphics for iOS and Android

I'm developing an application separately for both Android and iOS using their native SDKs. However, there's a some module in the application that should support basic 2D (it can also be 3D) abilities such as tilting, scaling, rotating of vector…
Dror
  • 2,489
  • 4
  • 31
  • 51
8
votes
2 answers

How to get started writing a compositing WM?

I would like to write a basic hardware-accelerated window manager, so I've been looking for some documentation on how to get started, but I've only managed to find this tutorial, which uses an outdated version of Clutter and won't build with any…
Skyler
  • 867
  • 1
  • 9
  • 22
6
votes
2 answers

Can one use Clutter with Python 3?

Are there Python 3 bindings for Clutter? If so, how can I get them and use them?
argentpepper
  • 3,382
  • 1
  • 28
  • 42
6
votes
4 answers

C++ - Clutter 1.0 - calling function from thread causes segfault

I am struggling with calling a clutter function from an extra thread. I use boost::thread for threading and the clutter library 1.0. To be specific, the thread contains a looped function that emits boost::signals2::signal with parameters of x and y…
verb-sap
  • 181
  • 1
  • 8
5
votes
1 answer

gjs cairo context drawing not displaying in clutter window

I'm trying to get a simple cairo drawing drawn to a clutter window using the javascript bindings. My problem is, apart from half the functions being named slightly differently, is no matter what I try, the cairo drawing does not show up. I used a…
James Hurford
  • 1,958
  • 17
  • 38
3
votes
1 answer

GtkClutter Actor signals not firing

I'm trying to write an app using GtkClutter but I can't get the actors to fire signals. Here is a sample from gi.repository import GtkClutter, Clutter, Gtk, Gdk GtkClutter.init([]) class MyCanvas(GtkClutter.Embed): __gtype_name__ =…
user250145
3
votes
1 answer

Can you embed GtkWidgets in a ClutterStage?

Any example I have seen seems to be embedding a ClutterStage in a GtkWidget. links: http://www.openismus.com/documents/clutter_tutorial/1.0/docs/tutorial/html/sec-stage.html http://www.gtkforums.com/viewtopic.php?t=4202
Mad Rapper X
  • 301
  • 4
  • 16
3
votes
1 answer

How can I draw a circle with Clutter?

I want to draw a circle with clutter but I am unable to figure how can I do that. I am using clutter with vala programming language but an example in c would be sufficient also in case you don't know vala. So how can i do that ?
taabouzeid
  • 899
  • 5
  • 17
  • 25
3
votes
0 answers

Catch move event in Clutter Actor but stay transparent for other interactions

I want to build a Gnome shell extension that highlights the mouse cursor. I have a working prototype of a Clutter Actor that draws above all other windows, but mouse movements are only tracked when no other windows are behind the test canvas. My…
tobias47n9e
  • 2,310
  • 3
  • 23
  • 46
3
votes
3 answers

usage of clutter for game development

I'm a relatively new developer, and I'm looking to learn C++. I've had experience coding in java, javascript, actionscript, and python, but I want something fast enough to do some high performance 2D and 3D games. When I eventually learn the basics…
lukecameron
  • 33
  • 1
  • 5
3
votes
1 answer

How can I scroll a Clutter.ScrollActor with a scrollbar?

I have a a GtkClutter.Embed that holds a complete graph of clutter actors. The most important actor is container_actor that holds a variable number of actors (laid out with a FlowLayout) that may overflow the height allocated to the parent Embed. At…
Name is carl
  • 5,393
  • 3
  • 24
  • 43
3
votes
2 answers

Handling window focus events in a gnome shell extension

I am developing a gnome shell extension for Gnome 3.4. My extension needs to capture the window events if any editable text is focused in/out. global.stage.connect('notify::focus-key', Lang.bind(this, this._myHandler)); did not work for me. Here…
3
votes
3 answers

Clutter messing up animations

Clutter is not doing the full animation. This is my current code: from gi.repository import Clutter, Gtk import sys def onClick(actor, event): actor.animatev(Clutter.AnimationMode.LINEAR, 1000, ["x"], [280]) # clutter does not seem to be…
DanielTA
  • 4,537
  • 2
  • 20
  • 24
1
2 3
9 10