diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-04-02 03:47:25 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-04-02 03:47:25 +0000 |
commit | dac3b3a168558171b452d75d5692f6fb216a5294 (patch) | |
tree | 1347c6c3468af4f7114a47e890a992e95d8be003 /gtk/gtksettings.h | |
parent | d3b826ba342302627ab2b033601b6eae44b4eb5d (diff) | |
download | gtk+-dac3b3a168558171b452d75d5692f6fb216a5294.tar.gz |
Add boxed type for GtkRequistion. Use it for ::size-request.
Sun Apr 1 21:37:22 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.[ch] gtk/gtktypeutils.c gtk/gtk-boxed.defs:
Add boxed type for GtkRequistion. Use it for ::size-request.
* gtk/gtkstyle.[ch] gtk/gtktypeutils.c gtk/gtk-boxed.defs:
Add a new GtkBorder structure useful for geometry properties
for widgets. Add corresponding GTK_TYPE_BORDER.
* gtk/gtkwidget.c (gtk_widget_class_install_style_property):
Support automatic parser selection like
gtk_settings_install_property_parser().
* gtk/gtksettings.c (_gtk_rc_property_select_parser): Export
functionality for use by gtk_widget_class_install_style_property.
Support GTK_TYPE_BORDER, GTK_TYPE_REQUISITION.
Sun Apr 1 20:48:59 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (gtk_entry_class_init): Make invisible-char
g_param_spec_unichar().
Diffstat (limited to 'gtk/gtksettings.h')
-rw-r--r-- | gtk/gtksettings.h | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/gtk/gtksettings.h b/gtk/gtksettings.h index 43cd683937..9a5641cd81 100644 --- a/gtk/gtksettings.h +++ b/gtk/gtksettings.h @@ -77,15 +77,21 @@ void gtk_settings_install_property_parser (GtkSettings *settings, GtkRcPropertyParser parser); /* --- precoded parsing functions --- */ -gboolean gtk_rc_property_parse_color (const GParamSpec *pspec, - const GString *gstring, - GValue *property_value); -gboolean gtk_rc_property_parse_enum (const GParamSpec *pspec, - const GString *gstring, - GValue *property_value); -gboolean gtk_rc_property_parse_flags (const GParamSpec *pspec, - const GString *gstring, - GValue *property_value); +gboolean gtk_rc_property_parse_color (const GParamSpec *pspec, + const GString *gstring, + GValue *property_value); +gboolean gtk_rc_property_parse_enum (const GParamSpec *pspec, + const GString *gstring, + GValue *property_value); +gboolean gtk_rc_property_parse_flags (const GParamSpec *pspec, + const GString *gstring, + GValue *property_value); +gboolean gtk_rc_property_parse_requisition (const GParamSpec *pspec, + const GString *gstring, + GValue *property_value); +gboolean gtk_rc_property_parse_border (const GParamSpec *pspec, + const GString *gstring, + GValue *property_value); /*< private >*/ void gtk_settings_set_property_value (GtkSettings *settings, @@ -104,6 +110,8 @@ void gtk_settings_set_double_property (GtkSettings *settings, gdouble v_double, const gchar *origin); +GtkRcPropertyParser _gtk_rc_property_parser_for_type (GType type); + #ifdef __cplusplus } #endif /* __cplusplus */ |