[LAD] C/gtk3/cairo meter widget
sed at free.fr
Tue Feb 12 10:00:02 UTC 2013
On 02/12/2013 09:56 AM, Patrick Shirkey wrote:
> On Tue, February 12, 2013 3:50 am, Paul Davis wrote:
>> On Mon, Feb 11, 2013 at 11:44 AM, Patrick Shirkey <
>> pshirkey at boosthardware.com> wrote:
>>> Thanks for the tip. Will save me some braincells.
>>> Found it here:
>> the code in ardour3 doesn't use pixbufs and is entirely drawn directly
>> cairo. you may or may not care.
> It's a multistep process to get it all integrated. I couldn't find
> anything specific online for making a custom widget with gtk3 so I have
> copied the structure and methods from the gtkscale/gtkrange widgets.
> I got it to the point where it the class is building and init() is being
> called but I am having a problem with assigning the correct TYPE for
> GTK_METER and getting the draw/realize methods to fire.
Can you provide a small main.c or something?
All I see in there are static init functions never called.
More information about the Linux-audio-dev