[Gtk-sharp-list] Store GUI Output in Properties
Baltasar García Perez-Schofield
baltasarq at gmail.com
Wed Jan 11 13:52:52 UTC 2017
That's mostly correct. The code after Application.Run() is only executed
when the application finishes.
This is event-oriented programming: your program does not go top to bottom,
but instead some code (and event handler) is executed when the user does
something like clicking a button, resizes a window, or enters information
in a textbox.
You should have, say, a button with the text "Create publication" which
should fire Engine.Publication.PublicationCreate() in its click event
El mié., 11 ene. 2017 a las 14:01, Sascha Manns (<Sascha.Manns at mailbox.org>)
> Hi Baltasar,
> i've changed that code, but nothing happens after clicking on ok.
> I have the Program.cs:
> public static void Main (string args)
> Application.Init ();
> MainWindow win = new MainWindow ();
> win.Show ();
> Application.Run ();
> // For debug
> Console.Write("Application.Run succeeded");
> And it looks like the part after Application.Run() isn't executed.
> Gtk-sharp-list maillist - Gtk-sharp-list at lists.dot.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gtk-sharp-list