Re: [PHP-GTK] re : database connection and retrieving values
[email protected] ("Madeleine D.") Mon, 19 Jul 2010 21:52:24 -0700
| Newsgroups | php.gtk.general |
|---|---|
| Message-ID | <[email protected]> |
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