Re: color label in windows ??
| From: | Alan Knowles | Date: | Thu, 14 Mar 2002 00:21:10 +0000 |
| Subject: | Re: color label in windows ?? | ||
| References: | 1 2 3 4 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-1517@lists.php.net to get a copy of this message | ||
It kind of misses alot on windows :) - one of the core bits is the scintilla editor which (suprise suprise) doesnt work on windows - this is the core bit I use every day to write all the code I do - which make the linux version rock :).
the HTML editor bit is more a proof of concept at present - it's only really handy for changing a simple html - eg. lists are increadibly flakey. - again - If I get the urge I'll start working on that - after I fix some of the other bugs :)
it has a few other bits that are the reason for even bothering with windows - which are related to the midgard content management system,
The rest of it is just cool, fun stuff I add as I need an application to do something. - a real php debuger is a need so that gets added.. etc.
- but yeah it's a great resource of example code :) - I just wish I had more time to document the methods properly - so it would be even clearer :)
regards
alan
Roberto Villarreal wrote:
Thank you both... I could not change de bg color of the label but the fg... Alan, Php-Mole rules!! it helps me when i dont know how to do something. I found there almost all the functions that can be used in any basic program. Thank You! ... mmm.. one more question... i know it may sound (or read) a little stupid, but... What is Php-mole for? i think i cannot find all the functionality due im running it over win32, but really... i dont know how could i use it... but well, it is a very good aplication, congratulations and thank you again. Roberto Villarreal ----- Original Message ----- From: "Alan Knowles" <alan@akbkhome.com> To: "Steph" <Steph.Fox@btinternet.com> Cc: "Roberto Villarreal" <roberto.villarreal@funktiontech.com>; <php-gtk-general@lists.php.net> Sent: Wednesday, March 13, 2002 5:39 PM Subject: Re: [PHP-GTK] color label in windows ??AFAIK - you can not change the background color of a label - its one of the gtk's faq - I cant remember the work around - it was probably that you have to add the label to another widget. - if not try #gtk or #gnome - someone might squeek an answer or suggestion - otherwise find another gtk program that does something similar.. and look at the code.. you should be able to changed the foreground (fg) however. regards alan Steph wrote:know it can be done, but i followed an example in the mailing list but it didn´t work for me... Here is my code, it doesnt work and it doesnt print any error message.. the label is still black :(try 'bg' instead of 'base' ----- Original Message ----- From: "Roberto Villarreal" <roberto.villarreal@funktiontech.com> To: <php-gtk-general@lists.php.net> Sent: Wednesday, March 13, 2002 5:40 PM Subject: [PHP-GTK] color label in windows ?? Hi... I was wondering if I can set a color in a label in windows... I$label_n = &new GtkLabel($label); $estilo_actual = $label_n->get_style(); $estilo_nuevo = $estilo_actual->copy(); $color = &new GdkColor('#FFFFFF'); $estilo_nuevo->base[GTK_STATE_NORMAL]=$color; $label_n->set_style($estilo_nuevo); Thanks for your help. Roberto Villarreal