]> git.draconx.ca Git - aspectbin.git/blobdiff - aspectbin.h
Add initial support for glade.
[aspectbin.git] / aspectbin.h
index bca5ba776ee80214b4b2dcbe4f6d5e68d8c1966b..b4ce50d2e719c765de81917b82e3733073567d9a 100644 (file)
@@ -15,10 +15,13 @@ typedef struct AspectBin      AspectBin;
 typedef struct AspectBinClass AspectBinClass;
 
 struct AspectBin {
-       GtkBin bin;
+       GtkContainer parent;
 
-       GtkWidget *child;
-       gfloat ratio;
+       GtkWidget *body, *side;
+       gfloat     ratio;
+
+       gfloat     align;
+       gboolean   constrain;
 };
 
 struct AspectBinClass {
@@ -27,6 +30,7 @@ struct AspectBinClass {
 
 GType aspect_bin_get_type(void);
 GtkWidget *aspect_bin_new(void);
-void aspect_bin_set_body_widget(AspectBin *, GtkWidget *, gfloat);
+void aspect_bin_set_body(AspectBin *, GtkWidget *, gfloat);
+void aspect_bin_set_side(AspectBin *, GtkWidget *);
 
 #endif