Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

- Step one of fixing glade to use gtk builder and getting rid of the

SVN Rev: 3284
  • Loading branch information...
commit e175b6c758d09df47825bdbe3bb933549d7b3122 1 parent e8908ca
@derickr authored
View
11 gtkdbgp.gladep
@@ -1,11 +0,0 @@
-<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
-<!DOCTYPE glade-project SYSTEM "http://glade.gnome.org/glade-project-2.0.dtd">
-
-<glade-project>
- <name>gtkdbgp</name>
- <program_name>gtkdbgp</program_name>
- <gnome_support>FALSE</gnome_support>
- <gettext_support>FALSE</gettext_support>
- <use_widget_names>TRUE</use_widget_names>
- <backup_source_files>FALSE</backup_source_files>
-</glade-project>
View
1,155 gtkdbgp.glade → gtkdbgp.xml
558 additions, 597 deletions not shown
View
1,824 src/interface.c
@@ -1,1824 +0,0 @@
-/*
- * DO NOT EDIT THIS FILE - it is generated by Glade.
- */
-
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <unistd.h>
-#include <string.h>
-#include <stdio.h>
-
-#include <gdk/gdkkeysyms.h>
-#include <gtk/gtk.h>
-
-#include "callbacks.h"
-#include "interface.h"
-#include "support.h"
-
-#define GLADE_HOOKUP_OBJECT(component,widget,name) \
- g_object_set_data_full (G_OBJECT (component), name, \
- gtk_widget_ref (widget), (GDestroyNotify) gtk_widget_unref)
-
-#define GLADE_HOOKUP_OBJECT_NO_REF(component,widget,name) \
- g_object_set_data (G_OBJECT (component), name, widget)
-
-GtkWidget*
-create_MainWindow (void)
-{
- GtkWidget *MainWindow;
- GdkPixbuf *MainWindow_icon_pixbuf;
- GtkWidget *vbox1;
- GtkWidget *menubar1;
- GtkWidget *menuitem1;
- GtkWidget *menuitem1_menu;
- GtkWidget *quitmenuitem;
- GtkWidget *image42;
- GtkWidget *menuitem2;
- GtkWidget *menuitem2_menu;
- GtkWidget *imagemenuitem2;
- GtkWidget *image43;
- GtkWidget *menuitem3;
- GtkWidget *menuitem3_menu;
- GtkWidget *menuitem4;
- GtkWidget *image44;
- GtkWidget *separatormenuitem1;
- GtkWidget *menuitem5;
- GtkWidget *image45;
- GtkWidget *separatormenuitem2;
- GtkWidget *menuitem6;
- GtkWidget *image46;
- GtkWidget *menuitem7;
- GtkWidget *image47;
- GtkWidget *menuitem8;
- GtkWidget *image48;
- GtkWidget *separatormenuitem3;
- GtkWidget *menuitem9;
- GtkWidget *image49;
- GtkWidget *menuitem10;
- GtkWidget *image50;
- GtkWidget *menuitem11;
- GtkWidget *menuitem11_menu;
- GtkWidget *imagemenuitem3;
- GtkWidget *image51;
- GtkWidget *toolbar1;
- GtkIconSize tmp_toolbar_icon_size;
- GtkWidget *tmp_image;
- GtkWidget *continue_button;
- GtkWidget *separatortoolitem1;
- GtkWidget *step_over_button;
- GtkWidget *step_in_button;
- GtkWidget *step_out_button;
- GtkWidget *separatortoolitem2;
- GtkWidget *detach_button;
- GtkWidget *kill_button;
- GtkWidget *last_message_label;
- GtkWidget *hseparator1;
- GtkWidget *hpaned1;
- GtkWidget *vbox10;
- GtkWidget *code_notebook;
- GtkWidget *scrolledwindow13;
- GtkWidget *treeview7;
- GtkWidget *label38;
- GtkWidget *notebook7;
- GtkWidget *scrolledwindow12;
- GtkWidget *stack_view;
- GtkWidget *label36;
- GtkWidget *vbox9;
- GtkWidget *scrolledwindow11;
- GtkWidget *breakpoint_view;
- GtkWidget *hbuttonbox1;
- GtkWidget *main_add_bp_button;
- GtkWidget *alignment17;
- GtkWidget *hbox7;
- GtkWidget *image8;
- GtkWidget *label32;
- GtkWidget *main_edit_bp_button;
- GtkWidget *alignment18;
- GtkWidget *hbox8;
- GtkWidget *image9;
- GtkWidget *label33;
- GtkWidget *main_remove_bp_button;
- GtkWidget *alignment19;
- GtkWidget *hbox9;
- GtkWidget *image10;
- GtkWidget *label34;
- GtkWidget *label35;
- GtkWidget *alignment20;
- GtkWidget *viewport1;
- GtkWidget *vbox11;
- GtkWidget *alignment21;
- GtkWidget *eventbox1;
- GtkWidget *label40;
- GtkWidget *scrolledwindow15;
- GtkWidget *var_view;
- GtkWidget *statusbar;
- GtkAccelGroup *accel_group;
- GtkTooltips *tooltips;
-
- tooltips = gtk_tooltips_new ();
-
- accel_group = gtk_accel_group_new ();
-
- MainWindow = gtk_window_new (GTK_WINDOW_TOPLEVEL);
- gtk_widget_set_name (MainWindow, "MainWindow");
- gtk_widget_set_size_request (MainWindow, 900, 600);
- gtk_window_set_title (GTK_WINDOW (MainWindow), "Xdebug client");
- gtk_window_set_destroy_with_parent (GTK_WINDOW (MainWindow), TRUE);
- MainWindow_icon_pixbuf = create_pixbuf ("xdebug16.png");
- if (MainWindow_icon_pixbuf)
- {
- gtk_window_set_icon (GTK_WINDOW (MainWindow), MainWindow_icon_pixbuf);
- gdk_pixbuf_unref (MainWindow_icon_pixbuf);
- }
-
- vbox1 = gtk_vbox_new (FALSE, 0);
- gtk_widget_set_name (vbox1, "vbox1");
- gtk_widget_show (vbox1);
- gtk_container_add (GTK_CONTAINER (MainWindow), vbox1);
-
- menubar1 = gtk_menu_bar_new ();
- gtk_widget_set_name (menubar1, "menubar1");
- gtk_widget_show (menubar1);
- gtk_box_pack_start (GTK_BOX (vbox1), menubar1, FALSE, FALSE, 0);
-
- menuitem1 = gtk_menu_item_new_with_mnemonic ("_File");
- gtk_widget_set_name (menuitem1, "menuitem1");
- gtk_widget_show (menuitem1);
- gtk_container_add (GTK_CONTAINER (menubar1), menuitem1);
-
- menuitem1_menu = gtk_menu_new ();
- gtk_widget_set_name (menuitem1_menu, "menuitem1_menu");
- gtk_menu_item_set_submenu (GTK_MENU_ITEM (menuitem1), menuitem1_menu);
-
- quitmenuitem = gtk_image_menu_item_new_with_mnemonic ("_Quit");
- gtk_widget_set_name (quitmenuitem, "quitmenuitem");
- gtk_widget_show (quitmenuitem);
- gtk_container_add (GTK_CONTAINER (menuitem1_menu), quitmenuitem);
- gtk_widget_add_accelerator (quitmenuitem, "activate", accel_group,
- GDK_Q, (GdkModifierType) GDK_CONTROL_MASK,
- GTK_ACCEL_VISIBLE);
-
- image42 = create_pixmap (MainWindow, "detach.png");
- gtk_widget_set_name (image42, "image42");
- gtk_widget_show (image42);
- gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (quitmenuitem), image42);
-
- menuitem2 = gtk_menu_item_new_with_mnemonic ("_Settings");
- gtk_widget_set_name (menuitem2, "menuitem2");
- gtk_widget_show (menuitem2);
- gtk_container_add (GTK_CONTAINER (menubar1), menuitem2);
-
- menuitem2_menu = gtk_menu_new ();
- gtk_widget_set_name (menuitem2_menu, "menuitem2_menu");
- gtk_menu_item_set_submenu (GTK_MENU_ITEM (menuitem2), menuitem2_menu);
-
- imagemenuitem2 = gtk_image_menu_item_new_with_mnemonic ("_Preferences");
- gtk_widget_set_name (imagemenuitem2, "imagemenuitem2");
- gtk_widget_show (imagemenuitem2);
- gtk_container_add (GTK_CONTAINER (menuitem2_menu), imagemenuitem2);
-
- image43 = create_pixmap (MainWindow, "preferences-system.png");
- gtk_widget_set_name (image43, "image43");
- gtk_widget_show (image43);
- gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (imagemenuitem2), image43);
-
- menuitem3 = gtk_menu_item_new_with_mnemonic ("_Debug");
- gtk_widget_set_name (menuitem3, "menuitem3");
- gtk_widget_show (menuitem3);
- gtk_container_add (GTK_CONTAINER (menubar1), menuitem3);
-
- menuitem3_menu = gtk_menu_new ();
- gtk_widget_set_name (menuitem3_menu, "menuitem3_menu");
- gtk_menu_item_set_submenu (GTK_MENU_ITEM (menuitem3), menuitem3_menu);
-
- menuitem4 = gtk_image_menu_item_new_with_mnemonic ("_Add Breakpoint");
- gtk_widget_set_name (menuitem4, "menuitem4");
- gtk_widget_show (menuitem4);
- gtk_container_add (GTK_CONTAINER (menuitem3_menu), menuitem4);
- gtk_widget_add_accelerator (menuitem4, "activate", accel_group,
- GDK_F4, (GdkModifierType) 0,
- GTK_ACCEL_VISIBLE);
-
- image44 = create_pixmap (MainWindow, "list-add.png");
- gtk_widget_set_name (image44, "image44");
- gtk_widget_show (image44);
- gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menuitem4), image44);
-
- separatormenuitem1 = gtk_separator_menu_item_new ();
- gtk_widget_set_name (separatormenuitem1, "separatormenuitem1");
- gtk_widget_show (separatormenuitem1);
- gtk_container_add (GTK_CONTAINER (menuitem3_menu), separatormenuitem1);
- gtk_widget_set_sensitive (separatormenuitem1, FALSE);
-
- menuitem5 = gtk_image_menu_item_new_with_mnemonic ("_Continue");
- gtk_widget_set_name (menuitem5, "menuitem5");
- gtk_widget_show (menuitem5);
- gtk_container_add (GTK_CONTAINER (menuitem3_menu), menuitem5);
- gtk_widget_add_accelerator (menuitem5, "activate", accel_group,
- GDK_F5, (GdkModifierType) 0,
- GTK_ACCEL_VISIBLE);
-
- image45 = create_pixmap (MainWindow, "run.png");
- gtk_widget_set_name (image45, "image45");
- gtk_widget_show (image45);
- gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menuitem5), image45);
-
- separatormenuitem2 = gtk_separator_menu_item_new ();
- gtk_widget_set_name (separatormenuitem2, "separatormenuitem2");
- gtk_widget_show (separatormenuitem2);
- gtk_container_add (GTK_CONTAINER (menuitem3_menu), separatormenuitem2);
- gtk_widget_set_sensitive (separatormenuitem2, FALSE);
-
- menuitem6 = gtk_image_menu_item_new_with_mnemonic ("Step _Over");
- gtk_widget_set_name (menuitem6, "menuitem6");
- gtk_widget_show (menuitem6);
- gtk_container_add (GTK_CONTAINER (menuitem3_menu), menuitem6);
- gtk_widget_add_accelerator (menuitem6, "activate", accel_group,
- GDK_F6, (GdkModifierType) 0,
- GTK_ACCEL_VISIBLE);
-
- image46 = create_pixmap (MainWindow, "step_over.png");
- gtk_widget_set_name (image46, "image46");
- gtk_widget_show (image46);
- gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menuitem6), image46);
-
- menuitem7 = gtk_image_menu_item_new_with_mnemonic ("Step _In");
- gtk_widget_set_name (menuitem7, "menuitem7");
- gtk_widget_show (menuitem7);
- gtk_container_add (GTK_CONTAINER (menuitem3_menu), menuitem7);
- gtk_widget_add_accelerator (menuitem7, "activate", accel_group,
- GDK_F7, (GdkModifierType) 0,
- GTK_ACCEL_VISIBLE);
-
- image47 = create_pixmap (MainWindow, "step_in.png");
- gtk_widget_set_name (image47, "image47");
- gtk_widget_show (image47);
- gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menuitem7), image47);
-
- menuitem8 = gtk_image_menu_item_new_with_mnemonic ("Step O_ut");
- gtk_widget_set_name (menuitem8, "menuitem8");
- gtk_widget_show (menuitem8);
- gtk_container_add (GTK_CONTAINER (menuitem3_menu), menuitem8);
- gtk_widget_add_accelerator (menuitem8, "activate", accel_group,
- GDK_F8, (GdkModifierType) 0,
- GTK_ACCEL_VISIBLE);
-
- image48 = create_pixmap (MainWindow, "step_out.png");
- gtk_widget_set_name (image48, "image48");
- gtk_widget_show (image48);
- gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menuitem8), image48);
-
- separatormenuitem3 = gtk_separator_menu_item_new ();
- gtk_widget_set_name (separatormenuitem3, "separatormenuitem3");
- gtk_widget_show (separatormenuitem3);
- gtk_container_add (GTK_CONTAINER (menuitem3_menu), separatormenuitem3);
- gtk_widget_set_sensitive (separatormenuitem3, FALSE);
-
- menuitem9 = gtk_image_menu_item_new_with_mnemonic ("_Detach Debugger");
- gtk_widget_set_name (menuitem9, "menuitem9");
- gtk_widget_show (menuitem9);
- gtk_container_add (GTK_CONTAINER (menuitem3_menu), menuitem9);
- gtk_widget_add_accelerator (menuitem9, "activate", accel_group,
- GDK_F9, (GdkModifierType) 0,
- GTK_ACCEL_VISIBLE);
-
- image49 = create_pixmap (MainWindow, "dialog-error.png");
- gtk_widget_set_name (image49, "image49");
- gtk_widget_show (image49);
- gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menuitem9), image49);
-
- menuitem10 = gtk_image_menu_item_new_with_mnemonic ("_Stop Debugging");
- gtk_widget_set_name (menuitem10, "menuitem10");
- gtk_widget_show (menuitem10);
- gtk_container_add (GTK_CONTAINER (menuitem3_menu), menuitem10);
- gtk_widget_add_accelerator (menuitem10, "activate", accel_group,
- GDK_F10, (GdkModifierType) 0,
- GTK_ACCEL_VISIBLE);
-
- image50 = create_pixmap (MainWindow, "emblem-unreadable.png");
- gtk_widget_set_name (image50, "image50");
- gtk_widget_show (image50);
- gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menuitem10), image50);
-
- menuitem11 = gtk_menu_item_new_with_mnemonic ("_Help");
- gtk_widget_set_name (menuitem11, "menuitem11");
- gtk_widget_show (menuitem11);
- gtk_container_add (GTK_CONTAINER (menubar1), menuitem11);
-
- menuitem11_menu = gtk_menu_new ();
- gtk_widget_set_name (menuitem11_menu, "menuitem11_menu");
- gtk_menu_item_set_submenu (GTK_MENU_ITEM (menuitem11), menuitem11_menu);
-
- imagemenuitem3 = gtk_image_menu_item_new_with_mnemonic ("_About");
- gtk_widget_set_name (imagemenuitem3, "imagemenuitem3");
- gtk_widget_show (imagemenuitem3);
- gtk_container_add (GTK_CONTAINER (menuitem11_menu), imagemenuitem3);
-
- image51 = create_pixmap (MainWindow, "help-browser.png");
- gtk_widget_set_name (image51, "image51");
- gtk_widget_show (image51);
- gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (imagemenuitem3), image51);
-
- toolbar1 = gtk_toolbar_new ();
- gtk_widget_set_name (toolbar1, "toolbar1");
- gtk_widget_show (toolbar1);
- gtk_box_pack_start (GTK_BOX (vbox1), toolbar1, FALSE, FALSE, 0);
- gtk_toolbar_set_style (GTK_TOOLBAR (toolbar1), GTK_TOOLBAR_ICONS);
- tmp_toolbar_icon_size = gtk_toolbar_get_icon_size (GTK_TOOLBAR (toolbar1));
-
- tmp_image = create_pixmap (MainWindow, "run.png");
- gtk_widget_show (tmp_image);
- continue_button = (GtkWidget*) gtk_tool_button_new (tmp_image, "");
- gtk_widget_set_name (continue_button, "continue_button");
- gtk_widget_show (continue_button);
- gtk_container_add (GTK_CONTAINER (toolbar1), continue_button);
- gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (continue_button), tooltips, "run/continue", NULL);
-
- separatortoolitem1 = (GtkWidget*) gtk_separator_tool_item_new ();
- gtk_widget_set_name (separatortoolitem1, "separatortoolitem1");
- gtk_widget_show (separatortoolitem1);
- gtk_container_add (GTK_CONTAINER (toolbar1), separatortoolitem1);
-
- tmp_image = create_pixmap (MainWindow, "step_over.png");
- gtk_widget_show (tmp_image);
- step_over_button = (GtkWidget*) gtk_tool_button_new (tmp_image, "");
- gtk_widget_set_name (step_over_button, "step_over_button");
- gtk_widget_show (step_over_button);
- gtk_container_add (GTK_CONTAINER (toolbar1), step_over_button);
- gtk_widget_set_size_request (step_over_button, 16, 16);
- gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (step_over_button), tooltips, "step_over", NULL);
-
- tmp_image = create_pixmap (MainWindow, "step_in.png");
- gtk_widget_show (tmp_image);
- step_in_button = (GtkWidget*) gtk_tool_button_new (tmp_image, "");
- gtk_widget_set_name (step_in_button, "step_in_button");
- gtk_widget_show (step_in_button);
- gtk_container_add (GTK_CONTAINER (toolbar1), step_in_button);
- gtk_widget_set_size_request (step_in_button, 16, 16);
- gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (step_in_button), tooltips, "step_in", NULL);
-
- tmp_image = create_pixmap (MainWindow, "step_out.png");
- gtk_widget_show (tmp_image);
- step_out_button = (GtkWidget*) gtk_tool_button_new (tmp_image, "");
- gtk_widget_set_name (step_out_button, "step_out_button");
- gtk_widget_show (step_out_button);
- gtk_container_add (GTK_CONTAINER (toolbar1), step_out_button);
- gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (step_out_button), tooltips, "step_out", NULL);
-
- separatortoolitem2 = (GtkWidget*) gtk_separator_tool_item_new ();
- gtk_widget_set_name (separatortoolitem2, "separatortoolitem2");
- gtk_widget_show (separatortoolitem2);
- gtk_container_add (GTK_CONTAINER (toolbar1), separatortoolitem2);
-
- tmp_image = create_pixmap (MainWindow, "dialog-error.png");
- gtk_widget_show (tmp_image);
- detach_button = (GtkWidget*) gtk_tool_button_new (tmp_image, "");
- gtk_widget_set_name (detach_button, "detach_button");
- gtk_widget_show (detach_button);
- gtk_container_add (GTK_CONTAINER (toolbar1), detach_button);
- gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (detach_button), tooltips, "detach", NULL);
-
- tmp_image = create_pixmap (MainWindow, "emblem-unreadable.png");
- gtk_widget_show (tmp_image);
- kill_button = (GtkWidget*) gtk_tool_button_new (tmp_image, "");
- gtk_widget_set_name (kill_button, "kill_button");
- gtk_widget_show (kill_button);
- gtk_container_add (GTK_CONTAINER (toolbar1), kill_button);
- gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (kill_button), tooltips, "kill", NULL);
-
- last_message_label = gtk_label_new ("");
- gtk_widget_set_name (last_message_label, "last_message_label");
- gtk_widget_show (last_message_label);
- gtk_box_pack_start (GTK_BOX (vbox1), last_message_label, FALSE, TRUE, 0);
- gtk_label_set_justify (GTK_LABEL (last_message_label), GTK_JUSTIFY_FILL);
- gtk_misc_set_alignment (GTK_MISC (last_message_label), 0, 0.5);
- gtk_misc_set_padding (GTK_MISC (last_message_label), 6, 1);
- gtk_label_set_ellipsize (GTK_LABEL (last_message_label), PANGO_ELLIPSIZE_END);
-
- hseparator1 = gtk_hseparator_new ();
- gtk_widget_set_name (hseparator1, "hseparator1");
- gtk_widget_show (hseparator1);
- gtk_box_pack_start (GTK_BOX (vbox1), hseparator1, FALSE, TRUE, 1);
- gtk_widget_set_size_request (hseparator1, -1, 2);
-
- hpaned1 = gtk_hpaned_new ();
- gtk_widget_set_name (hpaned1, "hpaned1");
- gtk_widget_show (hpaned1);
- gtk_box_pack_start (GTK_BOX (vbox1), hpaned1, TRUE, TRUE, 0);
-
- vbox10 = gtk_vbox_new (FALSE, 0);
- gtk_widget_set_name (vbox10, "vbox10");
- gtk_widget_show (vbox10);
- gtk_paned_pack1 (GTK_PANED (hpaned1), vbox10, FALSE, TRUE);
- gtk_widget_set_size_request (vbox10, 650, -1);
-
- code_notebook = gtk_notebook_new ();
- gtk_widget_set_name (code_notebook, "code_notebook");
- gtk_widget_show (code_notebook);
- gtk_box_pack_start (GTK_BOX (vbox10), code_notebook, TRUE, TRUE, 0);
- gtk_widget_set_size_request (code_notebook, -1, 300);
- gtk_notebook_set_show_border (GTK_NOTEBOOK (code_notebook), FALSE);
- gtk_notebook_set_scrollable (GTK_NOTEBOOK (code_notebook), TRUE);
-
- scrolledwindow13 = gtk_scrolled_window_new (NULL, NULL);
- gtk_widget_set_name (scrolledwindow13, "scrolledwindow13");
- gtk_widget_show (scrolledwindow13);
- gtk_container_add (GTK_CONTAINER (code_notebook), scrolledwindow13);
- gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow13), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
- gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow13), GTK_SHADOW_IN);
-
- treeview7 = gtk_tree_view_new ();
- gtk_widget_set_name (treeview7, "treeview7");
- gtk_widget_show (treeview7);
- gtk_container_add (GTK_CONTAINER (scrolledwindow13), treeview7);
- gtk_widget_set_sensitive (treeview7, FALSE);
- gtk_tree_view_set_enable_search (GTK_TREE_VIEW (treeview7), FALSE);
-
- label38 = gtk_label_new ("label1");
- gtk_widget_set_name (label38, "label38");
- gtk_widget_show (label38);
- gtk_notebook_set_tab_label (GTK_NOTEBOOK (code_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (code_notebook), 0), label38);
-
- notebook7 = gtk_notebook_new ();
- gtk_widget_set_name (notebook7, "notebook7");
- gtk_widget_show (notebook7);
- gtk_box_pack_start (GTK_BOX (vbox10), notebook7, TRUE, TRUE, 0);
-
- scrolledwindow12 = gtk_scrolled_window_new (NULL, NULL);
- gtk_widget_set_name (scrolledwindow12, "scrolledwindow12");
- gtk_widget_show (scrolledwindow12);
- gtk_container_add (GTK_CONTAINER (notebook7), scrolledwindow12);
- gtk_widget_set_size_request (scrolledwindow12, -1, 170);
- gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow12), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
- gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow12), GTK_SHADOW_IN);
-
- stack_view = gtk_tree_view_new ();
- gtk_widget_set_name (stack_view, "stack_view");
- gtk_widget_show (stack_view);
- gtk_container_add (GTK_CONTAINER (scrolledwindow12), stack_view);
- gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (stack_view), TRUE);
-
- label36 = gtk_label_new_with_mnemonic ("S_tack");
- gtk_widget_set_name (label36, "label36");
- gtk_widget_show (label36);
- gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook7), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook7), 0), label36);
-
- vbox9 = gtk_vbox_new (FALSE, 0);
- gtk_widget_set_name (vbox9, "vbox9");
- gtk_widget_show (vbox9);
- gtk_container_add (GTK_CONTAINER (notebook7), vbox9);
- gtk_widget_set_size_request (vbox9, -1, 170);
-
- scrolledwindow11 = gtk_scrolled_window_new (NULL, NULL);
- gtk_widget_set_name (scrolledwindow11, "scrolledwindow11");
- gtk_widget_show (scrolledwindow11);
- gtk_box_pack_start (GTK_BOX (vbox9), scrolledwindow11, TRUE, TRUE, 0);
- gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow11), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
- gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow11), GTK_SHADOW_IN);
-
- breakpoint_view = gtk_tree_view_new ();
- gtk_widget_set_name (breakpoint_view, "breakpoint_view");
- gtk_widget_show (breakpoint_view);
- gtk_container_add (GTK_CONTAINER (scrolledwindow11), breakpoint_view);
- gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (breakpoint_view), TRUE);
-
- hbuttonbox1 = gtk_hbutton_box_new ();
- gtk_widget_set_name (hbuttonbox1, "hbuttonbox1");
- gtk_widget_show (hbuttonbox1);
- gtk_box_pack_start (GTK_BOX (vbox9), hbuttonbox1, FALSE, FALSE, 0);
- gtk_button_box_set_layout (GTK_BUTTON_BOX (hbuttonbox1), GTK_BUTTONBOX_END);
-
- main_add_bp_button = gtk_button_new ();
- gtk_widget_set_name (main_add_bp_button, "main_add_bp_button");
- gtk_widget_show (main_add_bp_button);
- gtk_container_add (GTK_CONTAINER (hbuttonbox1), main_add_bp_button);
- GTK_WIDGET_SET_FLAGS (main_add_bp_button, GTK_CAN_DEFAULT);
- gtk_button_set_relief (GTK_BUTTON (main_add_bp_button), GTK_RELIEF_NONE);
-
- alignment17 = gtk_alignment_new (0.5, 0.5, 0, 0);
- gtk_widget_set_name (alignment17, "alignment17");
- gtk_widget_show (alignment17);
- gtk_container_add (GTK_CONTAINER (main_add_bp_button), alignment17);
-
- hbox7 = gtk_hbox_new (FALSE, 2);
- gtk_widget_set_name (hbox7, "hbox7");
- gtk_widget_show (hbox7);
- gtk_container_add (GTK_CONTAINER (alignment17), hbox7);
-
- image8 = create_pixmap (MainWindow, "list-add.png");
- gtk_widget_set_name (image8, "image8");
- gtk_widget_show (image8);
- gtk_box_pack_start (GTK_BOX (hbox7), image8, FALSE, FALSE, 0);
-
- label32 = gtk_label_new_with_mnemonic ("_Add");
- gtk_widget_set_name (label32, "label32");
- gtk_widget_show (label32);
- gtk_box_pack_start (GTK_BOX (hbox7), label32, FALSE, FALSE, 0);
-
- main_edit_bp_button = gtk_button_new ();
- gtk_widget_set_name (main_edit_bp_button, "main_edit_bp_button");
- gtk_widget_show (main_edit_bp_button);
- gtk_container_add (GTK_CONTAINER (hbuttonbox1), main_edit_bp_button);
- GTK_WIDGET_SET_FLAGS (main_edit_bp_button, GTK_CAN_DEFAULT);
- gtk_button_set_relief (GTK_BUTTON (main_edit_bp_button), GTK_RELIEF_NONE);
-
- alignment18 = gtk_alignment_new (0.5, 0.5, 0, 0);
- gtk_widget_set_name (alignment18, "alignment18");
- gtk_widget_show (alignment18);
- gtk_container_add (GTK_CONTAINER (main_edit_bp_button), alignment18);
-
- hbox8 = gtk_hbox_new (FALSE, 2);
- gtk_widget_set_name (hbox8, "hbox8");
- gtk_widget_show (hbox8);
- gtk_container_add (GTK_CONTAINER (alignment18), hbox8);
-
- image9 = create_pixmap (MainWindow, "edit-find-replace.png");
- gtk_widget_set_name (image9, "image9");
- gtk_widget_show (image9);
- gtk_box_pack_start (GTK_BOX (hbox8), image9, FALSE, FALSE, 0);
-
- label33 = gtk_label_new_with_mnemonic ("_Edit");
- gtk_widget_set_name (label33, "label33");
- gtk_widget_show (label33);
- gtk_box_pack_start (GTK_BOX (hbox8), label33, FALSE, FALSE, 0);
-
- main_remove_bp_button = gtk_button_new ();
- gtk_widget_set_name (main_remove_bp_button, "main_remove_bp_button");
- gtk_widget_show (main_remove_bp_button);
- gtk_container_add (GTK_CONTAINER (hbuttonbox1), main_remove_bp_button);
- GTK_WIDGET_SET_FLAGS (main_remove_bp_button, GTK_CAN_DEFAULT);
- gtk_button_set_relief (GTK_BUTTON (main_remove_bp_button), GTK_RELIEF_NONE);
-
- alignment19 = gtk_alignment_new (0.5, 0.5, 0, 0);
- gtk_widget_set_name (alignment19, "alignment19");
- gtk_widget_show (alignment19);
- gtk_container_add (GTK_CONTAINER (main_remove_bp_button), alignment19);
-
- hbox9 = gtk_hbox_new (FALSE, 2);
- gtk_widget_set_name (hbox9, "hbox9");
- gtk_widget_show (hbox9);
- gtk_container_add (GTK_CONTAINER (alignment19), hbox9);
-
- image10 = create_pixmap (MainWindow, "list-remove.png");
- gtk_widget_set_name (image10, "image10");
- gtk_widget_show (image10);
- gtk_box_pack_start (GTK_BOX (hbox9), image10, FALSE, FALSE, 0);
-
- label34 = gtk_label_new_with_mnemonic ("_Remove");
- gtk_widget_set_name (label34, "label34");
- gtk_widget_show (label34);
- gtk_box_pack_start (GTK_BOX (hbox9), label34, FALSE, FALSE, 0);
-
- label35 = gtk_label_new_with_mnemonic ("_Breakpoints");
- gtk_widget_set_name (label35, "label35");
- gtk_widget_show (label35);
- gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook7), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook7), 1), label35);
-
- alignment20 = gtk_alignment_new (0.5, 0.5, 1, 1);
- gtk_widget_set_name (alignment20, "alignment20");
- gtk_widget_show (alignment20);
- gtk_paned_pack2 (GTK_PANED (hpaned1), alignment20, TRUE, TRUE);
-
- viewport1 = gtk_viewport_new (NULL, NULL);
- gtk_widget_set_name (viewport1, "viewport1");
- gtk_widget_show (viewport1);
- gtk_container_add (GTK_CONTAINER (alignment20), viewport1);
- gtk_viewport_set_shadow_type (GTK_VIEWPORT (viewport1), GTK_SHADOW_ETCHED_OUT);
-
- vbox11 = gtk_vbox_new (FALSE, 0);
- gtk_widget_set_name (vbox11, "vbox11");
- gtk_widget_show (vbox11);
- gtk_container_add (GTK_CONTAINER (viewport1), vbox11);
-
- alignment21 = gtk_alignment_new (0.5, 0.5, 1, 1);
- gtk_widget_set_name (alignment21, "alignment21");
- gtk_widget_show (alignment21);
- gtk_box_pack_start (GTK_BOX (vbox11), alignment21, FALSE, FALSE, 0);
- gtk_alignment_set_padding (GTK_ALIGNMENT (alignment21), 0, 4, 0, 0);
-
- eventbox1 = gtk_event_box_new ();
- gtk_widget_set_name (eventbox1, "eventbox1");
- gtk_widget_show (eventbox1);
- gtk_container_add (GTK_CONTAINER (alignment21), eventbox1);
-
- label40 = gtk_label_new ("<big><b>Variables</b></big>");
- gtk_widget_set_name (label40, "label40");
- gtk_widget_show (label40);
- gtk_container_add (GTK_CONTAINER (eventbox1), label40);
- gtk_label_set_use_markup (GTK_LABEL (label40), TRUE);
- gtk_misc_set_alignment (GTK_MISC (label40), 0.01, 0.5);
-
- scrolledwindow15 = gtk_scrolled_window_new (NULL, NULL);
- gtk_widget_set_name (scrolledwindow15, "scrolledwindow15");
- gtk_widget_show (scrolledwindow15);
- gtk_box_pack_start (GTK_BOX (vbox11), scrolledwindow15, TRUE, TRUE, 0);
- gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow15), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
-
- var_view = gtk_tree_view_new ();
- gtk_widget_set_name (var_view, "var_view");
- gtk_widget_show (var_view);
- gtk_container_add (GTK_CONTAINER (scrolledwindow15), var_view);
- gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (var_view), TRUE);
- gtk_tree_view_set_reorderable (GTK_TREE_VIEW (var_view), TRUE);
-
- statusbar = gtk_statusbar_new ();
- gtk_widget_set_name (statusbar, "statusbar");
- gtk_widget_show (statusbar);
- gtk_box_pack_start (GTK_BOX (vbox1), statusbar, FALSE, FALSE, 0);
- gtk_statusbar_set_has_resize_grip (GTK_STATUSBAR (statusbar), FALSE);
-
- g_signal_connect ((gpointer) quitmenuitem, "activate",
- G_CALLBACK (on_quit_activate),
- NULL);
- g_signal_connect ((gpointer) imagemenuitem2, "activate",
- G_CALLBACK (on_preferences_activate),
- NULL);
- g_signal_connect ((gpointer) menuitem4, "activate",
- G_CALLBACK (on_add_breakpoint_menu_item_activate),
- NULL);
- g_signal_connect ((gpointer) menuitem5, "activate",
- G_CALLBACK (on_continue_menu_item_activate),
- NULL);
- g_signal_connect ((gpointer) menuitem6, "activate",
- G_CALLBACK (on_step_over_menu_item_activate),
- NULL);
- g_signal_connect ((gpointer) menuitem7, "activate",
- G_CALLBACK (on_step_in_menu_item_activate),
- NULL);
- g_signal_connect ((gpointer) menuitem8, "activate",
- G_CALLBACK (on_step_out_menu_item_activate),
- NULL);
- g_signal_connect ((gpointer) menuitem9, "activate",
- G_CALLBACK (on_detach_debugger_menu_item_activate),
- NULL);
- g_signal_connect ((gpointer) menuitem10, "activate",
- G_CALLBACK (on_stop_debugging_menu_item_activate),
- NULL);
- g_signal_connect ((gpointer) imagemenuitem3, "activate",
- G_CALLBACK (on_about_activate),
- NULL);
- g_signal_connect ((gpointer) continue_button, "clicked",
- G_CALLBACK (on_continue_button_clicked),
- NULL);
- g_signal_connect ((gpointer) step_over_button, "clicked",
- G_CALLBACK (on_step_over_button_clicked),
- NULL);
- g_signal_connect ((gpointer) step_in_button, "clicked",
- G_CALLBACK (on_step_in_button_clicked),
- NULL);
- g_signal_connect ((gpointer) step_out_button, "clicked",
- G_CALLBACK (on_step_out_button_clicked),
- NULL);
- g_signal_connect ((gpointer) detach_button, "clicked",
- G_CALLBACK (on_detach_button_clicked),
- NULL);
- g_signal_connect ((gpointer) kill_button, "clicked",
- G_CALLBACK (on_kill_button_clicked),
- NULL);
- g_signal_connect ((gpointer) stack_view, "select_cursor_row",
- G_CALLBACK (on_stack_view_select_cursor_row),
- NULL);
- g_signal_connect ((gpointer) main_add_bp_button, "clicked",
- G_CALLBACK (on_main_add_bp_button_activate),
- NULL);
- g_signal_connect ((gpointer) main_edit_bp_button, "clicked",
- G_CALLBACK (on_main_edit_bp_button_activate),
- NULL);
- g_signal_connect ((gpointer) main_remove_bp_button, "clicked",
- G_CALLBACK (on_main_remove_bp_button_activate),
- NULL);
- g_signal_connect ((gpointer) var_view, "select_cursor_row",
- G_CALLBACK (on_var_view_select_cursor_row),
- NULL);
-
- /* Store pointers to all widgets, for use by lookup_widget(). */
- GLADE_HOOKUP_OBJECT_NO_REF (MainWindow, MainWindow, "MainWindow");
- GLADE_HOOKUP_OBJECT (MainWindow, vbox1, "vbox1");
- GLADE_HOOKUP_OBJECT (MainWindow, menubar1, "menubar1");
- GLADE_HOOKUP_OBJECT (MainWindow, menuitem1, "menuitem1");
- GLADE_HOOKUP_OBJECT (MainWindow, menuitem1_menu, "menuitem1_menu");
- GLADE_HOOKUP_OBJECT (MainWindow, quitmenuitem, "quitmenuitem");
- GLADE_HOOKUP_OBJECT (MainWindow, image42, "image42");
- GLADE_HOOKUP_OBJECT (MainWindow, menuitem2, "menuitem2");
- GLADE_HOOKUP_OBJECT (MainWindow, menuitem2_menu, "menuitem2_menu");
- GLADE_HOOKUP_OBJECT (MainWindow, imagemenuitem2, "imagemenuitem2");
- GLADE_HOOKUP_OBJECT (MainWindow, image43, "image43");
- GLADE_HOOKUP_OBJECT (MainWindow, menuitem3, "menuitem3");
- GLADE_HOOKUP_OBJECT (MainWindow, menuitem3_menu, "menuitem3_menu");
- GLADE_HOOKUP_OBJECT (MainWindow, menuitem4, "menuitem4");
- GLADE_HOOKUP_OBJECT (MainWindow, image44, "image44");
- GLADE_HOOKUP_OBJECT (MainWindow, separatormenuitem1, "separatormenuitem1");
- GLADE_HOOKUP_OBJECT (MainWindow, menuitem5, "menuitem5");
- GLADE_HOOKUP_OBJECT (MainWindow, image45, "image45");
- GLADE_HOOKUP_OBJECT (MainWindow, separatormenuitem2, "separatormenuitem2");
- GLADE_HOOKUP_OBJECT (MainWindow, menuitem6, "menuitem6");
- GLADE_HOOKUP_OBJECT (MainWindow, image46, "image46");
- GLADE_HOOKUP_OBJECT (MainWindow, menuitem7, "menuitem7");
- GLADE_HOOKUP_OBJECT (MainWindow, image47, "image47");
- GLADE_HOOKUP_OBJECT (MainWindow, menuitem8, "menuitem8");
- GLADE_HOOKUP_OBJECT (MainWindow, image48, "image48");
- GLADE_HOOKUP_OBJECT (MainWindow, separatormenuitem3, "separatormenuitem3");
- GLADE_HOOKUP_OBJECT (MainWindow, menuitem9, "menuitem9");
- GLADE_HOOKUP_OBJECT (MainWindow, image49, "image49");
- GLADE_HOOKUP_OBJECT (MainWindow, menuitem10, "menuitem10");
- GLADE_HOOKUP_OBJECT (MainWindow, image50, "image50");
- GLADE_HOOKUP_OBJECT (MainWindow, menuitem11, "menuitem11");
- GLADE_HOOKUP_OBJECT (MainWindow, menuitem11_menu, "menuitem11_menu");
- GLADE_HOOKUP_OBJECT (MainWindow, imagemenuitem3, "imagemenuitem3");
- GLADE_HOOKUP_OBJECT (MainWindow, image51, "image51");
- GLADE_HOOKUP_OBJECT (MainWindow, toolbar1, "toolbar1");
- GLADE_HOOKUP_OBJECT (MainWindow, continue_button, "continue_button");
- GLADE_HOOKUP_OBJECT (MainWindow, separatortoolitem1, "separatortoolitem1");
- GLADE_HOOKUP_OBJECT (MainWindow, step_over_button, "step_over_button");
- GLADE_HOOKUP_OBJECT (MainWindow, step_in_button, "step_in_button");
- GLADE_HOOKUP_OBJECT (MainWindow, step_out_button, "step_out_button");
- GLADE_HOOKUP_OBJECT (MainWindow, separatortoolitem2, "separatortoolitem2");
- GLADE_HOOKUP_OBJECT (MainWindow, detach_button, "detach_button");
- GLADE_HOOKUP_OBJECT (MainWindow, kill_button, "kill_button");
- GLADE_HOOKUP_OBJECT (MainWindow, last_message_label, "last_message_label");
- GLADE_HOOKUP_OBJECT (MainWindow, hseparator1, "hseparator1");
- GLADE_HOOKUP_OBJECT (MainWindow, hpaned1, "hpaned1");
- GLADE_HOOKUP_OBJECT (MainWindow, vbox10, "vbox10");
- GLADE_HOOKUP_OBJECT (MainWindow, code_notebook, "code_notebook");
- GLADE_HOOKUP_OBJECT (MainWindow, scrolledwindow13, "scrolledwindow13");
- GLADE_HOOKUP_OBJECT (MainWindow, treeview7, "treeview7");
- GLADE_HOOKUP_OBJECT (MainWindow, label38, "label38");
- GLADE_HOOKUP_OBJECT (MainWindow, notebook7, "notebook7");
- GLADE_HOOKUP_OBJECT (MainWindow, scrolledwindow12, "scrolledwindow12");
- GLADE_HOOKUP_OBJECT (MainWindow, stack_view, "stack_view");
- GLADE_HOOKUP_OBJECT (MainWindow, label36, "label36");
- GLADE_HOOKUP_OBJECT (MainWindow, vbox9, "vbox9");
- GLADE_HOOKUP_OBJECT (MainWindow, scrolledwindow11, "scrolledwindow11");
- GLADE_HOOKUP_OBJECT (MainWindow, breakpoint_view, "breakpoint_view");
- GLADE_HOOKUP_OBJECT (MainWindow, hbuttonbox1, "hbuttonbox1");
- GLADE_HOOKUP_OBJECT (MainWindow, main_add_bp_button, "main_add_bp_button");
- GLADE_HOOKUP_OBJECT (MainWindow, alignment17, "alignment17");
- GLADE_HOOKUP_OBJECT (MainWindow, hbox7, "hbox7");
- GLADE_HOOKUP_OBJECT (MainWindow, image8, "image8");
- GLADE_HOOKUP_OBJECT (MainWindow, label32, "label32");
- GLADE_HOOKUP_OBJECT (MainWindow, main_edit_bp_button, "main_edit_bp_button");
- GLADE_HOOKUP_OBJECT (MainWindow, alignment18, "alignment18");
- GLADE_HOOKUP_OBJECT (MainWindow, hbox8, "hbox8");
- GLADE_HOOKUP_OBJECT (MainWindow, image9, "image9");
- GLADE_HOOKUP_OBJECT (MainWindow, label33, "label33");
- GLADE_HOOKUP_OBJECT (MainWindow, main_remove_bp_button, "main_remove_bp_button");
- GLADE_HOOKUP_OBJECT (MainWindow, alignment19, "alignment19");
- GLADE_HOOKUP_OBJECT (MainWindow, hbox9, "hbox9");
- GLADE_HOOKUP_OBJECT (MainWindow, image10, "image10");
- GLADE_HOOKUP_OBJECT (MainWindow, label34, "label34");
- GLADE_HOOKUP_OBJECT (MainWindow, label35, "label35");
- GLADE_HOOKUP_OBJECT (MainWindow, alignment20, "alignment20");
- GLADE_HOOKUP_OBJECT (MainWindow, viewport1, "viewport1");
- GLADE_HOOKUP_OBJECT (MainWindow, vbox11, "vbox11");
- GLADE_HOOKUP_OBJECT (MainWindow, alignment21, "alignment21");
- GLADE_HOOKUP_OBJECT (MainWindow, eventbox1, "eventbox1");
- GLADE_HOOKUP_OBJECT (MainWindow, label40, "label40");
- GLADE_HOOKUP_OBJECT (MainWindow, scrolledwindow15, "scrolledwindow15");
- GLADE_HOOKUP_OBJECT (MainWindow, var_view, "var_view");
- GLADE_HOOKUP_OBJECT (MainWindow, statusbar, "statusbar");
- GLADE_HOOKUP_OBJECT_NO_REF (MainWindow, tooltips, "tooltips");
-
- gtk_window_add_accel_group (GTK_WINDOW (MainWindow), accel_group);
-
- return MainWindow;
-}
-
-GtkWidget*
-create_AddBreakPointWindow (void)
-{
- GtkWidget *AddBreakPointWindow;
- GtkWidget *vbox3;
- GtkWidget *breakpoint_type_notebook;
- GtkWidget *frame7;
- GtkWidget *alignment29;
- GtkWidget *table7;
- GtkWidget *bp_filename;
- GtkWidget *bp_linenumber;
- GtkWidget *filename;
- GtkWidget *linenumber;
- GtkWidget *label56;
- GtkWidget *fileline_label;
- GtkWidget *frame5;
- GtkWidget *alignment27;
- GtkWidget *table5;
- GtkWidget *bp_classname;
- GtkWidget *bp_functionname;
- GtkWidget *label47;
- GtkWidget *label50;
- GtkWidget *label49;
- GtkWidget *function_label;
- GtkWidget *frame6;
- GtkWidget *alignment28;
- GtkWidget *table6;
- GtkWidget *bp_exceptionname;
- GtkWidget *label51;
- GtkWidget *label53;
- GtkWidget *exception_label;
- GtkWidget *alignment31;
- GtkWidget *condition_frame;
- GtkWidget *alignment2;
- GtkWidget *table8;
- GtkWidget *vbox12;
- GtkWidget *bp_hitcondition;
- GSList *bp_hitcondition_group = NULL;
- GtkWidget *radiobutton2;
- GtkWidget *radiobutton3;
- GtkWidget *radiobutton4;
- GtkWidget *alignment30;
- GtkWidget *label57;
- GtkObject *bp_hitvalue_adj;
- GtkWidget *bp_hitvalue;
- GtkWidget *bp_temporary;
- GtkWidget *label58;
- GtkWidget *label59;
- GtkWidget *bp_enabled;
- GtkWidget *label60;
- GtkWidget *condition_frame_label;
- GtkWidget *alignment32;
- GtkWidget *hbuttonbox2;
- GtkWidget *add_bp_cancel_button;
- GtkWidget *alignment24;
- GtkWidget *hbox13;
- GtkWidget *image41;
- GtkWidget *label43;
- GtkWidget *add_bp_add_button;
- GtkWidget *alignment23;
- GtkWidget *hbox12;
- GtkWidget *image40;
- GtkWidget *label42;
- GtkTooltips *tooltips;
-
- tooltips = gtk_tooltips_new ();
-
- AddBreakPointWindow = gtk_window_new (GTK_WINDOW_TOPLEVEL);
- gtk_widget_set_name (AddBreakPointWindow, "AddBreakPointWindow");
- gtk_window_set_title (GTK_WINDOW (AddBreakPointWindow), "Add Breakpoint");
- gtk_window_set_position (GTK_WINDOW (AddBreakPointWindow), GTK_WIN_POS_CENTER_ON_PARENT);
- gtk_window_set_modal (GTK_WINDOW (AddBreakPointWindow), TRUE);
- gtk_window_set_resizable (GTK_WINDOW (AddBreakPointWindow), FALSE);
- gtk_window_set_type_hint (GTK_WINDOW (AddBreakPointWindow), GDK_WINDOW_TYPE_HINT_DIALOG);
-
- vbox3 = gtk_vbox_new (FALSE, 0);
- gtk_widget_set_name (vbox3, "vbox3");
- gtk_widget_show (vbox3);
- gtk_container_add (GTK_CONTAINER (AddBreakPointWindow), vbox3);
-
- breakpoint_type_notebook = gtk_notebook_new ();
- gtk_widget_set_name (breakpoint_type_notebook, "breakpoint_type_notebook");
- gtk_widget_show (breakpoint_type_notebook);
- gtk_box_pack_start (GTK_BOX (vbox3), breakpoint_type_notebook, TRUE, TRUE, 0);
- gtk_widget_set_size_request (breakpoint_type_notebook, -1, 108);
-
- frame7 = gtk_frame_new (NULL);
- gtk_widget_set_name (frame7, "frame7");
- gtk_widget_show (frame7);
- gtk_container_add (GTK_CONTAINER (breakpoint_type_notebook), frame7);
-
- alignment29 = gtk_alignment_new (0.5, 0.5, 1, 1);
- gtk_widget_set_name (alignment29, "alignment29");
- gtk_widget_show (alignment29);
- gtk_container_add (GTK_CONTAINER (frame7), alignment29);
- gtk_alignment_set_padding (GTK_ALIGNMENT (alignment29), 4, 4, 12, 0);
-
- table7 = gtk_table_new (2, 3, FALSE);
- gtk_widget_set_name (table7, "table7");
- gtk_widget_show (table7);
- gtk_container_add (GTK_CONTAINER (alignment29), table7);
-
- bp_filename = gtk_entry_new ();
- gtk_widget_set_name (bp_filename, "bp_filename");
- gtk_widget_show (bp_filename);
- gtk_table_attach (GTK_TABLE (table7), bp_filename, 1, 2, 0, 1,
- (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
- (GtkAttachOptions) (0), 0, 0);
-
- bp_linenumber = gtk_entry_new ();
- gtk_widget_set_name (bp_linenumber, "bp_linenumber");
- gtk_widget_show (bp_linenumber);
- gtk_table_attach (GTK_TABLE (table7), bp_linenumber, 1, 2, 1, 2,
- (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
- (GtkAttachOptions) (0), 0, 0);
-
- filename = gtk_label_new_with_mnemonic ("F_ile name:");
- gtk_widget_set_name (filename, "filename");
- gtk_widget_show (filename);
- gtk_table_attach (GTK_TABLE (table7), filename, 0, 1, 0, 1,
- (GtkAttachOptions) (GTK_FILL),
- (GtkAttachOptions) (0), 4, 4);
- gtk_widget_set_size_request (filename, 150, -1);
- gtk_label_set_justify (GTK_LABEL (filename), GTK_JUSTIFY_RIGHT);
- gtk_misc_set_alignment (GTK_MISC (filename), 0, 0.5);
- gtk_label_set_ellipsize (GTK_LABEL (filename), PANGO_ELLIPSIZE_START);
-
- linenumber = gtk_label_new_with_mnemonic ("_Line number:");
- gtk_widget_set_name (linenumber, "linenumber");
- gtk_widget_show (linenumber);
- gtk_table_attach (GTK_TABLE (table7), linenumber, 0, 1, 1, 2,
- (GtkAttachOptions) (GTK_FILL),
- (GtkAttachOptions) (0), 4, 4);
- gtk_widget_set_size_request (linenumber, 150, -1);
- gtk_label_set_justify (GTK_LABEL (linenumber), GTK_JUSTIFY_RIGHT);
- gtk_misc_set_alignment (GTK_MISC (linenumber), 0, 0.5);
- gtk_label_set_ellipsize (GTK_LABEL (linenumber), PANGO_ELLIPSIZE_START);
-
- label56 = gtk_label_new ("<b>Location</b>");
- gtk_widget_set_name (label56, "label56");
- gtk_widget_show (label56);
- gtk_frame_set_label_widget (GTK_FRAME (frame7), label56);
- gtk_label_set_use_markup (GTK_LABEL (label56), TRUE);
-
- fileline_label = gtk_label_new_with_mnemonic ("_File/Line");
- gtk_widget_set_name (fileline_label, "fileline_label");
- gtk_widget_show (fileline_label);
- gtk_notebook_set_tab_label (GTK_NOTEBOOK (breakpoint_type_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (breakpoint_type_notebook), 0), fileline_label);
-
- frame5 = gtk_frame_new (NULL);
- gtk_widget_set_name (frame5, "frame5");
- gtk_widget_show (frame5);
- gtk_container_add (GTK_CONTAINER (breakpoint_type_notebook), frame5);
-
- alignment27 = gtk_alignment_new (0.5, 0.5, 1, 1);
- gtk_widget_set_name (alignment27, "alignment27");
- gtk_widget_show (alignment27);
- gtk_container_add (GTK_CONTAINER (frame5), alignment27);
- gtk_alignment_set_padding (GTK_ALIGNMENT (alignment27), 4, 4, 12, 0);
-
- table5 = gtk_table_new (2, 3, FALSE);
- gtk_widget_set_name (table5, "table5");
- gtk_widget_show (table5);
- gtk_container_add (GTK_CONTAINER (alignment27), table5);
-
- bp_classname = gtk_entry_new ();
- gtk_widget_set_name (bp_classname, "bp_classname");
- gtk_widget_show (bp_classname);
- gtk_table_attach (GTK_TABLE (table5), bp_classname, 1, 2, 0, 1,
- (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
- (GtkAttachOptions) (0), 0, 0);
-
- bp_functionname = gtk_entry_new ();
- gtk_widget_set_name (bp_functionname, "bp_functionname");
- gtk_widget_show (bp_functionname);
- gtk_table_attach (GTK_TABLE (table5), bp_functionname, 1, 2, 1, 2,
- (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
- (GtkAttachOptions) (0), 0, 0);
-
- label47 = gtk_label_new_with_mnemonic ("Cla_ss name:");
- gtk_widget_set_name (label47, "label47");
- gtk_widget_show (label47);
- gtk_table_attach (GTK_TABLE (table5), label47, 0, 1, 0, 1,
- (GtkAttachOptions) (GTK_FILL),
- (GtkAttachOptions) (0), 4, 4);
- gtk_widget_set_size_request (label47, 150, -1);
- gtk_label_set_justify (GTK_LABEL (label47), GTK_JUSTIFY_RIGHT);
- gtk_misc_set_alignment (GTK_MISC (label47), 0, 0.5);
- gtk_label_set_ellipsize (GTK_LABEL (label47), PANGO_ELLIPSIZE_START);
-
- label50 = gtk_label_new_with_mnemonic ("Func_tion name:");
- gtk_widget_set_name (label50, "label50");
- gtk_widget_show (label50);
- gtk_table_attach (GTK_TABLE (table5), label50, 0, 1, 1, 2,
- (GtkAttachOptions) (GTK_FILL),
- (GtkAttachOptions) (0), 4, 4);
- gtk_widget_set_size_request (label50, 150, -1);
- gtk_label_set_justify (GTK_LABEL (label50), GTK_JUSTIFY_RIGHT);
- gtk_misc_set_alignment (GTK_MISC (label50), 0, 0.5);
- gtk_label_set_ellipsize (GTK_LABEL (label50), PANGO_ELLIPSIZE_START);
-
- label49 = gtk_label_new ("<b>Function</b>");
- gtk_widget_set_name (label49, "label49");
- gtk_widget_show (label49);
- gtk_frame_set_label_widget (GTK_FRAME (frame5), label49);
- gtk_label_set_use_markup (GTK_LABEL (label49), TRUE);
-
- function_label = gtk_label_new_with_mnemonic ("Fu_nction");
- gtk_widget_set_name (function_label, "function_label");
- gtk_widget_show (function_label);
- gtk_notebook_set_tab_label (GTK_NOTEBOOK (breakpoint_type_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (breakpoint_type_notebook), 1), function_label);
-
- frame6 = gtk_frame_new (NULL);
- gtk_widget_set_name (frame6, "frame6");
- gtk_widget_show (frame6);
- gtk_container_add (GTK_CONTAINER (breakpoint_type_notebook), frame6);
-
- alignment28 = gtk_alignment_new (0.5, 0.5, 1, 1);
- gtk_widget_set_name (alignment28, "alignment28");
- gtk_widget_show (alignment28);
- gtk_container_add (GTK_CONTAINER (frame6), alignment28);
- gtk_alignment_set_padding (GTK_ALIGNMENT (alignment28), 4, 4, 12, 0);
-
- table6 = gtk_table_new (1, 3, FALSE);
- gtk_widget_set_name (table6, "table6");
- gtk_widget_show (table6);
- gtk_container_add (GTK_CONTAINER (alignment28), table6);
-
- bp_exceptionname = gtk_entry_new ();
- gtk_widget_set_name (bp_exceptionname, "bp_exceptionname");
- gtk_widget_show (bp_exceptionname);
- gtk_table_attach (GTK_TABLE (table6), bp_exceptionname, 1, 2, 0, 1,
- (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
- (GtkAttachOptions) (0), 0, 0);
-
- label51 = gtk_label_new_with_mnemonic ("_Exception name:");
- gtk_widget_set_name (label51, "label51");
- gtk_widget_show (label51);
- gtk_table_attach (GTK_TABLE (table6), label51, 0, 1, 0, 1,
- (GtkAttachOptions) (GTK_FILL),
- (GtkAttachOptions) (0), 4, 4);
- gtk_widget_set_size_request (label51, 150, -1);
- gtk_label_set_justify (GTK_LABEL (label51), GTK_JUSTIFY_RIGHT);
- gtk_misc_set_alignment (GTK_MISC (label51), 0, 0.5);
- gtk_label_set_ellipsize (GTK_LABEL (label51), PANGO_ELLIPSIZE_START);
-
- label53 = gtk_label_new ("<b>Function</b>");
- gtk_widget_set_name (label53, "label53");
- gtk_widget_show (label53);
- gtk_frame_set_label_widget (GTK_FRAME (frame6), label53);
- gtk_label_set_use_markup (GTK_LABEL (label53), TRUE);
-
- exception_label = gtk_label_new_with_mnemonic ("E_xception");
- gtk_widget_set_name (exception_label, "exception_label");
- gtk_widget_show (exception_label);
- gtk_notebook_set_tab_label (GTK_NOTEBOOK (breakpoint_type_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (breakpoint_type_notebook), 2), exception_label);
-
- alignment31 = gtk_alignment_new (0.5, 0.5, 1, 1);
- gtk_widget_set_name (alignment31, "alignment31");
- gtk_widget_show (alignment31);
- gtk_box_pack_start (GTK_BOX (vbox3), alignment31, TRUE, TRUE, 0);
- gtk_alignment_set_padding (GTK_ALIGNMENT (alignment31), 4, 2, 0, 0);
-
- condition_frame = gtk_frame_new (NULL);
- gtk_widget_set_name (condition_frame, "condition_frame");
- gtk_widget_show (condition_frame);
- gtk_container_add (GTK_CONTAINER (alignment31), condition_frame);
-
- alignment2 = gtk_alignment_new (0.5, 0.5, 1, 1);
- gtk_widget_set_name (alignment2, "alignment2");
- gtk_widget_show (alignment2);
- gtk_container_add (GTK_CONTAINER (condition_frame), alignment2);
- gtk_widget_set_size_request (alignment2, 450, -1);
- gtk_alignment_set_padding (GTK_ALIGNMENT (alignment2), 0, 0, 12, 0);
-
- table8 = gtk_table_new (4, 3, FALSE);
- gtk_widget_set_name (table8, "table8");
- gtk_widget_show (table8);
- gtk_container_add (GTK_CONTAINER (alignment2), table8);
- gtk_table_set_row_spacings (GTK_TABLE (table8), 5);
- gtk_table_set_col_spacings (GTK_TABLE (table8), 2);
-
- vbox12 = gtk_vbox_new (FALSE, 0);
- gtk_widget_set_name (vbox12, "vbox12");
- gtk_widget_show (vbox12);
- gtk_table_attach (GTK_TABLE (table8), vbox12, 1, 2, 0, 1,
- (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
- (GtkAttachOptions) (GTK_FILL), 0, 0);
-
- bp_hitcondition = gtk_radio_button_new_with_mnemonic (NULL, "A_lways");
- gtk_widget_set_name (bp_hitcondition, "bp_hitcondition");
- gtk_widget_show (bp_hitcondition);
- gtk_box_pack_start (GTK_BOX (vbox12), bp_hitcondition, FALSE, FALSE, 0);
- gtk_radio_button_set_group (GTK_RADIO_BUTTON (bp_hitcondition), bp_hitcondition_group);
- bp_hitcondition_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (bp_hitcondition));
- gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (bp_hitcondition), TRUE);
-
- radiobutton2 = gtk_radio_button_new_with_mnemonic (NULL, "_More than x hits");
- gtk_widget_set_name (radiobutton2, "radiobutton2");
- gtk_widget_show (radiobutton2);
- gtk_box_pack_start (GTK_BOX (vbox12), radiobutton2, FALSE, FALSE, 0);
- gtk_radio_button_set_group (GTK_RADIO_BUTTON (radiobutton2), bp_hitcondition_group);
- bp_hitcondition_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radiobutton2));
-
- radiobutton3 = gtk_radio_button_new_with_mnemonic (NULL, "Exactl_y x hits");
- gtk_widget_set_name (radiobutton3, "radiobutton3");
- gtk_widget_show (radiobutton3);
- gtk_box_pack_start (GTK_BOX (vbox12), radiobutton3, FALSE, FALSE, 0);
- gtk_radio_button_set_group (GTK_RADIO_BUTTON (radiobutton3), bp_hitcondition_group);
- bp_hitcondition_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radiobutton3));
-
- radiobutton4 = gtk_radio_button_new_with_mnemonic (NULL, "A m_ultiple of x hits");
- gtk_widget_set_name (radiobutton4, "radiobutton4");
- gtk_widget_show (radiobutton4);
- gtk_box_pack_start (GTK_BOX (vbox12), radiobutton4, FALSE, FALSE, 0);
- gtk_radio_button_set_group (GTK_RADIO_BUTTON (radiobutton4), bp_hitcondition_group);
- bp_hitcondition_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radiobutton4));
-
- alignment30 = gtk_alignment_new (1, 1, 1, 1);
- gtk_widget_set_name (alignment30, "alignment30");
- gtk_widget_show (alignment30);
- gtk_table_attach (GTK_TABLE (table8), alignment30, 0, 1, 0, 1,
- (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
- (GtkAttachOptions) (GTK_FILL), 0, 0);
-
- label57 = gtk_label_new_with_mnemonic ("_Hit condition:");
- gtk_widget_set_name (label57, "label57");
- gtk_widget_show (label57);
- gtk_container_add (GTK_CONTAINER (alignment30), label57);
- gtk_label_set_use_markup (GTK_LABEL (label57), TRUE);
- gtk_misc_set_alignment (GTK_MISC (label57), 0.9, 0.04);
-
- bp_hitvalue_adj = gtk_adjustment_new (1, 1, 10000, 1, 10, 10);
- bp_hitvalue = gtk_spin_button_new (GTK_ADJUSTMENT (bp_hitvalue_adj), 1, 0);
- gtk_widget_set_name (bp_hitvalue, "bp_hitvalue");
- gtk_widget_show (bp_hitvalue);
- gtk_table_attach (GTK_TABLE (table8), bp_hitvalue, 1, 2, 1, 2,
- (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
- (GtkAttachOptions) (0), 0, 0);
- gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (bp_hitvalue), TRUE);
-
- bp_temporary = gtk_check_button_new_with_mnemonic ("_Temporary breakpoint");
- gtk_widget_set_name (bp_temporary, "bp_temporary");
- gtk_widget_show (bp_temporary);
- gtk_table_attach (GTK_TABLE (table8), bp_temporary, 1, 2, 2, 3,
- (GtkAttachOptions) (GTK_FILL),
- (GtkAttachOptions) (0), 0, 0);
- gtk_tooltips_set_tip (tooltips, bp_temporary, "Temporary breakpoints will be automatically deleted after the first time they have been hit.", NULL);
-
- label58 = gtk_label_new_with_mnemonic ("Hit value (_x):");
- gtk_widget_set_name (label58, "label58");
- gtk_widget_show (label58);
- gtk_table_attach (GTK_TABLE (table8), label58, 0, 1, 1, 2,
- (GtkAttachOptions) (GTK_FILL),
- (GtkAttachOptions) (0), 4, 4);
- gtk_widget_set_size_request (label58, 80, -1);
- gtk_label_set_justify (GTK_LABEL (label58), GTK_JUSTIFY_RIGHT);
- gtk_misc_set_alignment (GTK_MISC (label58), 0, 0.5);
- gtk_label_set_ellipsize (GTK_LABEL (label58), PANGO_ELLIPSIZE_START);
-
- label59 = gtk_label_new_with_mnemonic ("_Options:");
- gtk_widget_set_name (label59, "label59");
- gtk_widget_show (label59);
- gtk_table_attach (GTK_TABLE (table8), label59, 0, 1, 2, 3,
- (GtkAttachOptions) (GTK_FILL),
- (GtkAttachOptions) (0), 4, 4);
- gtk_widget_set_size_request (label59, 80, -1);
- gtk_label_set_justify (GTK_LABEL (label59), GTK_JUSTIFY_RIGHT);
- gtk_misc_set_alignment (GTK_MISC (label59), 0, 0.5);
- gtk_label_set_ellipsize (GTK_LABEL (label59), PANGO_ELLIPSIZE_START);
-
- bp_enabled = gtk_check_button_new_with_mnemonic ("Ena_bled");
- gtk_widget_set_name (bp_enabled, "bp_enabled");
- gtk_widget_show (bp_enabled);
- gtk_table_attach (GTK_TABLE (table8), bp_enabled, 1, 2, 3, 4,
- (GtkAttachOptions) (GTK_FILL),
- (GtkAttachOptions) (0), 0, 0);
- gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (bp_enabled), TRUE);
-
- label60 = gtk_label_new_with_mnemonic ("");
- gtk_widget_set_name (label60, "label60");
- gtk_widget_show (label60);
- gtk_table_attach (GTK_TABLE (table8), label60, 0, 1, 3, 4,
- (GtkAttachOptions) (GTK_FILL),
- (GtkAttachOptions) (0), 4, 4);
- gtk_widget_set_size_request (label60, 80, -1);
- gtk_label_set_justify (GTK_LABEL (label60), GTK_JUSTIFY_RIGHT);
- gtk_misc_set_alignment (GTK_MISC (label60), 0, 0.5);
- gtk_label_set_ellipsize (GTK_LABEL (label60), PANGO_ELLIPSIZE_START);
-
- condition_frame_label = gtk_label_new ("<b>Conditions:</b>");
- gtk_widget_set_name (condition_frame_label, "condition_frame_label");
- gtk_widget_show (condition_frame_label);
- gtk_frame_set_label_widget (GTK_FRAME (condition_frame), condition_frame_label);
- gtk_label_set_use_markup (GTK_LABEL (condition_frame_label), TRUE);
- gtk_label_set_single_line_mode (GTK_LABEL (condition_frame_label), TRUE);
-
- alignment32 = gtk_alignment_new (0, 0.5, 1, 1);
- gtk_widget_set_name (alignment32, "alignment32");
- gtk_widget_show (alignment32);
- gtk_box_pack_start (GTK_BOX (vbox3), alignment32, TRUE, FALSE, 0);
- gtk_alignment_set_padding (GTK_ALIGNMENT (alignment32), 4, 6, 141, 0);
-
- hbuttonbox2 = gtk_hbutton_box_new ();
- gtk_widget_set_name (hbuttonbox2, "hbuttonbox2");
- gtk_widget_show (hbuttonbox2);
- gtk_container_add (GTK_CONTAINER (alignment32), hbuttonbox2);
- gtk_button_box_set_layout (GTK_BUTTON_BOX (hbuttonbox2), GTK_BUTTONBOX_END);
-
- add_bp_cancel_button = gtk_button_new ();
- gtk_widget_set_name (add_bp_cancel_button, "add_bp_cancel_button");
- gtk_widget_show (add_bp_cancel_button);
- gtk_container_add (GTK_CONTAINER (hbuttonbox2), add_bp_cancel_button);
- GTK_WIDGET_SET_FLAGS (add_bp_cancel_button, GTK_CAN_DEFAULT);
- gtk_button_set_relief (GTK_BUTTON (add_bp_cancel_button), GTK_RELIEF_NONE);
-
- alignment24 = gtk_alignment_new (0.5, 0.5, 0, 0);
- gtk_widget_set_name (alignment24, "alignment24");
- gtk_widget_show (alignment24);
- gtk_container_add (GTK_CONTAINER (add_bp_cancel_button), alignment24);
-
- hbox13 = gtk_hbox_new (FALSE, 2);
- gtk_widget_set_name (hbox13, "hbox13");
- gtk_widget_show (hbox13);
- gtk_container_add (GTK_CONTAINER (alignment24), hbox13);
-
- image41 = create_pixmap (AddBreakPointWindow, "edit-undo.png");
- gtk_widget_set_name (image41, "image41");
- gtk_widget_show (image41);
- gtk_box_pack_start (GTK_BOX (hbox13), image41, FALSE, FALSE, 0);
-
- label43 = gtk_label_new_with_mnemonic ("_Cancel");
- gtk_widget_set_name (label43, "label43");
- gtk_widget_show (label43);
- gtk_box_pack_start (GTK_BOX (hbox13), label43, FALSE, FALSE, 0);
-
- add_bp_add_button = gtk_button_new ();
- gtk_widget_set_name (add_bp_add_button, "add_bp_add_button");
- gtk_widget_show (add_bp_add_button);
- gtk_container_add (GTK_CONTAINER (hbuttonbox2), add_bp_add_button);
- GTK_WIDGET_SET_FLAGS (add_bp_add_button, GTK_CAN_DEFAULT);
- gtk_button_set_relief (GTK_BUTTON (add_bp_add_button), GTK_RELIEF_NONE);
-
- alignment23 = gtk_alignment_new (0.5, 0.5, 0, 0);
- gtk_widget_set_name (alignment23, "alignment23");
- gtk_widget_show (alignment23);
- gtk_container_add (GTK_CONTAINER (add_bp_add_button), alignment23);
-
- hbox12 = gtk_hbox_new (FALSE, 2);
- gtk_widget_set_name (hbox12, "hbox12");
- gtk_widget_show (hbox12);
- gtk_container_add (GTK_CONTAINER (alignment23), hbox12);
-
- image40 = create_pixmap (AddBreakPointWindow, "list-add.png");
- gtk_widget_set_name (image40, "image40");
- gtk_widget_show (image40);
- gtk_box_pack_start (GTK_BOX (hbox12), image40, FALSE, FALSE, 0);
-
- label42 = gtk_label_new_with_mnemonic ("_Add");
- gtk_widget_set_name (label42, "label42");
- gtk_widget_show (label42);
- gtk_box_pack_start (GTK_BOX (hbox12), label42, FALSE, FALSE, 0);
-
- g_signal_connect ((gpointer) add_bp_cancel_button, "clicked",
- G_CALLBACK (on_add_bp_cancel_button_activate),
- NULL);
- g_signal_connect ((gpointer) add_bp_add_button, "clicked",
- G_CALLBACK (on_add_bp_add_button_activate),
- NULL);
-
- gtk_label_set_mnemonic_widget (GTK_LABEL (filename), bp_filename);
- gtk_label_set_mnemonic_widget (GTK_LABEL (linenumber), bp_linenumber);
- gtk_label_set_mnemonic_widget (GTK_LABEL (label47), bp_classname);
- gtk_label_set_mnemonic_widget (GTK_LABEL (label50), bp_functionname);
- gtk_label_set_mnemonic_widget (GTK_LABEL (label51), bp_exceptionname);
- gtk_label_set_mnemonic_widget (GTK_LABEL (label58), bp_hitvalue);
- gtk_label_set_mnemonic_widget (GTK_LABEL (label59), bp_temporary);
- gtk_label_set_mnemonic_widget (GTK_LABEL (label60), bp_enabled);
-
- /* Store pointers to all widgets, for use by lookup_widget(). */
- GLADE_HOOKUP_OBJECT_NO_REF (AddBreakPointWindow, AddBreakPointWindow, "AddBreakPointWindow");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, vbox3, "vbox3");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, breakpoint_type_notebook, "breakpoint_type_notebook");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, frame7, "frame7");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, alignment29, "alignment29");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, table7, "table7");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, bp_filename, "bp_filename");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, bp_linenumber, "bp_linenumber");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, filename, "filename");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, linenumber, "linenumber");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, label56, "label56");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, fileline_label, "fileline_label");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, frame5, "frame5");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, alignment27, "alignment27");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, table5, "table5");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, bp_classname, "bp_classname");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, bp_functionname, "bp_functionname");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, label47, "label47");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, label50, "label50");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, label49, "label49");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, function_label, "function_label");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, frame6, "frame6");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, alignment28, "alignment28");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, table6, "table6");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, bp_exceptionname, "bp_exceptionname");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, label51, "label51");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, label53, "label53");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, exception_label, "exception_label");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, alignment31, "alignment31");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, condition_frame, "condition_frame");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, alignment2, "alignment2");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, table8, "table8");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, vbox12, "vbox12");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, bp_hitcondition, "bp_hitcondition");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, radiobutton2, "radiobutton2");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, radiobutton3, "radiobutton3");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, radiobutton4, "radiobutton4");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, alignment30, "alignment30");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, label57, "label57");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, bp_hitvalue, "bp_hitvalue");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, bp_temporary, "bp_temporary");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, label58, "label58");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, label59, "label59");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, bp_enabled, "bp_enabled");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, label60, "label60");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, condition_frame_label, "condition_frame_label");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, alignment32, "alignment32");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, hbuttonbox2, "hbuttonbox2");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, add_bp_cancel_button, "add_bp_cancel_button");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, alignment24, "alignment24");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, hbox13, "hbox13");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, image41, "image41");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, label43, "label43");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, add_bp_add_button, "add_bp_add_button");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, alignment23, "alignment23");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, hbox12, "hbox12");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, image40, "image40");
- GLADE_HOOKUP_OBJECT (AddBreakPointWindow, label42, "label42");
- GLADE_HOOKUP_OBJECT_NO_REF (AddBreakPointWindow, tooltips, "tooltips");
-
- return AddBreakPointWindow;
-}
-
-GtkWidget*
-create_DebuggerSettingsWindow (void)
-{
- GtkWidget *DebuggerSettingsWindow;
- GtkWidget *vbox4;
- GtkWidget *alignment11;
- GtkWidget *frame1;
- GtkWidget *alignment8;
- GtkWidget *table1;
- GtkWidget *label19;
- GtkWidget *port;
- GtkWidget *label16;
- GtkWidget *alignment12;
- GtkWidget *frame2;
- GtkWidget *alignment9;
- GtkWidget *table2;
- GtkWidget *label20;
- GtkWidget *label21;
- GtkWidget *label22;
- GtkWidget *max_string_length;
- GtkObject *max_children_adj;
- GtkWidget *max_children;
- GtkObject *max_depth_adj;
- GtkWidget *max_depth;
- GtkWidget *label23;
- GtkWidget *label17;
- GtkWidget *alignment13;
- GtkWidget *frame3;
- GtkWidget *alignment14;
- GtkWidget *table3;
- GtkWidget *break_on_warning;
- GtkWidget *label18;
- GtkWidget *alignment33;
- GtkWidget *frame8;
- GtkWidget *alignment34;
- GtkWidget *table9;
- GtkWidget *label62;
- GtkWidget *label63;
- GtkWidget *font_code_button;
- GtkWidget *font_var_button;
- GtkWidget *label61;
- GtkWidget *alignment3;
- GtkWidget *hbox2;
- GtkWidget *revert;
- GtkWidget *alignment22;
- GtkWidget *hbox11;
- GtkWidget *image39;
- GtkWidget *label41;
- GtkWidget *cancel;
- GtkWidget *ok;
- GtkAccelGroup *accel_group;
- GtkTooltips *tooltips;
-
- tooltips = gtk_tooltips_new ();
-
- accel_group = gtk_accel_group_new ();
-
- DebuggerSettingsWindow = gtk_window_new (GTK_WINDOW_TOPLEVEL);
- gtk_widget_set_name (DebuggerSettingsWindow, "DebuggerSettingsWindow");
- gtk_window_set_title (GTK_WINDOW (DebuggerSettingsWindow), "Preferences");
- gtk_window_set_position (GTK_WINDOW (DebuggerSettingsWindow), GTK_WIN_POS_CENTER_ON_PARENT);
- gtk_window_set_modal (GTK_WINDOW (DebuggerSettingsWindow), TRUE);
- gtk_window_set_resizable (GTK_WINDOW (DebuggerSettingsWindow), FALSE);
- gtk_window_set_type_hint (GTK_WINDOW (DebuggerSettingsWindow), GDK_WINDOW_TYPE_HINT_DIALOG);
-
- vbox4 = gtk_vbox_new (FALSE, 0);
- gtk_widget_set_name (vbox4, "vbox4");
- gtk_widget_show (vbox4);
- gtk_container_add (GTK_CONTAINER (DebuggerSettingsWindow), vbox4);
-
- alignment11 = gtk_alignment_new (0.5, 0.5, 1, 1);
- gtk_widget_set_name (alignment11, "alignment11");
- gtk_widget_show (alignment11);
- gtk_box_pack_start (GTK_BOX (vbox4), alignment11, TRUE, TRUE, 0);
- gtk_alignment_set_padding (GTK_ALIGNMENT (alignment11), 5, 5, 5, 5);
-
- frame1 = gtk_frame_new (NULL);
- gtk_widget_set_name (frame1, "frame1");
- gtk_widget_show (frame1);
- gtk_container_add (GTK_CONTAINER (alignment11), frame1);
-
- alignment8 = gtk_alignment_new (0.5, 0.5, 1, 1);
- gtk_widget_set_name (alignment8, "alignment8");
- gtk_widget_show (alignment8);
- gtk_container_add (GTK_CONTAINER (frame1), alignment8);
- gtk_alignment_set_padding (GTK_ALIGNMENT (alignment8), 4, 4, 12, 0);
-
- table1 = gtk_table_new (1, 3, FALSE);
- gtk_widget_set_name (table1, "table1");
- gtk_widget_show (table1);
- gtk_container_add (GTK_CONTAINER (alignment8), table1);
-
- label19 = gtk_label_new_with_mnemonic ("_Port:");
- gtk_widget_set_name (label19, "label19");
- gtk_widget_show (label19);
- gtk_table_attach (GTK_TABLE (table1), label19, 0, 1, 0, 1,
- (GtkAttachOptions) (GTK_FILL),
- (GtkAttachOptions) (0), 4, 4);
- gtk_widget_set_size_request (label19, 160, -1);
- gtk_label_set_justify (GTK_LABEL (label19), GTK_JUSTIFY_RIGHT);
- gtk_misc_set_alignment (GTK_MISC (label19), 0, 0.5);
- gtk_label_set_ellipsize (GTK_LABEL (label19), PANGO_ELLIPSIZE_START);
-
- port = gtk_entry_new ();
- gtk_widget_set_name (port, "port");
- gtk_widget_show (port);
- gtk_table_attach (GTK_TABLE (table1), port, 1, 3, 0, 1,
- (GtkAttachOptions) (GTK_FILL),
- (GtkAttachOptions) (0), 0, 0);
- gtk_widget_set_size_request (port, 140, -1);
- gtk_tooltips_set_tip (tooltips, port, "This is the port on which the DBGP client listens. The default value is 9000.", NULL);
- gtk_widget_add_accelerator (port, "activate", accel_group,
- GDK_P, (GdkModifierType) GDK_MOD1_MASK,
- GTK_ACCEL_VISIBLE);
- gtk_entry_set_max_length (GTK_ENTRY (port), 5);
- gtk_entry_set_text (GTK_ENTRY (port), "9000");
-
- label16 = gtk_label_new ("<b>Listener</b>");
- gtk_widget_set_name (label16, "label16");
- gtk_widget_show (label16);
- gtk_frame_set_label_widget (GTK_FRAME (frame1), label16);
- gtk_label_set_use_markup (GTK_LABEL (label16), TRUE);
-
- alignment12 = gtk_alignment_new (0.5, 0.5, 1, 1);
- gtk_widget_set_name (alignment12, "alignment12");
- gtk_widget_show (alignment12);
- gtk_box_pack_start (GTK_BOX (vbox4), alignment12, TRUE, TRUE, 0);
- gtk_alignment_set_padding (GTK_ALIGNMENT (alignment12), 5, 5, 5, 5);
-
- frame2 = gtk_frame_new (NULL);
- gtk_widget_set_name (frame2, "frame2");
- gtk_widget_show (frame2);
- gtk_container_add (GTK_CONTAINER (alignment12), frame2);
-
- alignment9 = gtk_alignment_new (0.5, 0.5, 1, 1);
- gtk_widget_set_name (alignment9, "alignment9");
- gtk_widget_show (alignment9);
- gtk_container_add (GTK_CONTAINER (frame2), alignment9);
- gtk_alignment_set_padding (GTK_ALIGNMENT (alignment9), 4, 4, 12, 0);
-
- table2 = gtk_table_new (3, 3, FALSE);
- gtk_widget_set_name (table2, "table2");
- gtk_widget_show (table2);
- gtk_container_add (GTK_CONTAINER (alignment9), table2);
-
- label20 = gtk_label_new_with_mnemonic ("Maximum c_hildren:");
- gtk_widget_set_name (label20, "label20");
- gtk_widget_show (label20);
- gtk_table_attach (GTK_TABLE (table2), label20, 0, 1, 0, 1,
- (GtkAttachOptions) (GTK_FILL),
- (GtkAttachOptions) (0), 4, 4);
- gtk_widget_set_size_request (label20, 160, -1);
- gtk_label_set_justify (GTK_LABEL (label20), GTK_JUSTIFY_RIGHT);
- gtk_misc_set_alignment (GTK_MISC (label20), 0, 0.5);
- gtk_label_set_ellipsize (GTK_LABEL (label20), PANGO_ELLIPSIZE_START);
-
- label21 = gtk_label_new_with_mnemonic ("Maxium _string length:");
- gtk_widget_set_name (label21, "label21");
- gtk_widget_show (label21);
- gtk_table_attach (GTK_TABLE (table2), label21, 0, 1, 1, 2,
- (GtkAttachOptions) (GTK_FILL),
- (GtkAttachOptions) (0), 4, 4);
- gtk_label_set_justify (GTK_LABEL (label21), GTK_JUSTIFY_RIGHT);
- gtk_misc_set_alignment (GTK_MISC (label21), 0, 0.5);
- gtk_label_set_ellipsize (GTK_LABEL (label21), PANGO_ELLIPSIZE_START);
-
- label22 = gtk_label_new_with_mnemonic ("Maximum _depth:");
- gtk_widget_set_name (label22, "label22");
- gtk_widget_show (label22);
- gtk_table_attach (GTK_TABLE (table2), label22, 0, 1, 2, 3,
- (GtkAttachOptions) (GTK_FILL),
- (GtkAttachOptions) (0), 4, 4);
- gtk_label_set_justify (GTK_LABEL (label22), GTK_JUSTIFY_RIGHT);
- gtk_misc_set_alignment (GTK_MISC (label22), 0, 0.5);
- gtk_label_set_ellipsize (GTK_LABEL (label22), PANGO_ELLIPSIZE_START);
-
- max_string_length = gtk_entry_new ();
- gtk_widget_set_name (max_string_length, "max_string_length");
- gtk_widget_show (max_string_length);
- gtk_table_attach (GTK_TABLE (table2), max_string_length, 1, 2, 1, 2,
- (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
- (GtkAttachOptions) (0), 0, 0);
- gtk_widget_set_size_request (max_string_length, 140, -1);
- gtk_tooltips_set_tip (tooltips, max_string_length, "The number of bytes that will be returns for a string while fetching variable contents.", NULL);
- gtk_widget_add_accelerator (max_string_length, "activate", accel_group,
- GDK_S, (GdkModifierType) GDK_MOD1_MASK,
- GTK_ACCEL_VISIBLE);
-
- max_children_adj = gtk_adjustment_new (5, 5, 100, 1, 5, 5);
- max_children = gtk_spin_button_new (GTK_ADJUSTMENT (max_children_adj), 1, 0);
- gtk_widget_set_name (max_children, "max_children");
- gtk_widget_show (max_children);
- gtk_table_attach (GTK_TABLE (table2), max_children, 1, 2, 0, 1,
- (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
- (GtkAttachOptions) (0), 0, 0);
- gtk_widget_set_size_request (max_children, 140, -1);
- gtk_tooltips_set_tip (tooltips, max_children, "The maximum number of children to be returned in a single request for variable warnings.", NULL);
- gtk_widget_add_accelerator (max_children, "activate", accel_group,
- GDK_H, (GdkModifierType) GDK_MOD1_MASK,
- GTK_ACCEL_VISIBLE);
- gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (max_children), TRUE);
-
- max_depth_adj = gtk_adjustment_new (1, 1, 10, 1, 10, 10);
- max_depth = gtk_spin_button_new (GTK_ADJUSTMENT (max_depth_adj), 1, 0);
- gtk_widget_set_name (max_depth, "max_depth");
- gtk_widget_show (max_depth);
- gtk_table_attach (GTK_TABLE (table2), max_depth, 1, 2, 2, 3,
- (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
- (GtkAttachOptions) (0), 0, 0);
- gtk_widget_set_size_request (max_depth, 140, -1);
- gtk_tooltips_set_tip (tooltips, max_depth, "The number of levels deep that will be returned for variable contents.", NULL);
- gtk_widget_add_accelerator (max_depth, "activate", accel_group,
- GDK_D, (GdkModifierType) GDK_MOD1_MASK,
- GTK_ACCEL_VISIBLE);
- gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (max_depth), TRUE);
-
- label23 = gtk_label_new ("bytes");
- gtk_widget_set_name (label23, "label23");
- gtk_widget_show (label23);
- gtk_table_attach (GTK_TABLE (table2), label23, 2, 3, 1, 2,
- (GtkAttachOptions) (GTK_FILL),
- (GtkAttachOptions) (0), 4, 4);
- gtk_misc_set_alignment (GTK_MISC (label23), 0, 0.5);
-
- label17 = gtk_label_new ("<b>Data Transfer</b>");
- gtk_widget_set_name (label17, "label17");
- gtk_widget_show (label17);
- gtk_frame_set_label_widget (GTK_FRAME (frame2), label17);
- gtk_label_set_use_markup (GTK_LABEL (label17), TRUE);
-
- alignment13 = gtk_alignment_new (0.5, 0.5, 1, 1);
- gtk_widget_set_name (alignment13, "alignment13");
- gtk_widget_show (alignment13);
- gtk_box_pack_start (GTK_BOX (vbox4), alignment13, TRUE, TRUE, 0);
- gtk_alignment_set_padding (GTK_ALIGNMENT (alignment13), 5, 5, 5, 5);
-
- frame3 = gtk_frame_new (NULL);
- gtk_widget_set_name (frame3, "frame3");
- gtk_widget_show (frame3);
- gtk_container_add (GTK_CONTAINER (alignment13), frame3);
-
- alignment14 = gtk_alignment_new (0.5, 0.5, 1, 1);
- gtk_widget_set_name (alignment14, "alignment14");
- gtk_widget_show (alignment14);
- gtk_container_add (GTK_CONTAINER (frame3), alignment14);
- gtk_alignment_set_padding (GTK_ALIGNMENT (alignment14), 4, 4, 12, 0);
-
- table3 = gtk_table_new (1, 3, FALSE);
- gtk_widget_set_name (table3, "table3");
- gtk_widget_show (table3);
- gtk_container_add (GTK_CONTAINER (alignment14), table3);
-
- break_on_warning = gtk_check_button_new_with_mnemonic ("_Break on PHP errors, warnings, etc...");
- gtk_widget_set_name (break_on_warning, "break_on_warning");
- gtk_widget_show (break_on_warning);
- gtk_table_attach (GTK_TABLE (table3), break_on_warning, 0, 3, 0, 1,
- (GtkAttachOptions) (GTK_FILL),
- (GtkAttachOptions) (0), 0, 0);
- gtk_tooltips_set_tip (tooltips, break_on_warning, "Causes the PHP script to generate a breakpoint whenever a Notice, Warning or Error has been reached.", NULL);
- gtk_widget_add_accelerator (break_on_warning, "grab_focus", accel_group,
- GDK_B, (GdkModifierType) GDK_MOD1_MASK,
- GTK_ACCEL_VISIBLE);
-
- label18 = gtk_label_new ("<b>Debugger Settings</b>");
- gtk_widget_set_name (label18, "label18");
- gtk_widget_show (label18);
- gtk_frame_set_label_widget (GTK_FRAME (frame3), label18);
- gtk_label_set_use_markup (GTK_LABEL (label18), TRUE);
-
- alignment33 = gtk_alignment_new (0.5, 0.5, 1, 1);
- gtk_widget_set_name (alignment33, "alignment33");
- gtk_widget_show (alignment33);
- gtk_box_pack_start (GTK_BOX (vbox4), alignment33, TRUE, TRUE, 0);
- gtk_alignment_set_padding (GTK_ALIGNMENT (alignment33), 5, 5, 5, 5);
-
- frame8 = gtk_frame_new (NULL);
- gtk_widget_set_name (frame8, "frame8");
- gtk_widget_show (frame8);
- gtk_container_add (GTK_CONTAINER (alignment33), frame8);
-
- alignment34 = gtk_alignment_new (0.5, 0.5, 1, 1);
- gtk_widget_set_name (alignment34, "alignment34");
- gtk_widget_show (alignment34);
- gtk_container_add (GTK_CONTAINER (frame8), alignment34);
- gtk_alignment_set_padding (GTK_ALIGNMENT (alignment34), 4, 4, 12, 0);
-
- table9 = gtk_table_new (2, 2, FALSE);
- gtk_widget_set_name (table9, "table9");
- gtk_widget_show (table9);
- gtk_container_add (GTK_CONTAINER (alignment34), table9);
-
- label62 = gtk_label_new_with_mnemonic ("Font for code display:");
- gtk_widget_set_name (label62, "label62");
- gtk_widget_show (label62);
- gtk_table_attach (GTK_TABLE (table9), label62, 0, 1, 0, 1,
- (GtkAttachOptions) (GTK_FILL),
- (GtkAttachOptions) (0), 4, 4);
- gtk_widget_set_size_request (label62, 150, -1);
- gtk_label_set_justify (GTK_LABEL (label62), GTK_JUSTIFY_RIGHT);
- gtk_misc_set_alignment (GTK_MISC (label62), 0, 0.5);
- gtk_label_set_ellipsize (GTK_LABEL (label62), PANGO_ELLIPSIZE_START);
-
- label63 = gtk_label_new_with_mnemonic ("Font for variable display:");
- gtk_widget_set_name (label63, "label63");
- gtk_widget_show (label63);
- gtk_table_attach (GTK_TABLE (table9), label63, 0, 1, 1, 2,
- (GtkAttachOptions) (GTK_FILL),
- (GtkAttachOptions) (0), 4, 4);
- gtk_widget_set_size_request (label63, 160, -1);
- gtk_label_set_justify (GTK_LABEL (label63), GTK_JUSTIFY_RIGHT);
- gtk_misc_set_alignment (GTK_MISC (label63), 0, 0.5);
- gtk_label_set_ellipsize (GTK_LABEL (label63), PANGO_ELLIPSIZE_START);
-
- font_code_button = gtk_font_button_new ();
- gtk_widget_set_name (font_code_button, "font_code_button");
- gtk_widget_show (font_code_button);
- gtk_table_attach (GTK_TABLE (table9), font_code_button, 1, 2, 0, 1,
- (GtkAttachOptions) (GTK_FILL),
- (GtkAttachOptions) (0), 0, 0);
- gtk_widget_set_size_request (font_code_button, 140, -1);
-
- font_var_button = gtk_font_button_new ();
- gtk_widget_set_name (font_var_button, "font_var_button");
- gtk_widget_show (font_var_button);
- gtk_table_attach (GTK_TABLE (table9), font_var_button, 1, 2, 1, 2,
- (GtkAttachOptions) (GTK_FILL),
- (GtkAttachOptions) (0), 0, 0);
- gtk_widget_set_size_request (font_var_button, 140, -1);
-
- label61 = gtk_label_new ("<b>Appearance</b>");
- gtk_widget_set_name (label61, "label61");
- gtk_widget_show (label61);
- gtk_frame_set_label_widget (GTK_FRAME (frame8), label61);
- gtk_label_set_use_markup (GTK_LABEL (label61), TRUE);
-
- alignment3 = gtk_alignment_new (0, 0.5, 1, 1);
- gtk_widget_set_name (alignment3, "alignment3");
- gtk_widget_show (alignment3);
- gtk_box_pack_start (GTK_BOX (vbox4), alignment3, TRUE, TRUE, 0);
- gtk_widget_set_size_request (alignment3, -1, 40);
- gtk_alignment_set_padding (GTK_ALIGNMENT (alignment3), 4, 6, 141, 0);
-
- hbox2 = gtk_hbox_new (FALSE, 0);
- gtk_widget_set_name (hbox2, "hbox2");
- gtk_widget_show (hbox2);
- gtk_container_add (GTK_CONTAINER (alignment3), hbox2);
-
- revert = gtk_button_new ();
- gtk_widget_set_name (revert, "revert");
- gtk_widget_show (revert);
- gtk_box_pack_start (GTK_BOX (hbox2), revert, FALSE, FALSE, 0);
- gtk_widget_set_size_request (revert, 80, -1);
- gtk_tooltips_set_tip (tooltips, revert, "Revert settings to default changes.", NULL);
- gtk_button_set_relief (GTK_BUTTON (revert), GTK_RELIEF_NONE);
-
- alignment22 = gtk_alignment_new (0.5, 0.5, 0, 0);
- gtk_widget_set_name (alignment22, "alignment22");
- gtk_widget_show (alignment22);
- gtk_container_add (GTK_CONTAINER (revert), alignment22);
-
- hbox11 = gtk_hbox_new (FALSE, 2);
- gtk_widget_set_name (hbox11, "hbox11");
- gtk_widget_show (hbox11);
- gtk_container_add (GTK_CONTAINER (alignment22), hbox11);
-
- image39 = create_pixmap (DebuggerSettingsWindow, "edit-undo.png");
- gtk_widget_set_name (image39, "image39");
- gtk_widget_show (image39);
- gtk_box_pack_start (GTK_BOX (hbox11), image39, FALSE, FALSE, 0);
-
- label41 = gtk_label_new_with_mnemonic ("_Revert");
- gtk_widget_set_name (label41, "label41");
- gtk_widget_show (label41);
- gtk_box_pack_start (GTK_BOX (hbox11), label41, FALSE, FALSE, 0);
-
- cancel = gtk_button_new_from_stock ("gtk-cancel");
- gtk_widget_set_name (cancel, "cancel");
- gtk_widget_show (cancel);
- gtk_box_pack_start (GTK_BOX (hbox2), cancel, FALSE, FALSE, 0);
- gtk_widget_set_size_request (cancel, 80, -1);
- gtk_button_set_relief (GTK_BUTTON (cancel), GTK_RELIEF_NONE);
-
- ok = gtk_button_new_from_stock ("gtk-ok");
- gtk_widget_set_name (ok, "ok");
- gtk_widget_show (ok);
- gtk_box_pack_start (GTK_BOX (hbox2), ok, FALSE, FALSE, 0);
- gtk_widget_set_size_request (ok, 80, -1);
- GTK_WIDGET_SET_FLAGS (ok, GTK_CAN_DEFAULT);
- gtk_button_set_relief (GTK_BUTTON (ok), GTK_RELIEF_NONE);
-
- g_signal_connect ((gpointer) revert, "clicked",
- G_CALLBACK (on_revert_clicked),
- NULL);
- g_signal_connect ((gpointer) cancel, "clicked",
- G_CALLBACK (on_cancel_clicked),
- NULL);
- g_signal_connect ((gpointer) ok, "clicked",
- G_CALLBACK (on_ok_clicked),
- NULL);
-
- gtk_label_set_mnemonic_widget (GTK_LABEL (label19), port);
- gtk_label_set_mnemonic_widget (GTK_LABEL (label20), max_children);
- gtk_label_set_mnemonic_widget (GTK_LABEL (label21), max_string_length);
- gtk_label_set_mnemonic_widget (GTK_LABEL (label22), max_depth);
- gtk_label_set_mnemonic_widget (GTK_LABEL (label62), max_depth);
- gtk_label_set_mnemonic_widget (GTK_LABEL (label63), max_string_length);
-
- /* Store pointers to all widgets, for use by lookup_widget(). */
- GLADE_HOOKUP_OBJECT_NO_REF (DebuggerSettingsWindow, DebuggerSettingsWindow, "DebuggerSettingsWindow");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, vbox4, "vbox4");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, alignment11, "alignment11");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, frame1, "frame1");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, alignment8, "alignment8");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, table1, "table1");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, label19, "label19");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, port, "port");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, label16, "label16");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, alignment12, "alignment12");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, frame2, "frame2");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, alignment9, "alignment9");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, table2, "table2");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, label20, "label20");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, label21, "label21");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, label22, "label22");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, max_string_length, "max_string_length");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, max_children, "max_children");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, max_depth, "max_depth");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, label23, "label23");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, label17, "label17");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, alignment13, "alignment13");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, frame3, "frame3");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, alignment14, "alignment14");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, table3, "table3");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, break_on_warning, "break_on_warning");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, label18, "label18");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, alignment33, "alignment33");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, frame8, "frame8");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, alignment34, "alignment34");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, table9, "table9");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, label62, "label62");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, label63, "label63");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, font_code_button, "font_code_button");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, font_var_button, "font_var_button");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, label61, "label61");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, alignment3, "alignment3");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, hbox2, "hbox2");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, revert, "revert");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, alignment22, "alignment22");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, hbox11, "hbox11");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, image39, "image39");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, label41, "label41");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, cancel, "cancel");
- GLADE_HOOKUP_OBJECT (DebuggerSettingsWindow, ok, "ok");
- GLADE_HOOKUP_OBJECT_NO_REF (DebuggerSettingsWindow, tooltips, "tooltips");
-
- gtk_widget_grab_focus (port);
- gtk_widget_grab_default (ok);
- gtk_window_add_accel_group (GTK_WINDOW (DebuggerSettingsWindow), accel_group);
-
- return DebuggerSettingsWindow;
-}
-
-GtkWidget*
-create_aboutdialog (void)
-{
- GtkWidget *aboutdialog;
- const gchar *authors[] = {
- "Derick Rethans",
- NULL
- };
- GdkPixbuf *aboutdialog_logo_pixbuf;
-
- aboutdialog = gtk_about_dialog_new ();
- gtk_widget_set_name (aboutdialog, "aboutdialog");
- gtk_window_set_destroy_with_parent (GTK_WINDOW (aboutdialog), TRUE);
- gtk_about_dialog_set_version (GTK_ABOUT_DIALOG (aboutdialog), VERSION);
- gtk_about_dialog_set_name (GTK_ABOUT_DIALOG (aboutdialog), "gtkdbgp");
- gtk_about_dialog_set_copyright (GTK_ABOUT_DIALOG (aboutdialog), "(c) 2006 by Derick Rethans");
- gtk_about_dialog_set_license (GTK_ABOUT_DIALOG (aboutdialog), "The Xdebug License, version 1.01\n(Based on \"The PHP License\", version 3.0)\n\nCopyright (c) 2002-2006 Derick Rethans. All rights reserved.\n\nRedistribution and use in source and binary forms, with or without modification, is permitted provided that the following conditions are met:\n\n 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.\n 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.\n 3. The name \"Xdebug\" must not be used to endorse or promote products derived from this software without prior written permission. For written permission, please contact derick@xdebug.org.\n 4. Products derived from this software may not be called \"Xdebug\", nor may \"Xdebug\" appear in their name, without prior written permission from derick@xdebug.org.\n 5. Derick Rethans may publish revised and/or new versions of the license from time to time. Each version will be given a distinguishing version number. Once covered code has been published under a particular version of the license, you may always continue to use it under the terms of that version. You may also choose to use such covered code under the terms of any subsequent version of the license published by Derick Rethans. No one other than Derick Rethans has the right to modify the terms applicable to covered code created under this License.\n 6. Redistributions of any form whatsoever must retain the following acknowledgment: \"This product includes Xdebug, freely available from http://xdebug.org/\".\n\nTHIS SOFTWARE IS PROVIDED BY DERICK RETHANS ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PHP DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\nThis software consists of voluntary contributions made by some individuals on behalf of Derick Rethans.\n\nDerick Rethans can be contacted via e-mail at derick@xdebug.org.\n\nFor more information Xdebug, please see http://xdebug.org/");
- gtk_about_dialog_set_wrap_license (GTK_ABOUT_DIALOG (aboutdialog), TRUE);
- gtk_about_dialog_set_website (GTK_ABOUT_DIALOG (aboutdialog), "http://xdebug.org");
- gtk_about_dialog_set_website_label (GTK_ABOUT_DIALOG (aboutdialog), "Xdebug website");
- gtk_about_dialog_set_authors (GTK_ABOUT_DIALOG (aboutdialog), authors);
- aboutdialog_logo_pixbuf = create_pixbuf ("xdebug-logo.png");
- gtk_about_dialog_set_logo (GTK_ABOUT_DIALOG (aboutdialog), aboutdialog_logo_pixbuf);
-
- /* Store pointers to all widgets, for use by lookup_widget(). */
- GLADE_HOOKUP_OBJECT_NO_REF (aboutdialog, aboutdialog, "aboutdialog");
-
- return aboutdialog;
-}
-
View
8 src/interface.h
@@ -1,8 +0,0 @@
-/*
- * DO NOT EDIT THIS FILE - it is generated by Glade.
- */
-
-GtkWidget* create_MainWindow (void);
-GtkWidget* create_AddBreakPointWindow (void);
-GtkWidget* create_DebuggerSettingsWindow (void);
-GtkWidget* create_aboutdialog (void);
Please sign in to comment.
Something went wrong with that request. Please try again.