Exemple #1
0
/*#
    @method get_accel_path GtkMenuItem
    @brief Retrieve the accelerator path that was previously set on menu_item.
    @return the accelerator path corresponding to this menu item's functionality, or NULL if not set
 */
FALCON_FUNC MenuItem::get_accel_path( VMARG )
{
    NO_ARGS
    MYSELF;
    GET_OBJ( self );
    const gchar* path = gtk_menu_item_get_accel_path( (GtkMenuItem*)_obj );
    if ( path )
        vm->retval( UTF8String( path ) );
    else
        vm->retnil();
}
Php::Value GtkMenuItem_::get_accel_path()
{
	std::string ret = gtk_menu_item_get_accel_path (GTK_MENU_ITEM(instance));

	return ret;
}