[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Function categories

From: Ben Pfaff
Subject: Re: Function categories
Date: Mon, 16 Apr 2007 18:37:32 -0600
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

John Darrington <address@hidden> writes:

> On Mon, Apr 16, 2007 at 08:39:19AM -0600, Ben Pfaff wrote:
>      > Would it be possible to make an api which provides an iterator which
>      > can be used to return all the functions which belong to a given
>      > combination of catagories?  It may be better to use bitfields instead
>      > of sequential enums.
>      I was thinking more of an API that directly exports a hierarchy
>      of categories containing functions.  Based on a quick look at the
>      GTK docs, this could be pushed into a GtkTreeStore pretty easily?
> I guess that approach is possible.  But it does involve unnecessary
> copying of data, and it does mean that if we later decide to change
> the view presented to the user, it's more difficult.  [...]

OK.  I'll think of implementation approaches.  A bitwise approach
might be a good choice, as you say.
Ben Pfaff

reply via email to

[Prev in Thread] Current Thread [Next in Thread]