Re: GtkContainer multi - layer



Hi

I'm using now the John Stebbins code

On 04/15/2011 05:39 PM, Erick PÃrez wrote:
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



The ghbcompositor. The datails are here:

http://www.stebbins.biz/home/node/5

newest code here

https://trac.handbrake.fr/wiki/Development



------------------------------

_______________________________________________
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





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