Re: Using PHP-GTK for an Info-Terminal Application?
| From: | Alan Knowles | Date: | Fri, 28 Mar 2003 10:13:48 +0000 |
| Subject: | Re: Using PHP-GTK for an Info-Terminal Application? | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-3169@lists.php.net to get a copy of this message | ||
assume this is on linux - it's pretty easy..
touchscreens run on the X layer- so you need to set that up.
the pear installer has some examples of images on gtklayout and buttons etc.
Regards
Alan
firepage wrote:
GTK + touch screen = hardcore :) ... I want one. ..if you look in the samples there are some example .rc files, by using an .rc file (there are other ways but this was easiest for me at least) you can set the background of your main window as an image. eg:: gtk::rc_parse('rcfile.rc'); where the rcfile.rc file includes (among other things).. .......................................................................... style "window" { bg_pixmap[NORMAL] = "your_image.xpm" } Or you could use something like GtkLayout or GtkFixed (one of them works I think) and set the background widget as a pixmap Regards, Simon Wheeler. ----- Original Message ----- From: "Volker H. Erbel" <erbel@submedia.de> To: "phpgtkliste" <php-gtk-general@lists.php.net> Sent: Friday, March 28, 2003 5:02 PM Subject: [PHP-GTK] Using PHP-GTK for an Info-Terminal Application? Hi all, I want to use PHP-GTK for an info terminal application. I need to put a background picture as full screen an all should run as a touchscreen application. Does anyone think it's possible? Did not find anything about putting a bg-picture as a widget (container) where I could place other widgets on it. Hope someone can give me a tip or maybe there is a tutorial?? Thanks to all in advance and have a nice day, Volker -- Mit freundlichen Grüssen Volker H. Erbel Entwickler Kundenberater __________________________-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.comsubmedia, new media services Seyfferstraße 59 70197 Stuttgart Tel.: 0711 / 5000 930 Fax: 0711 / 5000 932 http:// www.submedia.de -- PHP-GTK General Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php)))))°<