Clarified the dscp-tos documentation a bit.
[doldaconnect.git] / clients / gtk2 / mainwnd.desc
CommitLineData
d3372da9 1#ifdef HAVE_CONFIG_H
2#include "config.h"
3#endif
4;prefix: main_
5;hasaccels: y
6;hascolumns: y
7;hasrenderers: y
2e8363c8 8:menu name: srpopup var: y
a2e3d687 9 $menuitem name: srhash label: "Search for this hash" sig: activate var: y
07644ebe 10 $menuitem name: srcopy label: "Copy this hash to clipboard" sig: activate var: y
2e8363c8 11end
12:menu name: trpopup var: y
a2e3d687 13 $menuitem name: trhash label: "Search for this hash" sig: activate var: y
07644ebe 14 $menuitem name: trcopy label: "Copy this hash to clipboard" sig: activate var: y
581ace46 15 $menuitem name: trreset label: "Reset transfer" sig: activate
a2e3d687 16 $menuitem name: trcancel label: "Cancel transfer" sig: activate
2e8363c8 17end
d3372da9 18:wnd name: wnd title: "Dolda Connect" var: y sig(delete_event):initdeath
19 :vbox
20 :menubar
21 :menuitem label: _Main
22 :menu
23 $menuitem name: connmenu label: _Connect sig: activate accel: "CONTROL+C" var: y
24 $menuitem name: dconnmenu label: _Disconnect sig: activate accel: "CONTROL+D" var: y sensitive: FALSE
25 $menusep
26 $menuitem name: sdmenu label: "_Shut down daemon" sig: activate
27 $smenuitem stock: QUIT sig(activate):initdeath
28 end
29 end
30 :menuitem label: Op_tions
31 :menu
32 $smenuitem name: prefmenu stock: PREFERENCES sig: activate
d634a512 33 $menuitem name: lsres label: "_List resumable files" sig: activate
d3372da9 34 end
35 end
36 end
37 :vpaned name: pane1 var: y expand: TRUE fill: TRUE resize: 1
38 :notebook
39 :vpaned name: pane2 var: y nblabel: "_Hub connections" resize: 2
40 :vbox
41 $mlbl label: "Connected hu_bs" mwidget: fnetnodes
42 :sw expand: TRUE fill: TRUE
43 :treeview name: fnetnodes var: y rules: TRUE
44 :tvcol title: "Hub name" sortcol: 1 resizable: TRUE
45 $pixbufrend stock_id: 4
46 $textrend text: 1
47 end
48 $tvcol title: "# users" text: 3 sortcol: 3 resizable: TRUE
49 end
50 end
51 $btn name: dcnctbtn label: "D_isconnect" sig: clicked
52 end
53 :vbox
54 $mlbl label: "_Public hub list" mwidget: phublist
55 :sw expand: TRUE fill: TRUE
56 :treeview name: phublist var: y rules: TRUE searchcol: 0 sig(cursor-changed): cb_main_phublist_cchange sig(row-activated): cb_main_phublist_activate
57 $tvcol title: "# users" text: 3 sortcol: 3 resizable: TRUE
58 $tvcol title: "Name" text: 0 sortcol: 0 resizable: TRUE
59 $tvcol title: "Description" text: 2 sortcol: 2 resizable: TRUE
60 end
61 end
b0d389ac
FT
62 :hbox name: pubhubbarbox var: y noshow: y
63 $pbar name: pubhubbar var: y expand: TRUE fill: TRUE
64 $sbtn stock: CANCEL name: pubhubabort sig: clicked
65 end
d3372da9 66 :table rows: 2 cols: 3 fill: TRUE
67 $mlbl label: "_Filter:" tx: 0 ty: 0 mwidget: pubhubfilter
68 $text name: pubhubfilter var: y expand: y fill: y sig: activate tx: 1 ty: 0
69 $btn label: "_Get public hub list" sig(clicked): cb_main_pubhubfilter_activate tx: 2 ty: 0
70 $mlbl label: "_Address:" tx: 0 ty: 1 mwidget: fnaddr
71 $text name: fnaddr var: y expand: y fill: y sig: activate tx: 1 ty: 1
72 $btn label: "C_onnect" sig(clicked): cb_main_fnaddr_activate tx: 2 ty: 1
73 end
74 end
75 end
76 :vpaned name: pane3 var: y nblabel: "_Chat" resize: 2
77 :vbox
78 $mlbl label: "Hu_bs" mwidget: chatnodes
79 :sw fill: TRUE expand: TRUE
80 :treeview name: chatnodes var: y rules: TRUE sig(row-activated): cb_main_chatnodes_activate
81 :tvcol title: "Hub name" sortcol: 1
82 $pixbufrend stock_id: 5
83 $textrend text: 1
84 end
85 end
86 end
87 end
88 :vbox
89 :sw fill: TRUE expand: TRUE
90 $textview name: chatview var: y editable: FALSE
91 end
92 :hbox
93 $mlbl label: "Chat st_ring:" mwidget: chatstr
94 $text name: chatstr var: y expand: TRUE fill: TRUE sig: activate
95 $btn label: "S_end" sig(clicked): cb_main_chatstr_activate
96 end
97 end
98 end
99 :vbox nblabel: "_Search"
100 :hbox
101 $mlbl label: "S_imple search:" mwidget: simplesrch
102 $text name: simplesrch var: y expand: TRUE fill: TRUE sig: changed sig(activate): cb_main_srchbtn_clicked
103 $btn name: srchbtn var: y label: "S_earch" sig: clicked
104 $btn name: srchcanbtn var: y label: "C_ancel" sig: clicked sensitive: FALSE
105 end
106 $chk name: filternoslots var: y label: "Displa_y results with free slots only" sig: toggled
107 :exp label: "Ad_vanced" name: advexp var: y
108 :table rows: 2 cols: 2
109 $mlbl tx: 0 ty: 0 label: "C_omplete search expression:" mwidget: realsrch
110 $text tx: 1 ty: 0 name: realsrch var: y expand: y fill: y sig: changed sig(activate): cb_main_srchbtn_clicked
111 $mlbl tx: 0 ty: 1 label: "Filter ar_gument:" mwidget: dlarg
112 $text tx: 1 ty: 1 name: dlarg var: y expand: y fill: y
113 end
114 end
115 $lbl name: srchstatus var: y label: "Ready to search" fill: TRUE
116 $hr pad: 5
117 $mlbl label: "Search _results:" mwidget: srchres
118 :sw expand: TRUE fill: TRUE
2e8363c8 119 :treeview name: srchres var: y rules: TRUE searchcol: 3 sig(row-activated): cb_main_srchres_activate sig(popup-menu): cb_main_srpopup sig(button-release-event): cb_main_srpopup
d3372da9 120 :tvcol title: "#" sortcol: 7 resizable: FALSE
e5fc6b8c 121 $textrend func: hidezerofunc funcdata: "GINT_TO_POINTER(7)"
d3372da9 122 end
123 $tvcol title: "Peer name" text: 2 sortcol: 2 resizable: TRUE
124 $tvcol title: "File name" text: 3 sortcol: 3 resizable: TRUE expander: y
125 :tvcol title: "Size" sortcol: 4 resizable: TRUE
e5fc6b8c 126 $textrend func: transnicebytefunc funcdata: "GINT_TO_POINTER(4)"
d3372da9 127 end
128 $tvcol title: "Slots" text: 5 sortcol: 5 resizable: TRUE
129 :tvcol title: "Known speed" sortcol: 8 resizable: TRUE
130 $textrend func: speedtimefunc
131 end
132 $tvcol title: "Rsp. time" text: 6 sortcol: 6 resizable: TRUE
2e8363c8 133 $tvcol title: "Hash" text: 9 sortcol: 9 resizable: TRUE
d3372da9 134 end
135 end
136 end
137 end
138 :notebook
139 :vbox nblabel: "_Downloads"
140 $mlbl label: "_List of downloads:" mwidget: downloads
141 :sw fill: TRUE expand: TRUE
2e8363c8 142 :treeview name: downloads var: y sig(key-press-event): cb_main_trlist_keypress sig(popup-menu): cb_main_trpopup sig(button-release-event): cb_main_trpopup
6d3c4a86 143 :tvcol title: "User Name" resizable: TRUE
d3372da9 144 $pixbufrend stock_id: 8
145 $textrend text: 4
146 end
6d3c4a86
FT
147 $tvcol title: "File Name" text: 5 resizable: TRUE
148 :tvcol title: "Size" resizable: TRUE
e5fc6b8c 149 $textrend func: transnicebytefunc funcdata: "GINT_TO_POINTER(6)"
d3372da9 150 end
6d3c4a86 151 :tvcol title: "Position" resizable: TRUE
dbdb91fa 152 $progrend func: progressfunc funcdata: "GINT_TO_POINTER((6 << 8) | 7)" expand: TRUE
d3372da9 153 end
6d3c4a86 154 :tvcol title: "Speed" resizable: TRUE
8d9ec191 155 $textrend func: transspeedinfo
156 end
6d3c4a86 157 :tvcol title: "Error" resizable: TRUE
d3372da9 158 $textrend func: transerrorinfo
159 end
6d3c4a86 160 $tvcol title: "Hash" resizable: TRUE text: 12
d3372da9 161 end
162 end
163 end
164 :vbox nblabel: "_Uploads"
165 $mlbl label: "_List of uploads:" mwidget: uploads
166 :sw fill: TRUE expand: TRUE
167 :treeview name: uploads var: y sig(key-press-event): cb_main_trlist_keypress
168 :tvcol title: "User Name"
169 $pixbufrend stock_id: 8
170 $textrend text: 4
171 end
172 $tvcol title: "File Name" text: 5
173 :tvcol title: "Size"
e5fc6b8c 174 $textrend func: transnicebytefunc funcdata: "GINT_TO_POINTER(6)"
d3372da9 175 end
176 :tvcol title: "Position"
dbdb91fa 177 $progrend func: progressfunc funcdata: "GINT_TO_POINTER((6 << 8) | 7)" expand: TRUE
d3372da9 178 end
789e114c 179 :tvcol title: "Speed"
180 $textrend func: transspeedinfo
181 end
d3372da9 182 end
183 end
184 end
185 end
186 end
187 $sbar var: y name: statusbar
188 end
189end