[Gtk-sharp-list] SaveDialog not working

vbtricks vbtricks at gmx.net
Thu Aug 7 05:45:00 EDT 2008


Salut,

oops, your sample is working for me and after rechecking I found out, that
the problem was not the dialog but a line some lines below it. Why
MonoDevelop insistet that the error was in the line quoted in my first
posting, I don't know.


Thanks,

Stefan


egrath wrote:
> 
> Hello vbtricks,
> 
> your code works flawless for me. Which version of Gtk# and the Runtime are
> you using? Can you also please try to compile and run the following
> snippet:
> 
> using System;
> using Gtk;
> 
> public class GtkTest : Gtk.Window
> {
>     public static void Main( string[] args )
>     {
>         Gtk.Application.Init();
>         new GtkTest( "Dialog Test" );
>         Gtk.Application.Run();
>     }
> 
>     public GtkTest(string title) : base( title )
>     {
>         FileChooserDialog fc=
>         new FileChooserDialog("Choose the file to restore to",
>                               this,
>                               FileChooserAction.Save,
>                               "Cancel",ResponseType.Cancel,
>                               "Save",ResponseType.Accept);
> 
>         fc.Show();
>     }
> }
> 
> Does this work for you?
> 
> Egon
> 

-- 
View this message in context: http://www.nabble.com/SaveDialog-not-working-tp18853968p18867127.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.



More information about the Gtk-sharp-list mailing list