[Gtk-sharp-list] Glade

Gustavo Ramos eureko@grmexico.com.mx
Thu, 26 Feb 2004 10:12:21 -0600


--=-sca8VSEA8zWioh6iFFR0
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hello,

It is possible to add other "gladed" components if what you want is to
design several parts in glade. Look at the attached sample.
 
The main container is in one assembly, and the component is in another
one, so you can easily achieve a separation of "business units" or
whatever name you give to the components.

Unfortunately, this sample doesn't work anymore on gtk# 0.17, and I
don't have time to finish it. The "Component1" should display a frame
with 9 buttons inside, but by now just 1 button is shown (don't remember
exactly, but i think it's a matter of reparenting each) but you can test
it in 0.16. The sample shows the idea, it just work as a proof of
concept.

Regards,

Gustavo
eureko

--=-sca8VSEA8zWioh6iFFR0
Content-Disposition: attachment; filename=custom-widgets.tar.gz
Content-Type: application/x-compressed-tar; name=custom-widgets.tar.gz
Content-Transfer-Encoding: base64

H4sICF0YPkAAA2N1c3RvbS13aWRnZXRzLnRhcgDtPWlz2ziy+Wr+CoxmPsipiLqtxLE95Thy4vdk
K2tpks1ubXEpEpY4pkguD9vaqfz3bYA6SAoUQZs6HBM1E4tEN45GX2gAhOI5rjku3WvqELtO+dU6
UgVSq9kkf6utZoU+VxsN+neaXlVJXqMK+dVXkFmpHLxCzbW0JpKg/7KN0Kuh5yTAYXsVxKwjs7/P
JCnh8XfksaVjUVlNi5SJ0OPAH2/W+NcqBwd0/JvNar3ShPfV5kG19QpthIgvfPzLr4W9U11HnqMZ
Q6ToMvTTQffYxkixTcvCKtIMZNoqtpFrImdk3gt7io5lW5+g+xGBc0eA6iBFHmN0Y5tjUXhdFoRy
2YAXjiUrGH3SZRWLPcpbDuT8RYqQHQedUe775jOfsAfv9yxvoGsKglFx4c+dqanoUtaMouPaUM0/
/4Vke+jsAyAB3jPwfbiQIs1+D3k/4P9FeWEgdmGf3Fvx1LIAHOo2DfHC0NwiLWvP78HfLztiD7t+
WZ9lQ9WxXSRNmGcHq5kBdI0zG8su3o8UhR7GOjpGIfyi4en6G1QIi6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