Date: Tue, 03 May 2005 16:26:29 +0200 (CEST) Message-Id: <20050503.162629.74750000.oandrieu at nerim.net> To: robertr at rftp.com Cc: lablgtk at math.nagoya-u.ac.jp Subject: Re: menu item accelerators? From: Olivier Andrieu In-Reply-To: <4273F618.4020802 at rftp.com> References: <4273F618.4020802 at rftp.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit > Robert Roessler [Sat, 30 Apr 2005]: > Or should one build menus from the ground up? This works fine, but > seems voluminous and will likely lead to higher maintenance effort. The GMenu.factory class (GtkItemFactory) is a convenience class for creating menus IIRC. > Or use ui_manager? A LablGTK example of using this would be nice (or > even a few tips). :) There is examples/action.ml which the translation in ocaml of the corresponding gtk-demo file. Also, GTK+ has some documentation on the ui manager thing (I mean, not just the reference manual) : http://developer.gnome.org/doc/API/2.0/gtk/gtk-migrating-GtkAction.html http://developer.gnome.org/doc/API/2.0/gtk/GtkUIManager.html -- Olivier