hi,

another example of runtime changing the theme can be found in The
Widget Factory, see http://www.stellingwerff.com/?page_id=10

The source is straight forward.



On 12/19/06, Madhusudan E <[EMAIL PROTECTED]> wrote:
> Hi...
> Probably u can even use existing applications on net to change themes on the
> fly
> http://www.muhri.net/nav.php3?node=gts
> download gtk-theme-switch
> Hope this helps.
> Rgds,
> Madhusudan E
>
>
> This e-mail and attachments contain confidential information from HUAWEI,
> which is intended only for the person or entity whose address is listed
> above. Any use of the information contained herein in any way (including,
> but not limited to, total or partial disclosure, reproduction, or
> dissemination) by persons other than the intended recipient's) is
> prohibited. If you receive this e-mail in error, please notify the sender by
> phone or email immediately and delete it!
>
> -----Original Message-----
> From: Paolo Franzetti [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 19, 2006 1:41 PM
> To: Madhusudan E
> Subject: Re: Switching theme
>
> Madhusudan E wrote:
> > Hi,
> > On selecting the theme,
> > Use, say   gtk_rc_parse("/home/Madhu/gtk/Themes/AquaX/gtk-2.0/gtkrc");
> > Then reset the window rc styles using gtk_widget_reset_rc_styles(window);
> > Then reparse all...
> >   gtk_rc_reparse_all();
> > I hope this helps....
> > Rgds,
> > Madhusudan
> >
> >
>
> Thanks for the suggestion.
>
> It "almost" works ...
>
> The first time I switch theme it works (a part for the menu from
> which I launch the command); then it works no more, or it works
> partially (some widgets updated, some not).
>
> I am using libglade to build my application; it could be a problem?
>
> Thanks again,
> Paolo
>
>
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
>
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to