Re: [gtk-list] Re: Interpreter requests
- From: Marius Vollmer <mvo zagadka ping de>
- To: Kenneth Albanowski <kjahds kjahds com>
- Cc: gtk-list redhat com
- Subject: Re: [gtk-list] Re: Interpreter requests
- Date: 09 Jun 1998 20:54:00 +0200
Kenneth Albanowski <kjahds@kjahds.com> writes:
> Are you sure enums cannot be created at run-time? I assure you that I'll
> try, regardless of your intentions. :-) (Come to that, authors of external
> widgets will be doing this, regardless.)
Yes, that is true, and I know at least one guy who is doing this already.
> I'm thinking of something like this:
>
> typedef void (*GtkTypeCreationHook)(GtkType new_type);
>
> gtk_type_add_creation_hook(GtkTypeCreationHook * hook);
Wouldn't it be enough that you do your actions that would be triggered
by that hook, when you first learn about the type (i.e. when you find
it in a GtkArg structure or somewhere)?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]