Re: re : database connection and retrieving values
| From: | Madeleine D. | Date: | Tue, 20 Jul 2010 04:52:24 +0000 |
| Subject: | Re: re : database connection and retrieving values | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-8510@lists.php.net to get a copy of this message | ||
Raisun -
You can use either a GtkBox or a GtkPaned to store the objects you want in your window.
Example: you build a GtkWindow, then you add to it a new GtkVbox, for example. Then into the GtkVBox, you put as many labels and/or other objects as you want.
Check out the sample code on the web site for GtkVBox, at:
http://gtk.php.net/manual/en/gtk.gtkvbox.constructor.php
hth,
Madeleine D.
Raisun John Sunny wrote:
Hi Thanx For your Reply. The xml parser works just fine and I was able to retrieve values from the web. I still have a long way to go, as I have just completed the basics. Right now I am facing a different problem. This might sound silly. I can display a new text into an existing window. eg: First I have a screen that asks for area code. Once it is verified I want the present details to be removed and a new set of data comes in the same window tat shows the weather forecast details. Now I managed to hide the contents in the window using $label->hide(); but whenever I try to add a new label the error message comes up, gtkwindow already contains a widget. I know gtkwindow can only contain one widget. Then how can I achieve the result. I was able to display the contents in a new window. Please help if posible Thanx with regards Raisun