Login   Register  
PHP Classes
elePHPant
Icontem

File: readme_english.txt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of José Augusto Ferreira Franco  >  GTK warning messages  >  readme_english.txt  >  Download  
File: readme_english.txt
Role: Documentation
Content type: text/plain
Description: the file read me with the tips to do a good class configuration
Class: GTK warning messages
Manage GTK windows displaying warning messages
Author: By
Last change: no summary changes yet
Date: 2005-08-07 20:19
Size: 1,480 bytes
 

Contents

Class file image Download
#warning.class.php
#Created by Guto Ferreira on  8 July 2005 15:52 GMT


---> How to use it

 TO RUN THIS CLASS YOU JUST HAVE TO FOLLOW THIS SINGLE STEPS

STEP ONE  - Unzip all files on package warnings.class.rar to your PHP-GTK root directory
STEP TWO  - Click on demo.bat and here is the app running :)


---->Frequently asked questions

 Question 1:
 __________

My text is not on the middle of the window , what mut i do ?
------------------------------------------------------------
Edit the class and seach for the line below on the function count_and_format :

$ftext = $this->format_text("",10," ",$new_text[0]." ".$new_text[1]." ".$new_text[2]."",1,"").$this->format_text("\n",15," ",$new_text[3]." ".$new_text[4]." ".$new_text[5]." ",1,"\n");

To change the space alignment just increase or decrease the second and the five parameter of the method format_text() on line under

 Question 2:
 __________

 How can i debug the array elements of my message?
 
 This is not necessary,however, if you want do that search for the line below on function count_and_format, and uncomment the line below:

           #echo"<pre>\nElementos :";
           #print_r($simpleWord);
           #echo "</pre>\n";
           
           
           
 Feel free to send comments bugs and corrections
 Use the site http://onidesk.sytes.net/contacto.php  to send your opinions
 Use the chat on http://onidesk.sytes.net/ for updates and live discussion