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_button_set_image(GTK_BUTTON(button[0]),
            gtk_image_new_from_file("close.png"));

 Â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
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

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


Erick

-- 
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]