GtkBuilder property binding syntax

2014-06-20 Thread Victor A. Santos
Which is the syntax for property binding in UI definition files ? I've tried: property name=label bind-source=cross_low_adj bind-property=value / but: input:3:3535 'bind-source' is not a valid attribute of property Thanks ___ gtk-app-devel-list

Re: GtkBuilder property binding syntax

2014-06-20 Thread Phillip Wood
On 20/06/14 16:23, Victor A. Santos wrote: Which is the syntax for property binding in UI definition files ? I've tried: property name=label bind-source=cross_low_adj bind-property=value / but: input:3:3535 'bind-source' is not a valid attribute of property If you want property label

Re: GtkBuilder property binding syntax

2014-06-20 Thread Emmanuele Bassi
hi; that's not entirely correct: GtkBuilder now allows binding properties directly in the XML: It is also possible to bind a property value to another object's property value using the attributes bind-source to specify the source object of the binding, bind-property to specify the source

Polar drawing widget, gearwheel drawing

2014-06-20 Thread Arne Pagel
dear all, I have some Gtk Applications (in C) and now I want to add a functionality for displaying kind of gearwheels with different number oft teeth. Basically this should be an visual support for parameter editing, maybe as a wizard. The gearwheels doesn't have to be very fancy, but I need

Re: GtkBuilder property binding syntax

2014-06-20 Thread Phillip Wood
On 20/06/14 17:04, Emmanuele Bassi wrote: hi; that's not entirely correct: GtkBuilder now allows binding properties directly in the XML: It is also possible to bind a property value to another object's property value using the attributes bind-source to specify the source object of

Re: Polar drawing widget, gearwheel drawing

2014-06-20 Thread Chris Moller
+1 on cairo. He's a doc page that covers the basics: http://cairographics.org/documentation/ On 06/20/14 15:27, John Coppens wrote: On Fri, 20 Jun 2014 19:54:28 +0200 Arne Pagel a...@pagelnet.de wrote: Point is that I don't want to spend a lot of time in this feature, so I am searching

Re: GtkBuilder property binding syntax

2014-06-20 Thread Victor A. Santos
Thanks for help. I'll write the binding in the code, maybe when Gtk releases 3.14 I migrate to binding in .ui. Thanks again :) On Fri, 2014-06-20 at 19:28 +0100, Phillip Wood wrote: On 20/06/14 17:04, Emmanuele Bassi wrote: hi; that's not entirely correct: GtkBuilder now allows

Re: Polar drawing widget, gearwheel drawing

2014-06-20 Thread David Marceau
This will match up with your requirements: https://code.google.com/p/bridgegl/ https://code.google.com/p/bridgegl/source/browse/trunk/application.cpp If the above is too noisy/featureful, then look at the python versions below, then look at the .cc/.cpp later. For static 2d: