Re: GtkBuilder Public API - Last call
- From: "Samuel Cormier-Iijima" <sciyoshi gmail com>
- To: "Johan Dahlin" <jdahlin async com br>
- Cc: Gtk+ Developers <gtk-devel-list gnome org>, Christian Robottom Reis <kiko async com br>
- Subject: Re: GtkBuilder Public API - Last call
- Date: Wed, 13 Jun 2007 12:31:40 -0500
/**
* gtk_builder_enum_from_string:
* @type: a #GType
* @string: string containing an enum
*
* This function is used to convert a string to a enum value. You can use the
* enums nick or blurb representations to convert from.
*
* Return value: converted enum value
*
* Since: 2.12
*/
gint gtk_builder_enum_from_string (GType type,
const char *string);
Just curious, but why do you have gtk_builder_enum_from_string when something
similar already exists in GObject as g_enum_get_value_by_nick/name?
--
Johan Dahlin <
jdahlin async com br>
Async Open Source
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]