Re: GtkUiManager overrides

From: Date: Sun, 16 Oct 2005 13:50:22 +0000
Subject: Re: GtkUiManager overrides
References: 1  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-1832@lists.php.net to get a copy of this message
Hi Tom, This doesn't build for me as-is. I needed to make the const-char* declarations const char* to allow it to build at all, and then cast the return value as (char *) in both those cases to make it build without complaining. It works as advertised here following those minor changes. Cute ;) - Steph ----- Original Message ----- From: "Tom Rogers" <trogers@kwikin.com> To: "PHP DEV" <php-gtk-dev@lists.php.net> Sent: Sunday, October 16, 2005 6:38 AM Subject: [PHP-GTK-DEV] GtkUiManager overrides > Hi > > Here are overrides for GtkUIManager functions: > > add_ui_from_string() > get_toplevels() > get_action_groups() > > The 2 get functions I made return an assoc array as this is a lot more > useful to PHP scripts. > > There is also a test file which uses these functions (tested on win32 > only) > > Let me know your thoughts.... > -- > Regards > Tom ---------------------------------------------------------------------------- ---- > -- > PHP-GTK Development Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.gtk.dev (#1832) next »