Re: GtkContainer multi - layer

Can u share the code somehow ?

GeditOverlay does something like this, but way more restricted.

And I do have a question: Can I stack GtkLayout widgets in your implementation ?

I have crated a gtkstacked widget so I can have different layer on it.

/* Creates a new button with the label "Hello World". */
 Âbutton[0] = gtk_button_new ();
 Âbutton[1] = gtk_button_new_with_label ("Goodby World");


 Âgtk_stacked_put(GTK_STACKED(stacked), button[0]);
 Âgtk_stacked_put(GTK_STACKED(stacked), button[1]);

This is an example in how use it. Now the problem is how do trasparency on it and on each level.

Do you have any idea?

Michael Trimarchi


gtk-app-devel-list mailing list
gtk-app-devel-list gnome org

End of gtk-app-devel-list Digest, Vol 84, Issue 12


El derecho de expresar nuestros pensamientos tiene algÃn significado
tan sÃlo si somos capaces de tener pensamientos propios.
El miedo a la libertad, Erich Fromm

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