You need to change the class itself to derive from GTK.Dialog. create a new dialog and copy the contents from the window to the dialog, that will do the trick.
El vie., 20 ene. 2017 13:50, salvadorRenato <ren...@star2.com.br> escribió: > 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. > _______________________________________________ > Gtk-sharp-list maillist - Gtk-sharp-list@lists.dot.net > http://lists.dot.net/mailman/listinfo/gtk-sharp-list >
_______________________________________________ Gtk-sharp-list maillist - Gtk-sharp-list@lists.dot.net http://lists.dot.net/mailman/listinfo/gtk-sharp-list