Re: look and feel on windows
| From: | steph dot fox at btinternet dot com | Date: | Sun, 09 Jun 2002 11:01:57 +0000 |
| Subject: | Re: look and feel on windows | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-2101@lists.php.net to get a copy of this message | ||
Alan, hi,
It's possible to draw your own buttons using the gdk & gtk draw()/paint() functions, but it
has to be said it's a long haul ...
(Sorry ppl, I seem to be getting mail in reverse here ...)
> from: Alan Knowles <alan@akbkhome.com>
> date: Sun, 09 Jun 2002 02:53:05
> to: ahmad@bitbuilder.com
> cc: php-gtk-general@lists.php.net, gabor@hojtsy.hu
> subject: Re: [PHP-GTK] look and feel on windows
>
> As far as the research I've done on the matter goes...
>
> Themes are supported, however:
> There are no 'engine files/drivers' on windows - these engine
> file/drivers provide stuff like Circurlar/round buttons rather than
> square buttons, and the pixmap background to widgets.
> Eg. you can change font and/or colour of most widgets..
>
> Workarounds:
> Since you have access to the GtkLayout Widget, It is Possible/Not that
> difficult to write your own widgets.. - the PHP Gtk Html Render is 'not
> a simple' example, but proves that you could Create your own buttons
> using pixmaps and Gdk::draw_text()
>
> This is the best I've managed on windows :)
>
> http://docs.akbkhome.com/Frontend/screenshot_windows_20020528.png
>
> Regards
> alan
>
> The link below avoids the question about 'theme engines' - unless
> somebody has miraculusly found them :)
>
>
> Ahmad Baitalmal wrote:
>
> >My info is old, so I googled Win32 gtk themes, this looks like it's
> >talking about setting themes on GTK for Win32
> >http://www.rixsoft.com/gimpwin/gtk-themes.html
> >
> >Could someone post a screenshot of something PHP-GTK done with that
> >please :)
> >
> >
> >
> >On Sat, 2002-06-08 at 12:25, J. Nathan Matias wrote:
> >
> > On Sat, 2002-06-08 at 16:04, Ahmad Baitalmal wrote:
> > > GTK on win won't do themes :(
> >
> > Are you sure? That installer tool someone linked to a while back on the
> > mailing list did have a pixmap based theme.
> >
> > --Nate
> > ------------The Rubber Paw--------------
> > "But without faith it is impossible to please Him: for he that cometh
> > to God must believe that He is, and that He is a rewarder of them that
> > diligently seek Him" --The Bible -- Hebrews 11:6
> > --------------------------------------
> > rubberpaw@rubberpaw.com www.rubberpaw.com
> > Learn Web Design! www.designharbor.org www.sitepoint.com
> > Use Free Software! www.linux.com www.gnu.org www.tuxedo.org/~esr/
> > Play Open Racer! openracer.worldforge.org
> > Lancaster PA Linux Users Group! www.lancaster-linux.org
> >
> >
> >
> >- - -- ---- ----------------------------------------- --- -- - -
> >Ahmad Baitalmal
> >BitBuilder
> >web: http://www.bitbuilder.com
> >- - -- ----
> >-------------------------------------------------------------- --- --
> >- -
> >
> >
> >
>
>
>
>
> --
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>