-
Notifications
You must be signed in to change notification settings - Fork 0
/
IBuildable.cs
27 lines (24 loc) · 996 Bytes
/
IBuildable.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
namespace Gtk3
{
public interface IBuildable
{
/// <summary>
/// Sets the name of the buildable object.
/// </summary>
/// <param name="name">The value to set the name to.</param>
void SetName(string name);
/// <summary>
/// Gets the name of the buildable object.
/// </summary>
/// <returns>The name set by <see cref="SetName"/></returns>
string GetName();
/// <summary>
/// Adds a child to buildable. type is an optional string describing how the child should be added.
/// </summary>
/// <param name="builder">A UIBuilder object</param>
/// <param name="childToAdd">The child that we want to add toi the Buildable object.</param>
/// <param name="type">The kind of child or null.</param>
void AddChild(UiBuilder builder, Widget childToAdd, string type);
void SetBuildableProperty(UiBuilder builder, string name, object value);
}
}