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

Re: z-order rotation



> what's a way to do z-order rotation on all objects in a gtk container?
> 
> basically i have some widgets sitting on top of each other and i want
> them to rotate, so whenever a rotation occurs, the next widget in line
> will be shown on top.
> 
> -trey
> 
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Hide all the widgets except the topmost. Use an array to store the
pointers to the widgets and show the one after an other. while circling
through the list (gtk_widget_show() / gtk_widget_hide() )

-- 
Jeroen Benckhuijsen

Software Engineer
Phoenix Software





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