X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtkstatusbar.h;h=af018b69608cd9b2712b9df38048cf25403d9903;hb=HEAD;hp=62c655dd3a1cb1e4514570d331e93c87b3ee4672;hpb=e17b9f282fb6cfb413de598350e273a68031994b;p=~andy%2Fgtk diff --git a/gtk/gtkstatusbar.h b/gtk/gtkstatusbar.h index 62c655dd3..af018b696 100644 --- a/gtk/gtkstatusbar.h +++ b/gtk/gtkstatusbar.h @@ -13,9 +13,7 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * License along with this library. If not, see . */ /* @@ -25,14 +23,14 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ +#ifndef __GTK_STATUSBAR_H__ +#define __GTK_STATUSBAR_H__ + #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." #endif -#ifndef __GTK_STATUSBAR_H__ -#define __GTK_STATUSBAR_H__ - -#include +#include G_BEGIN_DECLS @@ -44,36 +42,21 @@ G_BEGIN_DECLS #define GTK_STATUSBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_STATUSBAR, GtkStatusbarClass)) -/** - * GtkStatusbar: - * - * Contains private data that should be modified with the functions - * described below. - */ -typedef struct _GtkStatusbar GtkStatusbar; -typedef struct _GtkStatusbarClass GtkStatusbarClass; +typedef struct _GtkStatusbar GtkStatusbar; +typedef struct _GtkStatusbarPrivate GtkStatusbarPrivate; +typedef struct _GtkStatusbarClass GtkStatusbarClass; struct _GtkStatusbar { - GtkHBox parent_widget; - - GtkWidget *GSEAL (frame); - GtkWidget *GSEAL (label); - - GSList *GSEAL (messages); - GSList *GSEAL (keys); + GtkBox parent_widget; - guint GSEAL (seq_context_id); - guint GSEAL (seq_message_id); - - GdkWindow *GSEAL (grip_window); - - guint GSEAL (has_resize_grip) : 1; + /*< private >*/ + GtkStatusbarPrivate *priv; }; struct _GtkStatusbarClass { - GtkHBoxClass parent_class; + GtkBoxClass parent_class; gpointer reserved; @@ -110,11 +93,6 @@ void gtk_statusbar_remove (GtkStatusbar *statusbar, guint message_id); void gtk_statusbar_remove_all (GtkStatusbar *statusbar, guint context_id); - - -void gtk_statusbar_set_has_resize_grip (GtkStatusbar *statusbar, - gboolean setting); -gboolean gtk_statusbar_get_has_resize_grip (GtkStatusbar *statusbar); GtkWidget* gtk_statusbar_get_message_area (GtkStatusbar *statusbar);