[Gtk-sharp-list] TestCombo from Ximian

underdog10 at netcourrier.com underdog10 at netcourrier.com
Sun Jul 17 12:48:57 EDT 2005


I am running on XP using mono 1.1.8 with gtk-sharp2.

And you are right, i just test it on linux with gtk-sharp2 and mono1.1.8-2
debian and it is working.

Still a pb, you need to pressed enter to throw the event, and i wish to receveid the event after the user make a selection, so when the entry changed.

/Francois


----Message d'origine----
>Sujet: Re: [Gtk-sharp-list] TestCombo from Ximian
>De: Francis Brosnan Blazquez <francis at aspl.es>
>A: underdog10 at netcourrier.com
>Copie à: gtk-sharp <gtk-sharp-list at lists.ximian.com>
>Date: Sun, 17 Jul 2005 18:33:46 +0200
>
>El dom, 17-07-2005 a las 18:02 +0200, underdog10 at netcourrier.com
>escribió:
>> Hello,
>> 
>> I still trying to set a event on a comboentry in order to received event.
>> 
>> it is crashing at
>> combo.Entry.Activated += new EventHandler (OnComboActivated);
>> 
>> This crash on both gtk version
>> 
>> I use this file as sample
>> http://svn.myrealbox.com/source/branches/gtk-sharp-1-0-branch/gtk-sharp/sample/test/TestCombo.cs
>> 
>> 
>> I just the main class to make it compile:
>> 
>> mcs TestCombo.cs -out:test.exe -pkg:gtk-sharp-2.0
>> 
>> mcs TestCombo.cs -out:test.exe -pkg:gtk-sharp
>> 
>> Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
>> in <0x00189> WidgetViewer.TestCombo:Create ()
>> in <0x0000c> WidgetViewer.TestCombo:Main (System.String[] args)
>
>Hi Francois,
>
>The problem you are running into have been solved since gtk-sharp 1.0.10
>version.
>
>You can check that the Entry reference inside the combo is null. This
>leads to all errors you are detecting.
>
>What version are you running (platform/gtk/mono)?
>
>Cheers,
>
>> 
>> Thanks,
>> 
>> /Francois
>> 
>> -------------------------------------------------------------
>> NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar...
>> Web/Wap : www.netcourrier.com
>> Téléphone/Fax : 08 92 69 00 21 (0,34 ¤ TTC/min)
>> Minitel: 3615 NETCOURRIER (0,16 ¤ TTC/min)
>> 
>> _______________________________________________
>> Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>-- 
>Francis Brosnan Blazquez <francis at aspl.es>
>Advanced Software Production Line, S.L.
>

-------------------------------------------------------------
NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar...
Web/Wap : www.netcourrier.com
Téléphone/Fax : 08 92 69 00 21 (0,34 € TTC/min)
Minitel: 3615 NETCOURRIER (0,16 € TTC/min)



More information about the Gtk-sharp-list mailing list