[Gtk-sharp-list] alter TypeHint GTK.Window to GTK.Dialog

salvadorRenato renato at star2.com.br
Fri Jan 20 12:49:20 UTC 2017


Hi, I'm changing the typeHint of a GTK window for dialog.
I would like to know how I use run () after this change?


Using System;
Using Gtk;
Using Pango;
Using System.IO;
Using System.Threading;
Using System.Threading.Tasks;

Namespace StarCheckOut
{
Public partial class frmInicial: Gtk.Window
{
Public frmInicial ():
Base (Gtk.WindowType.Toplevel)
{
This.Build ();
This.Deletable = false;
This.TypeHint = Gdk.WindowTypeHint.Dialog;

}
         }
}

On another screen I declare the same

FrmInicial frm = new frmInicial ();

Frm.Show ();

But does not have this funccion

Frm.run ()

How do I activate or pick up the return of this screen.



--
View this message in context: http://mono.1490590.n4.nabble.com/alter-TypeHint-GTK-Window-to-GTK-Dialog-tp4669755.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.


More information about the Gtk-sharp-list mailing list