glade-sharp
2.12.0.0
Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.
Marks a widget for auto-binding
This attribute when attached to a field value is used by the
Autoconnect functionality in to bind a
widget created by Glade to the field.
The attribute can be applied to any widgets (widgets derive
from the class) and it can be
applied to static and instance fields.
By default the runtime will match the tagged field name with
the name that was given to the widget on the Glade user
interface designer. An optional string argument can be
provided on the constructor to bind the widget to a different
name.
For the binding to take place, the method has to be invoked
on either the class or the instance.
System.Attribute
System.AttributeUsage(System.AttributeTargets.Field)
Constructor
Flags a to be auto-connected
The name of the widget in the Glade file
that this widget should be mapped to
This will bind the widget whose name in the Glade
designer is to the field that
the attribute is attached to. If the field name is the
same as the widget name in the Glade designer, you can
avoid the name parameter.
For the binding to take place, the method has to be invoked
on either the class or the instance.
Constructor
Flags a to be auto-connected
This will bind the widget whose name in the Glade
designer is the same as the field name. If you want to
target a different widget in the glade file, use the
attribute instead.
For the binding to take place, the method has to be invoked
on either the class or the instance.
Property
System.Boolean
Whether a specific binding was requested
This returns if a specific
widget name was requested to be bound, or if the runtime has to use the field name
as the Glade name.
Property
System.String
The name of the widget targetted
The name of the widget targeted in the Glade
definition file.