[Gtk-sharp-list] UnhandledException

Sascha Manns Sascha.Manns at mailbox.org
Thu Jan 26 14:17:54 UTC 2017


Hello list,

after Baltasars great help the GUI with Gtk3 comes up correctly. But if
i'm use a combobox and change the content to another entry, i'm getting:

Marshaling changed signal
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to
handle the exception.
System.Reflection.TargetInvocationException: Exception has been thrown
by the target of an invocation. ---> System.InvalidCastException:
Specified cast is not valid.
  at Gtk.ComboBox.get_Entry () [0x00007] in
<ec8213242a4d4273b7793f86792f85d5>:0
  at PublicanCreators.TestForm1.OnCboDocTypeChanged (System.Object
sender, System.EventArgs e) [0x00008] in
/home/sascha/RiderProjects/PublicanCreators/src/PublicanCreators/Glade.cs:132


Can anyone explain me, what happen`d?

I'm using in the Changed and Move Active Handler:

DocType = cboDocType.Entry.ToString();

Greetings
Sascha

-- 

<https://saigkill.github.io/>

Sascha Manns
Sascha.Manns at mailbox.org <mailto:Sascha.Manns at mailbox.org>
GPG: 0x168428cdb1f20ab1
<http://pgpkey.org/pks/lookup?op=vindex&search=0x168428cdb1f20ab1&fingerprint=on>
jabber:Sascha.Manns at jabber.org <jabber:Sascha.Manns at jabber.org>


Maifeldstraße 10
56727 Mayen
mobile: +49-1573-9242730
home: +49-2651-4014045
https://saigkill.github.io

Twitter <https://twitter.com/saigkill> Facebook
<https://www.facebook.com/sascha.manns> LinkedIn
<https://de.linkedin.com/in/saigkill> Skype <skype:schurik0815?call>
Github <https://github.com/saigkill> Xing
<https://www.xing.com/profile/Sascha_Manns4>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dot.net/pipermail/gtk-sharp-list/attachments/20170126/eda6cc3a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Saschasmall.jpg
Type: image/jpeg
Size: 31166 bytes
Desc: not available
URL: <http://lists.dot.net/pipermail/gtk-sharp-list/attachments/20170126/eda6cc3a/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: twitter.png
Type: image/png
Size: 1418 bytes
Desc: not available
URL: <http://lists.dot.net/pipermail/gtk-sharp-list/attachments/20170126/eda6cc3a/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: spacer.gif
Type: image/gif
Size: 1097 bytes
Desc: not available
URL: <http://lists.dot.net/pipermail/gtk-sharp-list/attachments/20170126/eda6cc3a/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: facebook.png
Type: image/png
Size: 956 bytes
Desc: not available
URL: <http://lists.dot.net/pipermail/gtk-sharp-list/attachments/20170126/eda6cc3a/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linkedin.png
Type: image/png
Size: 1141 bytes
Desc: not available
URL: <http://lists.dot.net/pipermail/gtk-sharp-list/attachments/20170126/eda6cc3a/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: skype.png
Type: image/png
Size: 1632 bytes
Desc: not available
URL: <http://lists.dot.net/pipermail/gtk-sharp-list/attachments/20170126/eda6cc3a/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: github.png
Type: image/png
Size: 2345 bytes
Desc: not available
URL: <http://lists.dot.net/pipermail/gtk-sharp-list/attachments/20170126/eda6cc3a/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xing.png
Type: image/png
Size: 2636 bytes
Desc: not available
URL: <http://lists.dot.net/pipermail/gtk-sharp-list/attachments/20170126/eda6cc3a/attachment-0011.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 837 bytes
Desc: OpenPGP digital signature
URL: <http://lists.dot.net/pipermail/gtk-sharp-list/attachments/20170126/eda6cc3a/attachment-0001.sig>


More information about the Gtk-sharp-list mailing list