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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148
|
class Circle.Commandable {
method do_command(str);
}
class Circle.WindowItem {
isa Circle.Commandable;
event raise();
method reset_level();
method get_widget() -> obj;
smashed prop tag = str;
smashed prop level = int;
}
class Circle.RootObj {
isa Circle.WindowItem;
method get_session(list(str)) -> obj;
event network_added(obj);
prop networks = hash of obj;
}
class Circle.Session.Tabbed {
prop tabs = array of obj;
event raise_item(obj);
}
class Circle.Net.IRC {
isa Circle.WindowItem;
method get_isupport(str) -> any;
event connected();
event disconnected();
prop nick = str;
prop away = bool;
prop channels = objset of obj;
prop users = objset of obj;
}
class Circle.Net.IRC.Target {
isa Circle.WindowItem;
method msg(str);
method notice(str);
method act(str);
event msg(str,str);
event notice(str,str);
event act(str, str);
smashed prop name = str;
smashed prop net = obj;
smashed prop real = bool;
}
class Circle.Net.IRC.User {
isa Circle.Net.IRC.Target;
event change_nick(str,str,str,str);
prop ident = str;
prop presence = str;
}
class Circle.Net.IRC.Channel {
isa Circle.Net.IRC.Target;
method mode(str,list(str));
method topic(str);
event self_joined();
event self_parted();
event join(str);
event part(str,str);
event kick(str,str,str);
event topic(str,str);
prop topic = str;
prop occupants = hash of dict(any);
prop occupant_summary = hash of int;
prop my_flag = str;
prop mode = hash of str;
prop modestr = str;
}
class Circle.Net.Raw {
isa Circle.WindowItem;
event connected(str,int);
event disconnected();
prop connected = bool;
}
class Circle.Widget {
smashed prop classes = array of str;
smashed prop focussed = bool;
}
class Circle.Widget.Box {
isa Circle.Widget;
smashed prop orientation = str; # TODO: enumeration
smashed prop children = array of dict(any);
}
class Circle.Widget.Entry {
isa Circle.Widget;
method enter(str);
smashed prop autoclear = bool;
prop text = str;
prop history = queue of str;
prop completions = objset of obj;
smashed prop want_typing = bool;
method typing(bool);
}
class Circle.Widget.Entry.CompleteGroup {
smashed prop only_at_sol = bool;
smashed prop prefix_sol = str;
smashed prop suffix_sol = str;
smashed prop items = array of str;
}
class Circle.Widget.Label {
isa Circle.Widget;
prop text = str;
}
class Circle.Widget.Scroller {
isa Circle.Widget;
prop displayevents = queue of list(any);
}
|