Re: [gtkmm] Writing a new widget
- From: MHL Schulze t-online de (Martin Schulze)
- To: "Tapan S. Parikh" <tap2k yahoo com>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: [gtkmm] Writing a new widget
- Date: Fri, 2 Aug 2002 20:05:44 +0200
Am 02.08.2002 17:05 schrieb(en) Tapan S. Parikh:
What is the more elegant / recommended way to implement a new widget
in Gtk--?
If you only need in in your c++ code then simply derive an existing
gtkmm widget class (like Gtk::DrawingArea) and override some virtual
methods to do drawing (on_expose_event()), catch mouse events
(on_button_press_event()), etc.
Regards,
Martin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]