[Glade-users] Dynamically loading widgets

On Thu, 2009-10-08 at 01:39 -0500, tim wylie wrote:
  I was wondering if it were possible to have XML that could be
dynamically loaded to the GUI after the main window was already up.
Like if I wanted to have a window with one button, and everytime I
pressed it, some glade xml that specified a button was loaded at some
specified position.  Ideally, I'd like this all to be within a fixed
container and each sub-xml file be a frame with other widgets on it.  

Just build your widget from xml in you button "clicked" callback and add
it to the container in question with appropriate for that container

I couldn't find any code related to this.  Do you know of any

Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. Sign up
Glade-users maillist  -  Glade-users at lists.ximian.com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]