New Window

View: New views
4 Messages — Rating Filter:   Alert me  

New Window

by baseman_2008 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This is maybe a really stupid question, but i am new to Gtk#.

In MonoDevelop I can add a new window with a single click.
How can i call these windows in my application?
My plan is to open the new window out of the mainwindow!

Would be so nice if I'll get an answer...


baseman_2008




Re: New Window

by Iggy MA :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Here is a good example of how to open a new window from the Mono Documentation, which can help you a lot starting out

http://www.go-mono.com/docs/index.aspx?tlink=4@ecma%3a1455%23Window%2f




http://iggyma.blogspot.com/



baseman_2008 wrote:
This is maybe a really stupid question, but i am new to Gtk#.

In MonoDevelop I can add a new window with a single click.
How can i call these windows in my application?
My plan is to open the new window out of the mainwindow!

Would be so nice if I'll get an answer...


baseman_2008



Re: New Window

by baseman_2008 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you for your quick answer!

Yeah, I know that! But isn't it possible to design this window with Stetic?


Re: New Window

by Michael Hutchinson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Jul 21, 2008 at 2:23 AM, baseman_2008 <baseman_2001@...> wrote:
>
> Thank you for your quick answer!
>
> Yeah, I know that! But isn't it possible to design this window with Stetic?

Of course. Static lets you create windows derived from Gtk.Window, so
if you create a Window called e.g. MySteticWindow, you can do
something like

MySteticWindow window = new MySteticWindow ();
window.ShowAll ();

--
Michael Hutchinson
http://mjhutchinson.com
_______________________________________________
Gtk-sharp-list maillist  -  Gtk-sharp-list@...
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list