flowblok / Presenter (http://flowblok.selfip.net:8001/trac/presenter)
The presentation tool for control freaks.
Clone this repository (size: 380.5 KB): HTTPS / SSH
$ hg clone http://bitbucket.org/flowblok/presenter/
| commit 182: | e4fb557e44ca |
| parent 181: | 1dfe131b6692 |
| branch: | default |
Added comments to control.py.
Changed (Δ116 bytes):
raw changeset »
presenter/control.py (6 lines added, 0 lines removed)
Up to file-list presenter/control.py:
| … | … | @@ -179,8 +179,12 @@ class ControlWindow(GtkBuilder): |
179 |
179 |
name = row['name'] |
180 |
180 |
handler = row['handler'] |
181 |
181 |
|
182 |
# Create the control |
|
183 |
||
182 |
184 |
control = handler.get_editor_control() |
183 |
185 |
|
186 |
# Make the close tab widget. |
|
187 |
||
184 |
188 |
hbox = gtk.HBox() |
185 |
189 |
|
186 |
190 |
name_label = gtk.Label(name) |
| … | … | @@ -196,6 +200,8 @@ class ControlWindow(GtkBuilder): |
196 |
200 |
|
197 |
201 |
hbox.show_all() |
198 |
202 |
|
203 |
# Add the page to the editor notebook. |
|
204 |
||
199 |
205 |
self.editor.append_page(control, hbox) |
200 |
206 |
self.editor.show_all() |
201 |
207 |
self.editor.set_current_page(-1) |
