Post-init function?
- From: Cody Russell <bratsche gnome org>
- To: timj gtk org
- Cc: gtk-devel-list gnome org
- Subject: Post-init function?
- Date: 02 Sep 2000 04:51:17 +0600
Hi rambokid and GTK hackers,
I want to GTK to have some sort of post-init function that gets called
after the
set_arg() loop is finished. This would be very useful I think. So
gtk_object_new()
would do something like:
while (slist_arg)
{
gtk_object_arg_set (object, slist_arg->data,
slist_info->data);
slist_arg = slist_arg->next;
slist_info = slist_info->next;
}
gtk_args_collect_cleanup (arg_list, info_list);
}
if (object->postinit)
(* object->postinit) (object);
if (!GTK_OBJECT_CONSTRUCTED (object))
gtk_object_default_construct (object);
return object;
}
Is there any reason for this not to exist? Since 2.0 is getting a new
object
system and everything, it seems like a good time to have this sort of
feature
added.
Thanks,
bratsche
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]