1 /* This file is part of the Linux Trace Toolkit viewer
2 * Copyright (C) 2003-2004 XangXiu Yang
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;
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.
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,
20 * DO NOT EDIT THIS FILE - it is generated by Glade.
27 #include <sys/types.h>
33 #include <gdk/gdkkeysyms.h>
36 #include "callbacks.h"
37 #include "interface.h"
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)
44 #define GLADE_HOOKUP_OBJECT_NO_REF(component,widget,name) \
45 g_object_set_data (G_OBJECT (component), name, widget)
54 GtkWidget
*FileMenuTitle
;
55 GtkWidget
*FileMenuTitle_menu
;
56 GtkWidget
*FileMenuNewTitle
;
57 GtkWidget
*FileMenuNewTitle_menu
;
58 // GtkWidget *EmptyTraceset;
59 GtkWidget
*CloneTraceset
;
60 GtkWidget
*FileMenuNewSep
;
62 // GtkWidget *OpenTraceset;
65 GtkWidget
*FileMenuSeparator1
;
67 GtkWidget
*RemoveTrace
;
70 GtkWidget
*FileMenuSeparator2
;
72 // GtkWidget *EditMenuTitle;
73 // GtkWidget *EditMenuTitle_menu;
78 GtkWidget
*ViewMenuTitle
;
79 GtkWidget
*ViewMenuTitle_menu
;
82 GtkWidget
*ZoomExtended
;
83 // GtkWidget *GoToTime;
84 // GtkWidget *ShowTimeFrame;
85 GtkWidget
*ToolMenuTitle
;
86 GtkWidget
*ToolMenuTitle_menu
;
87 GtkWidget
*MoveViewerUp
;
88 GtkWidget
*MoveViewerDown
;
89 GtkWidget
*RemoveViewer
;
90 GtkWidget
*ToolMenuSeparator
;
92 // GtkWidget *Facility;
93 GtkWidget
*ToolMenuSeparator1
;
94 // GtkWidget *insert_viewer_test;
95 GtkWidget
*PluginMenuTitle
;
96 GtkWidget
*PluginMenuTitle_menu
;
97 GtkWidget
*LoadLibrary
;
98 GtkWidget
*UnloadLibrary
;
99 GtkWidget
*LoadModule
;
100 GtkWidget
*UnloadModule
;
101 GtkWidget
*AddLibrarySearchPath
;
102 GtkWidget
*RemoveLibrarySearchPath
;
103 // GtkWidget *OptionMenuTitle;
104 // GtkWidget *OptionMenuTitle_menu;
106 // GtkWidget *OptMenuSeparator;
107 // GtkWidget *OpenFilter;
108 // GtkWidget *SaveConfiguration;
109 GtkWidget
*HelpMenuTitle
;
112 GtkWidget
*HelpmenuSeparator
;
114 GtkWidget
*MToolbar1
;
115 GtkWidget
*tmp_toolbar_icon
;
116 GtkWidget
*tlbEmptyTraceset
;
118 // GtkWidget *tlbOpenTraceset;
119 GtkWidget
*tlbAddTrace
;
120 GtkWidget
*tlbRemoveTrace
;
121 GtkWidget
*tlbRedraw
;
122 GtkWidget
*tlbContinueProcessing
;
123 GtkWidget
*tlbStopProcessing
;
124 // GtkWidget *tlbSave;
125 // GtkWidget *tlbSaveAs;
126 GtkWidget
*tlbZoomIn
;
127 GtkWidget
*tlbZoomOut
;
128 GtkWidget
*tlbZoomExtended
;
129 //GtkWidget *tlbGoToTime;
130 //GtkWidget *tlbShowTimeFrame;
131 GtkWidget
*tlbMoveViewerUp
;
132 GtkWidget
*tlbMoveViewerDown
;
133 GtkWidget
*tlbRemoveViewer
;
134 GtkWidget
*MNotebook
;
135 // GtkWidget *empty_notebook_page;
136 // GtkWidget *label1;
137 GtkWidget
*MStatusbar
;
138 GtkAccelGroup
*accel_group
;
140 accel_group
= gtk_accel_group_new ();
142 MWindow
= gtk_window_new (GTK_WINDOW_TOPLEVEL
);
143 gtk_widget_set_size_request (MWindow
, 100, 50);
144 gtk_window_set_title (GTK_WINDOW (MWindow
), "Linux Trace Toolkit Viewer");
146 /* making the window a size higher than 80% of the screen cause a gtk glitch
147 * where the window is automaticly going fullscreen but the widgets stay
150 gtk_window_set_default_size (GTK_WINDOW (MWindow
),
151 gdk_screen_width()*0.8, gdk_screen_height()*0.8);
152 gtk_window_set_icon(GTK_WINDOW(MWindow
), create_pixbuf("lttng_logo.svg"));
154 MVbox
= gtk_vbox_new (FALSE
, 0);
155 gtk_widget_show (MVbox
);
156 gtk_container_add (GTK_CONTAINER (MWindow
), MVbox
);
158 MMenuBox
= gtk_hbox_new (FALSE
, 0);
159 gtk_widget_show (MMenuBox
);
160 gtk_box_pack_start (GTK_BOX (MVbox
), MMenuBox
, FALSE
, FALSE
, 0);
162 MenuMain
= gtk_menu_bar_new ();
163 gtk_widget_show (MenuMain
);
164 gtk_box_pack_start (GTK_BOX (MMenuBox
), MenuMain
, FALSE
, FALSE
, 0);
166 FileMenuTitle
= gtk_menu_item_new_with_mnemonic ("_File");
167 gtk_widget_show (FileMenuTitle
);
168 gtk_container_add (GTK_CONTAINER (MenuMain
), FileMenuTitle
);
170 FileMenuTitle_menu
= gtk_menu_new ();
171 gtk_menu_item_set_submenu (GTK_MENU_ITEM (FileMenuTitle
), FileMenuTitle_menu
);
173 FileMenuNewTitle
= gtk_menu_item_new_with_mnemonic ("New");
174 gtk_widget_show (FileMenuNewTitle
);
175 gtk_container_add (GTK_CONTAINER (FileMenuTitle_menu
), FileMenuNewTitle
);
177 FileMenuNewTitle_menu
= gtk_menu_new ();
178 gtk_menu_item_set_submenu (GTK_MENU_ITEM (FileMenuNewTitle
), FileMenuNewTitle_menu
);
180 // EmptyTraceset = gtk_menu_item_new_with_mnemonic ("Empty trace set");
181 // gtk_widget_show (EmptyTraceset);
182 // gtk_container_add (GTK_CONTAINER (FileMenuNewTitle_menu), EmptyTraceset);
184 // CloneTraceset = gtk_menu_item_new_with_mnemonic ("Clone trace set");
186 CloneTraceset
= gtk_menu_item_new_with_mnemonic ("New window");
187 gtk_widget_show (CloneTraceset
);
188 gtk_container_add (GTK_CONTAINER (FileMenuNewTitle_menu
), CloneTraceset
);
191 FileMenuNewSep
= gtk_menu_item_new ();
192 gtk_widget_show (FileMenuNewSep
);
193 gtk_container_add (GTK_CONTAINER (FileMenuNewTitle_menu
), FileMenuNewSep
);
194 gtk_widget_set_sensitive (FileMenuNewSep
, FALSE
);
196 Tab
= gtk_menu_item_new_with_mnemonic ("Tab");
197 gtk_widget_show (Tab
);
198 gtk_container_add (GTK_CONTAINER (FileMenuNewTitle_menu
), Tab
);
200 OpenTraceset = gtk_menu_item_new_with_mnemonic ("Open");
201 gtk_widget_show (OpenTraceset);
202 gtk_container_add (GTK_CONTAINER (FileMenuTitle_menu), OpenTraceset);
204 Close
= gtk_menu_item_new_with_mnemonic ("Close");
205 gtk_widget_show (Close
);
206 gtk_container_add (GTK_CONTAINER (FileMenuTitle_menu
), Close
);
208 CloseTab
= gtk_menu_item_new_with_mnemonic ("Close Tab");
209 gtk_widget_show (CloseTab
);
210 gtk_container_add (GTK_CONTAINER (FileMenuTitle_menu
), CloseTab
);
212 FileMenuSeparator1
= gtk_menu_item_new ();
213 gtk_widget_show (FileMenuSeparator1
);
214 gtk_container_add (GTK_CONTAINER (FileMenuTitle_menu
), FileMenuSeparator1
);
215 gtk_widget_set_sensitive (FileMenuSeparator1
, FALSE
);
217 AddTrace
= gtk_menu_item_new_with_mnemonic ("Add Trace");
218 gtk_widget_show (AddTrace
);
219 gtk_container_add (GTK_CONTAINER (FileMenuTitle_menu
), AddTrace
);
221 RemoveTrace
= gtk_menu_item_new_with_mnemonic ("Remove Trace");
222 gtk_widget_show (RemoveTrace
);
223 gtk_container_add (GTK_CONTAINER (FileMenuTitle_menu
), RemoveTrace
);
225 Save = gtk_menu_item_new_with_mnemonic ("Save");
226 gtk_widget_show (Save);
227 gtk_container_add (GTK_CONTAINER (FileMenuTitle_menu), Save);
229 SaveAs = gtk_menu_item_new_with_mnemonic ("Save As");
230 gtk_widget_show (SaveAs);
231 gtk_container_add (GTK_CONTAINER (FileMenuTitle_menu), SaveAs);
233 FileMenuSeparator2
= gtk_menu_item_new ();
234 gtk_widget_show (FileMenuSeparator2
);
235 gtk_container_add (GTK_CONTAINER (FileMenuTitle_menu
), FileMenuSeparator2
);
236 gtk_widget_set_sensitive (FileMenuSeparator2
, FALSE
);
238 Quit
= gtk_menu_item_new_with_mnemonic ("Quit");
239 gtk_widget_show (Quit
);
240 gtk_container_add (GTK_CONTAINER (FileMenuTitle_menu
), Quit
);
242 EditMenuTitle = gtk_menu_item_new_with_mnemonic ("_Edit");
243 gtk_widget_show (EditMenuTitle);
244 gtk_container_add (GTK_CONTAINER (MenuMain), EditMenuTitle);
246 EditMenuTitle_menu = gtk_menu_new ();
247 gtk_menu_item_set_submenu (GTK_MENU_ITEM (EditMenuTitle), EditMenuTitle_menu);
249 Cut = gtk_image_menu_item_new_from_stock ("gtk-cut", accel_group);
250 gtk_widget_show (Cut);
251 gtk_container_add (GTK_CONTAINER (EditMenuTitle_menu), Cut);
253 Copy = gtk_image_menu_item_new_from_stock ("gtk-copy", accel_group);
254 gtk_widget_show (Copy);
255 gtk_container_add (GTK_CONTAINER (EditMenuTitle_menu), Copy);
257 Paste = gtk_image_menu_item_new_from_stock ("gtk-paste", accel_group);
258 gtk_widget_show (Paste);
259 gtk_container_add (GTK_CONTAINER (EditMenuTitle_menu), Paste);
261 Delete = gtk_image_menu_item_new_from_stock ("gtk-delete", accel_group);
262 gtk_widget_show (Delete);
263 gtk_container_add (GTK_CONTAINER (EditMenuTitle_menu), Delete);
265 ViewMenuTitle
= gtk_menu_item_new_with_mnemonic ("_View");
266 gtk_widget_show (ViewMenuTitle
);
267 gtk_container_add (GTK_CONTAINER (MenuMain
), ViewMenuTitle
);
269 ViewMenuTitle_menu
= gtk_menu_new ();
270 gtk_menu_item_set_submenu (GTK_MENU_ITEM (ViewMenuTitle
), ViewMenuTitle_menu
);
272 ZoomIn
= gtk_menu_item_new_with_mnemonic ("Zoom in");
273 gtk_widget_show (ZoomIn
);
274 gtk_container_add (GTK_CONTAINER (ViewMenuTitle_menu
), ZoomIn
);
276 ZoomOut
= gtk_menu_item_new_with_mnemonic ("Zoom out");
277 gtk_widget_show (ZoomOut
);
278 gtk_container_add (GTK_CONTAINER (ViewMenuTitle_menu
), ZoomOut
);
280 ZoomExtended
= gtk_menu_item_new_with_mnemonic ("Zoom extended");
281 gtk_widget_show (ZoomExtended
);
282 gtk_container_add (GTK_CONTAINER (ViewMenuTitle_menu
), ZoomExtended
);
285 GoToTime = gtk_menu_item_new_with_mnemonic ("Go to time");
286 gtk_widget_show (GoToTime);
287 gtk_container_add (GTK_CONTAINER (ViewMenuTitle_menu), GoToTime);
289 ShowTimeFrame = gtk_menu_item_new_with_mnemonic ("Show time frame");
290 gtk_widget_show (ShowTimeFrame);
291 gtk_container_add (GTK_CONTAINER (ViewMenuTitle_menu), ShowTimeFrame);
293 ToolMenuTitle
= gtk_menu_item_new_with_mnemonic ("Tools");
294 gtk_widget_show (ToolMenuTitle
);
295 gtk_container_add (GTK_CONTAINER (MenuMain
), ToolMenuTitle
);
297 ToolMenuTitle_menu
= gtk_menu_new ();
298 gtk_menu_item_set_submenu (GTK_MENU_ITEM (ToolMenuTitle
), ToolMenuTitle_menu
);
300 MoveViewerUp
= gtk_menu_item_new_with_mnemonic ("Move viewer up");
301 gtk_widget_show (MoveViewerUp
);
302 gtk_container_add (GTK_CONTAINER (ToolMenuTitle_menu
), MoveViewerUp
);
304 MoveViewerDown
= gtk_menu_item_new_with_mnemonic ("Move viewer down");
305 gtk_widget_show (MoveViewerDown
);
306 gtk_container_add (GTK_CONTAINER (ToolMenuTitle_menu
), MoveViewerDown
);
308 RemoveViewer
= gtk_menu_item_new_with_mnemonic ("Remove viewer");
309 gtk_widget_show (RemoveViewer
);
310 gtk_container_add (GTK_CONTAINER (ToolMenuTitle_menu
), RemoveViewer
);
312 ToolMenuSeparator
= gtk_menu_item_new ();
313 gtk_widget_show (ToolMenuSeparator
);
314 gtk_container_add (GTK_CONTAINER (ToolMenuTitle_menu
), ToolMenuSeparator
);
315 gtk_widget_set_sensitive (ToolMenuSeparator
, FALSE
);
317 Filter
= gtk_menu_item_new_with_mnemonic ("Trace Filter Selector");
318 gtk_widget_show (Filter
);
319 gtk_container_add (GTK_CONTAINER (ToolMenuTitle_menu
), Filter
);
321 // Facility = gtk_menu_item_new_with_mnemonic ("Facility Selector");
322 // gtk_widget_show (Facility);
323 // gtk_container_add (GTK_CONTAINER (ToolMenuTitle_menu), Facility);
325 ToolMenuSeparator1
= gtk_menu_item_new ();
326 gtk_widget_show (ToolMenuSeparator1
);
327 gtk_container_add (GTK_CONTAINER (ToolMenuTitle_menu
), ToolMenuSeparator1
);
328 gtk_widget_set_sensitive (ToolMenuSeparator1
, FALSE
);
330 // insert_viewer_test = gtk_menu_item_new_with_mnemonic ("Insert viewer test");
331 // gtk_widget_show (insert_viewer_test);
332 // gtk_container_add (GTK_CONTAINER (ToolMenuTitle_menu), insert_viewer_test);
334 PluginMenuTitle
= gtk_menu_item_new_with_mnemonic ("Plugins");
335 gtk_widget_show (PluginMenuTitle
);
336 gtk_container_add (GTK_CONTAINER (MenuMain
), PluginMenuTitle
);
338 PluginMenuTitle_menu
= gtk_menu_new ();
339 gtk_menu_item_set_submenu (GTK_MENU_ITEM (PluginMenuTitle
), PluginMenuTitle_menu
);
341 LoadLibrary
= gtk_menu_item_new_with_mnemonic ("Load library");
342 gtk_widget_show (LoadLibrary
);
343 gtk_container_add (GTK_CONTAINER (PluginMenuTitle_menu
), LoadLibrary
);
345 UnloadLibrary
= gtk_menu_item_new_with_mnemonic ("Unload library");
346 gtk_widget_show (UnloadLibrary
);
347 gtk_container_add (GTK_CONTAINER (PluginMenuTitle_menu
), UnloadLibrary
);
349 LoadModule
= gtk_menu_item_new_with_mnemonic ("Load module");
350 gtk_widget_show (LoadModule
);
351 gtk_container_add (GTK_CONTAINER (PluginMenuTitle_menu
), LoadModule
);
353 UnloadModule
= gtk_menu_item_new_with_mnemonic ("Unload module");
354 gtk_widget_show (UnloadModule
);
355 gtk_container_add (GTK_CONTAINER (PluginMenuTitle_menu
), UnloadModule
);
357 AddLibrarySearchPath
= gtk_menu_item_new_with_mnemonic ("Add library search path");
358 gtk_widget_show (AddLibrarySearchPath
);
359 gtk_container_add (GTK_CONTAINER (PluginMenuTitle_menu
), AddLibrarySearchPath
);
361 RemoveLibrarySearchPath
= gtk_menu_item_new_with_mnemonic ("Remove library search path");
362 gtk_widget_show (RemoveLibrarySearchPath
);
363 gtk_container_add (GTK_CONTAINER (PluginMenuTitle_menu
), RemoveLibrarySearchPath
);
365 OptionMenuTitle = gtk_menu_item_new_with_mnemonic ("Options");
366 gtk_widget_show (OptionMenuTitle);
367 gtk_container_add (GTK_CONTAINER (MenuMain), OptionMenuTitle);
369 OptionMenuTitle_menu = gtk_menu_new ();
370 gtk_menu_item_set_submenu (GTK_MENU_ITEM (OptionMenuTitle), OptionMenuTitle_menu);
372 Color = gtk_menu_item_new_with_mnemonic ("Color");
373 gtk_widget_show (Color);
374 gtk_container_add (GTK_CONTAINER (OptionMenuTitle_menu), Color);
376 OptMenuSeparator = gtk_menu_item_new ();
377 gtk_widget_show (OptMenuSeparator);
378 gtk_container_add (GTK_CONTAINER (OptionMenuTitle_menu), OptMenuSeparator);
379 gtk_widget_set_sensitive (OptMenuSeparator, FALSE);
381 OpenFilter = gtk_menu_item_new_with_mnemonic ("Filter");
382 gtk_widget_show (OpenFilter);
383 gtk_container_add (GTK_CONTAINER (OptionMenuTitle_menu), OpenFilter);
385 SaveConfiguration = gtk_menu_item_new_with_mnemonic ("Save configuration");
386 gtk_widget_show (SaveConfiguration);
387 gtk_container_add (GTK_CONTAINER (OptionMenuTitle_menu), SaveConfiguration);
390 HelpMenuTitle
= gtk_menu_item_new_with_mnemonic ("_Help");
391 gtk_widget_show (HelpMenuTitle
);
392 gtk_container_add (GTK_CONTAINER (MenuMain
), HelpMenuTitle
);
394 HelpMenu
= gtk_menu_new ();
395 gtk_menu_item_set_submenu (GTK_MENU_ITEM (HelpMenuTitle
), HelpMenu
);
397 Content
= gtk_menu_item_new_with_mnemonic ("Content");
398 gtk_widget_show (Content
);
399 gtk_container_add (GTK_CONTAINER (HelpMenu
), Content
);
401 HelpmenuSeparator
= gtk_menu_item_new ();
402 gtk_widget_show (HelpmenuSeparator
);
403 gtk_container_add (GTK_CONTAINER (HelpMenu
), HelpmenuSeparator
);
404 gtk_widget_set_sensitive (HelpmenuSeparator
, FALSE
);
406 About
= gtk_menu_item_new_with_mnemonic ("About...");
407 gtk_widget_show (About
);
408 gtk_container_add (GTK_CONTAINER (HelpMenu
), About
);
410 MToolbar1
= gtk_toolbar_new ();
411 gtk_widget_show (MToolbar1
);
412 gtk_box_pack_start (GTK_BOX (MVbox
), MToolbar1
, FALSE
, FALSE
, 0);
413 gtk_toolbar_set_style (GTK_TOOLBAR (MToolbar1
), GTK_TOOLBAR_ICONS
);
416 tmp_toolbar_icon
= create_pixmap (MWindow
, "filenew.png");
417 tlbEmptyTraceset
= gtk_toolbar_append_element (GTK_TOOLBAR (MToolbar1
),
418 GTK_TOOLBAR_CHILD_BUTTON
,
422 //"New window with empty trace set", NULL,
423 tmp_toolbar_icon
, NULL
, NULL
);
424 gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild
*) (g_list_last (GTK_TOOLBAR (MToolbar1
)->children
)->data
))->label
), TRUE
);
425 gtk_widget_show (tlbEmptyTraceset
);
426 gtk_container_set_border_width (GTK_CONTAINER (tlbEmptyTraceset
), 1);
428 tmp_toolbar_icon
= create_pixmap (MWindow
, "filenew.png");
429 tlbTab
= gtk_toolbar_append_element (GTK_TOOLBAR (MToolbar1
),
430 GTK_TOOLBAR_CHILD_BUTTON
,
434 tmp_toolbar_icon
, NULL
, NULL
);
435 gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild
*) (g_list_last (GTK_TOOLBAR (MToolbar1
)->children
)->data
))->label
), TRUE
);
436 gtk_widget_show (tlbTab
);
437 gtk_container_set_border_width (GTK_CONTAINER (tlbTab
), 1);
440 tmp_toolbar_icon = create_pixmap (MWindow, "fileopen.png");
441 tlbOpenTraceset = gtk_toolbar_append_element (GTK_TOOLBAR (MToolbar1),
442 GTK_TOOLBAR_CHILD_BUTTON,
445 "open a trace set", NULL,
446 tmp_toolbar_icon, NULL, NULL);
447 gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild*) (g_list_last (GTK_TOOLBAR (MToolbar1)->children)->data))->label), TRUE);
448 gtk_widget_show (tlbOpenTraceset);
449 gtk_container_set_border_width (GTK_CONTAINER (tlbOpenTraceset), 1);
451 tmp_toolbar_icon
= create_pixmap (MWindow
, "edit_add_22.png");
452 tlbAddTrace
= gtk_toolbar_append_element (GTK_TOOLBAR (MToolbar1
),
453 GTK_TOOLBAR_CHILD_BUTTON
,
456 "Add a trace ", NULL
,
457 tmp_toolbar_icon
, NULL
, NULL
);
458 gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild
*) (g_list_last (GTK_TOOLBAR (MToolbar1
)->children
)->data
))->label
), TRUE
);
459 gtk_widget_show (tlbAddTrace
);
460 gtk_container_set_border_width (GTK_CONTAINER (tlbAddTrace
), 1);
462 tmp_toolbar_icon
= create_pixmap (MWindow
, "edit_remove_22.png");
463 tlbRemoveTrace
= gtk_toolbar_append_element (GTK_TOOLBAR (MToolbar1
),
464 GTK_TOOLBAR_CHILD_BUTTON
,
467 "Remove a trace", NULL
,
468 tmp_toolbar_icon
, NULL
, NULL
);
469 gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild
*) (g_list_last (GTK_TOOLBAR (MToolbar1
)->children
)->data
))->label
), TRUE
);
470 gtk_widget_show (tlbRemoveTrace
);
471 gtk_container_set_border_width (GTK_CONTAINER (tlbRemoveTrace
), 1);
473 tmp_toolbar_icon = create_pixmap (MWindow, "filesave.png");
474 tlbSave = gtk_toolbar_append_element (GTK_TOOLBAR (MToolbar1),
475 GTK_TOOLBAR_CHILD_BUTTON,
478 "save the current trace set", NULL,
479 tmp_toolbar_icon, NULL, NULL);
480 gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild*) (g_list_last (GTK_TOOLBAR (MToolbar1)->children)->data))->label), TRUE);
481 gtk_widget_show (tlbSave);
482 gtk_container_set_border_width (GTK_CONTAINER (tlbSave), 1);
484 tmp_toolbar_icon = create_pixmap (MWindow, "filesaveas.png");
485 tlbSaveAs = gtk_toolbar_append_element (GTK_TOOLBAR (MToolbar1),
486 GTK_TOOLBAR_CHILD_BUTTON,
490 tmp_toolbar_icon, NULL, NULL);
491 gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild*) (g_list_last (GTK_TOOLBAR (MToolbar1)->children)->data))->label), TRUE);
492 gtk_widget_show (tlbSaveAs);
493 gtk_container_set_border_width (GTK_CONTAINER (tlbSaveAs), 1);
495 gtk_toolbar_append_space (GTK_TOOLBAR (MToolbar1
));
497 /* Manually added by Mathieu Desnoyers */
499 tmp_toolbar_icon
= create_pixmap (MWindow
, "stock_refresh_24.png");
500 tlbRedraw
= gtk_toolbar_append_element (GTK_TOOLBAR (MToolbar1
),
501 GTK_TOOLBAR_CHILD_BUTTON
,
505 tmp_toolbar_icon
, NULL
, NULL
);
506 gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild
*) (g_list_last (GTK_TOOLBAR (MToolbar1
)->children
)->data
))->label
), TRUE
);
507 gtk_widget_show (tlbRedraw
);
508 gtk_container_set_border_width (GTK_CONTAINER (tlbRedraw
), 1);
510 tmp_toolbar_icon
= create_pixmap (MWindow
, "stock_redo_24.png");
511 tlbContinueProcessing
= gtk_toolbar_append_element (GTK_TOOLBAR (MToolbar1
),
512 GTK_TOOLBAR_CHILD_BUTTON
,
515 "Continue Processing", NULL
,
516 tmp_toolbar_icon
, NULL
, NULL
);
517 gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild
*) (g_list_last (GTK_TOOLBAR (MToolbar1
)->children
)->data
))->label
), TRUE
);
518 gtk_widget_show (tlbContinueProcessing
);
519 gtk_container_set_border_width (GTK_CONTAINER (tlbContinueProcessing
), 1);
521 tmp_toolbar_icon
= create_pixmap (MWindow
, "stock_stop_24.png");
522 tlbStopProcessing
= gtk_toolbar_append_element (GTK_TOOLBAR (MToolbar1
),
523 GTK_TOOLBAR_CHILD_BUTTON
,
526 "Stop Processing", NULL
,
527 tmp_toolbar_icon
, NULL
, NULL
);
528 gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild
*) (g_list_last (GTK_TOOLBAR (MToolbar1
)->children
)->data
))->label
), TRUE
);
529 gtk_widget_show (tlbStopProcessing
);
530 gtk_container_set_border_width (GTK_CONTAINER (tlbStopProcessing
), 1);
531 GLADE_HOOKUP_OBJECT (MWindow
, tlbStopProcessing
, "StopProcessingButton");
534 gtk_toolbar_append_space (GTK_TOOLBAR (MToolbar1
));
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
,
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);
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
,
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);
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
,
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);
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,
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);
581 tmp_toolbar_icon = create_pixmap (MWindow, "mini-display.xpm");
582 tlbShowTimeFrame = gtk_toolbar_append_element (GTK_TOOLBAR (MToolbar1),
583 GTK_TOOLBAR_CHILD_BUTTON,
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);
592 gtk_toolbar_append_space (GTK_TOOLBAR (MToolbar1
));
594 tmp_toolbar_icon
= create_pixmap (MWindow
, "1uparrow.png");
595 tlbMoveViewerUp
= gtk_toolbar_append_element (GTK_TOOLBAR (MToolbar1
),
596 GTK_TOOLBAR_CHILD_BUTTON
,
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);
605 tmp_toolbar_icon
= create_pixmap (MWindow
, "1downarrow.png");
606 tlbMoveViewerDown
= gtk_toolbar_append_element (GTK_TOOLBAR (MToolbar1
),
607 GTK_TOOLBAR_CHILD_BUTTON
,
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);
616 tmp_toolbar_icon
= create_pixmap (MWindow
, "remove.png");
617 tlbRemoveViewer
= gtk_toolbar_append_element (GTK_TOOLBAR (MToolbar1
),
618 GTK_TOOLBAR_CHILD_BUTTON
,
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);
627 gtk_toolbar_append_space (GTK_TOOLBAR (MToolbar1
));
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);
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);
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);
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);
649 MStatusbar
= gtk_statusbar_new ();
650 gtk_widget_show (MStatusbar
);
651 gtk_box_pack_start (GTK_BOX (MVbox
), MStatusbar
, FALSE
, FALSE
, 0);
653 g_signal_connect ((gpointer
) MWindow
, "destroy",
654 G_CALLBACK (on_MWindow_destroy
),
656 g_signal_connect ((gpointer
) MWindow
, "configure-event",
657 G_CALLBACK (on_MWindow_configure
),
660 // g_signal_connect ((gpointer) EmptyTraceset, "activate",
661 // G_CALLBACK (on_empty_traceset_activate),
664 g_signal_connect ((gpointer
) CloneTraceset
, "activate",
665 G_CALLBACK (on_clone_traceset_activate
),
668 g_signal_connect ((gpointer
) Tab
, "activate",
669 G_CALLBACK (on_tab_activate
),
672 g_signal_connect ((gpointer) OpenTraceset, "activate",
673 G_CALLBACK (on_open_activate),
676 g_signal_connect ((gpointer
) Close
, "activate",
677 G_CALLBACK (on_close_activate
),
679 g_signal_connect ((gpointer
) CloseTab
, "activate",
680 G_CALLBACK (on_close_tab_activate
),
682 g_signal_connect ((gpointer
) AddTrace
, "activate",
683 G_CALLBACK (on_add_trace_activate
),
685 g_signal_connect ((gpointer
) RemoveTrace
, "activate",
686 G_CALLBACK (on_remove_trace_activate
),
689 g_signal_connect ((gpointer) Save, "activate",
690 G_CALLBACK (on_save_activate),
692 g_signal_connect ((gpointer) SaveAs, "activate",
693 G_CALLBACK (on_save_as_activate),
696 g_signal_connect ((gpointer
) Quit
, "activate",
697 G_CALLBACK (on_quit_activate
),
700 g_signal_connect ((gpointer) Cut, "activate",
701 G_CALLBACK (on_cut_activate),
703 g_signal_connect ((gpointer) Copy, "activate",
704 G_CALLBACK (on_copy_activate),
706 g_signal_connect ((gpointer) Paste, "activate",
707 G_CALLBACK (on_paste_activate),
709 g_signal_connect ((gpointer) Delete, "activate",
710 G_CALLBACK (on_delete_activate),
713 g_signal_connect ((gpointer
) ZoomIn
, "activate",
714 G_CALLBACK (on_zoom_in_activate
),
716 g_signal_connect ((gpointer
) ZoomOut
, "activate",
717 G_CALLBACK (on_zoom_out_activate
),
719 g_signal_connect ((gpointer
) ZoomExtended
, "activate",
720 G_CALLBACK (on_zoom_extended_activate
),
723 g_signal_connect ((gpointer) GoToTime, "activate",
724 G_CALLBACK (on_go_to_time_activate),
726 g_signal_connect ((gpointer) ShowTimeFrame, "activate",
727 G_CALLBACK (on_show_time_frame_activate),
730 g_signal_connect ((gpointer
) MoveViewerUp
, "activate",
731 G_CALLBACK (on_move_viewer_up_activate
),
733 g_signal_connect ((gpointer
) MoveViewerDown
, "activate",
734 G_CALLBACK (on_move_viewer_down_activate
),
736 g_signal_connect ((gpointer
) RemoveViewer
, "activate",
737 G_CALLBACK (on_remove_viewer_activate
),
739 //g_signal_connect ((gpointer) Filter, "activate",
740 // G_CALLBACK (on_trace_filter_activate),
742 // g_signal_connect ((gpointer) Facility, "activate",
743 // G_CALLBACK (on_trace_facility_activate),
745 // g_signal_connect ((gpointer) insert_viewer_test, "activate",
746 // G_CALLBACK (on_insert_viewer_test_activate),
748 g_signal_connect ((gpointer
) LoadLibrary
, "activate",
749 G_CALLBACK (on_load_library_activate
),
751 g_signal_connect ((gpointer
) UnloadLibrary
, "activate",
752 G_CALLBACK (on_unload_library_activate
),
754 g_signal_connect ((gpointer
) LoadModule
, "activate",
755 G_CALLBACK (on_load_module_activate
),
757 g_signal_connect ((gpointer
) UnloadModule
, "activate",
758 G_CALLBACK (on_unload_module_activate
),
760 g_signal_connect ((gpointer
) AddLibrarySearchPath
, "activate",
761 G_CALLBACK (on_add_library_search_path_activate
),
763 g_signal_connect ((gpointer
) RemoveLibrarySearchPath
, "activate",
764 G_CALLBACK (on_remove_library_search_path_activate
),
767 g_signal_connect ((gpointer) Color, "activate",
768 G_CALLBACK (on_color_activate),
770 g_signal_connect ((gpointer) OpenFilter, "activate",
771 G_CALLBACK (on_filter_activate),
773 g_signal_connect ((gpointer) SaveConfiguration, "activate",
774 G_CALLBACK (on_save_configuration_activate),
777 g_signal_connect ((gpointer
) Content
, "activate",
778 G_CALLBACK (on_content_activate
),
780 g_signal_connect ((gpointer
) About
, "activate",
781 G_CALLBACK (on_about_activate
),
784 g_signal_connect ((gpointer
) tlbEmptyTraceset
, "clicked",
785 G_CALLBACK (on_button_new_clicked
),
788 g_signal_connect ((gpointer
) tlbTab
, "clicked",
789 G_CALLBACK (on_button_new_tab_clicked
),
792 g_signal_connect ((gpointer) tlbOpenTraceset, "clicked",
793 G_CALLBACK (on_button_open_clicked),
796 g_signal_connect ((gpointer
) tlbAddTrace
, "clicked",
797 G_CALLBACK (on_button_add_trace_clicked
),
799 g_signal_connect ((gpointer
) tlbRemoveTrace
, "clicked",
800 G_CALLBACK (on_button_remove_trace_clicked
),
802 g_signal_connect ((gpointer
) tlbRedraw
, "clicked",
803 G_CALLBACK (on_button_redraw_clicked
),
805 g_signal_connect ((gpointer
) tlbContinueProcessing
, "clicked",
806 G_CALLBACK (on_button_continue_processing_clicked
),
808 g_signal_connect ((gpointer
) tlbStopProcessing
, "clicked",
809 G_CALLBACK (on_button_stop_processing_clicked
),
812 g_signal_connect ((gpointer) tlbSave, "clicked",
813 G_CALLBACK (on_button_save_clicked),
815 g_signal_connect ((gpointer) tlbSaveAs, "clicked",
816 G_CALLBACK (on_button_save_as_clicked),
819 g_signal_connect ((gpointer
) tlbZoomIn
, "clicked",
820 G_CALLBACK (on_button_zoom_in_clicked
),
822 g_signal_connect ((gpointer
) tlbZoomOut
, "clicked",
823 G_CALLBACK (on_button_zoom_out_clicked
),
825 g_signal_connect ((gpointer
) tlbZoomExtended
, "clicked",
826 G_CALLBACK (on_button_zoom_extended_clicked
),
829 g_signal_connect ((gpointer) tlbGoToTime, "clicked",
830 G_CALLBACK (on_button_go_to_time_clicked),
832 g_signal_connect ((gpointer) tlbShowTimeFrame, "clicked",
833 G_CALLBACK (on_button_show_time_frame_clicked),
836 g_signal_connect ((gpointer
) tlbMoveViewerUp
, "clicked",
837 G_CALLBACK (on_button_move_up_clicked
),
839 g_signal_connect ((gpointer
) tlbMoveViewerDown
, "clicked",
840 G_CALLBACK (on_button_move_down_clicked
),
842 g_signal_connect ((gpointer
) tlbRemoveViewer
, "clicked",
843 G_CALLBACK (on_button_delete_viewer_clicked
),
845 g_signal_connect ((gpointer
) MNotebook
, "switch_page",
846 G_CALLBACK (on_MNotebook_switch_page
),
849 /* Store pointers to all widgets, for use by lookup_widget(). */
850 GLADE_HOOKUP_OBJECT_NO_REF (MWindow
, MWindow
, "MWindow");
851 GLADE_HOOKUP_OBJECT (MWindow
, MVbox
, "MVbox");
852 GLADE_HOOKUP_OBJECT (MWindow
, MMenuBox
, "MMenuBox");
853 GLADE_HOOKUP_OBJECT (MWindow
, MenuMain
, "MenuMain");
854 GLADE_HOOKUP_OBJECT (MWindow
, FileMenuTitle
, "FileMenuTitle");
855 GLADE_HOOKUP_OBJECT (MWindow
, FileMenuTitle_menu
, "FileMenuTitle_menu");
856 GLADE_HOOKUP_OBJECT (MWindow
, FileMenuNewTitle
, "FileMenuNewTitle");
857 GLADE_HOOKUP_OBJECT (MWindow
, FileMenuNewTitle_menu
, "FileMenuNewTitle_menu");
858 // GLADE_HOOKUP_OBJECT (MWindow, EmptyTraceset, "EmptyTraceset");
860 GLADE_HOOKUP_OBJECT (MWindow
, CloneTraceset
, "CloneTraceset");
861 GLADE_HOOKUP_OBJECT (MWindow
, FileMenuNewSep
, "FileMenuNewSep");
863 GLADE_HOOKUP_OBJECT (MWindow
, Tab
, "Tab");
864 // GLADE_HOOKUP_OBJECT (MWindow, OpenTraceset, "OpenTraceset");
865 GLADE_HOOKUP_OBJECT (MWindow
, Close
, "Close");
866 GLADE_HOOKUP_OBJECT (MWindow
, CloseTab
, "CloseTab");
867 GLADE_HOOKUP_OBJECT (MWindow
, FileMenuSeparator1
, "FileMenuSeparator1");
868 GLADE_HOOKUP_OBJECT (MWindow
, AddTrace
, "AddTrace");
869 GLADE_HOOKUP_OBJECT (MWindow
, RemoveTrace
, "RemoveTrace");
870 // GLADE_HOOKUP_OBJECT (MWindow, Save, "Save");
871 // GLADE_HOOKUP_OBJECT (MWindow, SaveAs, "SaveAs");
872 GLADE_HOOKUP_OBJECT (MWindow
, FileMenuSeparator2
, "FileMenuSeparator2");
873 GLADE_HOOKUP_OBJECT (MWindow
, Quit
, "Quit");
874 // GLADE_HOOKUP_OBJECT (MWindow, EditMenuTitle, "EditMenuTitle");
875 // GLADE_HOOKUP_OBJECT (MWindow, EditMenuTitle_menu, "EditMenuTitle_menu");
876 // GLADE_HOOKUP_OBJECT (MWindow, Cut, "Cut");
877 // GLADE_HOOKUP_OBJECT (MWindow, Copy, "Copy");
878 // GLADE_HOOKUP_OBJECT (MWindow, Paste, "Paste");
879 // GLADE_HOOKUP_OBJECT (MWindow, Delete, "Delete");
880 GLADE_HOOKUP_OBJECT (MWindow
, ViewMenuTitle
, "ViewMenuTitle");
881 GLADE_HOOKUP_OBJECT (MWindow
, ViewMenuTitle_menu
, "ViewMenuTitle_menu");
882 GLADE_HOOKUP_OBJECT (MWindow
, ZoomIn
, "ZoomIn");
883 GLADE_HOOKUP_OBJECT (MWindow
, ZoomOut
, "ZoomOut");
884 GLADE_HOOKUP_OBJECT (MWindow
, ZoomExtended
, "ZoomExtended");
885 // GLADE_HOOKUP_OBJECT (MWindow, GoToTime, "GoToTime");
886 // GLADE_HOOKUP_OBJECT (MWindow, ShowTimeFrame, "ShowTimeFrame");
887 GLADE_HOOKUP_OBJECT (MWindow
, ToolMenuTitle
, "ToolMenuTitle");
888 GLADE_HOOKUP_OBJECT (MWindow
, ToolMenuTitle_menu
, "ToolMenuTitle_menu");
889 GLADE_HOOKUP_OBJECT (MWindow
, MoveViewerUp
, "MoveViewerUp");
890 GLADE_HOOKUP_OBJECT (MWindow
, MoveViewerDown
, "MoveViewerDown");
891 GLADE_HOOKUP_OBJECT (MWindow
, RemoveViewer
, "RemoveViewer");
892 GLADE_HOOKUP_OBJECT (MWindow
, ToolMenuSeparator
, "ToolMenuSeparator");
893 GLADE_HOOKUP_OBJECT (MWindow
, Filter
, "Filter");
894 // GLADE_HOOKUP_OBJECT (MWindow, Facility, "Facility");
895 GLADE_HOOKUP_OBJECT (MWindow
, ToolMenuSeparator1
, "ToolMenuSeparator1");
896 // GLADE_HOOKUP_OBJECT (MWindow, insert_viewer_test, "insert_viewer_test");
897 GLADE_HOOKUP_OBJECT (MWindow
, PluginMenuTitle
, "PluginMenuTitle");
898 GLADE_HOOKUP_OBJECT (MWindow
, PluginMenuTitle_menu
, "PluginMenuTitle_menu");
899 GLADE_HOOKUP_OBJECT (MWindow
, LoadLibrary
, "LoadLibrary");
900 GLADE_HOOKUP_OBJECT (MWindow
, UnloadLibrary
, "UnloadLibrary");
901 GLADE_HOOKUP_OBJECT (MWindow
, LoadModule
, "LoadModule");
902 GLADE_HOOKUP_OBJECT (MWindow
, UnloadModule
, "UnloadModule");
903 GLADE_HOOKUP_OBJECT (MWindow
, AddLibrarySearchPath
, "AddLibrarySearchPath");
904 GLADE_HOOKUP_OBJECT (MWindow
, RemoveLibrarySearchPath
, "RemoveLibrarySearchPath");
905 // GLADE_HOOKUP_OBJECT (MWindow, OptionMenuTitle, "OptionMenuTitle");
906 // GLADE_HOOKUP_OBJECT (MWindow, OptionMenuTitle_menu, "OptionMenuTitle_menu");
907 // GLADE_HOOKUP_OBJECT (MWindow, Color, "Color");
908 // GLADE_HOOKUP_OBJECT (MWindow, OptMenuSeparator, "OptMenuSeparator");
909 // GLADE_HOOKUP_OBJECT (MWindow, OpenFilter, "OpenFilter");
910 // GLADE_HOOKUP_OBJECT (MWindow, SaveConfiguration, "SaveConfiguration");
911 GLADE_HOOKUP_OBJECT (MWindow
, HelpMenuTitle
, "HelpMenuTitle");
912 GLADE_HOOKUP_OBJECT (MWindow
, HelpMenu
, "HelpMenu");
913 GLADE_HOOKUP_OBJECT (MWindow
, Content
, "Content");
914 GLADE_HOOKUP_OBJECT (MWindow
, HelpmenuSeparator
, "HelpmenuSeparator");
915 GLADE_HOOKUP_OBJECT (MWindow
, About
, "About");
916 GLADE_HOOKUP_OBJECT (MWindow
, MToolbar1
, "MToolbar1");
918 GLADE_HOOKUP_OBJECT (MWindow
, tlbEmptyTraceset
, "tlbEmptyTraceset");
920 GLADE_HOOKUP_OBJECT (MWindow
, tlbTab
, "tlbTab");
921 // GLADE_HOOKUP_OBJECT (MWindow, tlbOpenTraceset, "tlbOpenTraceset");
922 GLADE_HOOKUP_OBJECT (MWindow
, tlbAddTrace
, "tlbAddTrace");
923 GLADE_HOOKUP_OBJECT (MWindow
, tlbRemoveTrace
, "tlbRemoveTrace");
924 // GLADE_HOOKUP_OBJECT (MWindow, tlbSave, "tlbSave");
925 // GLADE_HOOKUP_OBJECT (MWindow, tlbSaveAs, "tlbSaveAs");
926 GLADE_HOOKUP_OBJECT (MWindow
, tlbZoomIn
, "tlbZoomIn");
927 GLADE_HOOKUP_OBJECT (MWindow
, tlbZoomOut
, "tlbZoomOut");
928 GLADE_HOOKUP_OBJECT (MWindow
, tlbZoomExtended
, "tlbZoomExtended");
929 // GLADE_HOOKUP_OBJECT (MWindow, tlbGoToTime, "tlbGoToTime");
930 // GLADE_HOOKUP_OBJECT (MWindow, tlbShowTimeFrame, "tlbShowTimeFrame");
931 GLADE_HOOKUP_OBJECT (MWindow
, tlbMoveViewerUp
, "tlbMoveViewerUp");
932 GLADE_HOOKUP_OBJECT (MWindow
, tlbMoveViewerDown
, "tlbMoveViewerDown");
933 GLADE_HOOKUP_OBJECT (MWindow
, tlbRemoveViewer
, "tlbRemoveViewer");
934 // GLADE_HOOKUP_OBJECT (MWindow, MToolbar2, "MToolbar2");
935 GLADE_HOOKUP_OBJECT (MWindow
, MNotebook
, "MNotebook");
936 // GLADE_HOOKUP_OBJECT (MWindow, label1, "label1");
937 GLADE_HOOKUP_OBJECT (MWindow
, MStatusbar
, "MStatusbar");
939 gtk_window_add_accel_group (GTK_WINDOW (MWindow
), accel_group
);