RE: [PHP-GTK] switch GTK Themes on the fly ???
| From: | Holger Seidenberg | Date: | Fri, 06 Jun 2003 09:58:04 +0000 |
| Subject: | RE: [PHP-GTK] switch GTK Themes on the fly ??? | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-3525@lists.php.net to get a copy of this message | ||
On Fri, 2003-06-06 at 09:29, Christian Weiske wrote:
> Hi
>
> > can i switch GTK Themes with php-gtk on the fly like
> > gtk-theme-switch ???
> In your app, you can reload the styles with
> gtk::rc_reparse_all()
sorry gtk::rc_reparse_all() didnt work
here is my function
function switch_theme($objPara )
{
$theme=$this->arWidgets["themes"] ->get_text();
GTK::rc_parse($this->strThemeDir . $this->strPathSeparator . $theme
. $this->strPathSeparator . "gtk" . $this->strPathSeparator . "gtkrc");
GTK::rc_reparse_all();
}
thx Holger
>
>
>
> Regards/MfG,
>
> Christian Weiske
>
> <<<<<<<<<<<<<<>>>>>>>>>>>>>>>>
> Christian Weiske
> cweiske@cweiske.de
> www.cweiske.de
>
> <<<<<<<<<<<<<<>>>>>>>>>>>>>>>>
> Always forgetting birthdays? Try birthday reminder!
> http://www.cweiske.de/birthday.htm
> Free & fast ecards: http://ecards.cweiske.de