On Tue, February 12, 2013 3:50 am, Paul Davis wrote:
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.
http://git.gnome.org/browse/gtk+/tree/gtk/gtkscale.c?h=gtk-3-6
http://git.gnome.org/browse/gtk+/tree/gtk/gtkrange.c?h=gtk-3-6
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.
http://boosthardware.com/code/jamin/
If anyone feels like chipping in some suggestions for how to get past this
step I'm all ears :-)
http://developer.gnome.org/gobject/stable/howto-interface-implement.html
http://developer.gnome.org/gobject/stable/gobject-Type-information.html
--
Patrick Shirkey
Boost Hardware Ltd
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev
LINUX® is a registered trademark of Linus Torvalds in the USA and other countries.
Linuxaudio.org logo copyright Thorsten Wilms © 2006.
Hosting provided by the Virginia Tech Department of Music and DISIS.