[MonoDevelop] Good resource for learning how to build graphical applications inside monodeve
neilmunro at gmail.com
Mon Feb 9 14:17:25 EST 2009
That's going to be useful to know, but I will have similar behavior with
other windows, so it's something i would like a resolution to if at all
possible, although I do feel the root password authentication window would
be a far more elegant solution to that problem.
2009/2/9 <scott.ellington at gmail.com>
> There's a way to prompt for the root password via the GUI. Yast2 and the
> change data/time applet use it. I don't know if it is already exposed via
> some *-sharp lib but it may be worth looking into.
> On Feb 9, 2009 12:27pm, Neil Munro <neilmunro at gmail.com> wrote:
> > Alright specific questions it is then.
> > I have created my main application window, but before it opens another
> user authentication window should open and alert the user to the fact that
> if they are not root then they need to close the application and run it as
> root, and I learned how to display a dialog window, but the user clicking ok
> or the close button closes the dialog bur the main window does not close, I
> had the function to display the window include only two lines:
> > UserWindow uw = new UserWindow( );
> > Application.Quit( );
> > Also I was unable to close the window in the UserWindow.BTN_OK_Clicked( )
> method I could hide it, and with the desired outcome being the application
> would then close I wasn't too concerned about the window hiding and not
> being closed. So if someone could assist me in finding examples of this I
> would be very grateful.
> > Thanks
> > Neil Munro
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Monodevelop-list