Hello list,

i've written a new GUI for my program with Glade and Gtk.Builder.

Actually i'm having that constructors:

public static PublicanCreators Create()
{
    Builder builder = new Builder();
    builder.AddFromFile("gui.glade");
    return new PublicanCreators(builder, 
builder.GetObject("PublicanCreators").Handle);
}
protected PublicanCreators(Builder builder, IntPtr handle) : base(handle)
{
    _builder = builder;
    builder.Autoconnect(this);
    SetupHandlers();
}

The usage of "builder.Autoconnect(this)" is often used in other
projects. But on my it breaks the build because: "Error:(69, 21) CS1061:
PublicanCreators.cs(69,21):  error CS1061: Type `Gtk.Builder' does not
contain a definition for `Autoconnect' and no extension method
`Autoconnect' of type `Gtk.Builder' could be found. Are you missing an
assembly reference?"
The GUI is described in Program.cs and PublicanCreators.cs there:
https://github.com/saigkill/PublicanCreators/tree/master/PublicanCreators
Maybe anyone knows how to get the Autoconnect working?

Greetings
Sascha
-- 

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


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>

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.dot.net/mailman/listinfo/gtk-sharp-list

Reply via email to