]> git.draconx.ca Git - aspectbin.git/blobdiff - aspectbin.h
Make AspectBin a direct subclass of container.
[aspectbin.git] / aspectbin.h
index 34bc9693eb31d4221fa1ab881b3194f74f9d13be..b4ce50d2e719c765de81917b82e3733073567d9a 100644 (file)
@@ -15,9 +15,9 @@ typedef struct AspectBin      AspectBin;
 typedef struct AspectBinClass AspectBinClass;
 
 struct AspectBin {
-       GtkBin bin;
+       GtkContainer parent;
 
-       GtkWidget *body;
+       GtkWidget *body, *side;
        gfloat     ratio;
 
        gfloat     align;
@@ -30,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