[Gtk-sharp-list] (no subject)
miguel díaz
miguelchispi@yahoo.com
Tue, 20 May 2003 16:46:55 +0100 (BST)
Hi everyone,
I have problems using a FileSelection dialog trying to
open a file
In a class I have a FileSelection, a string to have
the name of the selected file and two methods to open
the file. When I try to assign the selected name to my
variable it assigns only NULL value and then in the
console I get a message with an error.
Any suggestion?
How can I use the FileSelection?
I'm working with gtk on windows
void OnOk (object o, EventArgs args)
{
this.filename = openDlg.Filename;
openDlg.Hide();
}
this is the error on console
<<unknown>:1184>:Gtk-CRITICAL **:file gtkentry.c: line
3302 <gtk_entry_set_text>: assertion 'text !=NULL' failed
__________________________________________________
It's Samaritans' Week. Help Samaritans help others.
Call 08709 000032 to give or donate online now at http://www.samaritans.org/support/donations.shtm