GtkContainer multi - layer



Hi all,

I would like to have a multi layer container widget. The problem is that GtkWindow is a GtkBin so only one 
widget on top of
it. The HBox and Vbox can have several widget on it but not packed on different layer. If the container can 
add widget on
different layer, so probably it will be easy to create trasparency effect.

gtk_container_layer_add(GTK_MULTI_CONTAINER(container), widget, level);

You can have in this way trasparent scrollbar (for example) on a viewport.

Another problem:

Suppose that you want to create the second layer only with two scrollbar. The only way that I have found is:

One GtkTable 2x2, a visible eventbox on 1,1 and the two scrollbar on 2,1 and 1,2. The eventbox must be visible
in order to having the scrollbar at their correct size

Michael Trimarchi



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]