Re: Wrapping a custom widget
- From: "Jonathon Jongsma" <jonathon jongsma gmail com>
- To: "Robert Pearce" <rob bdt-home demon co uk>
- Cc: gtkmm-list gnome org
- Subject: Re: Wrapping a custom widget
- Date: Fri, 6 Apr 2007 10:36:39 -0500
On 4/6/07, Robert Pearce <rob bdt-home demon co uk> wrote:
Guys,
Here's that other question I referred to:
I have an application written in C using Gtk. I would like to port it to
C++ with Gtkmm (because it already wants to share several bits of low
level code with another application that's written with Gtkmm). However,
this C application incorporates a couple of custom Gtk widgets that I've
written.
So my question is, what's the best way to wrap a custom C/Gtk widget
into a C++/Gtkmm class?
(Incase anyone cares, the widgets are a "lamp" - like GtkButton but not
sensitive to mouse events - and a very much enhanced version of the
GtkDial example)
--
Rob Pearce http://www.bdt-home.demon.co.uk
There is a section in the gtkmm tutorial about wrapping C libraries
using gmmproc: http://gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/aph.html
Does that help?
--
jonner
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]