]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkhbox.h
use FALSE for size_only most of the time when calling
[~andy/gtk] / gtk / gtkhbox.h
index 7dfbb3dffbb318dae426632cd53614fe9f2d5018..f4c3c9eb4dac1334474e52c61b1da81dd984379a 100644 (file)
@@ -8,13 +8,22 @@
  *
  * This library is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.         See the GNU
  * Library General Public License for more details.
  *
  * You should have received a copy of the GNU Library General Public
- * License along with this library; if not, write to the Free
- * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
  */
+
+/*
+ * Modified by the GTK+ Team and others 1997-1999.  See the AUTHORS
+ * file for a list of people on the GTK+ Team.  See the ChangeLog
+ * files for a list of changes.  These files are distributed with
+ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. 
+ */
+
 #ifndef __GTK_HBOX_H__
 #define __GTK_HBOX_H__
 
@@ -28,12 +37,15 @@ extern "C" {
 #endif /* __cplusplus */
 
 
-#define GTK_HBOX(obj)          GTK_CHECK_CAST (obj, gtk_hbox_get_type (), GtkHBox)
-#define GTK_HBOX_CLASS(klass)  GTK_CHECK_CLASS_CAST (klass, gtk_hbox_get_type (), GtkHBoxClass)
-#define GTK_IS_HBOX(obj)       GTK_CHECK_TYPE (obj, gtk_hbox_get_type ())
+#define GTK_TYPE_HBOX            (gtk_hbox_get_type ())
+#define GTK_HBOX(obj)            (GTK_CHECK_CAST ((obj), GTK_TYPE_HBOX, GtkHBox))
+#define GTK_HBOX_CLASS(klass)    (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_HBOX, GtkHBoxClass))
+#define GTK_IS_HBOX(obj)         (GTK_CHECK_TYPE ((obj), GTK_TYPE_HBOX))
+#define GTK_IS_HBOX_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_HBOX))
+#define GTK_HBOX_GET_CLASS(obj)  (GTK_CHECK_GET_CLASS ((obj), GTK_TYPE_HBOX, GtkHBoxClass))
 
 
-typedef struct _GtkHBox       GtkHBox;
+typedef struct _GtkHBox              GtkHBox;
 typedef struct _GtkHBoxClass  GtkHBoxClass;
 
 struct _GtkHBox
@@ -47,8 +59,8 @@ struct _GtkHBoxClass
 };
 
 
-guint      gtk_hbox_get_type (void);
-GtkWidget* gtk_hbox_new      (gint homogeneous,
+GtkType           gtk_hbox_get_type (void);
+GtkWidget* gtk_hbox_new             (gboolean homogeneous,
                              gint spacing);