55044a05726d72dfe8e99d12a946c386f6113e04
[lttv.git] /
1 /* This file is part of the Linux Trace Toolkit viewer
2 * Copyright (C) 2003-2004 XangXiu Yang
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License Version 2 as
6 * published by the Free Software Foundation;
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, write to the Free Software
15 * Foundation, Inc., 59 Temple Place - Suite 330, Boston,
16 * MA 02111-1307, USA.
17 */
18
19 /*
20 * DO NOT EDIT THIS FILE - it is generated by Glade.
21 */
22
23 #ifdef HAVE_CONFIG_H
24 # include <config.h>
25 #endif
26
27 #include <sys/types.h>
28 #include <sys/stat.h>
29 #include <unistd.h>
30 #include <string.h>
31 #include <stdio.h>
32
33 #include <gdk/gdkkeysyms.h>
34 #include <gtk/gtk.h>
35
36 #include "callbacks.h"
37 #include "interface.h"
38 #include "support.h"
39
40 #define GLADE_HOOKUP_OBJECT(component,widget,name) \
41 g_object_set_data_full (G_OBJECT (component), name, \
42 gtk_widget_ref (widget), (GDestroyNotify) gtk_widget_unref)
43
44 #define GLADE_HOOKUP_OBJECT_NO_REF(component,widget,name) \
45 g_object_set_data (G_OBJECT (component), name, widget)
46
47 GtkWidget*
48 create_MWindow (void)
49 {
50 GtkWidget *MWindow;
51 GtkWidget *MVbox;
52 GtkWidget *MMenuBox;
53 GtkWidget *MenuMain;
54 GtkWidget *FileMenuTitle;
55 GtkWidget *FileMenuTitle_menu;
56 GtkWidget *FileMenuNewTitle;
57 GtkWidget *FileMenuNewTitle_menu;
58 // GtkWidget *EmptyTraceset;
59 GtkWidget *CloneTraceset;
60 GtkWidget *FileMenuNewSep;
61 GtkWidget *Tab;
62 // GtkWidget *OpenTraceset;
63 GtkWidget *Close;
64 GtkWidget *CloseTab;
65 GtkWidget *FileMenuSeparator1;
66 GtkWidget *AddTrace;
67 GtkWidget *RemoveTrace;
68 // GtkWidget *Save;
69 // GtkWidget *SaveAs;
70 GtkWidget *FileMenuSeparator2;
71 GtkWidget *Quit;
72 // GtkWidget *EditMenuTitle;
73 // GtkWidget *EditMenuTitle_menu;
74 // GtkWidget *Cut;
75 // GtkWidget *Copy;
76 // GtkWidget *Paste;
77 // GtkWidget *Delete;
78 GtkWidget *ViewMenuTitle;
79 GtkWidget *ViewMenuTitle_menu;
80 GtkWidget *ZoomIn;
81 GtkWidget *ZoomOut;
82 GtkWidget *ZoomExtended;
83 GtkWidget *ViewMenuSeparator;
84 // GtkWidget *GoToTime;
85 // GtkWidget *ShowTimeFrame;
86 GtkWidget *ToolMenuTitle;
87 GtkWidget *ToolMenuTitle_menu;
88 GtkWidget *MoveViewerUp;
89 GtkWidget *MoveViewerDown;
90 GtkWidget *RemoveViewer;
91 GtkWidget *ToolMenuSeparator;
92 GtkWidget *Filter;
93 // GtkWidget *Facility;
94 GtkWidget *ToolMenuSeparator1;
95 // GtkWidget *insert_viewer_test;
96 GtkWidget *PluginMenuTitle;
97 GtkWidget *PluginMenuTitle_menu;
98 GtkWidget *LoadLibrary;
99 GtkWidget *UnloadLibrary;
100 GtkWidget *LoadModule;
101 GtkWidget *UnloadModule;
102 GtkWidget *AddLibrarySearchPath;
103 GtkWidget *RemoveLibrarySearchPath;
104 // GtkWidget *OptionMenuTitle;
105 // GtkWidget *OptionMenuTitle_menu;
106 // GtkWidget *Color;
107 // GtkWidget *OptMenuSeparator;
108 // GtkWidget *OpenFilter;
109 // GtkWidget *SaveConfiguration;
110 GtkWidget *MenuHelp;
111 GtkWidget *HelpMenuTitle;
112 GtkWidget *HelpMenu;
113 GtkWidget *Content;
114 GtkWidget *HelpmenuSeparator;
115 GtkWidget *About;
116 GtkWidget *MToolbar1;
117 GtkWidget *tmp_toolbar_icon;
118 GtkWidget *tlbEmptyTraceset;
119 GtkWidget *tlbTab;
120 // GtkWidget *tlbOpenTraceset;
121 GtkWidget *tlbAddTrace;
122 GtkWidget *tlbRemoveTrace;
123 GtkWidget *tlbRedraw;
124 GtkWidget *tlbContinueProcessing;
125 GtkWidget *tlbStopProcessing;
126 // GtkWidget *tlbSave;
127 // GtkWidget *tlbSaveAs;
128 GtkWidget *tlbZoomIn;
129 GtkWidget *tlbZoomOut;
130 GtkWidget *tlbZoomExtended;
131 //GtkWidget *tlbGoToTime;
132 //GtkWidget *tlbShowTimeFrame;
133 GtkWidget *tlbMoveViewerUp;
134 GtkWidget *tlbMoveViewerDown;
135 GtkWidget *tlbRemoveViewer;
136 GtkWidget *MToolbar2;
137 GtkWidget *MNotebook;
138 // GtkWidget *empty_notebook_page;
139 // GtkWidget *label1;
140 GtkWidget *MStatusbar;
141 GtkAccelGroup *accel_group;
142
143 accel_group = gtk_accel_group_new ();
144
145 MWindow = gtk_window_new (GTK_WINDOW_TOPLEVEL);
146 gtk_widget_set_size_request (MWindow, 100, 50);
147 gtk_window_set_title (GTK_WINDOW (MWindow), "Linux Trace Toolkit Viewer");
148 gtk_window_set_default_size (GTK_WINDOW (MWindow),
149 gdk_screen_width()*0.9, gdk_screen_height()*0.9);
150
151 MVbox = gtk_vbox_new (FALSE, 0);
152 gtk_widget_show (MVbox);
153 gtk_container_add (GTK_CONTAINER (MWindow), MVbox);
154
155 MMenuBox = gtk_hbox_new (FALSE, 0);
156 gtk_widget_show (MMenuBox);
157 gtk_box_pack_start (GTK_BOX (MVbox), MMenuBox, FALSE, FALSE, 0);
158
159 MenuMain = gtk_menu_bar_new ();
160 gtk_widget_show (MenuMain);
161 gtk_box_pack_start (GTK_BOX (MMenuBox), MenuMain, FALSE, FALSE, 0);
162
163 FileMenuTitle = gtk_menu_item_new_with_mnemonic ("_File");
164 gtk_widget_show (FileMenuTitle);
165 gtk_container_add (GTK_CONTAINER (MenuMain), FileMenuTitle);
166
167 FileMenuTitle_menu = gtk_menu_new ();
168 gtk_menu_item_set_submenu (GTK_MENU_ITEM (FileMenuTitle), FileMenuTitle_menu);
169
170 FileMenuNewTitle = gtk_menu_item_new_with_mnemonic ("New");
171 gtk_widget_show (FileMenuNewTitle);
172 gtk_container_add (GTK_CONTAINER (FileMenuTitle_menu), FileMenuNewTitle);
173
174 FileMenuNewTitle_menu = gtk_menu_new ();
175 gtk_menu_item_set_submenu (GTK_MENU_ITEM (FileMenuNewTitle), FileMenuNewTitle_menu);
176
177 // EmptyTraceset = gtk_menu_item_new_with_mnemonic ("Empty trace set");
178 // gtk_widget_show (EmptyTraceset);
179 // gtk_container_add (GTK_CONTAINER (FileMenuNewTitle_menu), EmptyTraceset);
180
181 // CloneTraceset = gtk_menu_item_new_with_mnemonic ("Clone trace set");
182 CloneTraceset = gtk_menu_item_new_with_mnemonic ("New window");
183 gtk_widget_show (CloneTraceset);
184 gtk_container_add (GTK_CONTAINER (FileMenuNewTitle_menu), CloneTraceset);
185
186 FileMenuNewSep = gtk_menu_item_new ();
187 gtk_widget_show (FileMenuNewSep);
188 gtk_container_add (GTK_CONTAINER (FileMenuNewTitle_menu), FileMenuNewSep);
189 gtk_widget_set_sensitive (FileMenuNewSep, FALSE);
190
191 Tab = gtk_menu_item_new_with_mnemonic ("Tab");
192 gtk_widget_show (Tab);
193 gtk_container_add (GTK_CONTAINER (FileMenuNewTitle_menu), Tab);
194 /*
195 OpenTraceset = gtk_menu_item_new_with_mnemonic ("Open");
196 gtk_widget_show (OpenTraceset);
197 gtk_container_add (GTK_CONTAINER (FileMenuTitle_menu), OpenTraceset);
198 */
199 Close = gtk_menu_item_new_with_mnemonic ("Close");
200 gtk_widget_show (Close);
201 gtk_container_add (GTK_CONTAINER (FileMenuTitle_menu), Close);
202
203 CloseTab = gtk_menu_item_new_with_mnemonic ("Close Tab");
204 gtk_widget_show (CloseTab);
205 gtk_container_add (GTK_CONTAINER (FileMenuTitle_menu), CloseTab);
206
207 FileMenuSeparator1 = gtk_menu_item_new ();
208 gtk_widget_show (FileMenuSeparator1);
209 gtk_container_add (GTK_CONTAINER (FileMenuTitle_menu), FileMenuSeparator1);
210 gtk_widget_set_sensitive (FileMenuSeparator1, FALSE);
211
212 AddTrace = gtk_menu_item_new_with_mnemonic ("Add Trace");
213 gtk_widget_show (AddTrace);
214 gtk_container_add (GTK_CONTAINER (FileMenuTitle_menu), AddTrace);
215
216 RemoveTrace = gtk_menu_item_new_with_mnemonic ("Remove Trace");
217 gtk_widget_show (RemoveTrace);
218 gtk_container_add (GTK_CONTAINER (FileMenuTitle_menu), RemoveTrace);
219 /*
220 Save = gtk_menu_item_new_with_mnemonic ("Save");
221 gtk_widget_show (Save);
222 gtk_container_add (GTK_CONTAINER (FileMenuTitle_menu), Save);
223
224 SaveAs = gtk_menu_item_new_with_mnemonic ("Save As");
225 gtk_widget_show (SaveAs);
226 gtk_container_add (GTK_CONTAINER (FileMenuTitle_menu), SaveAs);
227 */
228 FileMenuSeparator2 = gtk_menu_item_new ();
229 gtk_widget_show (FileMenuSeparator2);
230 gtk_container_add (GTK_CONTAINER (FileMenuTitle_menu), FileMenuSeparator2);
231 gtk_widget_set_sensitive (FileMenuSeparator2, FALSE);
232
233 Quit = gtk_menu_item_new_with_mnemonic ("Quit");
234 gtk_widget_show (Quit);
235 gtk_container_add (GTK_CONTAINER (FileMenuTitle_menu), Quit);
236 /*
237 EditMenuTitle = gtk_menu_item_new_with_mnemonic ("_Edit");
238 gtk_widget_show (EditMenuTitle);
239 gtk_container_add (GTK_CONTAINER (MenuMain), EditMenuTitle);
240
241 EditMenuTitle_menu = gtk_menu_new ();
242 gtk_menu_item_set_submenu (GTK_MENU_ITEM (EditMenuTitle), EditMenuTitle_menu);
243
244 Cut = gtk_image_menu_item_new_from_stock ("gtk-cut", accel_group);
245 gtk_widget_show (Cut);
246 gtk_container_add (GTK_CONTAINER (EditMenuTitle_menu), Cut);
247
248 Copy = gtk_image_menu_item_new_from_stock ("gtk-copy", accel_group);
249 gtk_widget_show (Copy);
250 gtk_container_add (GTK_CONTAINER (EditMenuTitle_menu), Copy);
251
252 Paste = gtk_image_menu_item_new_from_stock ("gtk-paste", accel_group);
253 gtk_widget_show (Paste);
254 gtk_container_add (GTK_CONTAINER (EditMenuTitle_menu), Paste);
255
256 Delete = gtk_image_menu_item_new_from_stock ("gtk-delete", accel_group);
257 gtk_widget_show (Delete);
258 gtk_container_add (GTK_CONTAINER (EditMenuTitle_menu), Delete);
259 */
260 ViewMenuTitle = gtk_menu_item_new_with_mnemonic ("_View");
261 gtk_widget_show (ViewMenuTitle);
262 gtk_container_add (GTK_CONTAINER (MenuMain), ViewMenuTitle);
263
264 ViewMenuTitle_menu = gtk_menu_new ();
265 gtk_menu_item_set_submenu (GTK_MENU_ITEM (ViewMenuTitle), ViewMenuTitle_menu);
266
267 ZoomIn = gtk_menu_item_new_with_mnemonic ("Zoom in");
268 gtk_widget_show (ZoomIn);
269 gtk_container_add (GTK_CONTAINER (ViewMenuTitle_menu), ZoomIn);
270
271 ZoomOut = gtk_menu_item_new_with_mnemonic ("Zoom out");
272 gtk_widget_show (ZoomOut);
273 gtk_container_add (GTK_CONTAINER (ViewMenuTitle_menu), ZoomOut);
274
275 ZoomExtended = gtk_menu_item_new_with_mnemonic ("Zoom extended");
276 gtk_widget_show (ZoomExtended);
277 gtk_container_add (GTK_CONTAINER (ViewMenuTitle_menu), ZoomExtended);
278
279 ViewMenuSeparator = gtk_menu_item_new ();
280 gtk_widget_show (ViewMenuSeparator);
281 gtk_container_add (GTK_CONTAINER (ViewMenuTitle_menu), ViewMenuSeparator);
282 gtk_widget_set_sensitive (ViewMenuSeparator, FALSE);
283 /*
284 GoToTime = gtk_menu_item_new_with_mnemonic ("Go to time");
285 gtk_widget_show (GoToTime);
286 gtk_container_add (GTK_CONTAINER (ViewMenuTitle_menu), GoToTime);
287
288 ShowTimeFrame = gtk_menu_item_new_with_mnemonic ("Show time frame");
289 gtk_widget_show (ShowTimeFrame);
290 gtk_container_add (GTK_CONTAINER (ViewMenuTitle_menu), ShowTimeFrame);
291 */
292 ToolMenuTitle = gtk_menu_item_new_with_mnemonic ("Tools");
293 gtk_widget_show (ToolMenuTitle);
294 gtk_container_add (GTK_CONTAINER (MenuMain), ToolMenuTitle);
295
296 ToolMenuTitle_menu = gtk_menu_new ();
297 gtk_menu_item_set_submenu (GTK_MENU_ITEM (ToolMenuTitle), ToolMenuTitle_menu);
298
299 MoveViewerUp = gtk_menu_item_new_with_mnemonic ("Move viewer up");
300 gtk_widget_show (MoveViewerUp);
301 gtk_container_add (GTK_CONTAINER (ToolMenuTitle_menu), MoveViewerUp);
302
303 MoveViewerDown = gtk_menu_item_new_with_mnemonic ("Move viewer down");
304 gtk_widget_show (MoveViewerDown);
305 gtk_container_add (GTK_CONTAINER (ToolMenuTitle_menu), MoveViewerDown);
306
307 RemoveViewer = gtk_menu_item_new_with_mnemonic ("Remove viewer");
308 gtk_widget_show (RemoveViewer);
309 gtk_container_add (GTK_CONTAINER (ToolMenuTitle_menu), RemoveViewer);
310
311 ToolMenuSeparator = gtk_menu_item_new ();
312 gtk_widget_show (ToolMenuSeparator);
313 gtk_container_add (GTK_CONTAINER (ToolMenuTitle_menu), ToolMenuSeparator);
314 gtk_widget_set_sensitive (ToolMenuSeparator, FALSE);
315
316 Filter = gtk_menu_item_new_with_mnemonic ("Trace Filter Selector");
317 gtk_widget_show (Filter);
318 gtk_container_add (GTK_CONTAINER (ToolMenuTitle_menu), Filter);
319
320 // Facility = gtk_menu_item_new_with_mnemonic ("Facility Selector");
321 // gtk_widget_show (Facility);
322 // gtk_container_add (GTK_CONTAINER (ToolMenuTitle_menu), Facility);
323
324 ToolMenuSeparator1 = gtk_menu_item_new ();
325 gtk_widget_show (ToolMenuSeparator1);
326 gtk_container_add (GTK_CONTAINER (ToolMenuTitle_menu), ToolMenuSeparator1);
327 gtk_widget_set_sensitive (ToolMenuSeparator1, FALSE);
328
329 // insert_viewer_test = gtk_menu_item_new_with_mnemonic ("Insert viewer test");
330 // gtk_widget_show (insert_viewer_test);
331 // gtk_container_add (GTK_CONTAINER (ToolMenuTitle_menu), insert_viewer_test);
332
333 PluginMenuTitle = gtk_menu_item_new_with_mnemonic ("Plugins");
334 gtk_widget_show (PluginMenuTitle);
335 gtk_container_add (GTK_CONTAINER (MenuMain), PluginMenuTitle);
336
337 PluginMenuTitle_menu = gtk_menu_new ();
338 gtk_menu_item_set_submenu (GTK_MENU_ITEM (PluginMenuTitle), PluginMenuTitle_menu);
339
340 LoadLibrary = gtk_menu_item_new_with_mnemonic ("Load library");
341 gtk_widget_show (LoadLibrary);
342 gtk_container_add (GTK_CONTAINER (PluginMenuTitle_menu), LoadLibrary);
343
344 UnloadLibrary = gtk_menu_item_new_with_mnemonic ("Unload library");
345 gtk_widget_show (UnloadLibrary);
346 gtk_container_add (GTK_CONTAINER (PluginMenuTitle_menu), UnloadLibrary);
347
348 LoadModule = gtk_menu_item_new_with_mnemonic ("Load module");
349 gtk_widget_show (LoadModule);
350 gtk_container_add (GTK_CONTAINER (PluginMenuTitle_menu), LoadModule);
351
352 UnloadModule = gtk_menu_item_new_with_mnemonic ("Unload module");
353 gtk_widget_show (UnloadModule);
354 gtk_container_add (GTK_CONTAINER (PluginMenuTitle_menu), UnloadModule);
355
356 AddLibrarySearchPath = gtk_menu_item_new_with_mnemonic ("Add library search path");
357 gtk_widget_show (AddLibrarySearchPath);
358 gtk_container_add (GTK_CONTAINER (PluginMenuTitle_menu), AddLibrarySearchPath);
359
360 RemoveLibrarySearchPath = gtk_menu_item_new_with_mnemonic ("Remove library search path");
361 gtk_widget_show (RemoveLibrarySearchPath);
362 gtk_container_add (GTK_CONTAINER (PluginMenuTitle_menu), RemoveLibrarySearchPath);
363 /*
364 OptionMenuTitle = gtk_menu_item_new_with_mnemonic ("Options");
365 gtk_widget_show (OptionMenuTitle);
366 gtk_container_add (GTK_CONTAINER (MenuMain), OptionMenuTitle);
367
368 OptionMenuTitle_menu = gtk_menu_new ();
369 gtk_menu_item_set_submenu (GTK_MENU_ITEM (OptionMenuTitle), OptionMenuTitle_menu);
370
371 Color = gtk_menu_item_new_with_mnemonic ("Color");
372 gtk_widget_show (Color);
373 gtk_container_add (GTK_CONTAINER (OptionMenuTitle_menu), Color);
374
375 OptMenuSeparator = gtk_menu_item_new ();
376 gtk_widget_show (OptMenuSeparator);
377 gtk_container_add (GTK_CONTAINER (OptionMenuTitle_menu), OptMenuSeparator);
378 gtk_widget_set_sensitive (OptMenuSeparator, FALSE);
379
380 OpenFilter = gtk_menu_item_new_with_mnemonic ("Filter");
381 gtk_widget_show (OpenFilter);
382 gtk_container_add (GTK_CONTAINER (OptionMenuTitle_menu), OpenFilter);
383
384 SaveConfiguration = gtk_menu_item_new_with_mnemonic ("Save configuration");
385 gtk_widget_show (SaveConfiguration);
386 gtk_container_add (GTK_CONTAINER (OptionMenuTitle_menu), SaveConfiguration);
387 */
388 MenuHelp = gtk_menu_bar_new ();
389 gtk_widget_show (MenuHelp);
390 gtk_box_pack_end (GTK_BOX (MMenuBox), MenuHelp, FALSE, FALSE, 0);
391
392 HelpMenuTitle = gtk_menu_item_new_with_mnemonic ("_Help");
393 gtk_widget_show (HelpMenuTitle);
394 gtk_container_add (GTK_CONTAINER (MenuHelp), HelpMenuTitle);
395
396 HelpMenu = gtk_menu_new ();
397 gtk_menu_item_set_submenu (GTK_MENU_ITEM (HelpMenuTitle), HelpMenu);
398
399 Content = gtk_menu_item_new_with_mnemonic ("Content");
400 gtk_widget_show (Content);
401 gtk_container_add (GTK_CONTAINER (HelpMenu), Content);
402
403 HelpmenuSeparator = gtk_menu_item_new ();
404 gtk_widget_show (HelpmenuSeparator);
405 gtk_container_add (GTK_CONTAINER (HelpMenu), HelpmenuSeparator);
406 gtk_widget_set_sensitive (HelpmenuSeparator, FALSE);
407
408 About = gtk_menu_item_new_with_mnemonic ("About...");
409 gtk_widget_show (About);
410 gtk_container_add (GTK_CONTAINER (HelpMenu), About);
411
412 MToolbar1 = gtk_toolbar_new ();
413 gtk_widget_show (MToolbar1);
414 gtk_box_pack_start (GTK_BOX (MVbox), MToolbar1, FALSE, FALSE, 0);
415 gtk_toolbar_set_style (GTK_TOOLBAR (MToolbar1), GTK_TOOLBAR_ICONS);
416
417 tmp_toolbar_icon = create_pixmap (MWindow, "filenew.png");
418 tlbEmptyTraceset = gtk_toolbar_append_element (GTK_TOOLBAR (MToolbar1),
419 GTK_TOOLBAR_CHILD_BUTTON,
420 NULL,
421 "",
422 "New window", NULL,
423 //"New window with empty trace set", NULL,
424 tmp_toolbar_icon, NULL, NULL);
425 gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild*) (g_list_last (GTK_TOOLBAR (MToolbar1)->children)->data))->label), TRUE);
426 gtk_widget_show (tlbEmptyTraceset);
427 gtk_container_set_border_width (GTK_CONTAINER (tlbEmptyTraceset), 1);
428
429 tmp_toolbar_icon = create_pixmap (MWindow, "filenew.png");
430 tlbTab = gtk_toolbar_append_element (GTK_TOOLBAR (MToolbar1),
431 GTK_TOOLBAR_CHILD_BUTTON,
432 NULL,
433 "",
434 "New tab", NULL,
435 tmp_toolbar_icon, NULL, NULL);
436 gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild*) (g_list_last (GTK_TOOLBAR (MToolbar1)->children)->data))->label), TRUE);
437 gtk_widget_show (tlbTab);
438 gtk_container_set_border_width (GTK_CONTAINER (tlbTab), 1);
439
440 /*
441 tmp_toolbar_icon = create_pixmap (MWindow, "fileopen.png");
442 tlbOpenTraceset = gtk_toolbar_append_element (GTK_TOOLBAR (MToolbar1),
443 GTK_TOOLBAR_CHILD_BUTTON,
444 NULL,
445 "",
446 "open a trace set", NULL,
447 tmp_toolbar_icon, NULL, NULL);
448 gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild*) (g_list_last (GTK_TOOLBAR (MToolbar1)->children)->data))->label), TRUE);
449 gtk_widget_show (tlbOpenTraceset);
450 gtk_container_set_border_width (GTK_CONTAINER (tlbOpenTraceset), 1);
451 */
452 tmp_toolbar_icon = create_pixmap (MWindow, "edit_add_22.png");
453 tlbAddTrace = gtk_toolbar_append_element (GTK_TOOLBAR (MToolbar1),
454 GTK_TOOLBAR_CHILD_BUTTON,
455 NULL,
456 "",
457 "Add a trace ", NULL,
458 tmp_toolbar_icon, NULL, NULL);
459 gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild*) (g_list_last (GTK_TOOLBAR (MToolbar1)->children)->data))->label), TRUE);
460 gtk_widget_show (tlbAddTrace);
461 gtk_container_set_border_width (GTK_CONTAINER (tlbAddTrace), 1);
462
463 tmp_toolbar_icon = create_pixmap (MWindow, "edit_remove_22.png");
464 tlbRemoveTrace = gtk_toolbar_append_element (GTK_TOOLBAR (MToolbar1),
465 GTK_TOOLBAR_CHILD_BUTTON,
466 NULL,
467 "",
468 "Remove a trace", NULL,
469 tmp_toolbar_icon, NULL, NULL);
470 gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild*) (g_list_last (GTK_TOOLBAR (MToolbar1)->children)->data))->label), TRUE);
471 gtk_widget_show (tlbRemoveTrace);
472 gtk_container_set_border_width (GTK_CONTAINER (tlbRemoveTrace), 1);
473 /*
474 tmp_toolbar_icon = create_pixmap (MWindow, "filesave.png");
475 tlbSave = gtk_toolbar_append_element (GTK_TOOLBAR (MToolbar1),
476 GTK_TOOLBAR_CHILD_BUTTON,
477 NULL,
478 "",
479 "save the current trace set", NULL,
480 tmp_toolbar_icon, NULL, NULL);
481 gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild*) (g_list_last (GTK_TOOLBAR (MToolbar1)->children)->data))->label), TRUE);
482 gtk_widget_show (tlbSave);
483 gtk_container_set_border_width (GTK_CONTAINER (tlbSave), 1);
484
485 tmp_toolbar_icon = create_pixmap (MWindow, "filesaveas.png");
486 tlbSaveAs = gtk_toolbar_append_element (GTK_TOOLBAR (MToolbar1),
487 GTK_TOOLBAR_CHILD_BUTTON,
488 NULL,
489 "",
490 "save as ", NULL,
491 tmp_toolbar_icon, NULL, NULL);
492 gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild*) (g_list_last (GTK_TOOLBAR (MToolbar1)->children)->data))->label), TRUE);
493 gtk_widget_show (tlbSaveAs);
494 gtk_container_set_border_width (GTK_CONTAINER (tlbSaveAs), 1);
495 */
496 gtk_toolbar_append_space (GTK_TOOLBAR (MToolbar1));
497
498 /* Manually added by Mathieu Desnoyers */
499
500 tmp_toolbar_icon = create_pixmap (MWindow, "stock_refresh_24.png");
501 tlbRedraw = gtk_toolbar_append_element (GTK_TOOLBAR (MToolbar1),
502 GTK_TOOLBAR_CHILD_BUTTON,
503 NULL,
504 "",
505 "Redraw", NULL,
506 tmp_toolbar_icon, NULL, NULL);
507 gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild*) (g_list_last (GTK_TOOLBAR (MToolbar1)->children)->data))->label), TRUE);
508 gtk_widget_show (tlbRedraw);
509 gtk_container_set_border_width (GTK_CONTAINER (tlbRedraw), 1);
510
511 tmp_toolbar_icon = create_pixmap (MWindow, "stock_redo_24.png");
512 tlbContinueProcessing = gtk_toolbar_append_element (GTK_TOOLBAR (MToolbar1),
513 GTK_TOOLBAR_CHILD_BUTTON,
514 NULL,
515 "",
516 "Continue Processing", NULL,
517 tmp_toolbar_icon, NULL, NULL);
518 gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild*) (g_list_last (GTK_TOOLBAR (MToolbar1)->children)->data))->label), TRUE);
519 gtk_widget_show (tlbContinueProcessing);
520 gtk_container_set_border_width (GTK_CONTAINER (tlbContinueProcessing), 1);
521
522 tmp_toolbar_icon = create_pixmap (MWindow, "stock_stop_24.png");
523 tlbStopProcessing = gtk_toolbar_append_element (GTK_TOOLBAR (MToolbar1),
524 GTK_TOOLBAR_CHILD_BUTTON,
525 NULL,
526 "",
527 "Stop Processing", NULL,
528 tmp_toolbar_icon, NULL, NULL);
529 gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild*) (g_list_last (GTK_TOOLBAR (MToolbar1)->children)->data))->label), TRUE);
530 gtk_widget_show (tlbStopProcessing);
531 gtk_container_set_border_width (GTK_CONTAINER (tlbStopProcessing), 1);
532
533
534 gtk_toolbar_append_space (GTK_TOOLBAR (MToolbar1));
535
536 tmp_toolbar_icon = create_pixmap (MWindow, "stock_zoom_in_24.png");
537 tlbZoomIn = gtk_toolbar_append_element (GTK_TOOLBAR (MToolbar1),
538 GTK_TOOLBAR_CHILD_BUTTON,
539 NULL,
540 "",
541 "Zoom in", NULL,
542 tmp_toolbar_icon, NULL, NULL);
543 gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild*) (g_list_last (GTK_TOOLBAR (MToolbar1)->children)->data))->label), TRUE);
544 gtk_widget_show (tlbZoomIn);
545 gtk_container_set_border_width (GTK_CONTAINER (tlbZoomIn), 1);
546
547 tmp_toolbar_icon = create_pixmap (MWindow, "stock_zoom_out_24.png");
548 tlbZoomOut = gtk_toolbar_append_element (GTK_TOOLBAR (MToolbar1),
549 GTK_TOOLBAR_CHILD_BUTTON,
550 NULL,
551 "",
552 "Zoom out", NULL,
553 tmp_toolbar_icon, NULL, NULL);
554 gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild*) (g_list_last (GTK_TOOLBAR (MToolbar1)->children)->data))->label), TRUE);
555 gtk_widget_show (tlbZoomOut);
556 gtk_container_set_border_width (GTK_CONTAINER (tlbZoomOut), 1);
557
558 tmp_toolbar_icon = create_pixmap (MWindow, "stock_zoom_fit_24.png");
559 tlbZoomExtended = gtk_toolbar_append_element (GTK_TOOLBAR (MToolbar1),
560 GTK_TOOLBAR_CHILD_BUTTON,
561 NULL,
562 "",
563 "Zoom extended", NULL,
564 tmp_toolbar_icon, NULL, NULL);
565 gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild*) (g_list_last (GTK_TOOLBAR (MToolbar1)->children)->data))->label), TRUE);
566 gtk_widget_show (tlbZoomExtended);
567 gtk_container_set_border_width (GTK_CONTAINER (tlbZoomExtended), 1);
568
569 /*
570 tmp_toolbar_icon = create_pixmap (MWindow, "gtk-jump-to.png");
571 tlbGoToTime = gtk_toolbar_append_element (GTK_TOOLBAR (MToolbar1),
572 GTK_TOOLBAR_CHILD_BUTTON,
573 NULL,
574 "",
575 "Go to time", NULL,
576 tmp_toolbar_icon, NULL, NULL);
577 gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild*) (g_list_last (GTK_TOOLBAR (MToolbar1)->children)->data))->label), TRUE);
578 gtk_widget_show (tlbGoToTime);
579 gtk_container_set_border_width (GTK_CONTAINER (tlbGoToTime), 1);
580
581 tmp_toolbar_icon = create_pixmap (MWindow, "mini-display.xpm");
582 tlbShowTimeFrame = gtk_toolbar_append_element (GTK_TOOLBAR (MToolbar1),
583 GTK_TOOLBAR_CHILD_BUTTON,
584 NULL,
585 "",
586 "Show time frame", NULL,
587 tmp_toolbar_icon, NULL, NULL);
588 gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild*) (g_list_last (GTK_TOOLBAR (MToolbar1)->children)->data))->label), TRUE);
589 gtk_widget_show (tlbShowTimeFrame);
590 gtk_container_set_border_width (GTK_CONTAINER (tlbShowTimeFrame), 1);
591 */
592 gtk_toolbar_append_space (GTK_TOOLBAR (MToolbar1));
593
594 tmp_toolbar_icon = create_pixmap (MWindow, "1uparrow.png");
595 tlbMoveViewerUp = gtk_toolbar_append_element (GTK_TOOLBAR (MToolbar1),
596 GTK_TOOLBAR_CHILD_BUTTON,
597 NULL,
598 "",
599 "Move up current viewer", NULL,
600 tmp_toolbar_icon, NULL, NULL);
601 gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild*) (g_list_last (GTK_TOOLBAR (MToolbar1)->children)->data))->label), TRUE);
602 gtk_widget_show (tlbMoveViewerUp);
603 gtk_container_set_border_width (GTK_CONTAINER (tlbMoveViewerUp), 1);
604
605 tmp_toolbar_icon = create_pixmap (MWindow, "1downarrow.png");
606 tlbMoveViewerDown = gtk_toolbar_append_element (GTK_TOOLBAR (MToolbar1),
607 GTK_TOOLBAR_CHILD_BUTTON,
608 NULL,
609 "",
610 "Move down current viewer", NULL,
611 tmp_toolbar_icon, NULL, NULL);
612 gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild*) (g_list_last (GTK_TOOLBAR (MToolbar1)->children)->data))->label), TRUE);
613 gtk_widget_show (tlbMoveViewerDown);
614 gtk_container_set_border_width (GTK_CONTAINER (tlbMoveViewerDown), 1);
615
616 tmp_toolbar_icon = create_pixmap (MWindow, "remove.png");
617 tlbRemoveViewer = gtk_toolbar_append_element (GTK_TOOLBAR (MToolbar1),
618 GTK_TOOLBAR_CHILD_BUTTON,
619 NULL,
620 "",
621 "Delete current viewer", NULL,
622 tmp_toolbar_icon, NULL, NULL);
623 gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild*) (g_list_last (GTK_TOOLBAR (MToolbar1)->children)->data))->label), TRUE);
624 gtk_widget_show (tlbRemoveViewer);
625 gtk_container_set_border_width (GTK_CONTAINER (tlbRemoveViewer), 1);
626
627 gtk_toolbar_append_space (GTK_TOOLBAR (MToolbar1));
628
629 // MToolbar2 = gtk_toolbar_new ();
630 // gtk_widget_show (MToolbar2);
631 // gtk_box_pack_start (GTK_BOX (MVbox), MToolbar2, FALSE, FALSE, 0);
632 // gtk_toolbar_set_style (GTK_TOOLBAR (MToolbar2), GTK_TOOLBAR_ICONS);
633
634 MNotebook = gtk_notebook_new ();
635 gtk_widget_show (MNotebook);
636 gtk_notebook_set_show_tabs((GtkNotebook*)MNotebook, FALSE);
637 gtk_box_pack_start (GTK_BOX (MVbox), MNotebook, TRUE, TRUE, 0);
638
639 /*
640 empty_notebook_page = gtk_vbox_new (FALSE, 0);
641 gtk_widget_show (empty_notebook_page);
642 gtk_container_add (GTK_CONTAINER (MNotebook), empty_notebook_page);
643
644 label1 = gtk_label_new ("");
645 gtk_widget_show (label1);
646 gtk_notebook_set_tab_label (GTK_NOTEBOOK (MNotebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (MNotebook), 0), label1);
647 gtk_label_set_justify (GTK_LABEL (label1), GTK_JUSTIFY_LEFT);
648 */
649 MStatusbar = gtk_statusbar_new ();
650 gtk_widget_show (MStatusbar);
651 gtk_box_pack_start (GTK_BOX (MVbox), MStatusbar, FALSE, FALSE, 0);
652
653 g_signal_connect ((gpointer) MWindow, "destroy",
654 G_CALLBACK (on_MWindow_destroy),
655 NULL);
656 g_signal_connect ((gpointer) MWindow, "configure-event",
657 G_CALLBACK (on_MWindow_configure),
658 NULL);
659
660 // g_signal_connect ((gpointer) EmptyTraceset, "activate",
661 // G_CALLBACK (on_empty_traceset_activate),
662 // NULL);
663 g_signal_connect ((gpointer) CloneTraceset, "activate",
664 G_CALLBACK (on_clone_traceset_activate),
665 NULL);
666 g_signal_connect ((gpointer) Tab, "activate",
667 G_CALLBACK (on_tab_activate),
668 NULL);
669 /*
670 g_signal_connect ((gpointer) OpenTraceset, "activate",
671 G_CALLBACK (on_open_activate),
672 NULL);
673 */
674 g_signal_connect ((gpointer) Close, "activate",
675 G_CALLBACK (on_close_activate),
676 NULL);
677 g_signal_connect ((gpointer) CloseTab, "activate",
678 G_CALLBACK (on_close_tab_activate),
679 NULL);
680 g_signal_connect ((gpointer) AddTrace, "activate",
681 G_CALLBACK (on_add_trace_activate),
682 NULL);
683 g_signal_connect ((gpointer) RemoveTrace, "activate",
684 G_CALLBACK (on_remove_trace_activate),
685 NULL);
686 /*
687 g_signal_connect ((gpointer) Save, "activate",
688 G_CALLBACK (on_save_activate),
689 NULL);
690 g_signal_connect ((gpointer) SaveAs, "activate",
691 G_CALLBACK (on_save_as_activate),
692 NULL);
693 */
694 g_signal_connect ((gpointer) Quit, "activate",
695 G_CALLBACK (on_quit_activate),
696 NULL);
697 /*
698 g_signal_connect ((gpointer) Cut, "activate",
699 G_CALLBACK (on_cut_activate),
700 NULL);
701 g_signal_connect ((gpointer) Copy, "activate",
702 G_CALLBACK (on_copy_activate),
703 NULL);
704 g_signal_connect ((gpointer) Paste, "activate",
705 G_CALLBACK (on_paste_activate),
706 NULL);
707 g_signal_connect ((gpointer) Delete, "activate",
708 G_CALLBACK (on_delete_activate),
709 NULL);
710 */
711 g_signal_connect ((gpointer) ZoomIn, "activate",
712 G_CALLBACK (on_zoom_in_activate),
713 NULL);
714 g_signal_connect ((gpointer) ZoomOut, "activate",
715 G_CALLBACK (on_zoom_out_activate),
716 NULL);
717 g_signal_connect ((gpointer) ZoomExtended, "activate",
718 G_CALLBACK (on_zoom_extended_activate),
719 NULL);
720 /*
721 g_signal_connect ((gpointer) GoToTime, "activate",
722 G_CALLBACK (on_go_to_time_activate),
723 NULL);
724 g_signal_connect ((gpointer) ShowTimeFrame, "activate",
725 G_CALLBACK (on_show_time_frame_activate),
726 NULL);
727 */
728 g_signal_connect ((gpointer) MoveViewerUp, "activate",
729 G_CALLBACK (on_move_viewer_up_activate),
730 NULL);
731 g_signal_connect ((gpointer) MoveViewerDown, "activate",
732 G_CALLBACK (on_move_viewer_down_activate),
733 NULL);
734 g_signal_connect ((gpointer) RemoveViewer, "activate",
735 G_CALLBACK (on_remove_viewer_activate),
736 NULL);
737 //g_signal_connect ((gpointer) Filter, "activate",
738 // G_CALLBACK (on_trace_filter_activate),
739 // NULL);
740 // g_signal_connect ((gpointer) Facility, "activate",
741 // G_CALLBACK (on_trace_facility_activate),
742 // NULL);
743 // g_signal_connect ((gpointer) insert_viewer_test, "activate",
744 // G_CALLBACK (on_insert_viewer_test_activate),
745 // NULL);
746 g_signal_connect ((gpointer) LoadLibrary, "activate",
747 G_CALLBACK (on_load_library_activate),
748 NULL);
749 g_signal_connect ((gpointer) UnloadLibrary, "activate",
750 G_CALLBACK (on_unload_library_activate),
751 NULL);
752 g_signal_connect ((gpointer) LoadModule, "activate",
753 G_CALLBACK (on_load_module_activate),
754 NULL);
755 g_signal_connect ((gpointer) UnloadModule, "activate",
756 G_CALLBACK (on_unload_module_activate),
757 NULL);
758 g_signal_connect ((gpointer) AddLibrarySearchPath, "activate",
759 G_CALLBACK (on_add_library_search_path_activate),
760 NULL);
761 g_signal_connect ((gpointer) RemoveLibrarySearchPath, "activate",
762 G_CALLBACK (on_remove_library_search_path_activate),
763 NULL);
764 /*
765 g_signal_connect ((gpointer) Color, "activate",
766 G_CALLBACK (on_color_activate),
767 NULL);
768 g_signal_connect ((gpointer) OpenFilter, "activate",
769 G_CALLBACK (on_filter_activate),
770 NULL);
771 g_signal_connect ((gpointer) SaveConfiguration, "activate",
772 G_CALLBACK (on_save_configuration_activate),
773 NULL);
774 */
775 g_signal_connect ((gpointer) Content, "activate",
776 G_CALLBACK (on_content_activate),
777 NULL);
778 g_signal_connect ((gpointer) About, "activate",
779 G_CALLBACK (on_about_activate),
780 NULL);
781 g_signal_connect ((gpointer) tlbEmptyTraceset, "clicked",
782 G_CALLBACK (on_button_new_clicked),
783 NULL);
784 g_signal_connect ((gpointer) tlbTab, "clicked",
785 G_CALLBACK (on_button_new_tab_clicked),
786 NULL);
787 /*
788 g_signal_connect ((gpointer) tlbOpenTraceset, "clicked",
789 G_CALLBACK (on_button_open_clicked),
790 NULL);
791 */
792 g_signal_connect ((gpointer) tlbAddTrace, "clicked",
793 G_CALLBACK (on_button_add_trace_clicked),
794 NULL);
795 g_signal_connect ((gpointer) tlbRemoveTrace, "clicked",
796 G_CALLBACK (on_button_remove_trace_clicked),
797 NULL);
798 g_signal_connect ((gpointer) tlbRedraw, "clicked",
799 G_CALLBACK (on_button_redraw_clicked),
800 NULL);
801 g_signal_connect ((gpointer) tlbContinueProcessing, "clicked",
802 G_CALLBACK (on_button_continue_processing_clicked),
803 NULL);
804 g_signal_connect ((gpointer) tlbStopProcessing, "clicked",
805 G_CALLBACK (on_button_stop_processing_clicked),
806 NULL);
807 /*
808 g_signal_connect ((gpointer) tlbSave, "clicked",
809 G_CALLBACK (on_button_save_clicked),
810 NULL);
811 g_signal_connect ((gpointer) tlbSaveAs, "clicked",
812 G_CALLBACK (on_button_save_as_clicked),
813 NULL);
814 */
815 g_signal_connect ((gpointer) tlbZoomIn, "clicked",
816 G_CALLBACK (on_button_zoom_in_clicked),
817 NULL);
818 g_signal_connect ((gpointer) tlbZoomOut, "clicked",
819 G_CALLBACK (on_button_zoom_out_clicked),
820 NULL);
821 g_signal_connect ((gpointer) tlbZoomExtended, "clicked",
822 G_CALLBACK (on_button_zoom_extended_clicked),
823 NULL);
824 /*
825 g_signal_connect ((gpointer) tlbGoToTime, "clicked",
826 G_CALLBACK (on_button_go_to_time_clicked),
827 NULL);
828 g_signal_connect ((gpointer) tlbShowTimeFrame, "clicked",
829 G_CALLBACK (on_button_show_time_frame_clicked),
830 NULL);
831 */
832 g_signal_connect ((gpointer) tlbMoveViewerUp, "clicked",
833 G_CALLBACK (on_button_move_up_clicked),
834 NULL);
835 g_signal_connect ((gpointer) tlbMoveViewerDown, "clicked",
836 G_CALLBACK (on_button_move_down_clicked),
837 NULL);
838 g_signal_connect ((gpointer) tlbRemoveViewer, "clicked",
839 G_CALLBACK (on_button_delete_viewer_clicked),
840 NULL);
841 g_signal_connect ((gpointer) MNotebook, "switch_page",
842 G_CALLBACK (on_MNotebook_switch_page),
843 NULL);
844
845 /* Store pointers to all widgets, for use by lookup_widget(). */
846 GLADE_HOOKUP_OBJECT_NO_REF (MWindow, MWindow, "MWindow");
847 GLADE_HOOKUP_OBJECT (MWindow, MVbox, "MVbox");
848 GLADE_HOOKUP_OBJECT (MWindow, MMenuBox, "MMenuBox");
849 GLADE_HOOKUP_OBJECT (MWindow, MenuMain, "MenuMain");
850 GLADE_HOOKUP_OBJECT (MWindow, FileMenuTitle, "FileMenuTitle");
851 GLADE_HOOKUP_OBJECT (MWindow, FileMenuTitle_menu, "FileMenuTitle_menu");
852 GLADE_HOOKUP_OBJECT (MWindow, FileMenuNewTitle, "FileMenuNewTitle");
853 GLADE_HOOKUP_OBJECT (MWindow, FileMenuNewTitle_menu, "FileMenuNewTitle_menu");
854 // GLADE_HOOKUP_OBJECT (MWindow, EmptyTraceset, "EmptyTraceset");
855 GLADE_HOOKUP_OBJECT (MWindow, CloneTraceset, "CloneTraceset");
856 GLADE_HOOKUP_OBJECT (MWindow, FileMenuNewSep, "FileMenuNewSep");
857 GLADE_HOOKUP_OBJECT (MWindow, Tab, "Tab");
858 // GLADE_HOOKUP_OBJECT (MWindow, OpenTraceset, "OpenTraceset");
859 GLADE_HOOKUP_OBJECT (MWindow, Close, "Close");
860 GLADE_HOOKUP_OBJECT (MWindow, CloseTab, "CloseTab");
861 GLADE_HOOKUP_OBJECT (MWindow, FileMenuSeparator1, "FileMenuSeparator1");
862 GLADE_HOOKUP_OBJECT (MWindow, AddTrace, "AddTrace");
863 GLADE_HOOKUP_OBJECT (MWindow, RemoveTrace, "RemoveTrace");
864 // GLADE_HOOKUP_OBJECT (MWindow, Save, "Save");
865 // GLADE_HOOKUP_OBJECT (MWindow, SaveAs, "SaveAs");
866 GLADE_HOOKUP_OBJECT (MWindow, FileMenuSeparator2, "FileMenuSeparator2");
867 GLADE_HOOKUP_OBJECT (MWindow, Quit, "Quit");
868 // GLADE_HOOKUP_OBJECT (MWindow, EditMenuTitle, "EditMenuTitle");
869 // GLADE_HOOKUP_OBJECT (MWindow, EditMenuTitle_menu, "EditMenuTitle_menu");
870 // GLADE_HOOKUP_OBJECT (MWindow, Cut, "Cut");
871 // GLADE_HOOKUP_OBJECT (MWindow, Copy, "Copy");
872 // GLADE_HOOKUP_OBJECT (MWindow, Paste, "Paste");
873 // GLADE_HOOKUP_OBJECT (MWindow, Delete, "Delete");
874 GLADE_HOOKUP_OBJECT (MWindow, ViewMenuTitle, "ViewMenuTitle");
875 GLADE_HOOKUP_OBJECT (MWindow, ViewMenuTitle_menu, "ViewMenuTitle_menu");
876 GLADE_HOOKUP_OBJECT (MWindow, ZoomIn, "ZoomIn");
877 GLADE_HOOKUP_OBJECT (MWindow, ZoomOut, "ZoomOut");
878 GLADE_HOOKUP_OBJECT (MWindow, ZoomExtended, "ZoomExtended");
879 GLADE_HOOKUP_OBJECT (MWindow, ViewMenuSeparator, "ViewMenuSeparator");
880 // GLADE_HOOKUP_OBJECT (MWindow, GoToTime, "GoToTime");
881 // GLADE_HOOKUP_OBJECT (MWindow, ShowTimeFrame, "ShowTimeFrame");
882 GLADE_HOOKUP_OBJECT (MWindow, ToolMenuTitle, "ToolMenuTitle");
883 GLADE_HOOKUP_OBJECT (MWindow, ToolMenuTitle_menu, "ToolMenuTitle_menu");
884 GLADE_HOOKUP_OBJECT (MWindow, MoveViewerUp, "MoveViewerUp");
885 GLADE_HOOKUP_OBJECT (MWindow, MoveViewerDown, "MoveViewerDown");
886 GLADE_HOOKUP_OBJECT (MWindow, RemoveViewer, "RemoveViewer");
887 GLADE_HOOKUP_OBJECT (MWindow, ToolMenuSeparator, "ToolMenuSeparator");
888 GLADE_HOOKUP_OBJECT (MWindow, Filter, "Filter");
889 // GLADE_HOOKUP_OBJECT (MWindow, Facility, "Facility");
890 GLADE_HOOKUP_OBJECT (MWindow, ToolMenuSeparator1, "ToolMenuSeparator1");
891 // GLADE_HOOKUP_OBJECT (MWindow, insert_viewer_test, "insert_viewer_test");
892 GLADE_HOOKUP_OBJECT (MWindow, PluginMenuTitle, "PluginMenuTitle");
893 GLADE_HOOKUP_OBJECT (MWindow, PluginMenuTitle_menu, "PluginMenuTitle_menu");
894 GLADE_HOOKUP_OBJECT (MWindow, LoadLibrary, "LoadLibrary");
895 GLADE_HOOKUP_OBJECT (MWindow, UnloadLibrary, "UnloadLibrary");
896 GLADE_HOOKUP_OBJECT (MWindow, LoadModule, "LoadModule");
897 GLADE_HOOKUP_OBJECT (MWindow, UnloadModule, "UnloadModule");
898 GLADE_HOOKUP_OBJECT (MWindow, AddLibrarySearchPath, "AddLibrarySearchPath");
899 GLADE_HOOKUP_OBJECT (MWindow, RemoveLibrarySearchPath, "RemoveLibrarySearchPath");
900 // GLADE_HOOKUP_OBJECT (MWindow, OptionMenuTitle, "OptionMenuTitle");
901 // GLADE_HOOKUP_OBJECT (MWindow, OptionMenuTitle_menu, "OptionMenuTitle_menu");
902 // GLADE_HOOKUP_OBJECT (MWindow, Color, "Color");
903 // GLADE_HOOKUP_OBJECT (MWindow, OptMenuSeparator, "OptMenuSeparator");
904 // GLADE_HOOKUP_OBJECT (MWindow, OpenFilter, "OpenFilter");
905 // GLADE_HOOKUP_OBJECT (MWindow, SaveConfiguration, "SaveConfiguration");
906 GLADE_HOOKUP_OBJECT (MWindow, MenuHelp, "MenuHelp");
907 GLADE_HOOKUP_OBJECT (MWindow, HelpMenuTitle, "HelpMenuTitle");
908 GLADE_HOOKUP_OBJECT (MWindow, HelpMenu, "HelpMenu");
909 GLADE_HOOKUP_OBJECT (MWindow, Content, "Content");
910 GLADE_HOOKUP_OBJECT (MWindow, HelpmenuSeparator, "HelpmenuSeparator");
911 GLADE_HOOKUP_OBJECT (MWindow, About, "About");
912 GLADE_HOOKUP_OBJECT (MWindow, MToolbar1, "MToolbar1");
913 GLADE_HOOKUP_OBJECT (MWindow, tlbEmptyTraceset, "tlbEmptyTraceset");
914 GLADE_HOOKUP_OBJECT (MWindow, tlbTab, "tlbTab");
915 // GLADE_HOOKUP_OBJECT (MWindow, tlbOpenTraceset, "tlbOpenTraceset");
916 GLADE_HOOKUP_OBJECT (MWindow, tlbAddTrace, "tlbAddTrace");
917 GLADE_HOOKUP_OBJECT (MWindow, tlbRemoveTrace, "tlbRemoveTrace");
918 // GLADE_HOOKUP_OBJECT (MWindow, tlbSave, "tlbSave");
919 // GLADE_HOOKUP_OBJECT (MWindow, tlbSaveAs, "tlbSaveAs");
920 GLADE_HOOKUP_OBJECT (MWindow, tlbZoomIn, "tlbZoomIn");
921 GLADE_HOOKUP_OBJECT (MWindow, tlbZoomOut, "tlbZoomOut");
922 GLADE_HOOKUP_OBJECT (MWindow, tlbZoomExtended, "tlbZoomExtended");
923 // GLADE_HOOKUP_OBJECT (MWindow, tlbGoToTime, "tlbGoToTime");
924 // GLADE_HOOKUP_OBJECT (MWindow, tlbShowTimeFrame, "tlbShowTimeFrame");
925 GLADE_HOOKUP_OBJECT (MWindow, tlbMoveViewerUp, "tlbMoveViewerUp");
926 GLADE_HOOKUP_OBJECT (MWindow, tlbMoveViewerDown, "tlbMoveViewerDown");
927 GLADE_HOOKUP_OBJECT (MWindow, tlbRemoveViewer, "tlbRemoveViewer");
928 // GLADE_HOOKUP_OBJECT (MWindow, MToolbar2, "MToolbar2");
929 GLADE_HOOKUP_OBJECT (MWindow, MNotebook, "MNotebook");
930 // GLADE_HOOKUP_OBJECT (MWindow, label1, "label1");
931 GLADE_HOOKUP_OBJECT (MWindow, MStatusbar, "MStatusbar");
932
933 gtk_window_add_accel_group (GTK_WINDOW (MWindow), accel_group);
934
935 return MWindow;
936 }
937
This page took 0.046419 seconds and 3 git commands to generate.