зеркало из https://github.com/mono/mail-archives.git
103 строки
3.4 KiB
HTML
103 строки
3.4 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Gtk-sharp-list] Embedded forms
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:raul.moratalla%40ono.com">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<LINK REL="Previous" HREF="004456.html">
|
|
<LINK REL="Next" HREF="004457.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Gtk-sharp-list] Embedded forms
|
|
</H1>
|
|
<B>Raúl Moratalla
|
|
</B>
|
|
<A HREF="mailto:raul.moratalla%40ono.com"
|
|
TITLE="[Gtk-sharp-list] Embedded forms">raul.moratalla@ono.com
|
|
</A><BR>
|
|
<I>Fri, 16 Jul 2004 14:32:04 +0200</I>
|
|
<P><UL>
|
|
<LI> Previous message: <A HREF="004456.html">[Gtk-sharp-list] Embedded forms
|
|
</A></li>
|
|
<LI> Next message: <A HREF="004457.html">[Gtk-sharp-list] Embedded forms
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#4462">[ date ]</a>
|
|
<a href="thread.html#4462">[ thread ]</a>
|
|
<a href="subject.html#4462">[ subject ]</a>
|
|
<a href="author.html#4462">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>Fredrik Nilsson escribió:
|
|
|
|
><i>On tor, 2004-07-15 at 23:46 +0200, Raúl Moratalla wrote:
|
|
</I>><i>
|
|
</I>><i>
|
|
</I>>><i>Hi everybody,
|
|
</I>>><i>I am a newbie programmer with MONO and GTK# and I would like to know if
|
|
</I>>><i>should be possible to do the following:
|
|
</I>>><i>I have designed 3 forms with Glade, one of them is the master. I would
|
|
</I>>><i>like to load form2 at the bottom of the master form (as it was embedded)
|
|
</I>>><i>when I click on a button, and if I click in another button I want to
|
|
</I>>><i>load the form3 (and hide form2) embedded at the bottom of the master form.
|
|
</I>>><i>Should it be possible? Could anyone explain to me how to do this?
|
|
</I>>><i>
|
|
</I>>><i>Thanks in advance,
|
|
</I>>><i>
|
|
</I>>><i>Raúl
|
|
</I>>><i>
|
|
</I>>><i>
|
|
</I>><i>
|
|
</I>><i>Hi Raúl,
|
|
</I>><i>
|
|
</I>><i>This is how I would do it:
|
|
</I>><i>
|
|
</I>><i>Add a hidden notebook at the bottom of the master.
|
|
</I>><i>Also you should hide the tabs from the notebook.
|
|
</I>><i>
|
|
</I>><i>Then, instead of having two new forms (form2 and form3),
|
|
</I>><i>put the contents of form2 in first page of notebook, and the contents of
|
|
</I>><i>form3 in second page of notebook.
|
|
</I>><i>
|
|
</I>><i>Then when you click on the first button, show the notebook.
|
|
</I>><i>And when you click the second button, show tab page two of the notebook.
|
|
</I>><i>
|
|
</I>><i>Hope this helps!
|
|
</I>><i>
|
|
</I>><i>Good luck,
|
|
</I>><i>
|
|
</I>><i>/Fredrik
|
|
</I>><i>
|
|
</I>><i>
|
|
</I>><i>
|
|
</I>><i>
|
|
</I>Thanks for the suggestion Fredrik, I didn't saw the notebook control :)
|
|
As you suggest this a good way for do it.
|
|
|
|
Cheers,
|
|
|
|
Raúl
|
|
|
|
</PRE>
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI> Previous message: <A HREF="004456.html">[Gtk-sharp-list] Embedded forms
|
|
</A></li>
|
|
<LI> Next message: <A HREF="004457.html">[Gtk-sharp-list] Embedded forms
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#4462">[ date ]</a>
|
|
<a href="thread.html#4462">[ thread ]</a>
|
|
<a href="subject.html#4462">[ subject ]</a>
|
|
<a href="author.html#4462">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
</body></html>
|