3
using System.Collections;
4
using System.Collections.Specialized;
9
public class ActionGroupComponent: Component
11
public ActionGroupComponent (Application app, object backend, string name): base (app, backend, name, app.GetComponentType ("Gtk.ActionGroup"))
15
public override string Name {
18
name = ((Wrapper.ActionGroup)backend).Name;
23
((Wrapper.ActionGroup)backend).Name = value;
27
public override bool GeneratePublic {
28
get { return ((Wrapper.ActionGroup)backend).GeneratePublic; }
29
set { ((Wrapper.ActionGroup)backend).GeneratePublic = value; }
32
protected override void OnChanged ()
38
public ActionComponent[] GetActions ()
40
Wrapper.ActionCollection acts = ((Wrapper.ActionGroup)backend).Actions;
42
ArrayList comps = new ArrayList (acts.Count);
44
for (int n=0; n<acts.Count; n++) {
45
ActionComponent ac = (ActionComponent) app.GetComponent (acts[n], null, null);
50
return (ActionComponent[]) comps.ToArray (typeof(ActionComponent));
53
public override Component[] GetChildren ()