]> git.draconx.ca Git - aspectbin.git/blobdiff - aspectbin.h
Add functions to get the body/side children.
[aspectbin.git] / aspectbin.h
index e4148c623be04bfbf5085323d3e53afdb5d2677e..5def388aa70997e0cd5c125f1a294913dba0c73a 100644 (file)
@@ -15,9 +15,9 @@ typedef struct AspectBin      AspectBin;
 typedef struct AspectBinClass AspectBinClass;
 
 struct AspectBin {
-       GtkBin bin;
+       GtkContainer parent;
 
-       GtkWidget *child;
+       GtkWidget *body, *side;
        gfloat     ratio;
 
        gfloat     align;
@@ -30,6 +30,9 @@ 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 *);
+GtkWidget *aspect_bin_get_body(AspectBin *abin);
+GtkWidget *aspect_bin_get_side(AspectBin *abin);
 
 #endif