Re: Actions / UIManager and OO programming style
- From: Sven Neumann <sven gimp org>
- To: Christer Palm <palm nogui se>
- Cc: GTK-list <gtk-list gnome org>, Gtkmm List <gtkmm-list gnome org>
- Subject: Re: Actions / UIManager and OO programming style
- Date: 29 Jun 2004 11:27:08 +0200
Hi,
Christer Palm <palm nogui se> writes:
> Second, Action doesn't have any useful public/protected
> constructors. This makes it impossible to subclass Action, which
> seems to me like a natural way of creating actions.
GtkAction (as well as GtkUIManager) can of course be subclassed. All
parameters that need to be passed to gtk_action_new() are properties.
We successfully derive from GtkAction in The GIMP:
http://cvs.gnome.org/viewcvs/gimp/app/widgets/gimpaction.c?view=markup
Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]