From 219ddba9281dbe94a88f0e93cfc51e021c6bf7e3 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 9 Aug 2003 23:01:31 +0000 Subject: [PATCH] Mark some members as public. Document public GtkWidget members. * gtk/gtkwidget.h (struct _GtkWidget): Mark some members as public. * gtk/tmpl/gtkwidget.sgml: Document public GtkWidget members. --- ChangeLog | 4 ++++ ChangeLog.pre-2-10 | 4 ++++ ChangeLog.pre-2-4 | 4 ++++ ChangeLog.pre-2-6 | 4 ++++ ChangeLog.pre-2-8 | 4 ++++ docs/reference/ChangeLog | 4 ++++ docs/reference/gtk/tmpl/gtkwidget.sgml | 7 +++++++ gtk/gtkwidget.h | 4 ++++ 8 files changed, 35 insertions(+) diff --git a/ChangeLog b/ChangeLog index f5cfc969ec..4328a18ef6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-08-10 Matthias Clasen + + * gtk/gtkwidget.h (struct _GtkWidget): Mark some members as public. + 2003-08-09 Noah Levitt * gdk/gdkevents.h: diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index f5cfc969ec..4328a18ef6 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,7 @@ +2003-08-10 Matthias Clasen + + * gtk/gtkwidget.h (struct _GtkWidget): Mark some members as public. + 2003-08-09 Noah Levitt * gdk/gdkevents.h: diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index f5cfc969ec..4328a18ef6 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,7 @@ +2003-08-10 Matthias Clasen + + * gtk/gtkwidget.h (struct _GtkWidget): Mark some members as public. + 2003-08-09 Noah Levitt * gdk/gdkevents.h: diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index f5cfc969ec..4328a18ef6 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,7 @@ +2003-08-10 Matthias Clasen + + * gtk/gtkwidget.h (struct _GtkWidget): Mark some members as public. + 2003-08-09 Noah Levitt * gdk/gdkevents.h: diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index f5cfc969ec..4328a18ef6 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,7 @@ +2003-08-10 Matthias Clasen + + * gtk/gtkwidget.h (struct _GtkWidget): Mark some members as public. + 2003-08-09 Noah Levitt * gdk/gdkevents.h: diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 77ae372b5f..e7ee7e8c1f 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,7 @@ +2003-08-10 Matthias Clasen + + * gtk/tmpl/gtkwidget.sgml: Document public GtkWidget members. + 2003-08-09 Matthias Clasen * gtk/tmpl/gtkcalendar.sgml: Deprecate GTK_CALENDAR_WEEK_START_MONDAY. (#87977) diff --git a/docs/reference/gtk/tmpl/gtkwidget.sgml b/docs/reference/gtk/tmpl/gtkwidget.sgml index dbe9810857..3b9b286d92 100644 --- a/docs/reference/gtk/tmpl/gtkwidget.sgml +++ b/docs/reference/gtk/tmpl/gtkwidget.sgml @@ -32,6 +32,13 @@ gtk_widget_style_get_valist() to obtain the value of a style property. +@style: The style for the widget. The style contains the colors the widget should be + drawn in for each state along with graphics contexts used to draw with and the font + to use for text. +@requisition: The widgets desired size. +@allocation: The widgets allocated size. +@window: The widgets window or its parent window if it does not have a window. (Which + will be indicated by the #GTK_NO_WINDOW flag being set). diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h index 1eb143db34..b187e9956b 100644 --- a/gtk/gtkwidget.h +++ b/gtk/gtkwidget.h @@ -197,6 +197,8 @@ struct _GtkWidget */ gchar *name; + /*< public >*/ + /* The style for the widget. The style contains the * colors the widget should be drawn in for each state * along with graphics contexts used to draw with and @@ -218,6 +220,8 @@ struct _GtkWidget */ GdkWindow *window; + /*< private >*/ + /* The widgets parent. */ GtkWidget *parent;