summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--mixgtk/Makefile.am11
-rw-r--r--mixgtk/mixgtk.c30
-rw-r--r--mixgtk/mixgtk.glade10568
-rw-r--r--mixgtk/mixgtk_cmd_dispatcher.c105
-rw-r--r--mixgtk/mixgtk_device.c235
-rw-r--r--mixgtk/mixgtk_fontsel.c64
-rw-r--r--mixgtk/mixgtk_gen_handlers.c112
-rw-r--r--mixgtk/mixgtk_gen_handlers.h12
-rw-r--r--mixgtk/mixgtk_input.c178
-rw-r--r--mixgtk/mixgtk_mixal.c535
-rw-r--r--mixgtk/mixgtk_mixal.h31
-rw-r--r--mixgtk/mixgtk_mixvm.c345
-rw-r--r--mixgtk/mixgtk_widgets.c2
13 files changed, 6368 insertions, 5860 deletions
diff --git a/mixgtk/Makefile.am b/mixgtk/Makefile.am
index 3e0f46e..7993d3e 100644
--- a/mixgtk/Makefile.am
+++ b/mixgtk/Makefile.am
@@ -1,16 +1,16 @@
## Process this file with automake to produce Makefile.in
-# Copyright (C) 2001 Free Software Foundation, Inc.
-#
+# Copyright (C) 2001, 2004 Free Software Foundation, Inc.
+#
# This file is free software; as a special exception the author gives
-# unlimited permission to copy and/or distribute it, with or without
+# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
-#
+#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# $Id: Makefile.am,v 1.14 2001/09/29 01:53:51 jao Exp $
+# $Id: Makefile.am,v 1.15 2004/06/23 10:50:10 jao Exp $
XPMS = clear.xpm colors.xpm compile.xpm edit.xpm font.xpm fontl.xpm \
jump.xpm next.xpm onew.xpm open.xpm output.xpm run.xpm splitw.xpm \
@@ -44,7 +44,6 @@ gmixvm_SOURCES = gmixvm.c mixgtk.h mixgtk.c \
mixgtk_mixvm.h mixgtk_mixvm.c \
mixgtk_mixal.h mixgtk_mixal.c \
mixgtk_input.h mixgtk_input.c \
- mixgtk_colorsel.h mixgtk_colorsel.c \
mixgtk_fontsel.h mixgtk_fontsel.c \
mixgtk_wm.h mixgtk_wm.c
endif
diff --git a/mixgtk/mixgtk.c b/mixgtk/mixgtk.c
index 7cad87a..3b926b4 100644
--- a/mixgtk/mixgtk.c
+++ b/mixgtk/mixgtk.c
@@ -1,24 +1,24 @@
/* -*-c-*- -------------- mixgtk.c :
* Main functions of the mix gtk front-end
* ------------------------------------------------------------------
- * $Id: mixgtk.c,v 1.15 2002/04/10 23:39:40 jao Exp $
+ * $Id: mixgtk.c,v 1.16 2004/06/23 10:50:10 jao Exp $
* ------------------------------------------------------------------
- * Copyright (C) 2001, 2002 Free Software Foundation, Inc.
- *
+ * Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc.
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- *
+ *
*/
#include <stdio.h>
@@ -30,7 +30,6 @@
#include "mixgtk_mixvm.h"
#include "mixgtk_mixal.h"
#include "mixgtk_input.h"
-#include "mixgtk_colorsel.h"
#include "mixgtk_fontsel.h"
#include "mixgtk_config.h"
#include "mixgtk_wm.h"
@@ -43,7 +42,7 @@ gboolean
mixgtk_restart (void)
{
mix_vm_t *vm;
-
+
if (!mixgtk_widget_factory_init ())
{
g_error (_("Unable to initialise application: missing glade file"));
@@ -59,7 +58,7 @@ mixgtk_restart (void)
}
vm = mixgtk_cmd_dispatcher_get_vm ();
-
+
if (!mixgtk_mixvm_init (vm, MIXGTK_MIXVM_DIALOG))
{
g_error (_("Unable to initialise application (mixvm widgets)\n"));
@@ -80,7 +79,7 @@ mixgtk_restart (void)
g_error (_("Unable to initialise application (devices)\n"));
return FALSE;
}
-
+
if (!mixgtk_wm_init ())
{
g_error (_("Unable to initialise application (visibility)\n"));
@@ -88,7 +87,6 @@ mixgtk_restart (void)
}
mixgtk_input_init ();
- mixgtk_colorsel_init ();
gtk_widget_show (mixgtk_widget_factory_get_dialog (MIXGTK_MAIN));
mixgtk_mixvm_update_vm_widgets ();
@@ -102,15 +100,15 @@ mixgtk_init (int argc, char *argv[])
{
gboolean split = FALSE;
gint k;
-
+
mix_init_lib ();
-
+
if (!mixgtk_config_load ())
{
g_error ("Unable to read configuration\n");
return FALSE;
}
-
+
for (k = 0; k < argc; ++k)
if (!strcmp (argv[k], SPLIT_ARG_) || !strcmp (argv[k], SPLIT_LONG_ARG_))
{
@@ -119,7 +117,7 @@ mixgtk_init (int argc, char *argv[])
}
if (!split && mixgtk_config_is_split ()) split = TRUE;
mixgtk_config_set_split (split);
-
+
gtk_init (&argc, &argv);
return mixgtk_restart ();
@@ -134,7 +132,7 @@ mixgtk_main (void)
/* clean up */
void
-mixgtk_release (void)
+mixgtk_release (void)
{
if (mixgtk_config_is_autosave ()) mixgtk_config_save ();
mix_vm_cmd_dispatcher_delete (mixgtk_cmd_dispatcher_get_mix_dispatcher ());
diff --git a/mixgtk/mixgtk.glade b/mixgtk/mixgtk.glade
index 8c8d137..b246fff 100644
--- a/mixgtk/mixgtk.glade
+++ b/mixgtk/mixgtk.glade
@@ -1,5266 +1,5626 @@
-<?xml version="1.0"?>
-<GTK-Interface>
-
-<project>
- <name>mixgtk</name>
- <program_name>mixgtk</program_name>
- <directory></directory>
- <source_directory>src</source_directory>
- <pixmaps_directory>.</pixmaps_directory>
- <language>C</language>
- <gnome_support>False</gnome_support>
- <gettext_support>False</gettext_support>
- <use_widget_names>True</use_widget_names>
- <output_build_files>False</output_build_files>
- <backup_source_files>False</backup_source_files>
-</project>
-
-<widget>
- <class>GtkWindow</class>
- <name>main_window</name>
- <visible>False</visible>
- <signal>
- <name>destroy</name>
- <handler>on_main_window_destroy</handler>
- <last_modification_time>Tue, 20 Feb 2001 21:58:29 GMT</last_modification_time>
- </signal>
- <title>gmixvm</title>
- <type>GTK_WINDOW_TOPLEVEL</type>
- <position>GTK_WIN_POS_NONE</position>
- <modal>False</modal>
- <default_width>650</default_width>
- <default_height>550</default_height>
- <allow_shrink>False</allow_shrink>
- <allow_grow>True</allow_grow>
- <auto_shrink>True</auto_shrink>
-
- <widget>
- <class>GtkVBox</class>
- <name>main_vbox</name>
- <border_width>2</border_width>
- <homogeneous>False</homogeneous>
- <spacing>2</spacing>
-
- <widget>
- <class>GtkMenuBar</class>
- <name>mainmenubar</name>
- <shadow_type>GTK_SHADOW_OUT</shadow_type>
- <child>
- <padding>0</padding>
- <expand>False</expand>
- <fill>True</fill>
- </child>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>file</name>
- <label>_File</label>
- <right_justify>False</right_justify>
-
- <widget>
- <class>GtkMenu</class>
- <name>file_menu</name>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>file_open</name>
- <tooltip>Load a MIX file</tooltip>
- <accelerator>
- <modifiers>GDK_MOD1_MASK</modifiers>
- <key>GDK_F3</key>
- <signal>activate</signal>
- </accelerator>
- <signal>
- <name>activate</name>
- <handler>on_file_open_activate</handler>
- <last_modification_time>Tue, 20 Feb 2001 22:37:58 GMT</last_modification_time>
- </signal>
- <label>_Load...</label>
- <right_justify>False</right_justify>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>edit</name>
- <tooltip>Edit a MIXAL source file</tooltip>
- <accelerator>
- <modifiers>GDK_MOD1_MASK</modifiers>
- <key>GDK_F4</key>
- <signal>activate</signal>
- </accelerator>
- <signal>
- <name>activate</name>
- <handler>on_file_edit_activate</handler>
- <last_modification_time>Fri, 08 Jun 2001 21:11:13 GMT</last_modification_time>
- </signal>
- <label>_Edit...</label>
- <right_justify>False</right_justify>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>compile</name>
- <tooltip>Compile a MIXAL source file</tooltip>
- <accelerator>
- <modifiers>GDK_MOD1_MASK</modifiers>
- <key>GDK_F5</key>
- <signal>activate</signal>
- </accelerator>
- <signal>
- <name>activate</name>
- <handler>on_file_compile_activate</handler>
- <last_modification_time>Fri, 08 Jun 2001 21:11:33 GMT</last_modification_time>
- </signal>
- <label>_Compile...</label>
- <right_justify>False</right_justify>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>separator2</name>
- <right_justify>False</right_justify>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>file_exit</name>
- <tooltip>Exit application</tooltip>
- <accelerator>
- <modifiers>GDK_MOD1_MASK</modifiers>
- <key>GDK_Q</key>
- <signal>activate</signal>
- </accelerator>
- <signal>
- <name>activate</name>
- <handler>on_file_exit_activate</handler>
- <last_modification_time>Tue, 20 Feb 2001 22:37:58 GMT</last_modification_time>
- </signal>
- <label>E_xit</label>
- <right_justify>False</right_justify>
- </widget>
- </widget>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>view</name>
- <label>_View</label>
- <right_justify>False</right_justify>
-
- <widget>
- <class>GtkMenu</class>
- <name>view_menu</name>
-
- <widget>
- <class>GtkCheckMenuItem</class>
- <name>show_toolbars</name>
- <accelerator>
- <modifiers>GDK_MOD1_MASK</modifiers>
- <key>GDK_T</key>
- <signal>activate</signal>
- </accelerator>
- <signal>
- <name>toggled</name>
- <handler>on_show_toolbars_toggled</handler>
- <last_modification_time>Thu, 16 Aug 2001 20:14:16 GMT</last_modification_time>
- </signal>
- <label>_Toolbar</label>
- <active>False</active>
- <always_show_toggle>True</always_show_toggle>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>separator5</name>
- <right_justify>False</right_justify>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>split_windows</name>
- <signal>
- <name>activate</name>
- <handler>on_split_windows_activate</handler>
- <last_modification_time>Thu, 16 Aug 2001 21:48:57 GMT</last_modification_time>
- </signal>
- <label>Split _windows</label>
- <right_justify>False</right_justify>
- </widget>
- </widget>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>debug</name>
- <label>D_ebug</label>
- <right_justify>False</right_justify>
-
- <widget>
- <class>GtkMenu</class>
- <name>debug_menu</name>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>debug_run</name>
- <tooltip>Run program</tooltip>
- <accelerator>
- <modifiers>GDK_MOD1_MASK</modifiers>
- <key>GDK_R</key>
- <signal>activate</signal>
- </accelerator>
- <signal>
- <name>activate</name>
- <handler>on_debug_run_activate</handler>
- <last_modification_time>Sat, 10 Mar 2001 11:35:16 GMT</last_modification_time>
- </signal>
- <label>_Run</label>
- <right_justify>False</right_justify>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>debug_next</name>
- <tooltip>Execute next instruction</tooltip>
- <accelerator>
- <modifiers>GDK_MOD1_MASK</modifiers>
- <key>GDK_N</key>
- <signal>activate</signal>
- </accelerator>
- <signal>
- <name>activate</name>
- <handler>on_debug_next_activate</handler>
- <last_modification_time>Sat, 10 Mar 2001 11:35:16 GMT</last_modification_time>
- </signal>
- <label>_Next</label>
- <right_justify>False</right_justify>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>clear_breakpoints</name>
- <tooltip>Clear all set breakpoints</tooltip>
- <accelerator>
- <modifiers>GDK_MOD1_MASK</modifiers>
- <key>GDK_C</key>
- <signal>activate</signal>
- </accelerator>
- <signal>
- <name>activate</name>
- <handler>on_clear_breakpoints_activate</handler>
- <last_modification_time>Thu, 15 Mar 2001 23:26:49 GMT</last_modification_time>
- </signal>
- <label>_Clear breakpoints</label>
- <right_justify>False</right_justify>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>symbols</name>
- <tooltip>Show the symbol table</tooltip>
- <accelerator>
- <modifiers>GDK_MOD1_MASK</modifiers>
- <key>GDK_Y</key>
- <signal>activate</signal>
- </accelerator>
- <signal>
- <name>activate</name>
- <handler>on_symbols_activate</handler>
- <last_modification_time>Mon, 18 Jun 2001 22:17:06 GMT</last_modification_time>
- </signal>
- <label>_Symbols...</label>
- <right_justify>False</right_justify>
- </widget>
- </widget>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>settings1</name>
- <label>_Settings</label>
- <right_justify>False</right_justify>
-
- <widget>
- <class>GtkMenu</class>
- <name>settings1_menu</name>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>colors</name>
- <tooltip>Change colors of MIXAL</tooltip>
- <signal>
- <name>activate</name>
- <handler>on_colors_activate</handler>
- <last_modification_time>Wed, 11 Apr 2001 23:15:11 GMT</last_modification_time>
- </signal>
- <label>_Colors...</label>
- <right_justify>False</right_justify>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>fonts1</name>
- <label>Change _font</label>
- <right_justify>False</right_justify>
-
- <widget>
- <class>GtkMenu</class>
- <name>fonts1_menu</name>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>mix</name>
- <signal>
- <name>activate</name>
- <handler>on_mix_font_activate</handler>
- <last_modification_time>Wed, 25 Apr 2001 01:55:53 GMT</last_modification_time>
- </signal>
- <label>_MIX</label>
- <right_justify>False</right_justify>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>mixal</name>
- <signal>
- <name>activate</name>
- <handler>on_mixal_font_activate</handler>
- <last_modification_time>Wed, 25 Apr 2001 01:55:53 GMT</last_modification_time>
- </signal>
- <label>MI_XAL</label>
- <right_justify>False</right_justify>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>command_prompt</name>
- <signal>
- <name>activate</name>
- <handler>on_prompt_font_activate</handler>
- <last_modification_time>Wed, 25 Apr 2001 01:55:53 GMT</last_modification_time>
- </signal>
- <label>Command _prompt</label>
- <right_justify>False</right_justify>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>command_log</name>
- <signal>
- <name>activate</name>
- <handler>on_log_font_activate</handler>
- <last_modification_time>Wed, 25 Apr 2001 01:55:53 GMT</last_modification_time>
- </signal>
- <label>Command l_og</label>
- <right_justify>False</right_justify>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>devices</name>
- <signal>
- <name>activate</name>
- <handler>on_devices_font_activate</handler>
- <last_modification_time>Thu, 10 May 2001 21:38:40 GMT</last_modification_time>
- </signal>
- <label>De_vices</label>
- <right_justify>False</right_justify>
- </widget>
- </widget>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>device_output1</name>
- <tooltip>Change format of binary devices output</tooltip>
- <signal>
- <name>activate</name>
- <handler>on_devform_activate</handler>
- <last_modification_time>Wed, 30 May 2001 20:44:48 GMT</last_modification_time>
- </signal>
- <label>_Device output...</label>
- <right_justify>False</right_justify>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>devices_dir</name>
- <signal>
- <name>activate</name>
- <handler>on_devdir_activate</handler>
- <last_modification_time>Sun, 08 Jul 2001 20:58:13 GMT</last_modification_time>
- </signal>
- <label>De_vices dir...</label>
- <right_justify>False</right_justify>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>external_programs1</name>
- <signal>
- <name>activate</name>
- <handler>on_external_programs_activate</handler>
- <last_modification_time>Fri, 01 Jun 2001 23:35:01 GMT</last_modification_time>
- </signal>
- <label>E_xternal programs...</label>
- <right_justify>False</right_justify>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>separator3</name>
- <right_justify>False</right_justify>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>save</name>
- <tooltip>Save current settings</tooltip>
- <signal>
- <name>activate</name>
- <handler>on_save_activate</handler>
- <last_modification_time>Sat, 28 Apr 2001 22:51:02 GMT</last_modification_time>
- </signal>
- <label>_Save</label>
- <right_justify>False</right_justify>
- </widget>
-
- <widget>
- <class>GtkCheckMenuItem</class>
- <name>save_on_exit</name>
- <tooltip>Toogle save settings on exit</tooltip>
- <signal>
- <name>toggled</name>
- <handler>on_save_on_exit_toggle</handler>
- <last_modification_time>Sun, 29 Apr 2001 10:26:16 GMT</last_modification_time>
- </signal>
- <label>Save on _exit</label>
- <active>False</active>
- <always_show_toggle>True</always_show_toggle>
- </widget>
- </widget>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>help</name>
- <label>_Help</label>
- <right_justify>True</right_justify>
-
- <widget>
- <class>GtkMenu</class>
- <name>help_menu</name>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>about</name>
- <signal>
- <name>activate</name>
- <handler>on_about_activate</handler>
- <last_modification_time>Tue, 13 Mar 2001 01:37:20 GMT</last_modification_time>
- </signal>
- <label>_About...</label>
- <right_justify>True</right_justify>
- </widget>
- </widget>
- </widget>
- </widget>
+<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
+<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd">
+
+<glade-interface>
+
+<widget class="GtkWindow" id="main_window">
+ <property name="title" translatable="yes">gmixvm</property>
+ <property name="type">GTK_WINDOW_TOPLEVEL</property>
+ <property name="window_position">GTK_WIN_POS_NONE</property>
+ <property name="modal">False</property>
+ <property name="default_width">650</property>
+ <property name="default_height">550</property>
+ <property name="resizable">True</property>
+ <property name="destroy_with_parent">False</property>
+ <property name="decorated">True</property>
+ <property name="skip_taskbar_hint">False</property>
+ <property name="skip_pager_hint">False</property>
+ <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
+ <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+ <signal name="destroy" handler="on_main_window_destroy"/>
+
+ <child>
+ <widget class="GtkVBox" id="main_vbox">
+ <property name="border_width">2</property>
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">2</property>
- <widget>
- <class>GtkToolbar</class>
- <name>main_toolbar</name>
- <orientation>GTK_ORIENTATION_HORIZONTAL</orientation>
- <type>GTK_TOOLBAR_ICONS</type>
- <space_size>15</space_size>
- <space_style>GTK_TOOLBAR_SPACE_EMPTY</space_style>
- <relief>GTK_RELIEF_NORMAL</relief>
- <tooltips>True</tooltips>
<child>
- <padding>1</padding>
- <expand>False</expand>
- <fill>False</fill>
- </child>
-
- <widget>
- <class>GtkButton</class>
- <child_name>Toolbar:button</child_name>
- <name>load_button</name>
- <tooltip>Load MIX program</tooltip>
- <signal>
- <name>clicked</name>
- <handler>on_file_open_activate</handler>
- <last_modification_time>Wed, 15 Aug 2001 00:10:04 GMT</last_modification_time>
- </signal>
- <label>Load</label>
- <icon>open.xpm</icon>
- </widget>
-
- <widget>
- <class>GtkButton</class>
- <child_name>Toolbar:button</child_name>
- <name>compile_button</name>
- <tooltip>Compile MIXAL source</tooltip>
- <signal>
- <name>clicked</name>
- <handler>on_file_compile_activate</handler>
- <last_modification_time>Wed, 15 Aug 2001 00:11:29 GMT</last_modification_time>
- </signal>
- <label>Build</label>
- <icon>compile.xpm</icon>
- </widget>
-
- <widget>
- <class>GtkButton</class>
- <child_name>Toolbar:button</child_name>
- <name>edit_button</name>
- <tooltip>Edit MIXAL source</tooltip>
- <signal>
- <name>clicked</name>
- <handler>on_file_edit_activate</handler>
- <last_modification_time>Wed, 15 Aug 2001 00:11:03 GMT</last_modification_time>
- </signal>
- <label>Edit</label>
- <icon>edit.xpm</icon>
- </widget>
-
- <widget>
- <class>GtkVSeparator</class>
- <name>vseparator6</name>
- </widget>
-
- <widget>
- <class>GtkButton</class>
- <child_name>Toolbar:button</child_name>
- <name>run_button</name>
- <tooltip>Run</tooltip>
- <signal>
- <name>clicked</name>
- <handler>on_debug_run_activate</handler>
- <last_modification_time>Wed, 15 Aug 2001 00:12:03 GMT</last_modification_time>
- </signal>
- <label>Run</label>
- <icon>run.xpm</icon>
- <child>
- <new_group>True</new_group>
- </child>
- </widget>
-
- <widget>
- <class>GtkButton</class>
- <child_name>Toolbar:button</child_name>
- <name>step_button</name>
- <tooltip>Next</tooltip>
- <signal>
- <name>clicked</name>
- <handler>on_debug_next_activate</handler>
- <last_modification_time>Wed, 15 Aug 2001 00:12:36 GMT</last_modification_time>
- </signal>
- <label>Step</label>
- <icon>next.xpm</icon>
- </widget>
-
- <widget>
- <class>GtkButton</class>
- <child_name>Toolbar:button</child_name>
- <name>clear_button</name>
- <tooltip>Clear breakpoints</tooltip>
- <signal>
- <name>clicked</name>
- <handler>on_clear_breakpoints_activate</handler>
- <last_modification_time>Thu, 16 Aug 2001 12:58:32 GMT</last_modification_time>
- </signal>
- <label>Clear</label>
- <icon>clear.xpm</icon>
- </widget>
-
- <widget>
- <class>GtkButton</class>
- <child_name>Toolbar:button</child_name>
- <name>symbols_button</name>
- <tooltip>Symbol table</tooltip>
- <signal>
- <name>clicked</name>
- <handler>on_symbols_activate</handler>
- <last_modification_time>Thu, 16 Aug 2001 13:02:32 GMT</last_modification_time>
- </signal>
- <label>Symbols</label>
- <icon>symbols.xpm</icon>
- </widget>
-
- <widget>
- <class>GtkButton</class>
- <child_name>Toolbar:button</child_name>
- <name>button29</name>
- <tooltip>Colors</tooltip>
- <signal>
- <name>clicked</name>
- <handler>on_colors_activate</handler>
- <last_modification_time>Thu, 16 Aug 2001 13:36:24 GMT</last_modification_time>
- </signal>
- <label>Colors</label>
- <icon>colors.xpm</icon>
- <child>
- <new_group>True</new_group>
- </child>
- </widget>
-
- <widget>
- <class>GtkButton</class>
- <child_name>Toolbar:button</child_name>
- <name>button28</name>
- <tooltip>Device directory</tooltip>
- <signal>
- <name>clicked</name>
- <handler>on_devdir_activate</handler>
- <last_modification_time>Thu, 16 Aug 2001 13:14:09 GMT</last_modification_time>
- </signal>
- <label>Device dir</label>
- <icon>devdir.xpm</icon>
- </widget>
-
- <widget>
- <class>GtkButton</class>
- <child_name>Toolbar:button</child_name>
- <name>button30</name>
- <tooltip>Output format</tooltip>
- <signal>
- <name>clicked</name>
- <handler>on_devform_activate</handler>
- <last_modification_time>Thu, 16 Aug 2001 14:46:32 GMT</last_modification_time>
- </signal>
- <label>Output</label>
- <icon>output.xpm</icon>
- </widget>
-
- <widget>
- <class>GtkButton</class>
- <child_name>Toolbar:button</child_name>
- <name>button31</name>
- <tooltip>External programs</tooltip>
- <signal>
- <name>clicked</name>
- <handler>on_external_programs_activate</handler>
- <last_modification_time>Thu, 16 Aug 2001 23:56:34 GMT</last_modification_time>
- </signal>
- <label>Extern</label>
- <icon>extern.xpm</icon>
- </widget>
-
- <widget>
- <class>GtkButton</class>
- <child_name>Toolbar:button</child_name>
- <name>button26</name>
- <tooltip>Split windows</tooltip>
- <signal>
- <name>clicked</name>
- <handler>on_split_windows_activate</handler>
- <last_modification_time>Thu, 16 Aug 2001 22:18:03 GMT</last_modification_time>
- </signal>
- <label>Split</label>
- <icon>splitw.xpm</icon>
- <child>
- <new_group>True</new_group>
- </child>
- </widget>
- </widget>
+ <widget class="GtkMenuBar" id="mainmenubar">
+ <property name="visible">True</property>
- <widget>
- <class>GtkVBox</class>
- <name>inner_vbox</name>
- <homogeneous>False</homogeneous>
- <spacing>0</spacing>
- <child>
- <padding>0</padding>
- <expand>True</expand>
- <fill>True</fill>
- </child>
+ <child>
+ <widget class="GtkMenuItem" id="file">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_File</property>
+ <property name="use_underline">True</property>
- <widget>
- <class>GtkNotebook</class>
- <name>main_notebook</name>
- <can_focus>True</can_focus>
- <signal>
- <name>switch_page</name>
- <handler>on_notebook_switch_page</handler>
- <last_modification_time>Thu, 21 Jun 2001 20:33:09 GMT</last_modification_time>
- </signal>
- <show_tabs>True</show_tabs>
- <show_border>True</show_border>
- <tab_pos>GTK_POS_TOP</tab_pos>
- <scrollable>False</scrollable>
- <tab_hborder>2</tab_hborder>
- <tab_vborder>2</tab_vborder>
- <popup_enable>False</popup_enable>
- <child>
- <padding>0</padding>
- <expand>False</expand>
- <fill>True</fill>
- </child>
-
- <widget>
- <class>GtkFixed</class>
- <name>mixvm_widget</name>
- <width>375</width>
- <height>287</height>
-
- <widget>
- <class>GtkEntry</class>
- <name>rJ_entry</name>
- <x>304</x>
- <y>88</y>
- <width>60</width>
- <height>24</height>
- <can_focus>True</can_focus>
- <signal>
- <name>button_press_event</name>
- <handler>on_register_click</handler>
- <last_modification_time>Sun, 11 Mar 2001 11:45:00 GMT</last_modification_time>
- </signal>
- <editable>False</editable>
- <text_visible>True</text_visible>
- <text_max_length>0</text_max_length>
- <text></text>
- </widget>
-
- <widget>
- <class>GtkEntry</class>
- <name>rA_entry</name>
- <x>40</x>
- <y>24</y>
- <width>120</width>
- <height>24</height>
- <can_focus>True</can_focus>
- <signal>
- <name>button_press_event</name>
- <handler>on_register_click</handler>
- <last_modification_time>Mon, 12 Mar 2001 23:09:49 GMT</last_modification_time>
- </signal>
- <editable>False</editable>
- <text_visible>True</text_visible>
- <text_max_length>0</text_max_length>
- <text></text>
- </widget>
-
- <widget>
- <class>GtkEntry</class>
- <name>rX_entry</name>
- <x>248</x>
- <y>24</y>
- <width>120</width>
- <height>24</height>
- <can_focus>True</can_focus>
- <signal>
- <name>button_press_event</name>
- <handler>on_register_click</handler>
- <last_modification_time>Sun, 11 Mar 2001 11:43:29 GMT</last_modification_time>
- </signal>
- <editable>False</editable>
- <text_visible>True</text_visible>
- <text_max_length>0</text_max_length>
- <text></text>
- </widget>
-
- <widget>
- <class>GtkEntry</class>
- <name>rI2_entry</name>
- <x>40</x>
- <y>144</y>
- <width>60</width>
- <height>22</height>
- <can_focus>True</can_focus>
- <signal>
- <name>button_press_event</name>
- <handler>on_register_click</handler>
- <last_modification_time>Sun, 11 Mar 2001 11:45:39 GMT</last_modification_time>
- </signal>
- <editable>False</editable>
- <text_visible>True</text_visible>
- <text_max_length>0</text_max_length>
- <text></text>
- </widget>
-
- <widget>
- <class>GtkEntry</class>
- <name>rI1_entry</name>
- <x>40</x>
- <y>88</y>
- <width>60</width>
- <height>24</height>
- <can_focus>True</can_focus>
- <signal>
- <name>button_press_event</name>
- <handler>on_register_click</handler>
- <last_modification_time>Sun, 11 Mar 2001 11:43:44 GMT</last_modification_time>
- </signal>
- <editable>False</editable>
- <text_visible>True</text_visible>
- <text_max_length>0</text_max_length>
- <text></text>
- </widget>
-
- <widget>
- <class>GtkEntry</class>
- <name>rI3_entry</name>
- <x>40</x>
- <y>200</y>
- <width>60</width>
- <height>22</height>
- <can_focus>True</can_focus>
- <signal>
- <name>button_press_event</name>
- <handler>on_register_click</handler>
- <last_modification_time>Sun, 11 Mar 2001 11:46:37 GMT</last_modification_time>
- </signal>
- <editable>False</editable>
- <text_visible>True</text_visible>
- <text_max_length>0</text_max_length>
- <text></text>
- </widget>
-
- <widget>
- <class>GtkEntry</class>
- <name>rI4_entry</name>
- <x>168</x>
- <y>88</y>
- <width>60</width>
- <height>24</height>
- <can_focus>True</can_focus>
- <signal>
- <name>button_press_event</name>
- <handler>on_register_click</handler>
- <last_modification_time>Sun, 11 Mar 2001 11:44:21 GMT</last_modification_time>
- </signal>
- <editable>False</editable>
- <text_visible>True</text_visible>
- <text_max_length>0</text_max_length>
- <text></text>
- </widget>
-
- <widget>
- <class>GtkEntry</class>
- <name>rI6_entry</name>
- <x>168</x>
- <y>200</y>
- <width>60</width>
- <height>22</height>
- <can_focus>True</can_focus>
- <signal>
- <name>button_press_event</name>
- <handler>on_register_click</handler>
- <last_modification_time>Sun, 11 Mar 2001 11:46:58 GMT</last_modification_time>
- </signal>
- <editable>False</editable>
- <text_visible>True</text_visible>
- <text_max_length>0</text_max_length>
- <text></text>
- </widget>
-
- <widget>
- <class>GtkLabel</class>
- <name>label159</name>
- <x>8</x>
- <y>248</y>
- <width>64</width>
- <height>16</height>
- <label>Elapsed:</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
-
- <widget>
- <class>GtkLabel</class>
- <name>label158</name>
- <x>128</x>
- <y>248</y>
- <width>64</width>
- <height>16</height>
- <label>Program:</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
-
- <widget>
- <class>GtkLabel</class>
- <name>label157</name>
- <x>256</x>
- <y>248</y>
- <width>48</width>
- <height>16</height>
- <label>Uptime:</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
-
- <widget>
- <class>GtkVSeparator</class>
- <name>vseparator1</name>
- <x>376</x>
- <y>10</y>
- <width>16</width>
- <height>263</height>
- </widget>
-
- <widget>
- <class>GtkEntry</class>
- <name>rI5_entry</name>
- <x>168</x>
- <y>144</y>
- <width>60</width>
- <height>22</height>
- <can_focus>True</can_focus>
- <signal>
- <name>button_press_event</name>
- <handler>on_register_click</handler>
- <last_modification_time>Sun, 11 Mar 2001 11:46:05 GMT</last_modification_time>
- </signal>
- <editable>False</editable>
- <text_visible>True</text_visible>
- <text_max_length>0</text_max_length>
- <text></text>
- </widget>
-
- <widget>
- <class>GtkEntry</class>
- <name>loc_entry</name>
- <x>300</x>
- <y>200</y>
- <width>40</width>
- <height>22</height>
- <can_focus>True</can_focus>
- <editable>False</editable>
- <text_visible>True</text_visible>
- <text_max_length>0</text_max_length>
- <text></text>
- </widget>
-
- <widget>
- <class>GtkLabel</class>
- <name>program_label</name>
- <x>184</x>
- <y>248</y>
- <width>56</width>
- <height>16</height>
- <label>000000</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
-
- <widget>
- <class>GtkLabel</class>
- <name>elapsed_label</name>
- <x>64</x>
- <y>248</y>
- <width>48</width>
- <height>16</height>
- <label>000000</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
-
- <widget>
- <class>GtkLabel</class>
- <name>uptime_label</name>
- <x>296</x>
- <y>248</y>
- <width>72</width>
- <height>16</height>
- <label>00000000</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
-
- <widget>
- <class>GtkCheckButton</class>
- <name>over_toggle</name>
- <x>288</x>
- <y>168</y>
- <width>88</width>
- <height>16</height>
- <can_focus>True</can_focus>
- <signal>
- <name>toggled</name>
- <handler>on_overflow_toggled</handler>
- <last_modification_time>Tue, 06 Mar 2001 21:32:39 GMT</last_modification_time>
- </signal>
- <label>Overflow</label>
- <active>False</active>
- <draw_indicator>True</draw_indicator>
- </widget>
-
- <widget>
- <class>GtkRadioButton</class>
- <name>greater_radio</name>
- <x>336</x>
- <y>128</y>
- <width>32</width>
- <height>24</height>
- <tooltip>Comparison flag: greater</tooltip>
- <can_focus>True</can_focus>
- <signal>
- <name>toggled</name>
- <handler>on_cmp_g_toggled</handler>
- <last_modification_time>Tue, 06 Mar 2001 21:21:40 GMT</last_modification_time>
- </signal>
- <label>G</label>
- <active>False</active>
- <draw_indicator>True</draw_indicator>
- <group>cmp_group</group>
- </widget>
-
- <widget>
- <class>GtkScrolledWindow</class>
- <name>memory_scroll</name>
- <x>398</x>
- <y>16</y>
- <width>225</width>
- <height>248</height>
- <hscrollbar_policy>GTK_POLICY_NEVER</hscrollbar_policy>
- <vscrollbar_policy>GTK_POLICY_ALWAYS</vscrollbar_policy>
- <hupdate_policy>GTK_UPDATE_CONTINUOUS</hupdate_policy>
- <vupdate_policy>GTK_UPDATE_CONTINUOUS</vupdate_policy>
-
- <widget>
- <class>GtkCList</class>
- <name>memory_cells</name>
- <width>195</width>
- <height>248</height>
- <tooltip>Click cell to change value</tooltip>
- <can_focus>True</can_focus>
- <signal>
- <name>select_row</name>
- <handler>on_memory_cells_select_row</handler>
- <after>True</after>
- <last_modification_time>Tue, 13 Mar 2001 07:38:52 GMT</last_modification_time>
- </signal>
- <signal>
- <name>click_column</name>
- <handler>on_memory_cells_click_column</handler>
- <last_modification_time>Wed, 14 Mar 2001 14:18:57 GMT</last_modification_time>
- </signal>
- <columns>2</columns>
- <column_widths>53,135</column_widths>
- <selection_mode>GTK_SELECTION_SINGLE</selection_mode>
- <show_titles>True</show_titles>
- <shadow_type>GTK_SHADOW_IN</shadow_type>
-
- <widget>
- <class>GtkLabel</class>
- <child_name>CList:title</child_name>
- <name>label165</name>
- <label>address</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
-
- <widget>
- <class>GtkLabel</class>
- <child_name>CList:title</child_name>
- <name>label166</name>
- <label>contents</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
- </widget>
- </widget>
-
- <widget>
- <class>GtkRadioButton</class>
- <name>lesser_radio</name>
- <x>264</x>
- <y>128</y>
- <width>35</width>
- <height>24</height>
- <tooltip>Comparison flag: lesser</tooltip>
- <can_focus>True</can_focus>
- <signal>
- <name>toggled</name>
- <handler>on_cmp_l_toggled</handler>
- <last_modification_time>Tue, 06 Mar 2001 21:21:51 GMT</last_modification_time>
- </signal>
- <label>L</label>
- <active>False</active>
- <draw_indicator>True</draw_indicator>
- <group>cmp_group</group>
- </widget>
-
- <widget>
- <class>GtkRadioButton</class>
- <name>equal_radio</name>
- <x>304</x>
- <y>128</y>
- <width>31</width>
- <height>24</height>
- <tooltip>Comparison flag: equal</tooltip>
- <can_focus>True</can_focus>
- <signal>
- <name>toggled</name>
- <handler>on_cmp_e_toggled</handler>
- <last_modification_time>Tue, 06 Mar 2001 21:22:04 GMT</last_modification_time>
- </signal>
- <label>E</label>
- <active>False</active>
- <draw_indicator>True</draw_indicator>
- <group>cmp_group</group>
- </widget>
-
- <widget>
- <class>GtkButton</class>
- <name>loc_arrow</name>
- <x>346</x>
- <y>200</y>
- <width>30</width>
- <height>23</height>
- <tooltip>View loc address</tooltip>
- <can_focus>True</can_focus>
- <signal>
- <name>clicked</name>
- <handler>on_loc_arrow_clicked</handler>
- <last_modification_time>Thu, 16 Aug 2001 21:01:57 GMT</last_modification_time>
- </signal>
- <relief>GTK_RELIEF_NORMAL</relief>
-
- <widget>
- <class>GtkPixmap</class>
- <name>pixmap1</name>
- <filename>jump.xpm</filename>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- <build_insensitive>True</build_insensitive>
+ <child>
+ <widget class="GtkMenu" id="file_menu">
+
+ <child>
+ <widget class="GtkImageMenuItem" id="file_open">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Load a MIX file</property>
+ <property name="label" translatable="yes">_Load...</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_file_open_activate"/>
+ <accelerator key="F3" modifiers="GDK_MOD1_MASK" signal="activate"/>
+
+ <child internal-child="image">
+ <widget class="GtkImage" id="image80">
+ <property name="visible">True</property>
+ <property name="stock">gtk-open</property>
+ <property name="icon_size">1</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ </child>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkImageMenuItem" id="edit">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Edit a MIXAL source file</property>
+ <property name="label" translatable="yes">_Edit...</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_file_edit_activate"/>
+ <accelerator key="F4" modifiers="GDK_MOD1_MASK" signal="activate"/>
+
+ <child internal-child="image">
+ <widget class="GtkImage" id="image81">
+ <property name="visible">True</property>
+ <property name="stock">gtk-justify-fill</property>
+ <property name="icon_size">1</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ </child>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkImageMenuItem" id="compile">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Compile a MIXAL source file</property>
+ <property name="label" translatable="yes">_Compile...</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_file_compile_activate"/>
+ <accelerator key="F5" modifiers="GDK_MOD1_MASK" signal="activate"/>
+
+ <child internal-child="image">
+ <widget class="GtkImage" id="image82">
+ <property name="visible">True</property>
+ <property name="stock">gtk-execute</property>
+ <property name="icon_size">1</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ </child>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkSeparatorMenuItem" id="separator2">
+ <property name="visible">True</property>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkImageMenuItem" id="file_exit">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Exit application</property>
+ <property name="label" translatable="yes">E_xit</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_file_exit_activate"/>
+ <accelerator key="Q" modifiers="GDK_MOD1_MASK" signal="activate"/>
+
+ <child internal-child="image">
+ <widget class="GtkImage" id="image83">
+ <property name="visible">True</property>
+ <property name="stock">gtk-quit</property>
+ <property name="icon_size">1</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ </child>
</widget>
- </widget>
-
- <widget>
- <class>GtkLabel</class>
- <name>label97</name>
- <x>8</x>
- <y>27</y>
- <width>31</width>
- <height>16</height>
- <label>A</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
-
- <widget>
- <class>GtkLabel</class>
- <name>label98</name>
- <x>216</x>
- <y>27</y>
- <width>31</width>
- <height>16</height>
- <label>X</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
-
- <widget>
- <class>GtkLabel</class>
- <name>label100</name>
- <x>8</x>
- <y>91</y>
- <width>31</width>
- <height>16</height>
- <label>I1</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
-
- <widget>
- <class>GtkLabel</class>
- <name>label103</name>
- <x>136</x>
- <y>91</y>
- <width>32</width>
- <height>16</height>
- <label>I4</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
-
- <widget>
- <class>GtkLabel</class>
- <name>label99</name>
- <x>272</x>
- <y>91</y>
- <width>31</width>
- <height>16</height>
- <label>J</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
-
- <widget>
- <class>GtkLabel</class>
- <name>label101</name>
- <x>8</x>
- <y>147</y>
- <width>31</width>
- <height>16</height>
- <label>I2</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
-
- <widget>
- <class>GtkLabel</class>
- <name>label104</name>
- <x>136</x>
- <y>147</y>
- <width>31</width>
- <height>16</height>
- <label>I5</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
-
- <widget>
- <class>GtkLabel</class>
- <name>label102</name>
- <x>8</x>
- <y>203</y>
- <width>31</width>
- <height>16</height>
- <label>I3</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
-
- <widget>
- <class>GtkLabel</class>
- <name>label105</name>
- <x>136</x>
- <y>203</y>
- <width>31</width>
- <height>16</height>
- <label>I6</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
-
- <widget>
- <class>GtkLabel</class>
- <name>label167</name>
- <x>256</x>
- <y>203</y>
- <width>48</width>
- <height>16</height>
- <label>LOC</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
-
- <widget>
- <class>GtkVSeparator</class>
- <name>vseparator2</name>
- <x>0</x>
- <y>8</y>
- <width>16</width>
- <height>263</height>
- </widget>
-
- <widget>
- <class>GtkVSeparator</class>
- <name>vseparator3</name>
- <x>626</x>
- <y>8</y>
- <width>16</width>
- <height>263</height>
- </widget>
-
- <widget>
- <class>GtkHSeparator</class>
- <name>hseparator1</name>
- <x>8</x>
- <y>232</y>
- <width>376</width>
- <height>16</height>
- </widget>
-
- <widget>
- <class>GtkHSeparator</class>
- <name>hseparator2</name>
- <x>6</x>
- <y>265</y>
- <width>627</width>
- <height>16</height>
- </widget>
-
- <widget>
- <class>GtkHSeparator</class>
- <name>hseparator3</name>
- <x>7</x>
- <y>1</y>
- <width>626</width>
- <height>16</height>
- </widget>
- </widget>
+ </child>
- <widget>
- <class>GtkLabel</class>
- <child_name>Notebook:tab</child_name>
- <name>label105</name>
- <label>_MIX</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
+ <child>
+ <widget class="GtkMenuItem" id="view">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Vie_w</property>
+ <property name="use_underline">True</property>
- <widget>
- <class>GtkScrolledWindow</class>
- <name>mixal_scrol</name>
- <hscrollbar_policy>GTK_POLICY_AUTOMATIC</hscrollbar_policy>
- <vscrollbar_policy>GTK_POLICY_AUTOMATIC</vscrollbar_policy>
- <hupdate_policy>GTK_UPDATE_CONTINUOUS</hupdate_policy>
- <vupdate_policy>GTK_UPDATE_CONTINUOUS</vupdate_policy>
-
- <widget>
- <class>GtkCList</class>
- <name>mixal_clist</name>
- <tooltip>Click to toggle breakpoint</tooltip>
- <can_focus>True</can_focus>
- <events>GDK_POINTER_MOTION_MASK</events>
- <signal>
- <name>select_row</name>
- <handler>on_mixal_select_row</handler>
- <after>True</after>
- <last_modification_time>Sun, 11 Mar 2001 01:15:28 GMT</last_modification_time>
- </signal>
- <signal>
- <name>motion_notify_event</name>
- <handler>on_mixal_motion_notify_event</handler>
- <last_modification_time>Sun, 17 Jun 2001 19:44:48 GMT</last_modification_time>
- </signal>
- <columns>2</columns>
- <column_widths>152,80</column_widths>
- <selection_mode>GTK_SELECTION_SINGLE</selection_mode>
- <show_titles>True</show_titles>
- <shadow_type>GTK_SHADOW_IN</shadow_type>
-
- <widget>
- <class>GtkLabel</class>
- <child_name>CList:title</child_name>
- <name>label213</name>
- <label>memory</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
+ <child>
+ <widget class="GtkMenu" id="view_menu">
+
+ <child>
+ <widget class="GtkCheckMenuItem" id="show_toolbars">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Toolbar</property>
+ <property name="use_underline">True</property>
+ <property name="active">False</property>
+ <signal name="toggled" handler="on_show_toolbars_toggled"/>
+ <accelerator key="T" modifiers="GDK_MOD1_MASK" signal="activate"/>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkSeparatorMenuItem" id="separator5">
+ <property name="visible">True</property>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkMenuItem" id="split_windows">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Split _windows</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_split_windows_activate"/>
+ </widget>
+ </child>
+ </widget>
+ </child>
</widget>
+ </child>
- <widget>
- <class>GtkLabel</class>
- <child_name>CList:title</child_name>
- <name>label214</name>
- <label>source</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
- </widget>
- </widget>
+ <child>
+ <widget class="GtkMenuItem" id="debug">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">De_bug</property>
+ <property name="use_underline">True</property>
- <widget>
- <class>GtkLabel</class>
- <child_name>Notebook:tab</child_name>
- <name>label106</name>
- <label>MI_XAL</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
+ <child>
+ <widget class="GtkMenu" id="debug_menu">
+
+ <child>
+ <widget class="GtkImageMenuItem" id="debug_run">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Run program</property>
+ <property name="label" translatable="yes">_Run</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_debug_run_activate"/>
+ <accelerator key="R" modifiers="GDK_MOD1_MASK" signal="activate"/>
+
+ <child internal-child="image">
+ <widget class="GtkImage" id="image84">
+ <property name="visible">True</property>
+ <property name="stock">gtk-go-forward</property>
+ <property name="icon_size">1</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ </child>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkImageMenuItem" id="debug_next">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Execute next instruction</property>
+ <property name="label" translatable="yes">_Next</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_debug_next_activate"/>
+ <accelerator key="N" modifiers="GDK_MOD1_MASK" signal="activate"/>
+
+ <child internal-child="image">
+ <widget class="GtkImage" id="image85">
+ <property name="visible">True</property>
+ <property name="stock">gtk-goto-last</property>
+ <property name="icon_size">1</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ </child>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkImageMenuItem" id="clear_breakpoints">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Clear all set breakpoints</property>
+ <property name="label" translatable="yes">_Clear breakpoints</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_clear_breakpoints_activate"/>
+ <accelerator key="C" modifiers="GDK_MOD1_MASK" signal="activate"/>
+
+ <child internal-child="image">
+ <widget class="GtkImage" id="image86">
+ <property name="visible">True</property>
+ <property name="stock">gtk-clear</property>
+ <property name="icon_size">1</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ </child>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkImageMenuItem" id="symbols">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Show the symbol table</property>
+ <property name="label" translatable="yes">_Symbols...</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_symbols_activate"/>
+ <accelerator key="Y" modifiers="GDK_MOD1_MASK" signal="activate"/>
+
+ <child internal-child="image">
+ <widget class="GtkImage" id="image87">
+ <property name="visible">True</property>
+ <property name="stock">gtk-index</property>
+ <property name="icon_size">1</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ </child>
- <widget>
- <class>GtkNotebook</class>
- <name>devices_notebook</name>
- <width>404</width>
- <height>254</height>
- <can_focus>True</can_focus>
- <show_tabs>True</show_tabs>
- <show_border>True</show_border>
- <tab_pos>GTK_POS_RIGHT</tab_pos>
- <scrollable>True</scrollable>
- <tab_hborder>2</tab_hborder>
- <tab_vborder>2</tab_vborder>
- <popup_enable>True</popup_enable>
-
- <widget>
- <class>Placeholder</class>
- </widget>
-
- <widget>
- <class>GtkLabel</class>
- <child_name>Notebook:tab</child_name>
- <name>label156</name>
- <label>term</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
- </widget>
+ <child>
+ <widget class="GtkMenuItem" id="settings1">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">S_ettings</property>
+ <property name="use_underline">True</property>
- <widget>
- <class>GtkLabel</class>
- <child_name>Notebook:tab</child_name>
- <name>devices_label</name>
- <label>De_vices</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
- </widget>
-
- <widget>
- <class>GtkScrolledWindow</class>
- <name>scrolledwindow25</name>
- <border_width>2</border_width>
- <hscrollbar_policy>GTK_POLICY_AUTOMATIC</hscrollbar_policy>
- <vscrollbar_policy>GTK_POLICY_AUTOMATIC</vscrollbar_policy>
- <hupdate_policy>GTK_UPDATE_CONTINUOUS</hupdate_policy>
- <vupdate_policy>GTK_UPDATE_CONTINUOUS</vupdate_policy>
- <child>
- <padding>0</padding>
- <expand>True</expand>
- <fill>True</fill>
- </child>
-
- <widget>
- <class>GtkViewport</class>
- <name>viewport1</name>
- <shadow_type>GTK_SHADOW_IN</shadow_type>
-
- <widget>
- <class>GtkVBox</class>
- <name>prompt_vbox</name>
- <homogeneous>False</homogeneous>
- <spacing>0</spacing>
-
- <widget>
- <class>GtkScrolledWindow</class>
- <name>mixlog_scrolledwindow</name>
- <hscrollbar_policy>GTK_POLICY_AUTOMATIC</hscrollbar_policy>
- <vscrollbar_policy>GTK_POLICY_ALWAYS</vscrollbar_policy>
- <hupdate_policy>GTK_UPDATE_CONTINUOUS</hupdate_policy>
- <vupdate_policy>GTK_UPDATE_CONTINUOUS</vupdate_policy>
<child>
- <padding>0</padding>
- <expand>True</expand>
- <fill>True</fill>
+ <widget class="GtkMenu" id="settings1_menu">
+
+ <child>
+ <widget class="GtkImageMenuItem" id="fonts1">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Change _font</property>
+ <property name="use_underline">True</property>
+
+ <child internal-child="image">
+ <widget class="GtkImage" id="image88">
+ <property name="visible">True</property>
+ <property name="stock">gtk-select-font</property>
+ <property name="icon_size">1</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkMenu" id="fonts1_menu">
+
+ <child>
+ <widget class="GtkMenuItem" id="mix">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Virtual machine</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_mix_font_activate"/>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkMenuItem" id="mixal">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Source</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_mixal_font_activate"/>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkMenuItem" id="command_prompt">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Command _prompt</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_prompt_font_activate"/>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkMenuItem" id="command_log">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Command l_og</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_log_font_activate"/>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkMenuItem" id="devices">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Devices</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_devices_font_activate"/>
+ </widget>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkMenuItem" id="device_output1">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Change format of binary devices output</property>
+ <property name="label" translatable="yes">_Device output...</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_devform_activate"/>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkImageMenuItem" id="devices_dir">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">De_vices dir...</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_devdir_activate"/>
+
+ <child internal-child="image">
+ <widget class="GtkImage" id="image89">
+ <property name="visible">True</property>
+ <property name="stock">gtk-home</property>
+ <property name="icon_size">1</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ </child>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkImageMenuItem" id="external_programs1">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">E_xternal programs...</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_external_programs_activate"/>
+
+ <child internal-child="image">
+ <widget class="GtkImage" id="image90">
+ <property name="visible">True</property>
+ <property name="stock">gtk-preferences</property>
+ <property name="icon_size">1</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ </child>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkSeparatorMenuItem" id="separator3">
+ <property name="visible">True</property>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkImageMenuItem" id="save">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Save current settings</property>
+ <property name="label" translatable="yes">_Save</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_save_activate"/>
+
+ <child internal-child="image">
+ <widget class="GtkImage" id="image91">
+ <property name="visible">True</property>
+ <property name="stock">gtk-save</property>
+ <property name="icon_size">1</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ </child>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkCheckMenuItem" id="save_on_exit">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Toogle save settings on exit</property>
+ <property name="label" translatable="yes">Save on _exit</property>
+ <property name="use_underline">True</property>
+ <property name="active">False</property>
+ <signal name="toggled" handler="on_save_on_exit_toggle"/>
+ </widget>
+ </child>
+ </widget>
</child>
-
- <widget>
- <class>GtkText</class>
- <name>command_log</name>
- <editable>False</editable>
- <text></text>
- </widget>
</widget>
+ </child>
+
+ <child>
+ <widget class="GtkMenuItem" id="help">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Help</property>
+ <property name="use_underline">True</property>
- <widget>
- <class>GtkEntry</class>
- <name>command_prompt</name>
- <tooltip>Enter MIXVM command here</tooltip>
- <can_focus>True</can_focus>
- <has_focus>True</has_focus>
- <signal>
- <name>key_press_event</name>
- <handler>on_command_prompt_key_press_event</handler>
- <after>True</after>
- <last_modification_time>Wed, 06 Jun 2001 06:46:05 GMT</last_modification_time>
- </signal>
- <editable>True</editable>
- <text_visible>True</text_visible>
- <text_max_length>0</text_max_length>
- <text></text>
<child>
- <padding>0</padding>
- <expand>False</expand>
- <fill>False</fill>
+ <widget class="GtkMenu" id="help_menu">
+
+ <child>
+ <widget class="GtkMenuItem" id="about">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_About...</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_about_activate"/>
+ </widget>
+ </child>
+ </widget>
</child>
</widget>
- </widget>
+ </child>
</widget>
- </widget>
- </widget>
-
- <widget>
- <class>GtkStatusbar</class>
- <name>main_statusbar</name>
- <child>
- <padding>0</padding>
- <expand>False</expand>
- <fill>False</fill>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ </packing>
</child>
- </widget>
- </widget>
-</widget>
-<widget>
- <class>GtkWindow</class>
- <name>split_main_window</name>
- <visible>False</visible>
- <signal>
- <name>destroy</name>
- <handler>on_main_window_destroy</handler>
- <last_modification_time>Tue, 20 Feb 2001 21:58:29 GMT</last_modification_time>
- </signal>
- <title>gmixvm</title>
- <type>GTK_WINDOW_TOPLEVEL</type>
- <position>GTK_WIN_POS_NONE</position>
- <modal>False</modal>
- <default_width>570</default_width>
- <default_height>235</default_height>
- <allow_shrink>True</allow_shrink>
- <allow_grow>True</allow_grow>
- <auto_shrink>True</auto_shrink>
-
- <widget>
- <class>GtkVBox</class>
- <name>main_vbox</name>
- <border_width>2</border_width>
- <homogeneous>False</homogeneous>
- <spacing>2</spacing>
-
- <widget>
- <class>GtkMenuBar</class>
- <name>mainmenubar</name>
- <shadow_type>GTK_SHADOW_OUT</shadow_type>
<child>
- <padding>0</padding>
- <expand>False</expand>
- <fill>True</fill>
- </child>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>file</name>
- <label>_File</label>
- <right_justify>False</right_justify>
-
- <widget>
- <class>GtkMenu</class>
- <name>file_menu</name>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>file_open</name>
- <tooltip>Load a MIX file</tooltip>
- <accelerator>
- <modifiers>GDK_MOD1_MASK</modifiers>
- <key>GDK_F3</key>
- <signal>activate</signal>
- </accelerator>
- <signal>
- <name>activate</name>
- <handler>on_file_open_activate</handler>
- <last_modification_time>Tue, 20 Feb 2001 22:37:58 GMT</last_modification_time>
- </signal>
- <label>_Load...</label>
- <right_justify>False</right_justify>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>edit</name>
- <tooltip>Edit a MIXAL source file</tooltip>
- <accelerator>
- <modifiers>GDK_MOD1_MASK</modifiers>
- <key>GDK_F4</key>
- <signal>activate</signal>
- </accelerator>
- <signal>
- <name>activate</name>
- <handler>on_file_edit_activate</handler>
- <last_modification_time>Fri, 08 Jun 2001 21:11:13 GMT</last_modification_time>
- </signal>
- <label>_Edit...</label>
- <right_justify>False</right_justify>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>compile</name>
- <tooltip>Compile a MIXAL source file</tooltip>
- <accelerator>
- <modifiers>GDK_MOD1_MASK</modifiers>
- <key>GDK_F5</key>
- <signal>activate</signal>
- </accelerator>
- <signal>
- <name>activate</name>
- <handler>on_file_compile_activate</handler>
- <last_modification_time>Fri, 08 Jun 2001 21:11:33 GMT</last_modification_time>
- </signal>
- <label>_Compile...</label>
- <right_justify>False</right_justify>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>separator2</name>
- <right_justify>False</right_justify>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>file_exit</name>
- <tooltip>Exit application</tooltip>
- <accelerator>
- <modifiers>GDK_MOD1_MASK</modifiers>
- <key>GDK_Q</key>
- <signal>activate</signal>
- </accelerator>
- <signal>
- <name>activate</name>
- <handler>on_file_exit_activate</handler>
- <last_modification_time>Tue, 20 Feb 2001 22:37:58 GMT</last_modification_time>
- </signal>
- <label>E_xit</label>
- <right_justify>False</right_justify>
- </widget>
- </widget>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>view</name>
- <label>_View</label>
- <right_justify>False</right_justify>
-
- <widget>
- <class>GtkMenu</class>
- <name>view_menu</name>
-
- <widget>
- <class>GtkCheckMenuItem</class>
- <name>mix_view</name>
- <signal>
- <name>toggled</name>
- <handler>on_view_toggled</handler>
- <last_modification_time>Sun, 24 Jun 2001 12:24:52 GMT</last_modification_time>
- </signal>
- <label>_MIX</label>
- <active>False</active>
- <always_show_toggle>True</always_show_toggle>
- </widget>
-
- <widget>
- <class>GtkCheckMenuItem</class>
- <name>mixal_view</name>
- <signal>
- <name>toggled</name>
- <handler>on_view_toggled</handler>
- <last_modification_time>Sun, 24 Jun 2001 12:25:14 GMT</last_modification_time>
- </signal>
- <label>MI_XAL</label>
- <active>False</active>
- <always_show_toggle>True</always_show_toggle>
- </widget>
-
- <widget>
- <class>GtkCheckMenuItem</class>
- <name>devices_view</name>
- <signal>
- <name>toggled</name>
- <handler>on_view_toggled</handler>
- <last_modification_time>Sun, 24 Jun 2001 12:25:38 GMT</last_modification_time>
- </signal>
- <label>_Devices</label>
- <active>False</active>
- <always_show_toggle>True</always_show_toggle>
- </widget>
-
- <widget>
- <class>GtkCheckMenuItem</class>
- <name>show_toolbars</name>
- <signal>
- <name>toggled</name>
- <handler>on_show_toolbars_toggled</handler>
- <last_modification_time>Thu, 16 Aug 2001 20:29:52 GMT</last_modification_time>
- </signal>
- <label>_Toolbars</label>
- <active>False</active>
- <always_show_toggle>True</always_show_toggle>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>separator4</name>
- <right_justify>False</right_justify>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>one_window</name>
- <signal>
- <name>activate</name>
- <handler>on_one_window_activate</handler>
- <last_modification_time>Thu, 16 Aug 2001 21:43:42 GMT</last_modification_time>
- </signal>
- <label>One _window</label>
- <right_justify>False</right_justify>
- </widget>
- </widget>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>debug</name>
- <label>D_ebug</label>
- <right_justify>False</right_justify>
-
- <widget>
- <class>GtkMenu</class>
- <name>debug_menu</name>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>debug_run</name>
- <tooltip>Run program</tooltip>
- <accelerator>
- <modifiers>GDK_MOD1_MASK</modifiers>
- <key>GDK_R</key>
- <signal>activate</signal>
- </accelerator>
- <signal>
- <name>activate</name>
- <handler>on_debug_run_activate</handler>
- <last_modification_time>Sat, 10 Mar 2001 11:35:16 GMT</last_modification_time>
- </signal>
- <label>_Run</label>
- <right_justify>False</right_justify>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>debug_next</name>
- <tooltip>Execute next instruction</tooltip>
- <accelerator>
- <modifiers>GDK_MOD1_MASK</modifiers>
- <key>GDK_N</key>
- <signal>activate</signal>
- </accelerator>
- <signal>
- <name>activate</name>
- <handler>on_debug_next_activate</handler>
- <last_modification_time>Sat, 10 Mar 2001 11:35:16 GMT</last_modification_time>
- </signal>
- <label>_Next</label>
- <right_justify>False</right_justify>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>clear_breakpoints</name>
- <tooltip>Clear all set breakpoints</tooltip>
- <accelerator>
- <modifiers>GDK_MOD1_MASK</modifiers>
- <key>GDK_C</key>
- <signal>activate</signal>
- </accelerator>
- <signal>
- <name>activate</name>
- <handler>on_clear_breakpoints_activate</handler>
- <last_modification_time>Thu, 15 Mar 2001 23:26:49 GMT</last_modification_time>
- </signal>
- <label>_Clear breakpoints</label>
- <right_justify>False</right_justify>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>symbols</name>
- <tooltip>Show the symbol table</tooltip>
- <accelerator>
- <modifiers>GDK_MOD1_MASK</modifiers>
- <key>GDK_Y</key>
- <signal>activate</signal>
- </accelerator>
- <signal>
- <name>activate</name>
- <handler>on_symbols_activate</handler>
- <last_modification_time>Mon, 18 Jun 2001 22:17:06 GMT</last_modification_time>
- </signal>
- <label>_Symbols...</label>
- <right_justify>False</right_justify>
- </widget>
- </widget>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>settings1</name>
- <label>_Settings</label>
- <right_justify>False</right_justify>
-
- <widget>
- <class>GtkMenu</class>
- <name>settings1_menu</name>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>colors</name>
- <tooltip>Change colors of MIXAL</tooltip>
- <signal>
- <name>activate</name>
- <handler>on_colors_activate</handler>
- <last_modification_time>Wed, 11 Apr 2001 23:15:11 GMT</last_modification_time>
- </signal>
- <label>_Colors...</label>
- <right_justify>False</right_justify>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>fonts1</name>
- <label>Change _font</label>
- <right_justify>False</right_justify>
-
- <widget>
- <class>GtkMenu</class>
- <name>fonts1_menu</name>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>mix</name>
- <signal>
- <name>activate</name>
- <handler>on_mix_font_activate</handler>
- <last_modification_time>Wed, 25 Apr 2001 01:55:53 GMT</last_modification_time>
- </signal>
- <label>_MIX</label>
- <right_justify>False</right_justify>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>mixal</name>
- <signal>
- <name>activate</name>
- <handler>on_mixal_font_activate</handler>
- <last_modification_time>Wed, 25 Apr 2001 01:55:53 GMT</last_modification_time>
- </signal>
- <label>MI_XAL</label>
- <right_justify>False</right_justify>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>command_prompt</name>
- <signal>
- <name>activate</name>
- <handler>on_prompt_font_activate</handler>
- <last_modification_time>Wed, 25 Apr 2001 01:55:53 GMT</last_modification_time>
- </signal>
- <label>Command _prompt</label>
- <right_justify>False</right_justify>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>command_log</name>
- <signal>
- <name>activate</name>
- <handler>on_log_font_activate</handler>
- <last_modification_time>Wed, 25 Apr 2001 01:55:53 GMT</last_modification_time>
- </signal>
- <label>Command l_og</label>
- <right_justify>False</right_justify>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>devices</name>
- <signal>
- <name>activate</name>
- <handler>on_devices_font_activate</handler>
- <last_modification_time>Thu, 10 May 2001 21:38:40 GMT</last_modification_time>
- </signal>
- <label>De_vices</label>
- <right_justify>False</right_justify>
- </widget>
+ <widget class="GtkToolbar" id="main_toolbar">
+ <property name="visible">True</property>
+ <property name="orientation">GTK_ORIENTATION_HORIZONTAL</property>
+ <property name="toolbar_style">GTK_TOOLBAR_ICONS</property>
+ <property name="tooltips">True</property>
+ <property name="show_arrow">True</property>
+
+ <child>
+ <widget class="GtkToolButton" id="load_button">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Load MIX program</property>
+ <property name="stock_id">gtk-open</property>
+ <property name="visible_horizontal">True</property>
+ <property name="visible_vertical">True</property>
+ <property name="is_important">True</property>
+ <signal name="clicked" handler="on_file_open_activate"/>
</widget>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>device_output1</name>
- <tooltip>Change format of binary devices output</tooltip>
- <signal>
- <name>activate</name>
- <handler>on_devform_activate</handler>
- <last_modification_time>Wed, 30 May 2001 20:44:48 GMT</last_modification_time>
- </signal>
- <label>_Device output...</label>
- <right_justify>False</right_justify>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>devices_dir</name>
- <signal>
- <name>activate</name>
- <handler>on_devdir_activate</handler>
- <last_modification_time>Sun, 08 Jul 2001 20:58:35 GMT</last_modification_time>
- </signal>
- <label>De_vices dir...</label>
- <right_justify>False</right_justify>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>external_programs1</name>
- <signal>
- <name>activate</name>
- <handler>on_external_programs_activate</handler>
- <last_modification_time>Fri, 01 Jun 2001 23:35:01 GMT</last_modification_time>
- </signal>
- <label>E_xternal programs...</label>
- <right_justify>False</right_justify>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>separator1</name>
- <right_justify>False</right_justify>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>save</name>
- <tooltip>Save current settings</tooltip>
- <signal>
- <name>activate</name>
- <handler>on_save_activate</handler>
- <last_modification_time>Sat, 28 Apr 2001 22:51:02 GMT</last_modification_time>
- </signal>
- <label>_Save</label>
- <right_justify>False</right_justify>
- </widget>
-
- <widget>
- <class>GtkCheckMenuItem</class>
- <name>save_on_exit</name>
- <tooltip>Toogle save settings on exit</tooltip>
- <signal>
- <name>toggled</name>
- <handler>on_save_on_exit_toggle</handler>
- <last_modification_time>Sun, 29 Apr 2001 10:26:16 GMT</last_modification_time>
- </signal>
- <label>Save on _exit</label>
- <active>True</active>
- <always_show_toggle>True</always_show_toggle>
- </widget>
- </widget>
- </widget>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>help</name>
- <label>_Help</label>
- <right_justify>True</right_justify>
-
- <widget>
- <class>GtkMenu</class>
- <name>help_menu</name>
-
- <widget>
- <class>GtkMenuItem</class>
- <name>about</name>
- <signal>
- <name>activate</name>
- <handler>on_about_activate</handler>
- <last_modification_time>Tue, 13 Mar 2001 01:37:20 GMT</last_modification_time>
- </signal>
- <label>_About...</label>
- <right_justify>True</right_justify>
- </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkToolButton" id="compile_button">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Compile MIXAL source</property>
+ <property name="stock_id">gtk-execute</property>
+ <property name="visible_horizontal">True</property>
+ <property name="visible_vertical">True</property>
+ <property name="is_important">True</property>
+ <signal name="clicked" handler="on_file_compile_activate"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkToolButton" id="edit_button">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Edit MIXAL source</property>
+ <property name="label" translatable="yes"></property>
+ <property name="use_underline">True</property>
+ <property name="stock_id">gtk-justify-fill</property>
+ <property name="visible_horizontal">True</property>
+ <property name="visible_vertical">True</property>
+ <property name="is_important">True</property>
+ <signal name="clicked" handler="on_file_edit_activate"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkToolButton" id="run_button">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Run</property>
+ <property name="label" translatable="yes"></property>
+ <property name="use_underline">True</property>
+ <property name="stock_id">gtk-go-forward</property>
+ <property name="visible_horizontal">True</property>
+ <property name="visible_vertical">True</property>
+ <property name="is_important">True</property>
+ <signal name="clicked" handler="on_debug_run_activate"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkToolButton" id="step_button">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Next</property>
+ <property name="label" translatable="yes"></property>
+ <property name="use_underline">True</property>
+ <property name="stock_id">gtk-goto-last</property>
+ <property name="visible_horizontal">True</property>
+ <property name="visible_vertical">True</property>
+ <property name="is_important">True</property>
+ <signal name="clicked" handler="on_debug_next_activate"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkToolButton" id="clear_button">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Clear breakpoints</property>
+ <property name="label" translatable="yes"></property>
+ <property name="use_underline">True</property>
+ <property name="stock_id">gtk-clear</property>
+ <property name="visible_horizontal">True</property>
+ <property name="visible_vertical">True</property>
+ <property name="is_important">True</property>
+ <signal name="clicked" handler="on_clear_breakpoints_activate"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkToolButton" id="symbols_button">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Symbol table</property>
+ <property name="label" translatable="yes"></property>
+ <property name="use_underline">True</property>
+ <property name="stock_id">gtk-index</property>
+ <property name="visible_horizontal">True</property>
+ <property name="visible_vertical">True</property>
+ <property name="is_important">True</property>
+ <signal name="clicked" handler="on_symbols_activate"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkSeparatorToolItem" id="separatortoolitem2">
+ <property name="visible">True</property>
+ <property name="draw">True</property>
+ <property name="visible_horizontal">True</property>
+ <property name="visible_vertical">True</property>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkToolButton" id="button28">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Device directory</property>
+ <property name="label" translatable="yes"></property>
+ <property name="use_underline">True</property>
+ <property name="stock_id">gtk-home</property>
+ <property name="visible_horizontal">True</property>
+ <property name="visible_vertical">True</property>
+ <property name="is_important">False</property>
+ <signal name="clicked" handler="on_devdir_activate"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkToolButton" id="button30">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Output format</property>
+ <property name="label" translatable="yes"></property>
+ <property name="use_underline">True</property>
+ <property name="stock_id">gtk-find-and-replace</property>
+ <property name="visible_horizontal">True</property>
+ <property name="visible_vertical">True</property>
+ <property name="is_important">False</property>
+ <signal name="clicked" handler="on_devform_activate"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkToolButton" id="button31">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">External programs</property>
+ <property name="label" translatable="yes"></property>
+ <property name="use_underline">True</property>
+ <property name="stock_id">gtk-properties</property>
+ <property name="visible_horizontal">True</property>
+ <property name="visible_vertical">True</property>
+ <property name="is_important">False</property>
+ <signal name="clicked" handler="on_external_programs_activate"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkSeparatorToolItem" id="separatortoolitem3">
+ <property name="visible">True</property>
+ <property name="draw">True</property>
+ <property name="visible_horizontal">True</property>
+ <property name="visible_vertical">True</property>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkToolButton" id="button26">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Split windows</property>
+ <property name="label" translatable="yes"></property>
+ <property name="use_underline">True</property>
+ <property name="icon">splitw.xpm</property>
+ <property name="visible_horizontal">True</property>
+ <property name="visible_vertical">True</property>
+ <property name="is_important">True</property>
+ <signal name="clicked" handler="on_split_windows_activate"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
</widget>
- </widget>
- </widget>
-
- <widget>
- <class>GtkStatusbar</class>
- <name>main_statusbar</name>
- <child>
- <padding>0</padding>
- <expand>False</expand>
- <fill>False</fill>
- <pack>GTK_PACK_END</pack>
+ <packing>
+ <property name="padding">3</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
</child>
- </widget>
- <widget>
- <class>GtkToolbar</class>
- <name>main_toolbar</name>
- <orientation>GTK_ORIENTATION_HORIZONTAL</orientation>
- <type>GTK_TOOLBAR_ICONS</type>
- <space_size>15</space_size>
- <space_style>GTK_TOOLBAR_SPACE_EMPTY</space_style>
- <relief>GTK_RELIEF_NORMAL</relief>
- <tooltips>True</tooltips>
<child>
- <padding>0</padding>
- <expand>False</expand>
- <fill>False</fill>
- </child>
+ <widget class="GtkVBox" id="inner_vbox">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">0</property>
+
+ <child>
+ <widget class="GtkNotebook" id="main_notebook">
+ <property name="border_width">2</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="show_tabs">True</property>
+ <property name="show_border">True</property>
+ <property name="tab_pos">GTK_POS_TOP</property>
+ <property name="scrollable">False</property>
+ <property name="enable_popup">False</property>
+ <signal name="switch_page" handler="on_notebook_switch_page"/>
- <widget>
- <class>GtkButton</class>
- <child_name>Toolbar:button</child_name>
- <name>button4</name>
- <tooltip>Load MIX program</tooltip>
- <signal>
- <name>clicked</name>
- <handler>on_file_open_activate</handler>
- <last_modification_time>Wed, 15 Aug 2001 00:10:04 GMT</last_modification_time>
- </signal>
- <label>Load</label>
- <icon>open.xpm</icon>
- </widget>
-
- <widget>
- <class>GtkButton</class>
- <child_name>Toolbar:button</child_name>
- <name>button5</name>
- <tooltip>Compile MIXAL source</tooltip>
- <signal>
- <name>clicked</name>
- <handler>on_file_compile_activate</handler>
- <last_modification_time>Wed, 15 Aug 2001 00:11:29 GMT</last_modification_time>
- </signal>
- <label>Build</label>
- <icon>compile.xpm</icon>
- </widget>
-
- <widget>
- <class>GtkButton</class>
- <child_name>Toolbar:button</child_name>
- <name>button6</name>
- <tooltip>Edit MIXAL source</tooltip>
- <signal>
- <name>clicked</name>
- <handler>on_file_edit_activate</handler>
- <last_modification_time>Wed, 15 Aug 2001 00:11:03 GMT</last_modification_time>
- </signal>
- <label>Edit</label>
- <icon>edit.xpm</icon>
- </widget>
-
- <widget>
- <class>GtkVSeparator</class>
- <name>vseparator7</name>
- </widget>
-
- <widget>
- <class>GtkButton</class>
- <child_name>Toolbar:button</child_name>
- <name>button7</name>
- <tooltip>Run</tooltip>
- <signal>
- <name>clicked</name>
- <handler>on_debug_run_activate</handler>
- <last_modification_time>Wed, 15 Aug 2001 00:12:03 GMT</last_modification_time>
- </signal>
- <label>Run</label>
- <icon>run.xpm</icon>
- <child>
- <new_group>True</new_group>
- </child>
- </widget>
-
- <widget>
- <class>GtkButton</class>
- <child_name>Toolbar:button</child_name>
- <name>button8</name>
- <tooltip>Next</tooltip>
- <signal>
- <name>clicked</name>
- <handler>on_debug_next_activate</handler>
- <last_modification_time>Wed, 15 Aug 2001 00:12:36 GMT</last_modification_time>
- </signal>
- <label>Step</label>
- <icon>next.xpm</icon>
- </widget>
-
- <widget>
- <class>GtkButton</class>
- <child_name>Toolbar:button</child_name>
- <name>button9</name>
- <tooltip>Clear breakpoints</tooltip>
- <signal>
- <name>clicked</name>
- <handler>on_clear_breakpoints_activate</handler>
- <last_modification_time>Thu, 16 Aug 2001 12:58:32 GMT</last_modification_time>
- </signal>
- <label>Clear</label>
- <icon>clear.xpm</icon>
- </widget>
-
- <widget>
- <class>GtkButton</class>
- <child_name>Toolbar:button</child_name>
- <name>button10</name>
- <tooltip>Symbol table</tooltip>
- <signal>
- <name>clicked</name>
- <handler>on_symbols_activate</handler>
- <last_modification_time>Thu, 16 Aug 2001 13:02:32 GMT</last_modification_time>
- </signal>
- <label>Symbols</label>
- <icon>symbols.xpm</icon>
- </widget>
-
- <widget>
- <class>GtkButton</class>
- <child_name>Toolbar:button</child_name>
- <name>button24</name>
- <tooltip>Command log font</tooltip>
- <signal>
- <name>clicked</name>
- <handler>on_log_font_activate</handler>
- <last_modification_time>Thu, 16 Aug 2001 15:04:53 GMT</last_modification_time>
- </signal>
- <label>Font</label>
- <icon>font.xpm</icon>
- <child>
- <new_group>True</new_group>
- </child>
- </widget>
-
- <widget>
- <class>GtkButton</class>
- <child_name>Toolbar:button</child_name>
- <name>button25</name>
- <tooltip>Command prompt font</tooltip>
- <signal>
- <name>clicked</name>
- <handler>on_prompt_font_activate</handler>
- <last_modification_time>Thu, 16 Aug 2001 15:05:48 GMT</last_modification_time>
- </signal>
- <label>Font</label>
- <icon>fontl.xpm</icon>
- </widget>
-
- <widget>
- <class>GtkButton</class>
- <child_name>Toolbar:button</child_name>
- <name>button32</name>
- <tooltip>External programs</tooltip>
- <signal>
- <name>clicked</name>
- <handler>on_external_programs_activate</handler>
- <last_modification_time>Thu, 16 Aug 2001 23:56:34 GMT</last_modification_time>
- </signal>
- <label>Extern</label>
- <icon>extern.xpm</icon>
- </widget>
-
- <widget>
- <class>GtkButton</class>
- <child_name>Toolbar:button</child_name>
- <name>button27</name>
- <tooltip>One window</tooltip>
- <signal>
- <name>clicked</name>
- <handler>on_one_window_activate</handler>
- <last_modification_time>Thu, 16 Aug 2001 22:19:55 GMT</last_modification_time>
- </signal>
- <label>One window</label>
- <icon>onew.xpm</icon>
- <child>
- <new_group>True</new_group>
- </child>
- </widget>
- </widget>
+ <child>
+ <widget class="GtkHBox" id="mixvm_widget">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">0</property>
+
+ <child>
+ <widget class="GtkVBox" id="vbox6">
+ <property name="border_width">1</property>
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">1</property>
+
+ <child>
+ <widget class="GtkFrame" id="frame3">
+ <property name="border_width">2</property>
+ <property name="visible">True</property>
+ <property name="label_xalign">0</property>
+ <property name="label_yalign">0.5</property>
+ <property name="shadow_type">GTK_SHADOW_ETCHED_IN</property>
+
+ <child>
+ <widget class="GtkTable" id="table1">
+ <property name="border_width">8</property>
+ <property name="visible">True</property>
+ <property name="n_rows">3</property>
+ <property name="n_columns">6</property>
+ <property name="homogeneous">False</property>
+ <property name="row_spacing">6</property>
+ <property name="column_spacing">11</property>
+
+ <child>
+ <widget class="GtkLabel" id="label97">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">A</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="right_attach">1</property>
+ <property name="top_attach">0</property>
+ <property name="bottom_attach">1</property>
+ <property name="x_options">fill</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label100">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">I1</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="left_attach">2</property>
+ <property name="right_attach">3</property>
+ <property name="top_attach">0</property>
+ <property name="bottom_attach">1</property>
+ <property name="x_options">fill</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label101">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">I2</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="left_attach">2</property>
+ <property name="right_attach">3</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="x_options">fill</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkEntry" id="rA_entry">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="editable">False</property>
+ <property name="visibility">True</property>
+ <property name="max_length">0</property>
+ <property name="text" translatable="yes"></property>
+ <property name="has_frame">True</property>
+ <property name="invisible_char" translatable="yes">*</property>
+ <property name="activates_default">False</property>
+ <property name="width_chars">19</property>
+ <signal name="button_press_event" handler="on_register_click"/>
+ </widget>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">0</property>
+ <property name="bottom_attach">1</property>
+ <property name="x_options"></property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkEntry" id="rI1_entry">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="editable">False</property>
+ <property name="visibility">True</property>
+ <property name="max_length">0</property>
+ <property name="text" translatable="yes"></property>
+ <property name="has_frame">True</property>
+ <property name="invisible_char" translatable="yes">*</property>
+ <property name="activates_default">False</property>
+ <property name="width_chars">9</property>
+ <signal name="button_press_event" handler="on_register_click"/>
+ </widget>
+ <packing>
+ <property name="left_attach">3</property>
+ <property name="right_attach">4</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="x_options"></property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkEntry" id="rI2_entry">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="editable">False</property>
+ <property name="visibility">True</property>
+ <property name="max_length">0</property>
+ <property name="text" translatable="yes">+ 00 00</property>
+ <property name="has_frame">True</property>
+ <property name="invisible_char" translatable="yes">*</property>
+ <property name="activates_default">False</property>
+ <property name="width_chars">9</property>
+ <signal name="button_press_event" handler="on_register_click"/>
+ </widget>
+ <packing>
+ <property name="left_attach">3</property>
+ <property name="right_attach">4</property>
+ <property name="top_attach">0</property>
+ <property name="bottom_attach">1</property>
+ <property name="x_options"></property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label98">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">X</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="right_attach">1</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="x_options">fill</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label102">
+ <property name="width_request">16</property>
+ <property name="height_request">16</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">I3</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="left_attach">2</property>
+ <property name="right_attach">3</property>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
+ <property name="x_options">fill</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label103">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">I4</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="left_attach">4</property>
+ <property name="right_attach">5</property>
+ <property name="top_attach">0</property>
+ <property name="bottom_attach">1</property>
+ <property name="x_options">fill</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label104">
+ <property name="width_request">16</property>
+ <property name="height_request">16</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">I5</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="left_attach">4</property>
+ <property name="right_attach">5</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="x_options">fill</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label105">
+ <property name="width_request">16</property>
+ <property name="height_request">16</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">I6</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="left_attach">4</property>
+ <property name="right_attach">5</property>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
+ <property name="x_options">fill</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label99">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">J</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="right_attach">1</property>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
+ <property name="x_options">fill</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkEntry" id="rX_entry">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="editable">False</property>
+ <property name="visibility">True</property>
+ <property name="max_length">0</property>
+ <property name="text" translatable="yes">+ 00 00 00 00 00</property>
+ <property name="has_frame">True</property>
+ <property name="invisible_char" translatable="yes">*</property>
+ <property name="activates_default">False</property>
+ <property name="width_chars">19</property>
+ <signal name="button_press_event" handler="on_register_click"/>
+ </widget>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="x_options"></property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkEntry" id="rI4_entry">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="editable">False</property>
+ <property name="visibility">True</property>
+ <property name="max_length">0</property>
+ <property name="text" translatable="yes"></property>
+ <property name="has_frame">True</property>
+ <property name="invisible_char" translatable="yes">*</property>
+ <property name="activates_default">False</property>
+ <property name="width_chars">9</property>
+ <signal name="button_press_event" handler="on_register_click"/>
+ </widget>
+ <packing>
+ <property name="left_attach">5</property>
+ <property name="right_attach">6</property>
+ <property name="top_attach">0</property>
+ <property name="bottom_attach">1</property>
+ <property name="x_options"></property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkEntry" id="rI5_entry">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="editable">False</property>
+ <property name="visibility">True</property>
+ <property name="max_length">0</property>
+ <property name="text" translatable="yes"></property>
+ <property name="has_frame">True</property>
+ <property name="invisible_char" translatable="yes">*</property>
+ <property name="activates_default">False</property>
+ <property name="width_chars">9</property>
+ <signal name="button_press_event" handler="on_register_click"/>
+ </widget>
+ <packing>
+ <property name="left_attach">5</property>
+ <property name="right_attach">6</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="x_options"></property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkEntry" id="rI6_entry">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="editable">False</property>
+ <property name="visibility">True</property>
+ <property name="max_length">0</property>
+ <property name="text" translatable="yes"></property>
+ <property name="has_frame">True</property>
+ <property name="invisible_char" translatable="yes">*</property>
+ <property name="activates_default">False</property>
+ <property name="width_chars">9</property>
+ <signal name="button_press_event" handler="on_register_click"/>
+ </widget>
+ <packing>
+ <property name="left_attach">5</property>
+ <property name="right_attach">6</property>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
+ <property name="x_options"></property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkEntry" id="rI3_entry">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="editable">False</property>
+ <property name="visibility">True</property>
+ <property name="max_length">0</property>
+ <property name="text" translatable="yes"></property>
+ <property name="has_frame">True</property>
+ <property name="invisible_char" translatable="yes">*</property>
+ <property name="activates_default">False</property>
+ <property name="width_chars">9</property>
+ <signal name="button_press_event" handler="on_register_click"/>
+ </widget>
+ <packing>
+ <property name="left_attach">3</property>
+ <property name="right_attach">4</property>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
+ <property name="x_options"></property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkHBox" id="hbox22">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">0</property>
+
+ <child>
+ <widget class="GtkEntry" id="rJ_entry">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="editable">False</property>
+ <property name="visibility">True</property>
+ <property name="max_length">0</property>
+ <property name="text" translatable="yes"></property>
+ <property name="has_frame">True</property>
+ <property name="invisible_char" translatable="yes">*</property>
+ <property name="activates_default">False</property>
+ <property name="width_chars">9</property>
+ <signal name="button_press_event" handler="on_register_click"/>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <placeholder/>
+ </child>
+ </widget>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
+ <property name="x_options">fill</property>
+ <property name="y_options">fill</property>
+ </packing>
+ </child>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label264">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Registers </property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">2</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="type">label_item</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">5</property>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkHBox" id="hbox7">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">0</property>
+
+ <child>
+ <widget class="GtkFrame" id="frame5">
+ <property name="border_width">2</property>
+ <property name="visible">True</property>
+ <property name="label_xalign">0</property>
+ <property name="label_yalign">0.5</property>
+ <property name="shadow_type">GTK_SHADOW_ETCHED_IN</property>
+
+ <child>
+ <widget class="GtkHBox" id="hbox6">
+ <property name="border_width">1</property>
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">5</property>
+
+ <child>
+ <widget class="GtkRadioButton" id="greater_radio">
+ <property name="border_width">2</property>
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Greater</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes">G</property>
+ <property name="use_underline">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ <property name="active">False</property>
+ <property name="inconsistent">False</property>
+ <property name="draw_indicator">True</property>
+ <signal name="toggled" handler="on_cmp_g_toggled"/>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkRadioButton" id="equal_radio">
+ <property name="border_width">2</property>
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Equal</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes">E</property>
+ <property name="use_underline">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ <property name="active">False</property>
+ <property name="inconsistent">False</property>
+ <property name="draw_indicator">True</property>
+ <property name="group">greater_radio</property>
+ <signal name="toggled" handler="on_cmp_e_toggled"/>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkRadioButton" id="lesser_radio">
+ <property name="border_width">2</property>
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Lesser</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes">L</property>
+ <property name="use_underline">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ <property name="active">False</property>
+ <property name="inconsistent">False</property>
+ <property name="draw_indicator">True</property>
+ <property name="group">greater_radio</property>
+ <signal name="toggled" handler="on_cmp_l_toggled"/>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkVSeparator" id="vseparator9">
+ <property name="height_request">7</property>
+ <property name="visible">True</property>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkCheckButton" id="over_toggle">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes">Overflow</property>
+ <property name="use_underline">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ <property name="active">False</property>
+ <property name="inconsistent">False</property>
+ <property name="draw_indicator">True</property>
+ <signal name="toggled" handler="on_overflow_toggled" last_modification_time="Mon, 21 Jun 2004 11:44:04 GMT"/>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label266">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Flags </property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">2</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="type">label_item</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <placeholder/>
+ </child>
+
+ <child>
+ <widget class="GtkFrame" id="frame6">
+ <property name="border_width">2</property>
+ <property name="visible">True</property>
+ <property name="label_xalign">0</property>
+ <property name="label_yalign">0.5</property>
+ <property name="shadow_type">GTK_SHADOW_ETCHED_IN</property>
+
+ <child>
+ <widget class="GtkHBox" id="hbox7">
+ <property name="border_width">4</property>
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">1</property>
+
+ <child>
+ <widget class="GtkEntry" id="loc_entry">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="editable">False</property>
+ <property name="visibility">True</property>
+ <property name="max_length">4</property>
+ <property name="text" translatable="yes">0</property>
+ <property name="has_frame">True</property>
+ <property name="invisible_char" translatable="yes">*</property>
+ <property name="activates_default">False</property>
+ <property name="width_chars">6</property>
+ </widget>
+ <packing>
+ <property name="padding">5</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkButton" id="loc_arrow">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">View loc address</property>
+ <property name="can_focus">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ <signal name="clicked" handler="on_loc_arrow_clicked"/>
+
+ <child>
+ <widget class="GtkImage" id="image4">
+ <property name="visible">True</property>
+ <property name="stock">gtk-jump-to</property>
+ <property name="icon_size">4</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">1</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label1323">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Location </property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">2</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="type">label_item</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="pack_type">GTK_PACK_END</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">5</property>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkFrame" id="frame2">
+ <property name="border_width">2</property>
+ <property name="visible">True</property>
+ <property name="label_xalign">0</property>
+ <property name="label_yalign">0.5</property>
+ <property name="shadow_type">GTK_SHADOW_ETCHED_IN</property>
+
+ <child>
+ <widget class="GtkHBox" id="hbox4">
+ <property name="border_width">5</property>
+ <property name="visible">True</property>
+ <property name="homogeneous">True</property>
+ <property name="spacing">5</property>
+
+ <child>
+ <widget class="GtkLabel" id="label258">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Uptime:</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="uptime_label">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">00000000</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">5</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label260">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Elapsed:</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="padding">3</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="elapsed_label">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">000000</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">5</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label261">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Program:</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="padding">2</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="program_label">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">000000</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">5</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label263">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Times </property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">2</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="type">label_item</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">5</property>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">2</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkFrame" id="frame4">
+ <property name="border_width">7</property>
+ <property name="visible">True</property>
+ <property name="label_xalign">0</property>
+ <property name="label_yalign">0.5</property>
+ <property name="shadow_type">GTK_SHADOW_ETCHED_IN</property>
+
+ <child>
+ <widget class="GtkScrolledWindow" id="memory_scroll">
+ <property name="border_width">5</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <property name="shadow_type">GTK_SHADOW_IN</property>
+ <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
+
+ <child>
+ <widget class="GtkTreeView" id="memory_cells">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="events">GDK_BUTTON_PRESS_MASK</property>
+ <property name="headers_visible">True</property>
+ <property name="rules_hint">True</property>
+ <property name="reorderable">False</property>
+ <property name="enable_search">True</property>
+ </widget>
+ </child>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label265">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Memory </property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">2</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="type">label_item</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">3</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="pack_type">GTK_PACK_END</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="tab_expand">False</property>
+ <property name="tab_fill">True</property>
+ </packing>
+ </child>
- <widget>
- <class>GtkVBox</class>
- <name>vbox3</name>
- <homogeneous>False</homogeneous>
- <spacing>0</spacing>
- <child>
- <padding>0</padding>
- <expand>True</expand>
- <fill>True</fill>
- </child>
+ <child>
+ <widget class="GtkLabel" id="label241">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Virtual machine</property>
+ <property name="use_underline">True</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">2</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="type">tab</property>
+ </packing>
+ </child>
- <widget>
- <class>GtkScrolledWindow</class>
- <name>mixcmd_scrolledwindow</name>
- <hscrollbar_policy>GTK_POLICY_AUTOMATIC</hscrollbar_policy>
- <vscrollbar_policy>GTK_POLICY_AUTOMATIC</vscrollbar_policy>
- <hupdate_policy>GTK_UPDATE_CONTINUOUS</hupdate_policy>
- <vupdate_policy>GTK_UPDATE_CONTINUOUS</vupdate_policy>
- <child>
- <padding>0</padding>
- <expand>True</expand>
- <fill>True</fill>
- </child>
-
- <widget>
- <class>GtkText</class>
- <name>command_log</name>
- <editable>False</editable>
- <text></text>
- </widget>
- </widget>
-
- <widget>
- <class>GtkEntry</class>
- <name>command_prompt</name>
- <tooltip>Enter MIXVM command here</tooltip>
- <can_focus>True</can_focus>
- <has_focus>True</has_focus>
- <signal>
- <name>key_press_event</name>
- <handler>on_command_prompt_key_press_event</handler>
- <after>True</after>
- <last_modification_time>Wed, 06 Jun 2001 06:46:05 GMT</last_modification_time>
- </signal>
- <editable>True</editable>
- <text_visible>True</text_visible>
- <text_max_length>0</text_max_length>
- <text></text>
- <child>
- <padding>0</padding>
- <expand>False</expand>
- <fill>False</fill>
- </child>
- </widget>
- </widget>
- </widget>
-</widget>
+ <child>
+ <widget class="GtkScrolledWindow" id="mixal_scrol">
+ <property name="visible">True</property>
+ <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <property name="shadow_type">GTK_SHADOW_IN</property>
+ <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
+
+ <child>
+ <widget class="GtkTreeView" id="mixal_clist">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Click to toggle breakpoint</property>
+ <property name="can_focus">True</property>
+ <property name="events">GDK_POINTER_MOTION_MASK</property>
+ <property name="headers_visible">True</property>
+ <property name="rules_hint">True</property>
+ <property name="reorderable">False</property>
+ <property name="enable_search">True</property>
+ </widget>
+ </child>
+ </widget>
+ <packing>
+ <property name="tab_expand">False</property>
+ <property name="tab_fill">True</property>
+ </packing>
+ </child>
-<widget>
- <class>GtkDialog</class>
- <name>word_dialog</name>
- <visible>False</visible>
- <signal>
- <name>destroy</name>
- <handler>gtk_widget_hide</handler>
- <last_modification_time>Tue, 13 Mar 2001 00:53:39 GMT</last_modification_time>
- </signal>
- <signal>
- <name>destroy_event</name>
- <handler>gtk_widget_hide</handler>
- <last_modification_time>Tue, 13 Mar 2001 00:55:38 GMT</last_modification_time>
- </signal>
- <signal>
- <name>delete_event</name>
- <handler>gtk_widget_hide</handler>
- <last_modification_time>Tue, 13 Mar 2001 00:56:33 GMT</last_modification_time>
- </signal>
- <title>Enter value</title>
- <type>GTK_WINDOW_DIALOG</type>
- <position>GTK_WIN_POS_MOUSE</position>
- <modal>True</modal>
- <default_width>250</default_width>
- <allow_shrink>False</allow_shrink>
- <allow_grow>False</allow_grow>
- <auto_shrink>False</auto_shrink>
-
- <widget>
- <class>GtkVBox</class>
- <child_name>Dialog:vbox</child_name>
- <name>dialog-vbox5</name>
- <homogeneous>False</homogeneous>
- <spacing>0</spacing>
-
- <widget>
- <class>GtkHBox</class>
- <child_name>Dialog:action_area</child_name>
- <name>dialog-action_area5</name>
- <border_width>10</border_width>
- <width>250</width>
- <homogeneous>True</homogeneous>
- <spacing>5</spacing>
- <child>
- <padding>0</padding>
- <expand>False</expand>
- <fill>False</fill>
- <pack>GTK_PACK_END</pack>
- </child>
+ <child>
+ <widget class="GtkLabel" id="label106">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Source</property>
+ <property name="use_underline">True</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="type">tab</property>
+ </packing>
+ </child>
- <widget>
- <class>GtkHButtonBox</class>
- <name>hbuttonbox5</name>
- <width>250</width>
- <layout_style>GTK_BUTTONBOX_DEFAULT_STYLE</layout_style>
- <spacing>30</spacing>
- <child_min_width>85</child_min_width>
- <child_min_height>27</child_min_height>
- <child_ipad_x>7</child_ipad_x>
- <child_ipad_y>0</child_ipad_y>
- <child>
- <padding>0</padding>
- <expand>False</expand>
- <fill>False</fill>
- </child>
-
- <widget>
- <class>GtkButton</class>
- <name>word_reset</name>
- <can_default>True</can_default>
- <can_focus>True</can_focus>
- <signal>
- <name>clicked</name>
- <handler>on_word_reset_clicked</handler>
- <last_modification_time>Mon, 12 Mar 2001 22:40:33 GMT</last_modification_time>
- </signal>
- <label>_Reset</label>
- <relief>GTK_RELIEF_NORMAL</relief>
- </widget>
+ <child>
+ <widget class="GtkNotebook" id="devices_notebook">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="show_tabs">True</property>
+ <property name="show_border">True</property>
+ <property name="tab_pos">GTK_POS_RIGHT</property>
+ <property name="scrollable">True</property>
+ <property name="enable_popup">False</property>
+
+ <child>
+ <placeholder/>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label1436">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes"></property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="type">tab</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="tab_expand">False</property>
+ <property name="tab_fill">True</property>
+ </packing>
+ </child>
- <widget>
- <class>GtkButton</class>
- <name>word_ok</name>
- <can_default>True</can_default>
- <can_focus>True</can_focus>
- <signal>
- <name>clicked</name>
- <handler>on_word_ok_clicked</handler>
- <last_modification_time>Mon, 12 Mar 2001 22:40:45 GMT</last_modification_time>
- </signal>
- <label>_OK</label>
- <relief>GTK_RELIEF_NORMAL</relief>
- </widget>
+ <child>
+ <widget class="GtkLabel" id="devices_label">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Devices</property>
+ <property name="use_underline">True</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="type">tab</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">2</property>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkScrolledWindow" id="scrolledwindow25">
+ <property name="border_width">2</property>
+ <property name="visible">True</property>
+ <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <property name="shadow_type">GTK_SHADOW_NONE</property>
+ <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
- <widget>
- <class>GtkButton</class>
- <name>word_cancel</name>
- <can_default>True</can_default>
- <can_focus>True</can_focus>
- <signal>
- <name>clicked</name>
- <handler>on_word_cancel_clicked</handler>
- <last_modification_time>Mon, 12 Mar 2001 23:18:49 GMT</last_modification_time>
- </signal>
- <label>_Cancel</label>
- <relief>GTK_RELIEF_NORMAL</relief>
+ <child>
+ <widget class="GtkViewport" id="viewport1">
+ <property name="visible">True</property>
+ <property name="shadow_type">GTK_SHADOW_IN</property>
+
+ <child>
+ <widget class="GtkVBox" id="prompt_vbox">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">0</property>
+
+ <child>
+ <widget class="GtkScrolledWindow" id="mixlog_scrolledwindow">
+ <property name="visible">True</property>
+ <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <property name="vscrollbar_policy">GTK_POLICY_ALWAYS</property>
+ <property name="shadow_type">GTK_SHADOW_IN</property>
+ <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
+
+ <child>
+ <widget class="GtkTextView" id="command_log">
+ <property name="visible">True</property>
+ <property name="editable">False</property>
+ <property name="overwrite">False</property>
+ <property name="accepts_tab">True</property>
+ <property name="justification">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap_mode">GTK_WRAP_WORD</property>
+ <property name="cursor_visible">False</property>
+ <property name="pixels_above_lines">0</property>
+ <property name="pixels_below_lines">0</property>
+ <property name="pixels_inside_wrap">0</property>
+ <property name="left_margin">0</property>
+ <property name="right_margin">0</property>
+ <property name="indent">0</property>
+ <property name="text" translatable="yes"></property>
+ </widget>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkEntry" id="command_prompt">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Enter MIXVM command here</property>
+ <property name="can_focus">True</property>
+ <property name="has_focus">True</property>
+ <property name="editable">True</property>
+ <property name="visibility">True</property>
+ <property name="max_length">0</property>
+ <property name="text" translatable="yes"></property>
+ <property name="has_frame">True</property>
+ <property name="invisible_char" translatable="yes">*</property>
+ <property name="activates_default">False</property>
+ <signal name="key_press_event" handler="on_command_prompt_key_press_event" after="yes"/>
+ <signal name="activate" handler="on_command_prompt_activate" last_modification_time="Sat, 19 Jun 2004 00:00:22 GMT"/>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
</widget>
- </widget>
- </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
- <widget>
- <class>GtkFixed</class>
- <name>word_layout</name>
- <width>250</width>
- <height>97</height>
<child>
- <padding>0</padding>
- <expand>False</expand>
- <fill>False</fill>
+ <widget class="GtkStatusbar" id="main_statusbar">
+ <property name="visible">True</property>
+ <property name="has_resize_grip">True</property>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
</child>
-
- <widget>
- <class>GtkEntry</class>
- <name>word_decimal</name>
- <x>88</x>
- <y>32</y>
- <width>143</width>
- <height>22</height>
- <can_focus>True</can_focus>
- <has_focus>True</has_focus>
- <signal>
- <name>key_press_event</name>
- <handler>on_word_dec_key_press</handler>
- <after>True</after>
- <last_modification_time>Mon, 12 Mar 2001 22:37:13 GMT</last_modification_time>
- </signal>
- <editable>True</editable>
- <text_visible>True</text_visible>
- <text_max_length>11</text_max_length>
- <text>0</text>
- </widget>
-
- <widget>
- <class>GtkEntry</class>
- <name>word_b2</name>
- <x>136</x>
- <y>64</y>
- <width>22</width>
- <height>22</height>
- <can_focus>True</can_focus>
- <signal>
- <name>key_press_event</name>
- <handler>on_word_byte_key_press</handler>
- <after>True</after>
- <last_modification_time>Mon, 12 Mar 2001 22:38:56 GMT</last_modification_time>
- </signal>
- <editable>True</editable>
- <text_visible>True</text_visible>
- <text_max_length>3</text_max_length>
- <text>00</text>
- </widget>
-
- <widget>
- <class>GtkEntry</class>
- <name>word_b3</name>
- <x>160</x>
- <y>64</y>
- <width>22</width>
- <height>22</height>
- <can_focus>True</can_focus>
- <signal>
- <name>key_press_event</name>
- <handler>on_word_byte_key_press</handler>
- <after>True</after>
- <last_modification_time>Mon, 12 Mar 2001 22:39:26 GMT</last_modification_time>
- </signal>
- <editable>True</editable>
- <text_visible>True</text_visible>
- <text_max_length>3</text_max_length>
- <text>00</text>
- </widget>
-
- <widget>
- <class>GtkEntry</class>
- <name>word_b4</name>
- <x>184</x>
- <y>64</y>
- <width>22</width>
- <height>22</height>
- <can_focus>True</can_focus>
- <signal>
- <name>key_press_event</name>
- <handler>on_word_byte_key_press</handler>
- <after>True</after>
- <last_modification_time>Mon, 12 Mar 2001 22:39:50 GMT</last_modification_time>
- </signal>
- <editable>True</editable>
- <text_visible>True</text_visible>
- <text_max_length>3</text_max_length>
- <text>00</text>
- </widget>
-
- <widget>
- <class>GtkEntry</class>
- <name>word_b5</name>
- <x>208</x>
- <y>64</y>
- <width>22</width>
- <height>22</height>
- <can_focus>True</can_focus>
- <signal>
- <name>key_press_event</name>
- <handler>on_word_byte_key_press</handler>
- <after>True</after>
- <last_modification_time>Mon, 12 Mar 2001 22:40:09 GMT</last_modification_time>
- </signal>
- <editable>True</editable>
- <text_visible>True</text_visible>
- <text_max_length>3</text_max_length>
- <text>00</text>
- </widget>
-
- <widget>
- <class>GtkEntry</class>
- <name>word_b1</name>
- <x>112</x>
- <y>64</y>
- <width>22</width>
- <height>22</height>
- <can_default>True</can_default>
- <can_focus>True</can_focus>
- <signal>
- <name>key_press_event</name>
- <handler>on_word_byte_key_press</handler>
- <after>True</after>
- <last_modification_time>Mon, 12 Mar 2001 22:38:24 GMT</last_modification_time>
- </signal>
- <editable>True</editable>
- <text_visible>True</text_visible>
- <text_max_length>3</text_max_length>
- <text>00</text>
- </widget>
-
- <widget>
- <class>GtkEntry</class>
- <name>word_sign</name>
- <x>88</x>
- <y>64</y>
- <width>16</width>
- <height>24</height>
- <can_focus>True</can_focus>
- <signal>
- <name>key_press_event</name>
- <handler>on_word_sign_key_press</handler>
- <last_modification_time>Tue, 13 Mar 2001 00:15:28 GMT</last_modification_time>
- </signal>
- <editable>True</editable>
- <text_visible>True</text_visible>
- <text_max_length>1</text_max_length>
- <text>+</text>
- </widget>
-
- <widget>
- <class>GtkLabel</class>
- <name>label61</name>
- <x>22</x>
- <y>67</y>
- <width>41</width>
- <height>16</height>
- <label>Bytes</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
-
- <widget>
- <class>GtkLabel</class>
- <name>word_label</name>
- <x>16</x>
- <y>8</y>
- <width>216</width>
- <height>16</height>
- <label>Enter value</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
-
- <widget>
- <class>GtkLabel</class>
- <name>label60</name>
- <x>16</x>
- <y>34</y>
- <width>67</width>
- <height>20</height>
- <label>Decimal</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
</widget>
- </widget>
+ </child>
</widget>
-<widget>
- <class>GtkWindow</class>
- <name>about_dialog</name>
- <width>368</width>
- <height>99</height>
- <visible>False</visible>
- <signal>
- <name>delete_event</name>
- <handler>gtk_widget_hide</handler>
- <last_modification_time>Tue, 13 Mar 2001 13:13:42 GMT</last_modification_time>
- </signal>
- <signal>
- <name>destroy_event</name>
- <handler>gtk_widget_hide</handler>
- <last_modification_time>Tue, 13 Mar 2001 13:14:02 GMT</last_modification_time>
- </signal>
- <signal>
- <name>destroy</name>
- <handler>gtk_widget_hide</handler>
- <last_modification_time>Tue, 13 Mar 2001 13:14:25 GMT</last_modification_time>
- </signal>
- <title>MDK</title>
- <type>GTK_WINDOW_DIALOG</type>
- <position>GTK_WIN_POS_CENTER</position>
- <modal>True</modal>
- <allow_shrink>False</allow_shrink>
- <allow_grow>False</allow_grow>
- <auto_shrink>False</auto_shrink>
-
- <widget>
- <class>GtkLayout</class>
- <name>layout1</name>
- <width>375</width>
- <height>190</height>
- <area_width>200</area_width>
- <area_height>120</area_height>
- <hstep>0</hstep>
- <vstep>0</vstep>
-
- <widget>
- <class>GtkLabel</class>
- <name>label222</name>
- <x>56</x>
- <y>16</y>
- <width>247</width>
- <height>16</height>
- <label>GNU MIX Development Kit</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
+<widget class="GtkWindow" id="split_main_window">
+ <property name="title" translatable="yes">gmixvm</property>
+ <property name="type">GTK_WINDOW_TOPLEVEL</property>
+ <property name="window_position">GTK_WIN_POS_NONE</property>
+ <property name="modal">False</property>
+ <property name="default_width">570</property>
+ <property name="default_height">235</property>
+ <property name="resizable">True</property>
+ <property name="destroy_with_parent">False</property>
+ <property name="decorated">True</property>
+ <property name="skip_taskbar_hint">False</property>
+ <property name="skip_pager_hint">False</property>
+ <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
+ <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+ <signal name="destroy" handler="on_main_window_destroy"/>
+
+ <child>
+ <widget class="GtkVBox" id="main_vbox">
+ <property name="border_width">2</property>
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">2</property>
- <widget>
- <class>GtkLabel</class>
- <name>version_label</name>
- <x>152</x>
- <y>40</y>
- <width>56</width>
- <height>16</height>
- <label>label223</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
+ <child>
+ <widget class="GtkMenuBar" id="mainmenubar">
+ <property name="visible">True</property>
- <widget>
- <class>GtkLabel</class>
- <name>label224</name>
- <x>0</x>
- <y>64</y>
- <width>358</width>
- <height>16</height>
- <label> Copyright (C) 2001 Free Software Foundation, Inc.</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
+ <child>
+ <widget class="GtkMenuItem" id="file">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_File</property>
+ <property name="use_underline">True</property>
- <widget>
- <class>GtkHSeparator</class>
- <name>hseparator4</name>
- <x>8</x>
- <y>0</y>
- <width>356</width>
- <height>16</height>
- </widget>
+ <child>
+ <widget class="GtkMenu" id="file_menu">
+ <property name="visible">True</property>
+
+ <child>
+ <widget class="GtkMenuItem" id="file_open">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Load a MIX file</property>
+ <property name="label" translatable="yes">_Load...</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_file_open_activate"/>
+ <accelerator key="F3" modifiers="GDK_MOD1_MASK" signal="activate"/>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkMenuItem" id="edit">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Edit a MIXAL source file</property>
+ <property name="label" translatable="yes">_Edit...</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_file_edit_activate"/>
+ <accelerator key="F4" modifiers="GDK_MOD1_MASK" signal="activate"/>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkMenuItem" id="compile">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Compile a MIXAL source file</property>
+ <property name="label" translatable="yes">_Compile...</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_file_compile_activate"/>
+ <accelerator key="F5" modifiers="GDK_MOD1_MASK" signal="activate"/>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkMenuItem" id="separator2">
+ <property name="visible">True</property>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkMenuItem" id="file_exit">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Exit application</property>
+ <property name="label" translatable="yes">E_xit</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_file_exit_activate"/>
+ <accelerator key="Q" modifiers="GDK_MOD1_MASK" signal="activate"/>
+ </widget>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ </child>
- <widget>
- <class>GtkHSeparator</class>
- <name>hseparator5</name>
- <x>8</x>
- <y>80</y>
- <width>356</width>
- <height>16</height>
- </widget>
+ <child>
+ <widget class="GtkMenuItem" id="view">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_View</property>
+ <property name="use_underline">True</property>
- <widget>
- <class>GtkVSeparator</class>
- <name>vseparator4</name>
- <x>0</x>
- <y>7</y>
- <width>16</width>
- <height>81</height>
- </widget>
+ <child>
+ <widget class="GtkMenu" id="view_menu">
+ <property name="visible">True</property>
+
+ <child>
+ <widget class="GtkCheckMenuItem" id="mix_view">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_MIX</property>
+ <property name="use_underline">True</property>
+ <property name="active">False</property>
+ <signal name="toggled" handler="on_view_toggled"/>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkCheckMenuItem" id="mixal_view">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">MI_XAL</property>
+ <property name="use_underline">True</property>
+ <property name="active">False</property>
+ <signal name="toggled" handler="on_view_toggled"/>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkCheckMenuItem" id="devices_view">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Devices</property>
+ <property name="use_underline">True</property>
+ <property name="active">False</property>
+ <signal name="toggled" handler="on_view_toggled"/>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkCheckMenuItem" id="show_toolbars">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Toolbars</property>
+ <property name="use_underline">True</property>
+ <property name="active">False</property>
+ <signal name="toggled" handler="on_show_toolbars_toggled"/>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkMenuItem" id="separator4">
+ <property name="visible">True</property>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkMenuItem" id="one_window">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">One _window</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_one_window_activate"/>
+ </widget>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ </child>
- <widget>
- <class>GtkVSeparator</class>
- <name>vseparator5</name>
- <x>354</x>
- <y>8</y>
- <width>16</width>
- <height>81</height>
- </widget>
- </widget>
-</widget>
+ <child>
+ <widget class="GtkMenuItem" id="debug">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">D_ebug</property>
+ <property name="use_underline">True</property>
-<widget>
- <class>GtkDialog</class>
- <name>goto_dialog</name>
- <width>193</width>
- <height>120</height>
- <visible>False</visible>
- <signal>
- <name>destroy_event</name>
- <handler>gtk_widget_hide</handler>
- <last_modification_time>Wed, 14 Mar 2001 14:39:17 GMT</last_modification_time>
- </signal>
- <signal>
- <name>delete_event</name>
- <handler>gtk_widget_hide</handler>
- <last_modification_time>Wed, 14 Mar 2001 14:39:41 GMT</last_modification_time>
- </signal>
- <signal>
- <name>destroy</name>
- <handler>gtk_widget_hide</handler>
- <last_modification_time>Wed, 14 Mar 2001 14:40:15 GMT</last_modification_time>
- </signal>
- <title>Go to memory cell</title>
- <type>GTK_WINDOW_DIALOG</type>
- <position>GTK_WIN_POS_MOUSE</position>
- <modal>True</modal>
- <allow_shrink>False</allow_shrink>
- <allow_grow>False</allow_grow>
- <auto_shrink>False</auto_shrink>
-
- <widget>
- <class>GtkVBox</class>
- <child_name>Dialog:vbox</child_name>
- <name>dialog-vbox6</name>
- <homogeneous>False</homogeneous>
- <spacing>0</spacing>
-
- <widget>
- <class>GtkHBox</class>
- <child_name>Dialog:action_area</child_name>
- <name>dialog-action_area6</name>
- <border_width>10</border_width>
- <height>40</height>
- <homogeneous>True</homogeneous>
- <spacing>5</spacing>
- <child>
- <padding>0</padding>
- <expand>False</expand>
- <fill>True</fill>
- <pack>GTK_PACK_END</pack>
- </child>
+ <child>
+ <widget class="GtkMenu" id="debug_menu">
+ <property name="visible">True</property>
+
+ <child>
+ <widget class="GtkMenuItem" id="debug_run">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Run program</property>
+ <property name="label" translatable="yes">_Run</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_debug_run_activate"/>
+ <accelerator key="R" modifiers="GDK_MOD1_MASK" signal="activate"/>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkMenuItem" id="debug_next">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Execute next instruction</property>
+ <property name="label" translatable="yes">_Next</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_debug_next_activate"/>
+ <accelerator key="N" modifiers="GDK_MOD1_MASK" signal="activate"/>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkMenuItem" id="clear_breakpoints">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Clear all set breakpoints</property>
+ <property name="label" translatable="yes">_Clear breakpoints</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_clear_breakpoints_activate"/>
+ <accelerator key="C" modifiers="GDK_MOD1_MASK" signal="activate"/>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkMenuItem" id="symbols">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Show the symbol table</property>
+ <property name="label" translatable="yes">_Symbols...</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_symbols_activate"/>
+ <accelerator key="Y" modifiers="GDK_MOD1_MASK" signal="activate"/>
+ </widget>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ </child>
- <widget>
- <class>GtkHButtonBox</class>
- <name>hbuttonbox6</name>
- <layout_style>GTK_BUTTONBOX_DEFAULT_STYLE</layout_style>
- <spacing>30</spacing>
- <child_min_width>85</child_min_width>
- <child_min_height>27</child_min_height>
- <child_ipad_x>7</child_ipad_x>
- <child_ipad_y>0</child_ipad_y>
- <child>
- <padding>0</padding>
- <expand>True</expand>
- <fill>True</fill>
- </child>
-
- <widget>
- <class>GtkButton</class>
- <name>goto_cancel</name>
- <can_default>True</can_default>
- <can_focus>True</can_focus>
- <signal>
- <name>clicked</name>
- <handler>on_goto_cancel_clicked</handler>
- <last_modification_time>Wed, 14 Mar 2001 14:24:59 GMT</last_modification_time>
- </signal>
- <label>_Cancel</label>
- <relief>GTK_RELIEF_NORMAL</relief>
- </widget>
+ <child>
+ <widget class="GtkMenuItem" id="settings1">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Settings</property>
+ <property name="use_underline">True</property>
+
+ <child>
+ <widget class="GtkMenu" id="settings1_menu">
+ <property name="visible">True</property>
+
+ <child>
+ <widget class="GtkMenuItem" id="colors">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Change colors of MIXAL</property>
+ <property name="label" translatable="yes">_Colors...</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_colors_activate"/>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkMenuItem" id="fonts1">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Change _font</property>
+ <property name="use_underline">True</property>
+
+ <child>
+ <widget class="GtkMenu" id="fonts1_menu">
+ <property name="visible">True</property>
+
+ <child>
+ <widget class="GtkMenuItem" id="mix">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_MIX</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_mix_font_activate"/>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkMenuItem" id="mixal">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">MI_XAL</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_mixal_font_activate"/>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkMenuItem" id="command_prompt">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Command _prompt</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_prompt_font_activate"/>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkMenuItem" id="command_log">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Command l_og</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_log_font_activate"/>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkMenuItem" id="devices">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">De_vices</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_devices_font_activate"/>
+ </widget>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkMenuItem" id="device_output1">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Change format of binary devices output</property>
+ <property name="label" translatable="yes">_Device output...</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_devform_activate"/>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkMenuItem" id="devices_dir">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">De_vices dir...</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_devdir_activate"/>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkMenuItem" id="external_programs1">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">E_xternal programs...</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_external_programs_activate"/>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkMenuItem" id="separator1">
+ <property name="visible">True</property>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkMenuItem" id="save">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Save current settings</property>
+ <property name="label" translatable="yes">_Save</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_save_activate"/>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkCheckMenuItem" id="save_on_exit">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Toogle save settings on exit</property>
+ <property name="label" translatable="yes">Save on _exit</property>
+ <property name="use_underline">True</property>
+ <property name="active">True</property>
+ <signal name="toggled" handler="on_save_on_exit_toggle"/>
+ </widget>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkMenuItem" id="help">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Help</property>
+ <property name="use_underline">True</property>
- <widget>
- <class>GtkButton</class>
- <name>goto_ok</name>
- <can_default>True</can_default>
- <can_focus>True</can_focus>
- <signal>
- <name>clicked</name>
- <handler>on_goto_ok_clicked</handler>
- <last_modification_time>Wed, 14 Mar 2001 14:25:23 GMT</last_modification_time>
- </signal>
- <label>_OK</label>
- <relief>GTK_RELIEF_NORMAL</relief>
+ <child>
+ <widget class="GtkMenu" id="help_menu">
+ <property name="visible">True</property>
+
+ <child>
+ <widget class="GtkMenuItem" id="about">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_About...</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_about_activate"/>
+ </widget>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ </child>
</widget>
- </widget>
- </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
- <widget>
- <class>GtkVBox</class>
- <name>vbox1</name>
- <border_width>12</border_width>
- <height>75</height>
- <homogeneous>False</homogeneous>
- <spacing>0</spacing>
<child>
- <padding>0</padding>
- <expand>False</expand>
- <fill>False</fill>
+ <widget class="GtkStatusbar" id="main_statusbar">
+ <property name="visible">True</property>
+ <property name="has_resize_grip">True</property>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="pack_type">GTK_PACK_END</property>
+ </packing>
</child>
- <widget>
- <class>GtkLabel</class>
- <name>label225</name>
- <label>Go to address:</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- <child>
- <padding>0</padding>
- <expand>True</expand>
- <fill>True</fill>
- </child>
- </widget>
-
- <widget>
- <class>GtkEntry</class>
- <name>goto_entry</name>
- <width>44</width>
- <can_focus>True</can_focus>
- <has_focus>True</has_focus>
- <signal>
- <name>activate</name>
- <handler>on_goto_ok_clicked</handler>
- <last_modification_time>Wed, 14 Mar 2001 14:52:26 GMT</last_modification_time>
- </signal>
- <editable>True</editable>
- <text_visible>True</text_visible>
- <text_max_length>4</text_max_length>
- <text></text>
- <child>
- <padding>10</padding>
- <expand>False</expand>
- <fill>False</fill>
- </child>
- </widget>
- </widget>
- </widget>
-</widget>
-
-<widget>
- <class>GtkDialog</class>
- <name>color_dialog</name>
- <width>275</width>
- <height>214</height>
- <visible>False</visible>
- <signal>
- <name>delete_event</name>
- <handler>gtk_widget_hide</handler>
- <last_modification_time>Thu, 12 Apr 2001 21:05:54 GMT</last_modification_time>
- </signal>
- <signal>
- <name>destroy_event</name>
- <handler>gtk_widget_hide</handler>
- <last_modification_time>Thu, 12 Apr 2001 21:06:09 GMT</last_modification_time>
- </signal>
- <signal>
- <name>destroy</name>
- <handler>gtk_widget_hide</handler>
- <last_modification_time>Thu, 12 Apr 2001 21:06:23 GMT</last_modification_time>
- </signal>
- <title>MIXAL colors</title>
- <type>GTK_WINDOW_DIALOG</type>
- <position>GTK_WIN_POS_NONE</position>
- <modal>True</modal>
- <allow_shrink>False</allow_shrink>
- <allow_grow>False</allow_grow>
- <auto_shrink>False</auto_shrink>
-
- <widget>
- <class>GtkVBox</class>
- <child_name>Dialog:vbox</child_name>
- <name>dialog-vbox7</name>
- <homogeneous>False</homogeneous>
- <spacing>0</spacing>
-
- <widget>
- <class>GtkHBox</class>
- <child_name>Dialog:action_area</child_name>
- <name>dialog-action_area7</name>
- <border_width>10</border_width>
- <homogeneous>True</homogeneous>
- <spacing>5</spacing>
<child>
- <padding>0</padding>
- <expand>False</expand>
- <fill>True</fill>
- <pack>GTK_PACK_END</pack>
- </child>
+ <widget class="GtkToolbar" id="main_toolbar">
+ <property name="visible">True</property>
+ <property name="orientation">GTK_ORIENTATION_HORIZONTAL</property>
+ <property name="toolbar_style">GTK_TOOLBAR_ICONS</property>
+ <property name="tooltips">True</property>
+ <property name="show_arrow">True</property>
+
+ <child>
+ <widget class="GtkToolButton" id="button4">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Load MIX program</property>
+ <property name="label" translatable="yes">Load</property>
+ <property name="use_underline">True</property>
+ <property name="stock_id">gtk-open</property>
+ <property name="visible_horizontal">True</property>
+ <property name="visible_vertical">True</property>
+ <property name="is_important">False</property>
+ <signal name="clicked" handler="on_file_open_activate"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkToolButton" id="button5">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Compile MIXAL source</property>
+ <property name="label" translatable="yes">Build</property>
+ <property name="use_underline">True</property>
+ <property name="stock_id">gtk-execute</property>
+ <property name="visible_horizontal">True</property>
+ <property name="visible_vertical">True</property>
+ <property name="is_important">False</property>
+ <signal name="clicked" handler="on_file_compile_activate"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkToolButton" id="button6">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Edit MIXAL source</property>
+ <property name="label" translatable="yes">Edit</property>
+ <property name="use_underline">True</property>
+ <property name="stock_id">gtk-justify-fill</property>
+ <property name="visible_horizontal">True</property>
+ <property name="visible_vertical">True</property>
+ <property name="is_important">False</property>
+ <signal name="clicked" handler="on_file_edit_activate"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkToolItem" id="toolitem2">
+ <property name="visible">True</property>
+ <property name="visible_horizontal">True</property>
+ <property name="visible_vertical">True</property>
+ <property name="is_important">False</property>
- <widget>
- <class>GtkHButtonBox</class>
- <name>hbuttonbox7</name>
- <layout_style>GTK_BUTTONBOX_DEFAULT_STYLE</layout_style>
- <spacing>30</spacing>
- <child_min_width>85</child_min_width>
- <child_min_height>27</child_min_height>
- <child_ipad_x>7</child_ipad_x>
- <child_ipad_y>0</child_ipad_y>
- <child>
- <padding>0</padding>
- <expand>True</expand>
- <fill>True</fill>
- </child>
-
- <widget>
- <class>GtkButton</class>
- <name>colors_ok</name>
- <can_default>True</can_default>
- <can_focus>True</can_focus>
- <signal>
- <name>clicked</name>
- <handler>on_colors_ok_clicked</handler>
- <last_modification_time>Thu, 12 Apr 2001 21:05:07 GMT</last_modification_time>
- </signal>
- <label>_OK</label>
- <relief>GTK_RELIEF_NORMAL</relief>
+ <child>
+ <widget class="GtkVSeparator" id="vseparator7">
+ <property name="visible">True</property>
+ </widget>
+ </child>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkSeparatorToolItem" id="separatortoolitem4">
+ <property name="visible">True</property>
+ <property name="draw">True</property>
+ <property name="visible_horizontal">True</property>
+ <property name="visible_vertical">True</property>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkToolButton" id="button7">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Run</property>
+ <property name="label" translatable="yes">Run</property>
+ <property name="use_underline">True</property>
+ <property name="stock_id">gtk-go-forward</property>
+ <property name="visible_horizontal">True</property>
+ <property name="visible_vertical">True</property>
+ <property name="is_important">False</property>
+ <signal name="clicked" handler="on_debug_run_activate"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkToolButton" id="button8">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Next</property>
+ <property name="label" translatable="yes">Step</property>
+ <property name="use_underline">True</property>
+ <property name="stock_id">gtk-goto-last</property>
+ <property name="visible_horizontal">True</property>
+ <property name="visible_vertical">True</property>
+ <property name="is_important">False</property>
+ <signal name="clicked" handler="on_debug_next_activate"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkToolButton" id="button9">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Clear breakpoints</property>
+ <property name="label" translatable="yes">Clear</property>
+ <property name="use_underline">True</property>
+ <property name="stock_id">gtk-clear</property>
+ <property name="visible_horizontal">True</property>
+ <property name="visible_vertical">True</property>
+ <property name="is_important">False</property>
+ <signal name="clicked" handler="on_clear_breakpoints_activate"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkToolButton" id="button10">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Symbol table</property>
+ <property name="label" translatable="yes">Symbols</property>
+ <property name="use_underline">True</property>
+ <property name="stock_id">gtk-index</property>
+ <property name="visible_horizontal">True</property>
+ <property name="visible_vertical">True</property>
+ <property name="is_important">False</property>
+ <signal name="clicked" handler="on_symbols_activate"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkSeparatorToolItem" id="separatortoolitem5">
+ <property name="visible">True</property>
+ <property name="draw">True</property>
+ <property name="visible_horizontal">True</property>
+ <property name="visible_vertical">True</property>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkToolButton" id="button24">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Command log font</property>
+ <property name="label" translatable="yes">Font</property>
+ <property name="use_underline">True</property>
+ <property name="stock_id">gtk-select-color</property>
+ <property name="visible_horizontal">True</property>
+ <property name="visible_vertical">True</property>
+ <property name="is_important">False</property>
+ <signal name="clicked" handler="on_log_font_activate"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkToolButton" id="button25">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Command prompt font</property>
+ <property name="label" translatable="yes">Font</property>
+ <property name="use_underline">True</property>
+ <property name="stock_id">gtk-home</property>
+ <property name="visible_horizontal">True</property>
+ <property name="visible_vertical">True</property>
+ <property name="is_important">False</property>
+ <signal name="clicked" handler="on_prompt_font_activate"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkToolButton" id="button32">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">External programs</property>
+ <property name="label" translatable="yes">Extern</property>
+ <property name="use_underline">True</property>
+ <property name="stock_id">gtk-convert</property>
+ <property name="visible_horizontal">True</property>
+ <property name="visible_vertical">True</property>
+ <property name="is_important">False</property>
+ <signal name="clicked" handler="on_external_programs_activate"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkSeparatorToolItem" id="separatortoolitem6">
+ <property name="visible">True</property>
+ <property name="draw">True</property>
+ <property name="visible_horizontal">True</property>
+ <property name="visible_vertical">True</property>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkToolButton" id="button27">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">One window</property>
+ <property name="label" translatable="yes">One window</property>
+ <property name="use_underline">True</property>
+ <property name="icon">onew.xpm</property>
+ <property name="visible_horizontal">True</property>
+ <property name="visible_vertical">True</property>
+ <property name="is_important">False</property>
+ <signal name="clicked" handler="on_one_window_activate"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
</widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
- <widget>
- <class>GtkButton</class>
- <name>colors_apply</name>
- <can_default>True</can_default>
- <can_focus>True</can_focus>
- <signal>
- <name>clicked</name>
- <handler>on_colors_apply_clicked</handler>
- <last_modification_time>Thu, 12 Apr 2001 21:04:56 GMT</last_modification_time>
- </signal>
- <label>_Apply</label>
- <relief>GTK_RELIEF_NORMAL</relief>
- </widget>
+ <child>
+ <widget class="GtkVBox" id="vbox3">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">0</property>
+
+ <child>
+ <widget class="GtkScrolledWindow" id="mixcmd_scrolledwindow">
+ <property name="visible">True</property>
+ <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <property name="shadow_type">GTK_SHADOW_IN</property>
+ <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
- <widget>
- <class>GtkButton</class>
- <name>colors_cancel</name>
- <can_default>True</can_default>
- <can_focus>True</can_focus>
- <signal>
- <name>clicked</name>
- <handler>on_colors_cancel_clicked</handler>
- <last_modification_time>Thu, 12 Apr 2001 21:04:45 GMT</last_modification_time>
- </signal>
- <label>_Cancel</label>
- <relief>GTK_RELIEF_NORMAL</relief>
+ <child>
+ <widget class="GtkTextView" id="command_log">
+ <property name="visible">True</property>
+ <property name="editable">False</property>
+ <property name="overwrite">False</property>
+ <property name="accepts_tab">True</property>
+ <property name="justification">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap_mode">GTK_WRAP_WORD</property>
+ <property name="cursor_visible">True</property>
+ <property name="pixels_above_lines">0</property>
+ <property name="pixels_below_lines">0</property>
+ <property name="pixels_inside_wrap">0</property>
+ <property name="left_margin">0</property>
+ <property name="right_margin">0</property>
+ <property name="indent">0</property>
+ <property name="text" translatable="yes"></property>
+ </widget>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkEntry" id="command_prompt">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Enter MIXVM command here</property>
+ <property name="can_focus">True</property>
+ <property name="has_focus">True</property>
+ <property name="editable">True</property>
+ <property name="visibility">True</property>
+ <property name="max_length">0</property>
+ <property name="text" translatable="yes"></property>
+ <property name="has_frame">True</property>
+ <property name="invisible_char" translatable="yes">*</property>
+ <property name="activates_default">False</property>
+ <signal name="key_press_event" handler="on_command_prompt_key_press_event" after="yes"/>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
</widget>
- </widget>
- </widget>
-
- <widget>
- <class>GtkFixed</class>
- <name>fixed1</name>
- <child>
- <padding>0</padding>
- <expand>True</expand>
- <fill>True</fill>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
</child>
-
- <widget>
- <class>GtkLabel</class>
- <name>label230</name>
- <x>184</x>
- <y>32</y>
- <width>78</width>
- <height>16</height>
- <label>Foreground</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
-
- <widget>
- <class>GtkLabel</class>
- <name>label226</name>
- <x>0</x>
- <y>8</y>
- <width>143</width>
- <height>16</height>
- <label>Click to change color</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
-
- <widget>
- <class>GtkLabel</class>
- <name>label227</name>
- <x>0</x>
- <y>56</y>
- <width>79</width>
- <height>16</height>
- <label>Current line</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
-
- <widget>
- <class>GtkLabel</class>
- <name>label229</name>
- <x>88</x>
- <y>32</y>
- <width>78</width>
- <height>16</height>
- <label>Background</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
-
- <widget>
- <class>GtkDrawingArea</class>
- <name>clbg_area</name>
- <x>90</x>
- <y>56</y>
- <width>75</width>
- <height>15</height>
- </widget>
-
- <widget>
- <class>GtkDrawingArea</class>
- <name>clfg_area</name>
- <x>184</x>
- <y>56</y>
- <width>75</width>
- <height>15</height>
- </widget>
-
- <widget>
- <class>GtkDrawingArea</class>
- <name>bpfg_area</name>
- <x>184</x>
- <y>94</y>
- <width>75</width>
- <height>15</height>
- </widget>
-
- <widget>
- <class>GtkDrawingArea</class>
- <name>plbg_area</name>
- <x>90</x>
- <y>128</y>
- <width>75</width>
- <height>15</height>
- </widget>
-
- <widget>
- <class>GtkLabel</class>
- <name>label231</name>
- <x>1</x>
- <y>128</y>
- <width>77</width>
- <height>16</height>
- <label>Unselected</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
-
- <widget>
- <class>GtkDrawingArea</class>
- <name>bpbg_area</name>
- <x>90</x>
- <y>94</y>
- <width>75</width>
- <height>15</height>
- </widget>
-
- <widget>
- <class>GtkDrawingArea</class>
- <name>plfg_area</name>
- <x>184</x>
- <y>128</y>
- <width>75</width>
- <height>15</height>
- </widget>
-
- <widget>
- <class>GtkLabel</class>
- <name>label228</name>
- <x>0</x>
- <y>94</y>
- <width>76</width>
- <height>16</height>
- <label>Breakpoint</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
</widget>
- </widget>
-</widget>
-
-<widget>
- <class>GtkColorSelectionDialog</class>
- <name>colorsel_dialog</name>
- <border_width>10</border_width>
- <visible>False</visible>
- <signal>
- <name>delete_event</name>
- <handler>gtk_widget_hide</handler>
- <last_modification_time>Sat, 21 Apr 2001 23:14:28 GMT</last_modification_time>
- </signal>
- <signal>
- <name>destroy_event</name>
- <handler>gtk_widget_hide</handler>
- <last_modification_time>Sat, 21 Apr 2001 23:14:54 GMT</last_modification_time>
- </signal>
- <signal>
- <name>destroy</name>
- <handler>gtk_widget_hide</handler>
- <last_modification_time>Sat, 21 Apr 2001 23:15:12 GMT</last_modification_time>
- </signal>
- <title>Select Color</title>
- <type>GTK_WINDOW_DIALOG</type>
- <position>GTK_WIN_POS_NONE</position>
- <modal>True</modal>
- <allow_shrink>False</allow_shrink>
- <allow_grow>False</allow_grow>
- <auto_shrink>False</auto_shrink>
- <policy>GTK_UPDATE_CONTINUOUS</policy>
-
- <widget>
- <class>GtkButton</class>
- <child_name>ColorSel:ok_button</child_name>
- <name>ok_colorserdlg</name>
- <can_default>True</can_default>
- <can_focus>True</can_focus>
- <signal>
- <name>clicked</name>
- <handler>on_ok_colorseldlg_clicked</handler>
- <last_modification_time>Sat, 21 Apr 2001 23:17:15 GMT</last_modification_time>
- </signal>
- <label>OK</label>
- <relief>GTK_RELIEF_NORMAL</relief>
- </widget>
-
- <widget>
- <class>GtkButton</class>
- <child_name>ColorSel:cancel_button</child_name>
- <name>cancel_colorseldlg</name>
- <can_default>True</can_default>
- <can_focus>True</can_focus>
- <signal>
- <name>clicked</name>
- <handler>on_cancel_colorseldlg_clicked</handler>
- <last_modification_time>Sat, 21 Apr 2001 23:17:37 GMT</last_modification_time>
- </signal>
- <label>Cancel</label>
- <relief>GTK_RELIEF_NORMAL</relief>
- </widget>
-
- <widget>
- <class>GtkButton</class>
- <child_name>ColorSel:help_button</child_name>
- <name>help_button1</name>
- <can_default>True</can_default>
- <can_focus>True</can_focus>
- <label>Help</label>
- <relief>GTK_RELIEF_NORMAL</relief>
- </widget>
+ </child>
</widget>
-<widget>
- <class>GtkFontSelectionDialog</class>
- <name>fontsel_dialog</name>
- <border_width>4</border_width>
- <visible>False</visible>
- <signal>
- <name>delete_event</name>
- <handler>gtk_widget_hide</handler>
- <last_modification_time>Thu, 26 Apr 2001 21:14:34 GMT</last_modification_time>
- </signal>
- <signal>
- <name>destroy_event</name>
- <handler>gtk_widget_hide</handler>
- <last_modification_time>Thu, 26 Apr 2001 21:15:02 GMT</last_modification_time>
- </signal>
- <signal>
- <name>destroy</name>
- <handler>gtk_widget_hide</handler>
- <last_modification_time>Thu, 26 Apr 2001 21:15:13 GMT</last_modification_time>
- </signal>
- <title>Select Font</title>
- <type>GTK_WINDOW_DIALOG</type>
- <position>GTK_WIN_POS_NONE</position>
- <modal>False</modal>
- <allow_shrink>False</allow_shrink>
- <allow_grow>True</allow_grow>
- <auto_shrink>True</auto_shrink>
-
- <widget>
- <class>GtkButton</class>
- <child_name>FontSel:ok_button</child_name>
- <name>ok_button1</name>
- <can_default>True</can_default>
- <can_focus>True</can_focus>
- <signal>
- <name>clicked</name>
- <handler>on_fontsel_ok_clicked</handler>
- <last_modification_time>Thu, 26 Apr 2001 21:40:53 GMT</last_modification_time>
- </signal>
- <label>OK</label>
- <relief>GTK_RELIEF_NORMAL</relief>
- </widget>
-
- <widget>
- <class>GtkButton</class>
- <child_name>FontSel:apply_button</child_name>
- <name>apply_button1</name>
- <can_default>True</can_default>
- <can_focus>True</can_focus>
- <signal>
- <name>clicked</name>
- <handler>on_fontsel_apply_clicked</handler>
- <last_modification_time>Thu, 26 Apr 2001 21:41:12 GMT</last_modification_time>
- </signal>
- <label>Apply</label>
- <relief>GTK_RELIEF_NORMAL</relief>
- </widget>
-
- <widget>
- <class>GtkButton</class>
- <child_name>FontSel:cancel_button</child_name>
- <name>cancel_button1</name>
- <can_default>True</can_default>
- <can_focus>True</can_focus>
- <signal>
- <name>clicked</name>
- <handler>on_fontsel_cancel_clicked</handler>
- <last_modification_time>Thu, 26 Apr 2001 21:41:33 GMT</last_modification_time>
- </signal>
- <label>Cancel</label>
- <relief>GTK_RELIEF_NORMAL</relief>
- </widget>
-</widget>
-
-<widget>
- <class>GtkDialog</class>
- <name>devform_dialog</name>
- <width>308</width>
- <height>172</height>
- <visible>False</visible>
- <signal>
- <name>delete_event</name>
- <handler>gtk_widget_hide</handler>
- <last_modification_time>Wed, 30 May 2001 20:14:53 GMT</last_modification_time>
- </signal>
- <signal>
- <name>destroy_event</name>
- <handler>gtk_widget_hide</handler>
- <last_modification_time>Wed, 30 May 2001 20:15:13 GMT</last_modification_time>
- </signal>
- <signal>
- <name>destroy</name>
- <handler>gtk_widget_hide</handler>
- <last_modification_time>Wed, 30 May 2001 20:15:29 GMT</last_modification_time>
- </signal>
- <title>Device output format</title>
- <type>GTK_WINDOW_DIALOG</type>
- <position>GTK_WIN_POS_NONE</position>
- <modal>True</modal>
- <allow_shrink>False</allow_shrink>
- <allow_grow>False</allow_grow>
- <auto_shrink>False</auto_shrink>
-
- <widget>
- <class>GtkVBox</class>
- <child_name>Dialog:vbox</child_name>
- <name>dialog-vbox8</name>
- <homogeneous>False</homogeneous>
- <spacing>0</spacing>
-
- <widget>
- <class>GtkHBox</class>
- <child_name>Dialog:action_area</child_name>
- <name>dialog-action_area8</name>
- <border_width>10</border_width>
- <homogeneous>True</homogeneous>
- <spacing>5</spacing>
- <child>
- <padding>0</padding>
- <expand>False</expand>
- <fill>True</fill>
- <pack>GTK_PACK_END</pack>
- </child>
+<widget class="GtkDialog" id="word_dialog">
+ <property name="title" translatable="yes">Enter value</property>
+ <property name="type">GTK_WINDOW_TOPLEVEL</property>
+ <property name="window_position">GTK_WIN_POS_NONE</property>
+ <property name="modal">True</property>
+ <property name="resizable">False</property>
+ <property name="destroy_with_parent">False</property>
+ <property name="decorated">True</property>
+ <property name="skip_taskbar_hint">False</property>
+ <property name="skip_pager_hint">False</property>
+ <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+ <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+ <property name="has_separator">True</property>
+ <signal name="destroy" handler="gtk_widget_hide"/>
+ <signal name="destroy_event" handler="gtk_widget_hide"/>
+ <signal name="delete_event" handler="gtk_widget_hide"/>
+
+ <child internal-child="vbox">
+ <widget class="GtkVBox" id="dialog-vbox5">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">0</property>
+
+ <child internal-child="action_area">
+ <widget class="GtkHButtonBox" id="dialog-action_area5">
+ <property name="visible">True</property>
+ <property name="layout_style">GTK_BUTTONBOX_END</property>
+
+ <child>
+ <widget class="GtkHButtonBox" id="hbuttonbox5">
+ <property name="visible">True</property>
+ <property name="layout_style">GTK_BUTTONBOX_DEFAULT_STYLE</property>
+ <property name="spacing">10</property>
- <widget>
- <class>GtkHButtonBox</class>
- <name>hbuttonbox8</name>
- <layout_style>GTK_BUTTONBOX_DEFAULT_STYLE</layout_style>
- <spacing>30</spacing>
- <child_min_width>85</child_min_width>
- <child_min_height>27</child_min_height>
- <child_ipad_x>7</child_ipad_x>
- <child_ipad_y>0</child_ipad_y>
- <child>
- <padding>0</padding>
- <expand>True</expand>
- <fill>True</fill>
- </child>
-
- <widget>
- <class>GtkButton</class>
- <name>devok_button</name>
- <can_default>True</can_default>
- <can_focus>True</can_focus>
- <signal>
- <name>clicked</name>
- <handler>on_devok_button_clicked</handler>
- <last_modification_time>Wed, 30 May 2001 20:13:56 GMT</last_modification_time>
- </signal>
- <label>_OK</label>
- <relief>GTK_RELIEF_NORMAL</relief>
- </widget>
+ <child>
+ <widget class="GtkButton" id="word_reset">
+ <property name="visible">True</property>
+ <property name="can_default">True</property>
+ <property name="can_focus">True</property>
+ <property name="label">gtk-clear</property>
+ <property name="use_stock">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ <signal name="clicked" handler="on_word_reset_clicked"/>
+ </widget>
+ </child>
- <widget>
- <class>GtkButton</class>
- <name>devapp_button</name>
- <can_default>True</can_default>
- <can_focus>True</can_focus>
- <signal>
- <name>clicked</name>
- <handler>on_devapp_button_clicked</handler>
- <last_modification_time>Wed, 30 May 2001 20:14:05 GMT</last_modification_time>
- </signal>
- <label>_Apply</label>
- <relief>GTK_RELIEF_NORMAL</relief>
- </widget>
+ <child>
+ <widget class="GtkButton" id="word_ok">
+ <property name="visible">True</property>
+ <property name="can_default">True</property>
+ <property name="can_focus">True</property>
+ <property name="label">gtk-ok</property>
+ <property name="use_stock">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ <signal name="clicked" handler="on_word_ok_clicked"/>
+ </widget>
+ </child>
- <widget>
- <class>GtkButton</class>
- <name>devcancel_button</name>
- <can_default>True</can_default>
- <can_focus>True</can_focus>
- <signal>
- <name>clicked</name>
- <handler>on_devcancel_button_clicked</handler>
- <last_modification_time>Wed, 30 May 2001 20:14:17 GMT</last_modification_time>
- </signal>
- <label>_Cancel</label>
- <relief>GTK_RELIEF_NORMAL</relief>
+ <child>
+ <widget class="GtkButton" id="word_cancel">
+ <property name="visible">True</property>
+ <property name="can_default">True</property>
+ <property name="can_focus">True</property>
+ <property name="label">gtk-cancel</property>
+ <property name="use_stock">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ <signal name="clicked" handler="on_word_cancel_clicked"/>
+ </widget>
+ </child>
+ </widget>
+ </child>
</widget>
- </widget>
- </widget>
-
- <widget>
- <class>GtkFixed</class>
- <name>fixed2</name>
- <child>
- <padding>0</padding>
- <expand>True</expand>
- <fill>True</fill>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="pack_type">GTK_PACK_END</property>
+ </packing>
</child>
- <widget>
- <class>GtkButton</class>
- <name>devset_button</name>
- <x>208</x>
- <y>80</y>
- <width>79</width>
- <height>24</height>
- <tooltip>Set all devices to current format</tooltip>
- <can_focus>True</can_focus>
- <signal>
- <name>clicked</name>
- <handler>on_devset_button_clicked</handler>
- <last_modification_time>Wed, 30 May 2001 20:13:37 GMT</last_modification_time>
- </signal>
- <label>S_et all</label>
- <relief>GTK_RELIEF_NORMAL</relief>
- </widget>
-
- <widget>
- <class>GtkLabel</class>
- <name>label232</name>
- <x>16</x>
- <y>22</y>
- <width>48</width>
- <height>16</height>
- <label>Device</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
-
- <widget>
- <class>GtkLabel</class>
- <name>label233</name>
- <x>216</x>
- <y>22</y>
- <width>48</width>
- <height>16</height>
- <label>Format</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
-
- <widget>
- <class>GtkCombo</class>
- <name>dev_combo</name>
- <x>16</x>
- <y>48</y>
- <width>150</width>
- <height>22</height>
- <value_in_list>True</value_in_list>
- <ok_if_empty>True</ok_if_empty>
- <case_sensitive>False</case_sensitive>
- <use_arrows>True</use_arrows>
- <use_arrows_always>False</use_arrows_always>
- <items></items>
-
- <widget>
- <class>GtkEntry</class>
- <child_name>GtkCombo:entry</child_name>
- <name>combo-entry1</name>
- <tooltip>Choose a device</tooltip>
- <can_focus>True</can_focus>
- <signal>
- <name>changed</name>
- <handler>on_deventry_changed</handler>
- <last_modification_time>Wed, 30 May 2001 19:50:03 GMT</last_modification_time>
- </signal>
- <editable>True</editable>
- <text_visible>True</text_visible>
- <text_max_length>0</text_max_length>
- <text></text>
+ <child>
+ <widget class="GtkFixed" id="word_layout">
+ <property name="border_width">5</property>
+ <property name="visible">True</property>
+
+ <child>
+ <widget class="GtkEntry" id="word_decimal">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="has_focus">True</property>
+ <property name="events">GDK_KEY_PRESS_MASK</property>
+ <property name="editable">True</property>
+ <property name="visibility">True</property>
+ <property name="max_length">0</property>
+ <property name="text" translatable="yes">0</property>
+ <property name="has_frame">True</property>
+ <property name="invisible_char" translatable="yes">*</property>
+ <property name="activates_default">False</property>
+ <property name="width_chars">28</property>
+ <signal name="changed" handler="on_word_dec_changed" after="yes" last_modification_time="Sun, 20 Jun 2004 23:47:46 GMT"/>
+ </widget>
+ <packing>
+ <property name="x">88</property>
+ <property name="y">64</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkEntry" id="word_b2">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="events">GDK_KEY_PRESS_MASK</property>
+ <property name="editable">True</property>
+ <property name="visibility">True</property>
+ <property name="max_length">2</property>
+ <property name="text" translatable="yes">0</property>
+ <property name="has_frame">True</property>
+ <property name="invisible_char" translatable="yes">*</property>
+ <property name="activates_default">False</property>
+ <property name="width_chars">3</property>
+ <signal name="changed" handler="on_word_byte_changed" last_modification_time="Sun, 20 Jun 2004 23:20:10 GMT"/>
+ </widget>
+ <packing>
+ <property name="x">144</property>
+ <property name="y">32</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkEntry" id="word_b3">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="events">GDK_BUTTON_PRESS_MASK</property>
+ <property name="editable">True</property>
+ <property name="visibility">True</property>
+ <property name="max_length">2</property>
+ <property name="text" translatable="yes">0</property>
+ <property name="has_frame">True</property>
+ <property name="invisible_char" translatable="yes">*</property>
+ <property name="activates_default">False</property>
+ <property name="width_chars">3</property>
+ <signal name="changed" handler="on_word_byte_changed" last_modification_time="Sun, 20 Jun 2004 23:20:28 GMT"/>
+ </widget>
+ <packing>
+ <property name="x">176</property>
+ <property name="y">32</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkEntry" id="word_b4">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="events">GDK_KEY_PRESS_MASK</property>
+ <property name="editable">True</property>
+ <property name="visibility">True</property>
+ <property name="max_length">2</property>
+ <property name="text" translatable="yes">0</property>
+ <property name="has_frame">True</property>
+ <property name="invisible_char" translatable="yes">*</property>
+ <property name="activates_default">False</property>
+ <property name="width_chars">3</property>
+ <signal name="changed" handler="on_word_byte_changed" last_modification_time="Sun, 20 Jun 2004 23:20:57 GMT"/>
+ </widget>
+ <packing>
+ <property name="x">208</property>
+ <property name="y">32</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkEntry" id="word_b5">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="events">GDK_KEY_PRESS_MASK</property>
+ <property name="editable">True</property>
+ <property name="visibility">True</property>
+ <property name="max_length">2</property>
+ <property name="text" translatable="yes">0</property>
+ <property name="has_frame">True</property>
+ <property name="invisible_char" translatable="yes">*</property>
+ <property name="activates_default">False</property>
+ <property name="width_chars">3</property>
+ <signal name="changed" handler="on_word_byte_changed" last_modification_time="Sun, 20 Jun 2004 23:21:18 GMT"/>
+ </widget>
+ <packing>
+ <property name="x">238</property>
+ <property name="y">32</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkEntry" id="word_b1">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="events">GDK_KEY_PRESS_MASK</property>
+ <property name="editable">True</property>
+ <property name="visibility">True</property>
+ <property name="max_length">2</property>
+ <property name="text" translatable="yes">0</property>
+ <property name="has_frame">True</property>
+ <property name="invisible_char" translatable="yes">*</property>
+ <property name="activates_default">False</property>
+ <property name="width_chars">3</property>
+ <signal name="changed" handler="on_word_byte_changed" last_modification_time="Sun, 20 Jun 2004 23:19:50 GMT"/>
+ </widget>
+ <packing>
+ <property name="x">112</property>
+ <property name="y">32</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkEntry" id="word_sign">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="events">GDK_KEY_PRESS_MASK</property>
+ <property name="editable">True</property>
+ <property name="visibility">True</property>
+ <property name="max_length">1</property>
+ <property name="text" translatable="yes">+</property>
+ <property name="has_frame">True</property>
+ <property name="invisible_char" translatable="yes">*</property>
+ <property name="activates_default">False</property>
+ <property name="width_chars">2</property>
+ <signal name="changed" handler="on_word_sign_changed" last_modification_time="Sun, 20 Jun 2004 23:19:23 GMT"/>
+ </widget>
+ <packing>
+ <property name="x">88</property>
+ <property name="y">32</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label60">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Decimal</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="x">14</property>
+ <property name="y">68</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label61">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Bytes</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="x">15</property>
+ <property name="y">36</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="word_label">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Enter value</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="x">112</property>
+ <property name="y">8</property>
+ </packing>
+ </child>
</widget>
- </widget>
-
- <widget>
- <class>GtkRadioButton</class>
- <name>decradio</name>
- <x>184</x>
- <y>48</y>
- <width>48</width>
- <height>24</height>
- <tooltip>Show output as decimal numbers</tooltip>
- <can_focus>True</can_focus>
- <signal>
- <name>toggled</name>
- <handler>on_decradio_toggled</handler>
- <last_modification_time>Wed, 30 May 2001 20:13:03 GMT</last_modification_time>
- </signal>
- <label>Dec</label>
- <active>False</active>
- <draw_indicator>True</draw_indicator>
- <group>format_group</group>
- </widget>
-
- <widget>
- <class>GtkRadioButton</class>
- <name>wordradio</name>
- <x>240</x>
- <y>48</y>
- <width>56</width>
- <height>24</height>
- <tooltip>Show output as MIX words</tooltip>
- <can_focus>True</can_focus>
- <label>Word</label>
- <active>False</active>
- <draw_indicator>True</draw_indicator>
- <group>format_group</group>
- </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
</widget>
- </widget>
+ </child>
</widget>
-<widget>
- <class>GtkDialog</class>
- <name>external_dialog</name>
- <width>285</width>
- <height>210</height>
- <visible>False</visible>
- <signal>
- <name>delete_event</name>
- <handler>gtk_widget_hide</handler>
- <last_modification_time>Fri, 01 Jun 2001 23:57:57 GMT</last_modification_time>
- </signal>
- <signal>
- <name>destroy_event</name>
- <handler>gtk_widget_hide</handler>
- <last_modification_time>Fri, 01 Jun 2001 23:58:51 GMT</last_modification_time>
- </signal>
- <signal>
- <name>destroy</name>
- <handler>gtk_widget_hide</handler>
- <last_modification_time>Fri, 01 Jun 2001 23:59:02 GMT</last_modification_time>
- </signal>
- <title>External programs</title>
- <type>GTK_WINDOW_DIALOG</type>
- <position>GTK_WIN_POS_NONE</position>
- <modal>True</modal>
- <allow_shrink>False</allow_shrink>
- <allow_grow>False</allow_grow>
- <auto_shrink>False</auto_shrink>
-
- <widget>
- <class>GtkVBox</class>
- <child_name>Dialog:vbox</child_name>
- <name>dialog-vbox9</name>
- <homogeneous>False</homogeneous>
- <spacing>0</spacing>
-
- <widget>
- <class>GtkHBox</class>
- <child_name>Dialog:action_area</child_name>
- <name>dialog-action_area9</name>
- <border_width>3</border_width>
- <homogeneous>False</homogeneous>
- <spacing>5</spacing>
- <child>
- <padding>0</padding>
- <expand>False</expand>
- <fill>True</fill>
- <pack>GTK_PACK_END</pack>
- </child>
-
- <widget>
- <class>GtkHButtonBox</class>
- <name>hbuttonbox9</name>
- <layout_style>GTK_BUTTONBOX_SPREAD</layout_style>
- <spacing>10</spacing>
- <child_min_width>85</child_min_width>
- <child_min_height>27</child_min_height>
- <child_ipad_x>5</child_ipad_x>
- <child_ipad_y>0</child_ipad_y>
- <child>
- <padding>0</padding>
- <expand>True</expand>
- <fill>True</fill>
- </child>
-
- <widget>
- <class>GtkButton</class>
- <name>extern_cancel_button</name>
- <can_default>True</can_default>
- <can_focus>True</can_focus>
- <signal>
- <name>clicked</name>
- <handler>on_extern_cancel_button_clicked</handler>
- <last_modification_time>Mon, 04 Jun 2001 21:31:50 GMT</last_modification_time>
- </signal>
- <label>_Cancel</label>
- <relief>GTK_RELIEF_NORMAL</relief>
- </widget>
-
- <widget>
- <class>GtkButton</class>
- <name>extern_ok_button</name>
- <can_default>True</can_default>
- <can_focus>True</can_focus>
- <signal>
- <name>clicked</name>
- <handler>on_extern_ok_button_clicked</handler>
- <last_modification_time>Mon, 04 Jun 2001 21:32:21 GMT</last_modification_time>
- </signal>
- <label>_OK</label>
- <relief>GTK_RELIEF_NORMAL</relief>
- </widget>
- </widget>
- </widget>
+<widget class="GtkWindow" id="about_dialog">
+ <property name="title" translatable="yes">MDK</property>
+ <property name="type">GTK_WINDOW_TOPLEVEL</property>
+ <property name="window_position">GTK_WIN_POS_CENTER</property>
+ <property name="modal">True</property>
+ <property name="default_width">250</property>
+ <property name="default_height">150</property>
+ <property name="resizable">True</property>
+ <property name="destroy_with_parent">False</property>
+ <property name="decorated">True</property>
+ <property name="skip_taskbar_hint">False</property>
+ <property name="skip_pager_hint">False</property>
+ <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
+ <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+ <signal name="delete_event" handler="gtk_widget_hide"/>
+ <signal name="destroy_event" handler="gtk_widget_hide"/>
+ <signal name="destroy" handler="gtk_widget_hide"/>
+
+ <child>
+ <widget class="GtkLayout" id="layout1">
+ <property name="visible">True</property>
+ <property name="width">250</property>
+ <property name="height">150</property>
+ <property name="hadjustment">0 0 250 0 209.7 233</property>
+ <property name="vadjustment">0 0 150 0 111.6 124</property>
- <widget>
- <class>GtkVBox</class>
- <name>vbox2</name>
- <homogeneous>True</homogeneous>
- <spacing>0</spacing>
<child>
- <padding>0</padding>
- <expand>True</expand>
- <fill>True</fill>
- </child>
-
- <widget>
- <class>GtkFixed</class>
- <name>fixed3</name>
- <child>
- <padding>0</padding>
- <expand>True</expand>
- <fill>True</fill>
- </child>
-
- <widget>
- <class>GtkEntry</class>
- <name>editor_entry</name>
- <x>48</x>
- <y>40</y>
- <width>220</width>
- <height>24</height>
- <can_focus>True</can_focus>
- <editable>True</editable>
- <text_visible>True</text_visible>
- <text_max_length>0</text_max_length>
- <text>xterm -e vi %s</text>
- </widget>
-
- <widget>
- <class>GtkLabel</class>
- <name>label234</name>
- <x>3</x>
- <y>16</y>
- <width>223</width>
- <height>16</height>
- <label>Editor command (e.g xterm -e vi %s)</label>
- <justify>GTK_JUSTIFY_LEFT</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
- </widget>
-
- <widget>
- <class>GtkFixed</class>
- <name>fixed4</name>
- <child>
- <padding>0</padding>
- <expand>True</expand>
- <fill>True</fill>
- </child>
-
- <widget>
- <class>GtkEntry</class>
- <name>mixasm_entry</name>
- <x>48</x>
- <y>40</y>
- <width>220</width>
- <height>22</height>
- <can_focus>True</can_focus>
- <editable>True</editable>
- <text_visible>True</text_visible>
- <text_max_length>0</text_max_length>
- <text>mixasm -g %s</text>
+ <widget class="GtkLabel" id="label222">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">GNU MIX Development Kit</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
</widget>
+ <packing>
+ <property name="x">56</property>
+ <property name="y">24</property>
+ </packing>
+ </child>
- <widget>
- <class>GtkLabel</class>
- <name>label235</name>
- <x>0</x>
- <y>16</y>
- <width>278</width>
- <height>16</height>
- <label>MIX sssembler command (e.g. mixasm -g %s)</label>
- <justify>GTK_JUSTIFY_LEFT</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
+ <child>
+ <widget class="GtkLabel" id="version_label">
+ <property name="width_request">52</property>
+ <property name="height_request">16</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">label223</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
</widget>
- </widget>
- </widget>
- </widget>
-</widget>
+ <packing>
+ <property name="x">96</property>
+ <property name="y">48</property>
+ </packing>
+ </child>
-<widget>
- <class>GtkDialog</class>
- <name>symbols_dialog</name>
- <visible>False</visible>
- <signal>
- <name>delete_event</name>
- <handler>gtk_widget_hide</handler>
- <last_modification_time>Mon, 18 Jun 2001 21:10:39 GMT</last_modification_time>
- </signal>
- <signal>
- <name>destroy_event</name>
- <handler>gtk_widget_hide</handler>
- <last_modification_time>Mon, 18 Jun 2001 21:10:53 GMT</last_modification_time>
- </signal>
- <signal>
- <name>destroy</name>
- <handler>gtk_widget_hide</handler>
- <last_modification_time>Mon, 18 Jun 2001 21:11:08 GMT</last_modification_time>
- </signal>
- <title>Symbol table</title>
- <type>GTK_WINDOW_DIALOG</type>
- <position>GTK_WIN_POS_CENTER</position>
- <modal>False</modal>
- <default_width>350</default_width>
- <default_height>265</default_height>
- <allow_shrink>True</allow_shrink>
- <allow_grow>True</allow_grow>
- <auto_shrink>False</auto_shrink>
-
- <widget>
- <class>GtkVBox</class>
- <child_name>Dialog:vbox</child_name>
- <name>dialog-vbox10</name>
- <homogeneous>False</homogeneous>
- <spacing>0</spacing>
-
- <widget>
- <class>GtkHBox</class>
- <child_name>Dialog:action_area</child_name>
- <name>dialog-action_area10</name>
- <border_width>10</border_width>
- <homogeneous>True</homogeneous>
- <spacing>5</spacing>
<child>
- <padding>0</padding>
- <expand>False</expand>
- <fill>True</fill>
- <pack>GTK_PACK_END</pack>
+ <widget class="GtkLabel" id="label224">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes"> Copyright (C) 2001, 2002, 2003 , 2004
+Free Software Foundation, Inc.</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">True</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="x">24</property>
+ <property name="y">88</property>
+ </packing>
</child>
-
- <widget>
- <class>GtkButton</class>
- <name>button1</name>
- <width>77</width>
- <can_focus>True</can_focus>
- <signal>
- <name>clicked</name>
- <handler>on_symbol_ok_clicked</handler>
- <last_modification_time>Mon, 18 Jun 2001 21:10:02 GMT</last_modification_time>
- </signal>
- <label>_Close</label>
- <relief>GTK_RELIEF_NORMAL</relief>
- <child>
- <padding>0</padding>
- <expand>False</expand>
- <fill>False</fill>
- </child>
- </widget>
</widget>
+ </child>
+</widget>
- <widget>
- <class>GtkScrolledWindow</class>
- <name>scrolledwindow26</name>
- <hscrollbar_policy>GTK_POLICY_ALWAYS</hscrollbar_policy>
- <vscrollbar_policy>GTK_POLICY_ALWAYS</vscrollbar_policy>
- <hupdate_policy>GTK_UPDATE_CONTINUOUS</hupdate_policy>
- <vupdate_policy>GTK_UPDATE_CONTINUOUS</vupdate_policy>
- <child>
- <padding>0</padding>
- <expand>True</expand>
- <fill>True</fill>
- </child>
+<widget class="GtkDialog" id="goto_dialog">
+ <property name="title" translatable="yes">Go to memory cell</property>
+ <property name="type">GTK_WINDOW_TOPLEVEL</property>
+ <property name="window_position">GTK_WIN_POS_NONE</property>
+ <property name="modal">True</property>
+ <property name="resizable">True</property>
+ <property name="destroy_with_parent">False</property>
+ <property name="decorated">True</property>
+ <property name="skip_taskbar_hint">False</property>
+ <property name="skip_pager_hint">False</property>
+ <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+ <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+ <property name="has_separator">True</property>
+ <signal name="destroy_event" handler="gtk_widget_hide"/>
+ <signal name="delete_event" handler="gtk_widget_hide"/>
+ <signal name="destroy" handler="gtk_widget_hide"/>
+
+ <child internal-child="vbox">
+ <widget class="GtkVBox" id="dialog-vbox6">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">0</property>
+
+ <child internal-child="action_area">
+ <widget class="GtkHButtonBox" id="dialog-action_area6">
+ <property name="visible">True</property>
+ <property name="layout_style">GTK_BUTTONBOX_END</property>
+
+ <child>
+ <widget class="GtkHButtonBox" id="hbuttonbox6">
+ <property name="visible">True</property>
+ <property name="layout_style">GTK_BUTTONBOX_DEFAULT_STYLE</property>
+ <property name="spacing">30</property>
- <widget>
- <class>GtkCList</class>
- <name>symbols_clist</name>
- <can_focus>True</can_focus>
- <columns>3</columns>
- <column_widths>80,112,80</column_widths>
- <selection_mode>GTK_SELECTION_SINGLE</selection_mode>
- <show_titles>True</show_titles>
- <shadow_type>GTK_SHADOW_IN</shadow_type>
-
- <widget>
- <class>GtkLabel</class>
- <child_name>CList:title</child_name>
- <name>label236</name>
- <label>Symbol</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
+ <child>
+ <widget class="GtkButton" id="goto_cancel">
+ <property name="visible">True</property>
+ <property name="can_default">True</property>
+ <property name="can_focus">True</property>
+ <property name="label">gtk-cancel</property>
+ <property name="use_stock">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ <signal name="clicked" handler="on_goto_cancel_clicked"/>
+ </widget>
+ </child>
- <widget>
- <class>GtkLabel</class>
- <child_name>CList:title</child_name>
- <name>label237</name>
- <label>Decimal</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
+ <child>
+ <widget class="GtkButton" id="goto_ok">
+ <property name="visible">True</property>
+ <property name="can_default">True</property>
+ <property name="can_focus">True</property>
+ <property name="label">gtk-ok</property>
+ <property name="use_stock">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ <signal name="clicked" handler="on_goto_ok_clicked"/>
+ </widget>
+ </child>
+ </widget>
+ </child>
</widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="pack_type">GTK_PACK_END</property>
+ </packing>
+ </child>
- <widget>
- <class>GtkLabel</class>
- <child_name>CList:title</child_name>
- <name>label238</name>
- <label>Word</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
+ <child>
+ <widget class="GtkVBox" id="vbox1">
+ <property name="border_width">12</property>
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">0</property>
+
+ <child>
+ <widget class="GtkLabel" id="label225">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Go to address:</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkEntry" id="goto_entry">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="has_focus">True</property>
+ <property name="editable">True</property>
+ <property name="visibility">True</property>
+ <property name="max_length">0</property>
+ <property name="text" translatable="yes"></property>
+ <property name="has_frame">True</property>
+ <property name="invisible_char" translatable="yes">*</property>
+ <property name="activates_default">False</property>
+ <signal name="activate" handler="on_goto_ok_clicked"/>
+ </widget>
+ <packing>
+ <property name="padding">10</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
</widget>
- </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
</widget>
- </widget>
+ </child>
</widget>
-<widget>
- <class>GtkWindow</class>
- <name>mixvm_window</name>
- <visible>False</visible>
- <signal>
- <name>delete_event</name>
- <handler>on_window_hide</handler>
- <last_modification_time>Sun, 24 Jun 2001 12:33:45 GMT</last_modification_time>
- </signal>
- <signal>
- <name>destroy_event</name>
- <handler>on_window_hide</handler>
- <last_modification_time>Sun, 24 Jun 2001 12:33:54 GMT</last_modification_time>
- </signal>
- <signal>
- <name>destroy</name>
- <handler>on_window_hide</handler>
- <last_modification_time>Sun, 24 Jun 2001 12:34:03 GMT</last_modification_time>
- </signal>
- <signal>
- <name>show</name>
- <handler>mixgtk_mixvm_update_vm_widgets</handler>
- <after>True</after>
- <last_modification_time>Sun, 24 Jun 2001 12:45:56 GMT</last_modification_time>
- </signal>
- <title>Virtual machine</title>
- <type>GTK_WINDOW_TOPLEVEL</type>
- <position>GTK_WIN_POS_NONE</position>
- <modal>False</modal>
- <default_width>640</default_width>
- <default_height>290</default_height>
- <allow_shrink>False</allow_shrink>
- <allow_grow>True</allow_grow>
- <auto_shrink>False</auto_shrink>
-
- <widget>
- <class>GtkFixed</class>
- <name>mixvm_widget</name>
- <width>640</width>
- <height>287</height>
-
- <widget>
- <class>GtkEntry</class>
- <name>rJ_entry</name>
- <x>304</x>
- <y>88</y>
- <width>60</width>
- <height>24</height>
- <can_focus>True</can_focus>
- <signal>
- <name>button_press_event</name>
- <handler>on_register_click</handler>
- <last_modification_time>Sun, 11 Mar 2001 11:45:00 GMT</last_modification_time>
- </signal>
- <editable>False</editable>
- <text_visible>True</text_visible>
- <text_max_length>0</text_max_length>
- <text></text>
- </widget>
-
- <widget>
- <class>GtkEntry</class>
- <name>rA_entry</name>
- <x>40</x>
- <y>24</y>
- <width>120</width>
- <height>24</height>
- <can_focus>True</can_focus>
- <signal>
- <name>button_press_event</name>
- <handler>on_register_click</handler>
- <last_modification_time>Mon, 12 Mar 2001 23:09:49 GMT</last_modification_time>
- </signal>
- <editable>False</editable>
- <text_visible>True</text_visible>
- <text_max_length>0</text_max_length>
- <text></text>
- </widget>
-
- <widget>
- <class>GtkEntry</class>
- <name>rX_entry</name>
- <x>248</x>
- <y>24</y>
- <width>120</width>
- <height>24</height>
- <can_focus>True</can_focus>
- <signal>
- <name>button_press_event</name>
- <handler>on_register_click</handler>
- <last_modification_time>Sun, 11 Mar 2001 11:43:29 GMT</last_modification_time>
- </signal>
- <editable>False</editable>
- <text_visible>True</text_visible>
- <text_max_length>0</text_max_length>
- <text></text>
- </widget>
-
- <widget>
- <class>GtkEntry</class>
- <name>rI2_entry</name>
- <x>40</x>
- <y>144</y>
- <width>60</width>
- <height>22</height>
- <can_focus>True</can_focus>
- <signal>
- <name>button_press_event</name>
- <handler>on_register_click</handler>
- <last_modification_time>Sun, 11 Mar 2001 11:45:39 GMT</last_modification_time>
- </signal>
- <editable>False</editable>
- <text_visible>True</text_visible>
- <text_max_length>0</text_max_length>
- <text></text>
- </widget>
-
- <widget>
- <class>GtkEntry</class>
- <name>rI1_entry</name>
- <x>40</x>
- <y>88</y>
- <width>60</width>
- <height>24</height>
- <can_focus>True</can_focus>
- <signal>
- <name>button_press_event</name>
- <handler>on_register_click</handler>
- <last_modification_time>Sun, 11 Mar 2001 11:43:44 GMT</last_modification_time>
- </signal>
- <editable>False</editable>
- <text_visible>True</text_visible>
- <text_max_length>0</text_max_length>
- <text></text>
- </widget>
-
- <widget>
- <class>GtkEntry</class>
- <name>rI3_entry</name>
- <x>40</x>
- <y>200</y>
- <width>60</width>
- <height>22</height>
- <can_focus>True</can_focus>
- <signal>
- <name>button_press_event</name>
- <handler>on_register_click</handler>
- <last_modification_time>Sun, 11 Mar 2001 11:46:37 GMT</last_modification_time>
- </signal>
- <editable>False</editable>
- <text_visible>True</text_visible>
- <text_max_length>0</text_max_length>
- <text></text>
- </widget>
-
- <widget>
- <class>GtkEntry</class>
- <name>rI4_entry</name>
- <x>168</x>
- <y>88</y>
- <width>60</width>
- <height>24</height>
- <can_focus>True</can_focus>
- <signal>
- <name>button_press_event</name>
- <handler>on_register_click</handler>
- <last_modification_time>Sun, 11 Mar 2001 11:44:21 GMT</last_modification_time>
- </signal>
- <editable>False</editable>
- <text_visible>True</text_visible>
- <text_max_length>0</text_max_length>
- <text></text>
- </widget>
-
- <widget>
- <class>GtkEntry</class>
- <name>rI6_entry</name>
- <x>168</x>
- <y>200</y>
- <width>60</width>
- <height>22</height>
- <can_focus>True</can_focus>
- <signal>
- <name>button_press_event</name>
- <handler>on_register_click</handler>
- <last_modification_time>Sun, 11 Mar 2001 11:46:58 GMT</last_modification_time>
- </signal>
- <editable>False</editable>
- <text_visible>True</text_visible>
- <text_max_length>0</text_max_length>
- <text></text>
- </widget>
-
- <widget>
- <class>GtkLabel</class>
- <name>label100</name>
- <x>8</x>
- <y>91</y>
- <width>31</width>
- <height>16</height>
- <label>I1</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
-
- <widget>
- <class>GtkLabel</class>
- <name>label102</name>
- <x>8</x>
- <y>200</y>
- <width>31</width>
- <height>16</height>
- <label>I3</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
-
- <widget>
- <class>GtkLabel</class>
- <name>label101</name>
- <x>8</x>
- <y>144</y>
- <width>31</width>
- <height>16</height>
- <label>I2</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
+<widget class="GtkFontSelectionDialog" id="fontsel_dialog">
+ <property name="border_width">4</property>
+ <property name="title" translatable="yes">Select Font</property>
+ <property name="type">GTK_WINDOW_TOPLEVEL</property>
+ <property name="window_position">GTK_WIN_POS_NONE</property>
+ <property name="modal">False</property>
+ <property name="resizable">True</property>
+ <property name="destroy_with_parent">False</property>
+ <property name="decorated">True</property>
+ <property name="skip_taskbar_hint">False</property>
+ <property name="skip_pager_hint">False</property>
+ <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+ <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+ <signal name="delete_event" handler="gtk_widget_hide"/>
+ <signal name="destroy_event" handler="gtk_widget_hide"/>
+ <signal name="destroy" handler="gtk_widget_hide"/>
+
+ <child internal-child="cancel_button">
+ <widget class="GtkButton" id="cancel_button1">
+ <property name="visible">True</property>
+ <property name="can_default">True</property>
+ <property name="can_focus">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ <signal name="clicked" handler="on_fontsel_cancel_clicked"/>
</widget>
-
- <widget>
- <class>GtkLabel</class>
- <name>label103</name>
- <x>136</x>
- <y>88</y>
- <width>32</width>
- <height>16</height>
- <label>I4</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
+ </child>
+
+ <child internal-child="apply_button">
+ <widget class="GtkButton" id="apply_button1">
+ <property name="visible">True</property>
+ <property name="can_default">True</property>
+ <property name="can_focus">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ <signal name="clicked" handler="on_fontsel_apply_clicked"/>
</widget>
-
- <widget>
- <class>GtkLabel</class>
- <name>label104</name>
- <x>136</x>
- <y>144</y>
- <width>31</width>
- <height>16</height>
- <label>I5</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
+ </child>
+
+ <child internal-child="ok_button">
+ <widget class="GtkButton" id="ok_button1">
+ <property name="visible">True</property>
+ <property name="can_default">True</property>
+ <property name="can_focus">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ <signal name="clicked" handler="on_fontsel_ok_clicked"/>
</widget>
+ </child>
- <widget>
- <class>GtkLabel</class>
- <name>label105</name>
- <x>136</x>
- <y>200</y>
- <width>31</width>
- <height>16</height>
- <label>I6</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
+ <child internal-child="font_selection">
+ <widget class="GtkFontSelection" id="fontselection1">
+ <property name="border_width">4</property>
+ <property name="visible">True</property>
+ <property name="preview_text" translatable="yes">abcdefghijk ABCDEFGHIJK</property>
</widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+</widget>
- <widget>
- <class>GtkLabel</class>
- <name>label98</name>
- <x>216</x>
- <y>24</y>
- <width>31</width>
- <height>16</height>
- <label>X</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
+<widget class="GtkDialog" id="devform_dialog">
+ <property name="title" translatable="yes">Device output format</property>
+ <property name="type">GTK_WINDOW_TOPLEVEL</property>
+ <property name="window_position">GTK_WIN_POS_NONE</property>
+ <property name="modal">True</property>
+ <property name="resizable">True</property>
+ <property name="destroy_with_parent">False</property>
+ <property name="decorated">True</property>
+ <property name="skip_taskbar_hint">False</property>
+ <property name="skip_pager_hint">False</property>
+ <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+ <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+ <property name="has_separator">True</property>
+ <signal name="delete_event" handler="gtk_widget_hide"/>
+ <signal name="destroy_event" handler="gtk_widget_hide"/>
+ <signal name="destroy" handler="gtk_widget_hide"/>
+
+ <child internal-child="vbox">
+ <widget class="GtkVBox" id="dialog-vbox8">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">0</property>
+
+ <child internal-child="action_area">
+ <widget class="GtkHButtonBox" id="dialog-action_area8">
+ <property name="visible">True</property>
+ <property name="layout_style">GTK_BUTTONBOX_END</property>
+
+ <child>
+ <widget class="GtkHButtonBox" id="hbuttonbox8">
+ <property name="visible">True</property>
+ <property name="layout_style">GTK_BUTTONBOX_DEFAULT_STYLE</property>
+ <property name="spacing">30</property>
- <widget>
- <class>GtkLabel</class>
- <name>label97</name>
- <x>8</x>
- <y>24</y>
- <width>31</width>
- <height>16</height>
- <label>A</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
+ <child>
+ <widget class="GtkButton" id="devok_button">
+ <property name="visible">True</property>
+ <property name="can_default">True</property>
+ <property name="can_focus">True</property>
+ <property name="label">gtk-ok</property>
+ <property name="use_stock">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ <signal name="clicked" handler="on_devok_button_clicked"/>
+ </widget>
+ </child>
- <widget>
- <class>GtkVSeparator</class>
- <name>vseparator2</name>
- <x>0</x>
- <y>8</y>
- <width>16</width>
- <height>263</height>
- </widget>
+ <child>
+ <widget class="GtkButton" id="devapp_button">
+ <property name="visible">True</property>
+ <property name="can_default">True</property>
+ <property name="can_focus">True</property>
+ <property name="label">gtk-apply</property>
+ <property name="use_stock">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ <signal name="clicked" handler="on_devapp_button_clicked"/>
+ </widget>
+ </child>
- <widget>
- <class>GtkVSeparator</class>
- <name>vseparator3</name>
- <x>626</x>
- <y>8</y>
- <width>16</width>
- <height>267</height>
- </widget>
+ <child>
+ <widget class="GtkButton" id="devcancel_button">
+ <property name="visible">True</property>
+ <property name="can_default">True</property>
+ <property name="can_focus">True</property>
+ <property name="label">gtk-cancel</property>
+ <property name="use_stock">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ <signal name="clicked" handler="on_devcancel_button_clicked"/>
+ </widget>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="pack_type">GTK_PACK_END</property>
+ </packing>
+ </child>
- <widget>
- <class>GtkLabel</class>
- <name>label99</name>
- <x>272</x>
- <y>88</y>
- <width>31</width>
- <height>16</height>
- <label>J</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
+ <child>
+ <widget class="GtkFixed" id="fixed2">
+ <property name="visible">True</property>
+
+ <child>
+ <widget class="GtkCombo" id="dev_combo">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="value_in_list">True</property>
+ <property name="allow_empty">True</property>
+ <property name="case_sensitive">False</property>
+ <property name="enable_arrow_keys">True</property>
+ <property name="enable_arrows_always">False</property>
+
+ <child internal-child="entry">
+ <widget class="GtkEntry" id="combo-entry1">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Choose a device</property>
+ <property name="can_focus">True</property>
+ <property name="editable">True</property>
+ <property name="visibility">True</property>
+ <property name="max_length">0</property>
+ <property name="text" translatable="yes"></property>
+ <property name="has_frame">True</property>
+ <property name="invisible_char" translatable="yes">*</property>
+ <property name="activates_default">False</property>
+ <signal name="changed" handler="on_deventry_changed"/>
+ </widget>
+ </child>
- <widget>
- <class>GtkHSeparator</class>
- <name>hseparator2</name>
- <x>6</x>
- <y>265</y>
- <width>627</width>
- <height>16</height>
+ <child internal-child="list">
+ <widget class="GtkList" id="convertwidget11">
+ <property name="visible">True</property>
+ <property name="selection_mode">GTK_SELECTION_BROWSE</property>
+
+ <child>
+ <widget class="GtkListItem" id="convertwidget12">
+ <property name="visible">True</property>
+
+ <child>
+ <widget class="GtkLabel" id="convertwidget13">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes"></property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ <packing>
+ <property name="x">135</property>
+ <property name="y">46</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkRadioButton" id="wordradio">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Show output as MIX words</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes">Word</property>
+ <property name="use_underline">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ <property name="active">False</property>
+ <property name="inconsistent">False</property>
+ <property name="draw_indicator">True</property>
+ </widget>
+ <packing>
+ <property name="x">104</property>
+ <property name="y">96</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkRadioButton" id="decradio">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Show output as decimal numbers</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes">Dec</property>
+ <property name="use_underline">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ <property name="active">False</property>
+ <property name="inconsistent">False</property>
+ <property name="draw_indicator">True</property>
+ <property name="group">wordradio</property>
+ <signal name="toggled" handler="on_decradio_toggled"/>
+ </widget>
+ <packing>
+ <property name="x">176</property>
+ <property name="y">96</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkButton" id="devset_button">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Set all devices to current format</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes">S_et all</property>
+ <property name="use_underline">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ <signal name="clicked" handler="on_devset_button_clicked"/>
+ </widget>
+ <packing>
+ <property name="x">16</property>
+ <property name="y">112</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label233">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Format</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="x">48</property>
+ <property name="y">80</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label232">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Device</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="x">24</property>
+ <property name="y">8</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
</widget>
+ </child>
+</widget>
- <widget>
- <class>GtkLabel</class>
- <name>label159</name>
- <x>8</x>
- <y>248</y>
- <width>64</width>
- <height>16</height>
- <label>Elapsed:</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
+<widget class="GtkDialog" id="external_dialog">
+ <property name="title" translatable="yes">External programs</property>
+ <property name="type">GTK_WINDOW_TOPLEVEL</property>
+ <property name="window_position">GTK_WIN_POS_NONE</property>
+ <property name="modal">True</property>
+ <property name="resizable">True</property>
+ <property name="destroy_with_parent">False</property>
+ <property name="decorated">True</property>
+ <property name="skip_taskbar_hint">False</property>
+ <property name="skip_pager_hint">False</property>
+ <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+ <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+ <property name="has_separator">True</property>
+ <signal name="delete_event" handler="gtk_widget_hide"/>
+ <signal name="destroy_event" handler="gtk_widget_hide"/>
+ <signal name="destroy" handler="gtk_widget_hide"/>
+
+ <child internal-child="vbox">
+ <widget class="GtkVBox" id="dialog-vbox9">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">0</property>
+
+ <child internal-child="action_area">
+ <widget class="GtkHButtonBox" id="dialog-action_area9">
+ <property name="visible">True</property>
+ <property name="layout_style">GTK_BUTTONBOX_END</property>
+
+ <child>
+ <widget class="GtkHButtonBox" id="hbuttonbox9">
+ <property name="visible">True</property>
+ <property name="layout_style">GTK_BUTTONBOX_SPREAD</property>
+ <property name="spacing">10</property>
- <widget>
- <class>GtkLabel</class>
- <name>label158</name>
- <x>128</x>
- <y>248</y>
- <width>64</width>
- <height>16</height>
- <label>Program:</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
+ <child>
+ <widget class="GtkButton" id="extern_cancel_button">
+ <property name="visible">True</property>
+ <property name="can_default">True</property>
+ <property name="can_focus">True</property>
+ <property name="label">gtk-cancel</property>
+ <property name="use_stock">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ <signal name="clicked" handler="on_extern_cancel_button_clicked"/>
+ </widget>
+ </child>
- <widget>
- <class>GtkLabel</class>
- <name>label157</name>
- <x>256</x>
- <y>248</y>
- <width>48</width>
- <height>16</height>
- <label>Uptime:</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
+ <child>
+ <widget class="GtkButton" id="extern_ok_button">
+ <property name="visible">True</property>
+ <property name="can_default">True</property>
+ <property name="can_focus">True</property>
+ <property name="label">gtk-ok</property>
+ <property name="use_stock">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ <signal name="clicked" handler="on_extern_ok_button_clicked"/>
+ </widget>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="pack_type">GTK_PACK_END</property>
+ </packing>
+ </child>
- <widget>
- <class>GtkVSeparator</class>
- <name>vseparator1</name>
- <x>376</x>
- <y>10</y>
- <width>16</width>
- <height>263</height>
- </widget>
+ <child>
+ <widget class="GtkVBox" id="vbox2">
+ <property name="visible">True</property>
+ <property name="homogeneous">True</property>
+ <property name="spacing">0</property>
- <widget>
- <class>GtkEntry</class>
- <name>rI5_entry</name>
- <x>168</x>
- <y>144</y>
- <width>60</width>
- <height>22</height>
- <can_focus>True</can_focus>
- <signal>
- <name>button_press_event</name>
- <handler>on_register_click</handler>
- <last_modification_time>Sun, 11 Mar 2001 11:46:05 GMT</last_modification_time>
- </signal>
- <editable>False</editable>
- <text_visible>True</text_visible>
- <text_max_length>0</text_max_length>
- <text></text>
- </widget>
+ <child>
+ <widget class="GtkFixed" id="fixed3">
+ <property name="visible">True</property>
- <widget>
- <class>GtkEntry</class>
- <name>loc_entry</name>
- <x>300</x>
- <y>200</y>
- <width>40</width>
- <height>22</height>
- <can_focus>True</can_focus>
- <editable>False</editable>
- <text_visible>True</text_visible>
- <text_max_length>0</text_max_length>
- <text></text>
- </widget>
+ <child>
+ <widget class="GtkEntry" id="editor_entry">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="editable">True</property>
+ <property name="visibility">True</property>
+ <property name="max_length">0</property>
+ <property name="text" translatable="yes">xterm -e vi %s</property>
+ <property name="has_frame">True</property>
+ <property name="invisible_char" translatable="yes">*</property>
+ <property name="activates_default">False</property>
+ </widget>
+ <packing>
+ <property name="x">256</property>
+ <property name="y">12</property>
+ </packing>
+ </child>
- <widget>
- <class>GtkLabel</class>
- <name>label167</name>
- <x>256</x>
- <y>200</y>
- <width>48</width>
- <height>16</height>
- <label>LOC</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
+ <child>
+ <widget class="GtkLabel" id="label234">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Editor command (e.g xterm -e vi %s)</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="x">8</property>
+ <property name="y">15</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
- <widget>
- <class>GtkHSeparator</class>
- <name>hseparator1</name>
- <x>8</x>
- <y>232</y>
- <width>377</width>
- <height>16</height>
- </widget>
+ <child>
+ <widget class="GtkFixed" id="fixed4">
+ <property name="visible">True</property>
- <widget>
- <class>GtkLabel</class>
- <name>program_label</name>
- <x>184</x>
- <y>248</y>
- <width>56</width>
- <height>16</height>
- <label>000000</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
-
- <widget>
- <class>GtkLabel</class>
- <name>elapsed_label</name>
- <x>64</x>
- <y>248</y>
- <width>48</width>
- <height>16</height>
- <label>000000</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
+ <child>
+ <widget class="GtkEntry" id="mixasm_entry">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="editable">True</property>
+ <property name="visibility">True</property>
+ <property name="max_length">0</property>
+ <property name="text" translatable="yes">mixasm -g %s</property>
+ <property name="has_frame">True</property>
+ <property name="invisible_char" translatable="yes">*</property>
+ <property name="activates_default">False</property>
+ </widget>
+ <packing>
+ <property name="x">255</property>
+ <property name="y">4</property>
+ </packing>
+ </child>
- <widget>
- <class>GtkLabel</class>
- <name>uptime_label</name>
- <x>296</x>
- <y>248</y>
- <width>72</width>
- <height>16</height>
- <label>00000000</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
+ <child>
+ <widget class="GtkLabel" id="label235">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">MIX sssembler command (e.g. mixasm -g %s)</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="x">8</property>
+ <property name="y">8</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
</widget>
+ </child>
+</widget>
- <widget>
- <class>GtkRadioButton</class>
- <name>greater_radio</name>
- <x>336</x>
- <y>128</y>
- <width>32</width>
- <height>24</height>
- <tooltip>Comparison flag: greater</tooltip>
- <can_focus>True</can_focus>
- <signal>
- <name>toggled</name>
- <handler>on_cmp_g_toggled</handler>
- <last_modification_time>Tue, 06 Mar 2001 21:21:40 GMT</last_modification_time>
- </signal>
- <label>G</label>
- <active>False</active>
- <draw_indicator>True</draw_indicator>
- <group>cmp_group</group>
- </widget>
+<widget class="GtkDialog" id="symbols_dialog">
+ <property name="title" translatable="yes">Symbol table</property>
+ <property name="type">GTK_WINDOW_TOPLEVEL</property>
+ <property name="window_position">GTK_WIN_POS_NONE</property>
+ <property name="modal">False</property>
+ <property name="default_width">245</property>
+ <property name="default_height">265</property>
+ <property name="resizable">True</property>
+ <property name="destroy_with_parent">False</property>
+ <property name="decorated">True</property>
+ <property name="skip_taskbar_hint">False</property>
+ <property name="skip_pager_hint">False</property>
+ <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+ <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+ <property name="has_separator">True</property>
+ <signal name="delete_event" handler="gtk_widget_hide"/>
+ <signal name="destroy_event" handler="gtk_widget_hide"/>
+ <signal name="destroy" handler="gtk_widget_hide"/>
+
+ <child internal-child="vbox">
+ <widget class="GtkVBox" id="dialog-vbox10">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">0</property>
+
+ <child internal-child="action_area">
+ <widget class="GtkHButtonBox" id="dialog-action_area10">
+ <property name="visible">True</property>
+ <property name="layout_style">GTK_BUTTONBOX_END</property>
+
+ <child>
+ <widget class="GtkButton" id="button1">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ <property name="response_id">0</property>
+ <signal name="clicked" handler="on_symbol_ok_clicked"/>
- <widget>
- <class>GtkScrolledWindow</class>
- <name>memory_scroll</name>
- <x>398</x>
- <y>16</y>
- <width>225</width>
- <height>248</height>
- <hscrollbar_policy>GTK_POLICY_NEVER</hscrollbar_policy>
- <vscrollbar_policy>GTK_POLICY_ALWAYS</vscrollbar_policy>
- <hupdate_policy>GTK_UPDATE_CONTINUOUS</hupdate_policy>
- <vupdate_policy>GTK_UPDATE_CONTINUOUS</vupdate_policy>
-
- <widget>
- <class>GtkCList</class>
- <name>memory_cells</name>
- <width>195</width>
- <height>248</height>
- <tooltip>Click cell to change value</tooltip>
- <can_focus>True</can_focus>
- <signal>
- <name>select_row</name>
- <handler>on_memory_cells_select_row</handler>
- <after>True</after>
- <last_modification_time>Tue, 13 Mar 2001 07:38:52 GMT</last_modification_time>
- </signal>
- <signal>
- <name>click_column</name>
- <handler>on_memory_cells_click_column</handler>
- <last_modification_time>Wed, 14 Mar 2001 14:18:57 GMT</last_modification_time>
- </signal>
- <columns>2</columns>
- <column_widths>53,135</column_widths>
- <selection_mode>GTK_SELECTION_SINGLE</selection_mode>
- <show_titles>True</show_titles>
- <shadow_type>GTK_SHADOW_IN</shadow_type>
-
- <widget>
- <class>GtkLabel</class>
- <child_name>CList:title</child_name>
- <name>label165</name>
- <label>address</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
+ <child>
+ <widget class="GtkAlignment" id="alignment1">
+ <property name="visible">True</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xscale">0</property>
+ <property name="yscale">0</property>
+ <property name="top_padding">0</property>
+ <property name="bottom_padding">0</property>
+ <property name="left_padding">0</property>
+ <property name="right_padding">0</property>
+
+ <child>
+ <widget class="GtkHBox" id="hbox36">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">2</property>
+
+ <child>
+ <widget class="GtkImage" id="image57">
+ <property name="visible">True</property>
+ <property name="stock">gtk-close</property>
+ <property name="icon_size">4</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label1437">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Close</property>
+ <property name="use_underline">True</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ </child>
</widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="pack_type">GTK_PACK_END</property>
+ </packing>
+ </child>
- <widget>
- <class>GtkLabel</class>
- <child_name>CList:title</child_name>
- <name>label166</name>
- <label>contents</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
+ <child>
+ <widget class="GtkScrolledWindow" id="scrolledwindow26">
+ <property name="visible">True</property>
+ <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <property name="shadow_type">GTK_SHADOW_IN</property>
+ <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
+
+ <child>
+ <widget class="GtkTreeView" id="symbols_view">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="headers_visible">False</property>
+ <property name="rules_hint">True</property>
+ <property name="reorderable">True</property>
+ <property name="enable_search">True</property>
+ </widget>
+ </child>
</widget>
- </widget>
- </widget>
-
- <widget>
- <class>GtkRadioButton</class>
- <name>lesser_radio</name>
- <x>264</x>
- <y>128</y>
- <width>35</width>
- <height>24</height>
- <tooltip>Comparison flag: lesser</tooltip>
- <can_focus>True</can_focus>
- <signal>
- <name>toggled</name>
- <handler>on_cmp_l_toggled</handler>
- <last_modification_time>Tue, 06 Mar 2001 21:21:51 GMT</last_modification_time>
- </signal>
- <label>L</label>
- <active>False</active>
- <draw_indicator>True</draw_indicator>
- <group>cmp_group</group>
- </widget>
-
- <widget>
- <class>GtkRadioButton</class>
- <name>equal_radio</name>
- <x>304</x>
- <y>128</y>
- <width>31</width>
- <height>24</height>
- <tooltip>Comparison flag: equal</tooltip>
- <can_focus>True</can_focus>
- <signal>
- <name>toggled</name>
- <handler>on_cmp_e_toggled</handler>
- <last_modification_time>Tue, 06 Mar 2001 21:22:04 GMT</last_modification_time>
- </signal>
- <label>E</label>
- <active>False</active>
- <draw_indicator>True</draw_indicator>
- <group>cmp_group</group>
- </widget>
-
- <widget>
- <class>GtkHSeparator</class>
- <name>hseparator3</name>
- <x>6</x>
- <y>1</y>
- <width>627</width>
- <height>16</height>
- </widget>
-
- <widget>
- <class>GtkButton</class>
- <name>loc_arrow_split</name>
- <x>346</x>
- <y>200</y>
- <width>30</width>
- <height>23</height>
- <tooltip>View loc address</tooltip>
- <can_focus>True</can_focus>
- <signal>
- <name>clicked</name>
- <handler>on_loc_arrow_clicked</handler>
- <last_modification_time>Thu, 16 Aug 2001 21:01:57 GMT</last_modification_time>
- </signal>
- <relief>GTK_RELIEF_NORMAL</relief>
-
- <widget>
- <class>GtkPixmap</class>
- <name>pixmap2</name>
- <filename>jump.xpm</filename>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- <build_insensitive>True</build_insensitive>
- </widget>
- </widget>
-
- <widget>
- <class>GtkCheckButton</class>
- <name>over_toggle</name>
- <x>288</x>
- <y>168</y>
- <width>88</width>
- <height>16</height>
- <can_focus>True</can_focus>
- <signal>
- <name>toggled</name>
- <handler>on_overflow_toggled</handler>
- <last_modification_time>Tue, 06 Mar 2001 21:32:39 GMT</last_modification_time>
- </signal>
- <label>Overflow</label>
- <active>False</active>
- <draw_indicator>True</draw_indicator>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
</widget>
- </widget>
+ </child>
</widget>
-<widget>
- <class>GtkWindow</class>
- <name>mixal_window</name>
- <visible>False</visible>
- <signal>
- <name>delete_event</name>
- <handler>on_window_hide</handler>
- <last_modification_time>Sun, 24 Jun 2001 12:34:28 GMT</last_modification_time>
- </signal>
- <signal>
- <name>destroy_event</name>
- <handler>on_window_hide</handler>
- <last_modification_time>Sun, 24 Jun 2001 12:34:36 GMT</last_modification_time>
- </signal>
- <signal>
- <name>destroy</name>
- <handler>on_window_hide</handler>
- <last_modification_time>Sun, 24 Jun 2001 12:34:42 GMT</last_modification_time>
- </signal>
- <signal>
- <name>show</name>
- <handler>mixgtk_mixal_update</handler>
- <after>True</after>
- <last_modification_time>Sun, 24 Jun 2001 12:43:33 GMT</last_modification_time>
- </signal>
- <title>MIXAL source</title>
- <type>GTK_WINDOW_TOPLEVEL</type>
- <position>GTK_WIN_POS_NONE</position>
- <modal>False</modal>
- <default_width>570</default_width>
- <default_height>225</default_height>
- <allow_shrink>True</allow_shrink>
- <allow_grow>True</allow_grow>
- <auto_shrink>False</auto_shrink>
-
- <widget>
- <class>GtkVBox</class>
- <name>vbox5</name>
- <homogeneous>False</homogeneous>
- <spacing>0</spacing>
-
- <widget>
- <class>GtkToolbar</class>
- <name>mixal_toolbar</name>
- <border_width>2</border_width>
- <orientation>GTK_ORIENTATION_HORIZONTAL</orientation>
- <type>GTK_TOOLBAR_ICONS</type>
- <space_size>15</space_size>
- <space_style>GTK_TOOLBAR_SPACE_EMPTY</space_style>
- <relief>GTK_RELIEF_NORMAL</relief>
- <tooltips>True</tooltips>
- <child>
- <padding>0</padding>
- <expand>False</expand>
- <fill>False</fill>
- </child>
-
- <widget>
- <class>GtkVSeparator</class>
- <name>vseparator8</name>
- </widget>
-
- <widget>
- <class>GtkButton</class>
- <child_name>Toolbar:button</child_name>
- <name>button14</name>
- <tooltip>Run</tooltip>
- <signal>
- <name>clicked</name>
- <handler>on_debug_run_activate</handler>
- <last_modification_time>Wed, 15 Aug 2001 00:12:03 GMT</last_modification_time>
- </signal>
- <label>Run</label>
- <icon>run.xpm</icon>
- </widget>
-
- <widget>
- <class>GtkButton</class>
- <child_name>Toolbar:button</child_name>
- <name>button15</name>
- <tooltip>Next</tooltip>
- <signal>
- <name>clicked</name>
- <handler>on_debug_next_activate</handler>
- <last_modification_time>Wed, 15 Aug 2001 00:12:36 GMT</last_modification_time>
- </signal>
- <label>Step</label>
- <icon>next.xpm</icon>
- </widget>
-
- <widget>
- <class>GtkButton</class>
- <child_name>Toolbar:button</child_name>
- <name>button16</name>
- <tooltip>Clear breakpoints</tooltip>
- <signal>
- <name>clicked</name>
- <handler>on_clear_breakpoints_activate</handler>
- <last_modification_time>Thu, 16 Aug 2001 12:58:32 GMT</last_modification_time>
- </signal>
- <label>Clear</label>
- <icon>clear.xpm</icon>
- </widget>
-
- <widget>
- <class>GtkButton</class>
- <child_name>Toolbar:button</child_name>
- <name>button18</name>
- <tooltip>Symbol table</tooltip>
- <signal>
- <name>clicked</name>
- <handler>on_symbols_activate</handler>
- <last_modification_time>Thu, 16 Aug 2001 13:02:32 GMT</last_modification_time>
- </signal>
- <label>Symbols</label>
- <icon>symbols.xpm</icon>
- </widget>
-
- <widget>
- <class>GtkButton</class>
- <child_name>Toolbar:button</child_name>
- <name>button22</name>
- <tooltip>Source code font</tooltip>
- <signal>
- <name>clicked</name>
- <handler>on_mixal_font_activate</handler>
- <last_modification_time>Thu, 16 Aug 2001 13:32:22 GMT</last_modification_time>
- </signal>
- <label>Font</label>
- <icon>font.xpm</icon>
- <child>
- <new_group>True</new_group>
- </child>
- </widget>
-
- <widget>
- <class>GtkButton</class>
- <child_name>Toolbar:button</child_name>
- <name>button23</name>
- <tooltip>Colors</tooltip>
- <signal>
- <name>clicked</name>
- <handler>on_colors_activate</handler>
- <last_modification_time>Thu, 16 Aug 2001 13:36:24 GMT</last_modification_time>
- </signal>
- <label>Colors</label>
- <icon>colors.xpm</icon>
- </widget>
- </widget>
+<widget class="GtkWindow" id="mixal_window">
+ <property name="title" translatable="yes">MIXAL source</property>
+ <property name="type">GTK_WINDOW_TOPLEVEL</property>
+ <property name="window_position">GTK_WIN_POS_NONE</property>
+ <property name="modal">False</property>
+ <property name="default_width">570</property>
+ <property name="default_height">225</property>
+ <property name="resizable">True</property>
+ <property name="destroy_with_parent">False</property>
+ <property name="decorated">True</property>
+ <property name="skip_taskbar_hint">False</property>
+ <property name="skip_pager_hint">False</property>
+ <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
+ <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+ <signal name="delete_event" handler="on_window_hide"/>
+ <signal name="destroy_event" handler="on_window_hide"/>
+ <signal name="destroy" handler="on_window_hide"/>
+ <signal name="show" handler="mixgtk_mixal_update" after="yes"/>
+
+ <child>
+ <widget class="GtkVBox" id="vbox5">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">0</property>
- <widget>
- <class>GtkScrolledWindow</class>
- <name>scrolledwindow27</name>
- <hscrollbar_policy>GTK_POLICY_ALWAYS</hscrollbar_policy>
- <vscrollbar_policy>GTK_POLICY_AUTOMATIC</vscrollbar_policy>
- <hupdate_policy>GTK_UPDATE_CONTINUOUS</hupdate_policy>
- <vupdate_policy>GTK_UPDATE_CONTINUOUS</vupdate_policy>
<child>
- <padding>0</padding>
- <expand>True</expand>
- <fill>True</fill>
- </child>
+ <widget class="GtkToolbar" id="mixal_toolbar">
+ <property name="border_width">2</property>
+ <property name="visible">True</property>
+ <property name="orientation">GTK_ORIENTATION_HORIZONTAL</property>
+ <property name="toolbar_style">GTK_TOOLBAR_ICONS</property>
+ <property name="tooltips">True</property>
+ <property name="show_arrow">True</property>
+
+ <child>
+ <widget class="GtkToolItem" id="toolitem3">
+ <property name="visible">True</property>
+ <property name="visible_horizontal">True</property>
+ <property name="visible_vertical">True</property>
+ <property name="is_important">False</property>
- <widget>
- <class>GtkCList</class>
- <name>mixal_clist</name>
- <tooltip>Click to toggle breakpoint</tooltip>
- <can_focus>True</can_focus>
- <events>GDK_POINTER_MOTION_MASK</events>
- <signal>
- <name>select_row</name>
- <handler>on_mixal_select_row</handler>
- <after>True</after>
- <last_modification_time>Sun, 11 Mar 2001 01:15:28 GMT</last_modification_time>
- </signal>
- <signal>
- <name>motion_notify_event</name>
- <handler>on_mixal_motion_notify_event</handler>
- <last_modification_time>Sun, 17 Jun 2001 19:44:48 GMT</last_modification_time>
- </signal>
- <signal>
- <name>leave_notify_event</name>
- <handler>on_mixal_leave_notify_event</handler>
- <last_modification_time>Sat, 23 Jun 2001 22:26:17 GMT</last_modification_time>
- </signal>
- <columns>2</columns>
- <column_widths>152,80</column_widths>
- <selection_mode>GTK_SELECTION_SINGLE</selection_mode>
- <show_titles>True</show_titles>
- <shadow_type>GTK_SHADOW_IN</shadow_type>
-
- <widget>
- <class>GtkLabel</class>
- <child_name>CList:title</child_name>
- <name>label213</name>
- <label>memory</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
+ <child>
+ <widget class="GtkVSeparator" id="vseparator8">
+ <property name="visible">True</property>
+ </widget>
+ </child>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkToolButton" id="button14">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Run</property>
+ <property name="label" translatable="yes">Run</property>
+ <property name="use_underline">True</property>
+ <property name="icon">run.xpm</property>
+ <property name="visible_horizontal">True</property>
+ <property name="visible_vertical">True</property>
+ <property name="is_important">False</property>
+ <signal name="clicked" handler="on_debug_run_activate"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkToolButton" id="button15">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Next</property>
+ <property name="label" translatable="yes">Step</property>
+ <property name="use_underline">True</property>
+ <property name="icon">next.xpm</property>
+ <property name="visible_horizontal">True</property>
+ <property name="visible_vertical">True</property>
+ <property name="is_important">False</property>
+ <signal name="clicked" handler="on_debug_next_activate"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkToolButton" id="button16">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Clear breakpoints</property>
+ <property name="label" translatable="yes">Clear</property>
+ <property name="use_underline">True</property>
+ <property name="icon">clear.xpm</property>
+ <property name="visible_horizontal">True</property>
+ <property name="visible_vertical">True</property>
+ <property name="is_important">False</property>
+ <signal name="clicked" handler="on_clear_breakpoints_activate"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkToolButton" id="button18">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Symbol table</property>
+ <property name="label" translatable="yes">Symbols</property>
+ <property name="use_underline">True</property>
+ <property name="icon">symbols.xpm</property>
+ <property name="visible_horizontal">True</property>
+ <property name="visible_vertical">True</property>
+ <property name="is_important">False</property>
+ <signal name="clicked" handler="on_symbols_activate"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkSeparatorToolItem" id="separatortoolitem7">
+ <property name="visible">True</property>
+ <property name="draw">True</property>
+ <property name="visible_horizontal">True</property>
+ <property name="visible_vertical">True</property>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkToolButton" id="button22">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Source code font</property>
+ <property name="label" translatable="yes">Font</property>
+ <property name="use_underline">True</property>
+ <property name="icon">font.xpm</property>
+ <property name="visible_horizontal">True</property>
+ <property name="visible_vertical">True</property>
+ <property name="is_important">False</property>
+ <signal name="clicked" handler="on_mixal_font_activate"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkToolButton" id="button23">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Colors</property>
+ <property name="label" translatable="yes">Colors</property>
+ <property name="use_underline">True</property>
+ <property name="icon">colors.xpm</property>
+ <property name="visible_horizontal">True</property>
+ <property name="visible_vertical">True</property>
+ <property name="is_important">False</property>
+ <signal name="clicked" handler="on_colors_activate"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
</widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
- <widget>
- <class>GtkLabel</class>
- <child_name>CList:title</child_name>
- <name>label214</name>
- <label>source</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
+ <child>
+ <widget class="GtkScrolledWindow" id="scrolledwindow27">
+ <property name="visible">True</property>
+ <property name="hscrollbar_policy">GTK_POLICY_ALWAYS</property>
+ <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <property name="shadow_type">GTK_SHADOW_IN</property>
+ <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
+
+ <child>
+ <widget class="GtkTreeView" id="mixal_clist">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Click to toggle breakpoint</property>
+ <property name="can_focus">True</property>
+ <property name="events">GDK_POINTER_MOTION_MASK</property>
+ <property name="headers_visible">True</property>
+ <property name="rules_hint">False</property>
+ <property name="reorderable">False</property>
+ <property name="enable_search">True</property>
+ <signal name="select_row" handler="on_mixal_select_row" after="yes"/>
+ <signal name="motion_notify_event" handler="on_mixal_motion_notify_event"/>
+ <signal name="leave_notify_event" handler="on_mixal_leave_notify_event"/>
+ </widget>
+ </child>
</widget>
- </widget>
- </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
- <widget>
- <class>GtkStatusbar</class>
- <name>mixal_statusbar</name>
<child>
- <padding>0</padding>
- <expand>False</expand>
- <fill>False</fill>
+ <widget class="GtkStatusbar" id="mixal_statusbar">
+ <property name="visible">True</property>
+ <property name="has_resize_grip">True</property>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
</child>
</widget>
- </widget>
+ </child>
</widget>
-<widget>
- <class>GtkWindow</class>
- <name>devices_window</name>
- <visible>False</visible>
- <signal>
- <name>delete_event</name>
- <handler>on_window_hide</handler>
- <last_modification_time>Sun, 24 Jun 2001 12:34:51 GMT</last_modification_time>
- </signal>
- <signal>
- <name>destroy_event</name>
- <handler>on_window_hide</handler>
- <last_modification_time>Sun, 24 Jun 2001 12:34:59 GMT</last_modification_time>
- </signal>
- <signal>
- <name>destroy</name>
- <handler>on_window_hide</handler>
- <last_modification_time>Sun, 24 Jun 2001 12:35:09 GMT</last_modification_time>
- </signal>
- <title>Devices</title>
- <type>GTK_WINDOW_TOPLEVEL</type>
- <position>GTK_WIN_POS_NONE</position>
- <modal>False</modal>
- <default_width>550</default_width>
- <default_height>250</default_height>
- <allow_shrink>True</allow_shrink>
- <allow_grow>True</allow_grow>
- <auto_shrink>False</auto_shrink>
-
- <widget>
- <class>GtkVBox</class>
- <name>vbox4</name>
- <homogeneous>False</homogeneous>
- <spacing>0</spacing>
-
- <widget>
- <class>GtkToolbar</class>
- <name>devices_toolbar</name>
- <border_width>2</border_width>
- <orientation>GTK_ORIENTATION_HORIZONTAL</orientation>
- <type>GTK_TOOLBAR_ICONS</type>
- <space_size>5</space_size>
- <space_style>GTK_TOOLBAR_SPACE_EMPTY</space_style>
- <relief>GTK_RELIEF_NORMAL</relief>
- <tooltips>True</tooltips>
+<widget class="GtkWindow" id="devices_window">
+ <property name="title" translatable="yes">Devices</property>
+ <property name="type">GTK_WINDOW_TOPLEVEL</property>
+ <property name="window_position">GTK_WIN_POS_NONE</property>
+ <property name="modal">False</property>
+ <property name="default_width">550</property>
+ <property name="default_height">250</property>
+ <property name="resizable">True</property>
+ <property name="destroy_with_parent">False</property>
+ <property name="decorated">True</property>
+ <property name="skip_taskbar_hint">False</property>
+ <property name="skip_pager_hint">False</property>
+ <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
+ <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+ <signal name="delete_event" handler="on_window_hide"/>
+ <signal name="destroy_event" handler="on_window_hide"/>
+ <signal name="destroy" handler="on_window_hide"/>
+
+ <child>
+ <widget class="GtkVBox" id="vbox4">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">0</property>
+
<child>
- <padding>0</padding>
- <expand>False</expand>
- <fill>False</fill>
+ <widget class="GtkToolbar" id="devices_toolbar">
+ <property name="border_width">2</property>
+ <property name="visible">True</property>
+ <property name="orientation">GTK_ORIENTATION_HORIZONTAL</property>
+ <property name="toolbar_style">GTK_TOOLBAR_ICONS</property>
+ <property name="tooltips">True</property>
+ <property name="show_arrow">True</property>
+
+ <child>
+ <widget class="GtkToolButton" id="devdir_button">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Device directory</property>
+ <property name="label" translatable="yes">Device dir</property>
+ <property name="use_underline">True</property>
+ <property name="icon">devdir.xpm</property>
+ <property name="visible_horizontal">True</property>
+ <property name="visible_vertical">True</property>
+ <property name="is_important">False</property>
+ <signal name="clicked" handler="on_devdir_activate"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkToolButton" id="output_button">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Output format</property>
+ <property name="label" translatable="yes">Output</property>
+ <property name="use_underline">True</property>
+ <property name="icon">output.xpm</property>
+ <property name="visible_horizontal">True</property>
+ <property name="visible_vertical">True</property>
+ <property name="is_important">False</property>
+ <signal name="clicked" handler="on_devform_activate"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkToolButton" id="button21">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Output font</property>
+ <property name="label" translatable="yes">Font</property>
+ <property name="use_underline">True</property>
+ <property name="icon">font.xpm</property>
+ <property name="visible_horizontal">True</property>
+ <property name="visible_vertical">True</property>
+ <property name="is_important">False</property>
+ <signal name="clicked" handler="on_devices_font_activate"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
</child>
- <widget>
- <class>GtkButton</class>
- <child_name>Toolbar:button</child_name>
- <name>devdir_button</name>
- <tooltip>Device directory</tooltip>
- <signal>
- <name>clicked</name>
- <handler>on_devdir_activate</handler>
- <last_modification_time>Thu, 16 Aug 2001 13:14:09 GMT</last_modification_time>
- </signal>
- <label>Device dir</label>
- <icon>devdir.xpm</icon>
- </widget>
-
- <widget>
- <class>GtkButton</class>
- <child_name>Toolbar:button</child_name>
- <name>output_button</name>
- <tooltip>Output format</tooltip>
- <signal>
- <name>clicked</name>
- <handler>on_devform_activate</handler>
- <last_modification_time>Thu, 16 Aug 2001 14:46:32 GMT</last_modification_time>
- </signal>
- <label>Output</label>
- <icon>output.xpm</icon>
- </widget>
-
- <widget>
- <class>GtkButton</class>
- <child_name>Toolbar:button</child_name>
- <name>button21</name>
- <tooltip>Output font</tooltip>
- <signal>
- <name>clicked</name>
- <handler>on_devices_font_activate</handler>
- <last_modification_time>Thu, 16 Aug 2001 13:31:44 GMT</last_modification_time>
- </signal>
- <label>Font</label>
- <icon>font.xpm</icon>
- </widget>
- </widget>
-
- <widget>
- <class>GtkNotebook</class>
- <name>devices_notebook</name>
- <can_focus>True</can_focus>
- <show_tabs>True</show_tabs>
- <show_border>True</show_border>
- <tab_pos>GTK_POS_TOP</tab_pos>
- <scrollable>True</scrollable>
- <tab_hborder>2</tab_hborder>
- <tab_vborder>2</tab_vborder>
- <popup_enable>False</popup_enable>
<child>
- <padding>0</padding>
- <expand>True</expand>
- <fill>True</fill>
+ <widget class="GtkNotebook" id="devices_notebook">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="show_tabs">True</property>
+ <property name="show_border">True</property>
+ <property name="tab_pos">GTK_POS_TOP</property>
+ <property name="scrollable">True</property>
+ <property name="enable_popup">False</property>
+
+ <child>
+ <placeholder/>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">label</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="type">tab</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
</child>
-
- <widget>
- <class>Placeholder</class>
- </widget>
-
- <widget>
- <class>GtkLabel</class>
- <child_name>Notebook:tab</child_name>
- <name>label</name>
- <label>label</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- </widget>
</widget>
- </widget>
+ </child>
</widget>
-<widget>
- <class>GtkDialog</class>
- <name>devdir_dialog</name>
- <visible>False</visible>
- <signal>
- <name>delete_event</name>
- <handler>gtk_widget_hide</handler>
- <last_modification_time>Sun, 08 Jul 2001 20:42:29 GMT</last_modification_time>
- </signal>
- <signal>
- <name>destroy_event</name>
- <handler>gtk_widget_hide</handler>
- <last_modification_time>Sun, 08 Jul 2001 20:42:41 GMT</last_modification_time>
- </signal>
- <signal>
- <name>destroy</name>
- <handler>gtk_widget_hide</handler>
- <last_modification_time>Sun, 08 Jul 2001 20:42:53 GMT</last_modification_time>
- </signal>
- <title>Devices directory</title>
- <type>GTK_WINDOW_TOPLEVEL</type>
- <position>GTK_WIN_POS_NONE</position>
- <modal>False</modal>
- <allow_shrink>False</allow_shrink>
- <allow_grow>False</allow_grow>
- <auto_shrink>True</auto_shrink>
-
- <widget>
- <class>GtkVBox</class>
- <child_name>Dialog:vbox</child_name>
- <name>dialog-vbox11</name>
- <homogeneous>False</homogeneous>
- <spacing>0</spacing>
-
- <widget>
- <class>GtkHBox</class>
- <child_name>Dialog:action_area</child_name>
- <name>dialog-action_area11</name>
- <border_width>1</border_width>
- <homogeneous>False</homogeneous>
- <spacing>0</spacing>
- <child>
- <padding>0</padding>
- <expand>False</expand>
- <fill>False</fill>
- <pack>GTK_PACK_END</pack>
- </child>
-
- <widget>
- <class>GtkHButtonBox</class>
- <name>hbuttonbox10</name>
- <layout_style>GTK_BUTTONBOX_END</layout_style>
- <spacing>0</spacing>
- <child_min_width>91</child_min_width>
- <child_min_height>25</child_min_height>
- <child_ipad_x>0</child_ipad_x>
- <child_ipad_y>0</child_ipad_y>
- <child>
- <padding>0</padding>
- <expand>True</expand>
- <fill>True</fill>
- </child>
-
- <widget>
- <class>GtkButton</class>
- <name>devdir_cancel</name>
- <can_default>True</can_default>
- <can_focus>True</can_focus>
- <signal>
- <name>clicked</name>
- <handler>on_devdir_cancel_clicked</handler>
- <last_modification_time>Sun, 08 Jul 2001 20:44:06 GMT</last_modification_time>
- </signal>
- <label>_Cancel</label>
- <relief>GTK_RELIEF_NORMAL</relief>
- </widget>
-
- <widget>
- <class>GtkButton</class>
- <name>devdir_ok</name>
- <can_default>True</can_default>
- <can_focus>True</can_focus>
- <signal>
- <name>clicked</name>
- <handler>on_devdir_ok_clicked</handler>
- <last_modification_time>Sun, 08 Jul 2001 20:44:28 GMT</last_modification_time>
- </signal>
- <label>_OK</label>
- <relief>GTK_RELIEF_NORMAL</relief>
+<widget class="GtkDialog" id="devdir_dialog">
+ <property name="title" translatable="yes">Devices directory</property>
+ <property name="type">GTK_WINDOW_TOPLEVEL</property>
+ <property name="window_position">GTK_WIN_POS_NONE</property>
+ <property name="modal">False</property>
+ <property name="resizable">True</property>
+ <property name="destroy_with_parent">False</property>
+ <property name="decorated">True</property>
+ <property name="skip_taskbar_hint">False</property>
+ <property name="skip_pager_hint">False</property>
+ <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+ <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+ <property name="has_separator">True</property>
+ <signal name="delete_event" handler="gtk_widget_hide"/>
+ <signal name="destroy_event" handler="gtk_widget_hide"/>
+ <signal name="destroy" handler="gtk_widget_hide"/>
+
+ <child internal-child="vbox">
+ <widget class="GtkVBox" id="dialog-vbox11">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">0</property>
+
+ <child internal-child="action_area">
+ <widget class="GtkHButtonBox" id="dialog-action_area11">
+ <property name="visible">True</property>
+ <property name="layout_style">GTK_BUTTONBOX_END</property>
+
+ <child>
+ <widget class="GtkButton" id="devdir_cancel">
+ <property name="visible">True</property>
+ <property name="can_default">True</property>
+ <property name="can_focus">True</property>
+ <property name="label">gtk-cancel</property>
+ <property name="use_stock">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ <property name="response_id">-6</property>
+ <signal name="clicked" handler="on_devdir_cancel_clicked" last_modification_time="Tue, 22 Jun 2004 22:16:53 GMT"/>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkButton" id="devdir_ok">
+ <property name="visible">True</property>
+ <property name="can_default">True</property>
+ <property name="can_focus">True</property>
+ <property name="label">gtk-ok</property>
+ <property name="use_stock">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ <property name="response_id">-5</property>
+ <signal name="clicked" handler="on_devdir_ok_clicked" last_modification_time="Tue, 22 Jun 2004 22:18:04 GMT"/>
+ </widget>
+ </child>
</widget>
- </widget>
- </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="pack_type">GTK_PACK_END</property>
+ </packing>
+ </child>
- <widget>
- <class>GtkHBox</class>
- <name>hbox1</name>
- <border_width>25</border_width>
- <homogeneous>False</homogeneous>
- <spacing>11</spacing>
<child>
- <padding>0</padding>
- <expand>False</expand>
- <fill>True</fill>
+ <widget class="GtkHBox" id="hbox1">
+ <property name="border_width">25</property>
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">11</property>
+
+ <child>
+ <widget class="GtkLabel" id="label239">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Directory</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkEntry" id="devdir_entry">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="editable">False</property>
+ <property name="visibility">True</property>
+ <property name="max_length">0</property>
+ <property name="text" translatable="yes"></property>
+ <property name="has_frame">True</property>
+ <property name="invisible_char" translatable="yes">*</property>
+ <property name="activates_default">False</property>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkButton" id="devdir_browse">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="label">gtk-open</property>
+ <property name="use_stock">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ <signal name="clicked" handler="on_devdir_browse_clicked"/>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ </packing>
</child>
-
- <widget>
- <class>GtkLabel</class>
- <name>label239</name>
- <label>Directory</label>
- <justify>GTK_JUSTIFY_CENTER</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- <child>
- <padding>0</padding>
- <expand>False</expand>
- <fill>False</fill>
- </child>
- </widget>
-
- <widget>
- <class>GtkEntry</class>
- <name>devdir_entry</name>
- <can_focus>True</can_focus>
- <editable>False</editable>
- <text_visible>True</text_visible>
- <text_max_length>0</text_max_length>
- <text></text>
- <child>
- <padding>0</padding>
- <expand>True</expand>
- <fill>True</fill>
- </child>
- </widget>
-
- <widget>
- <class>GtkButton</class>
- <name>devdir_browse</name>
- <can_focus>True</can_focus>
- <signal>
- <name>clicked</name>
- <handler>on_devdir_browse_clicked</handler>
- <last_modification_time>Sun, 08 Jul 2001 20:43:50 GMT</last_modification_time>
- </signal>
- <label>_Browse...</label>
- <relief>GTK_RELIEF_NORMAL</relief>
- <child>
- <padding>0</padding>
- <expand>False</expand>
- <fill>False</fill>
- </child>
- </widget>
</widget>
- </widget>
+ </child>
</widget>
-<widget>
- <class>GtkDialog</class>
- <name>input_dialog</name>
- <visible>False</visible>
- <signal>
- <name>destroy</name>
- <handler>gtk_true</handler>
- <last_modification_time>Fri, 11 Jun 2004 20:59:50 GMT</last_modification_time>
- </signal>
- <signal>
- <name>delete_event</name>
- <handler>gtk_true</handler>
- <last_modification_time>Fri, 11 Jun 2004 21:00:03 GMT</last_modification_time>
- </signal>
- <signal>
- <name>destroy_event</name>
- <handler>gtk_true</handler>
- <last_modification_time>Fri, 11 Jun 2004 21:00:51 GMT</last_modification_time>
- </signal>
- <title>Terminal input</title>
- <type>GTK_WINDOW_POPUP</type>
- <position>GTK_WIN_POS_CENTER</position>
- <modal>True</modal>
- <default_width>510</default_width>
- <allow_shrink>False</allow_shrink>
- <allow_grow>False</allow_grow>
- <auto_shrink>False</auto_shrink>
-
- <widget>
- <class>GtkVBox</class>
- <child_name>Dialog:vbox</child_name>
- <name>dialog-vbox12</name>
- <homogeneous>False</homogeneous>
- <spacing>0</spacing>
-
- <widget>
- <class>GtkHBox</class>
- <child_name>Dialog:action_area</child_name>
- <name>dialog-action_area12</name>
- <border_width>1</border_width>
- <homogeneous>True</homogeneous>
- <spacing>5</spacing>
+<widget class="GtkWindow" id="mixvm_window">
+ <property name="title" translatable="yes">Virtual machine</property>
+ <property name="type">GTK_WINDOW_TOPLEVEL</property>
+ <property name="window_position">GTK_WIN_POS_NONE</property>
+ <property name="modal">False</property>
+ <property name="default_width">640</property>
+ <property name="default_height">290</property>
+ <property name="resizable">True</property>
+ <property name="destroy_with_parent">False</property>
+ <property name="decorated">True</property>
+ <property name="skip_taskbar_hint">False</property>
+ <property name="skip_pager_hint">False</property>
+ <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
+ <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+ <signal name="delete_event" handler="on_window_hide"/>
+ <signal name="destroy_event" handler="on_window_hide"/>
+ <signal name="destroy" handler="on_window_hide"/>
+ <signal name="show" handler="mixgtk_mixvm_update_vm_widgets" after="yes"/>
+
+ <child>
+ <widget class="GtkFrame" id="frame23">
+ <property name="border_width">5</property>
+ <property name="visible">True</property>
+ <property name="label_xalign">0</property>
+ <property name="label_yalign">0.5</property>
+ <property name="shadow_type">GTK_SHADOW_ETCHED_IN</property>
+
<child>
- <padding>0</padding>
- <expand>True</expand>
- <fill>True</fill>
- <pack>GTK_PACK_END</pack>
- </child>
+ <widget class="GtkHBox" id="hbox29">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">0</property>
+
+ <child>
+ <widget class="GtkVBox" id="vbox7">
+ <property name="border_width">1</property>
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">1</property>
- <widget>
- <class>GtkHButtonBox</class>
- <name>hbuttonbox11</name>
- <layout_style>GTK_BUTTONBOX_END</layout_style>
- <spacing>0</spacing>
- <child_min_width>85</child_min_width>
- <child_min_height>27</child_min_height>
- <child_ipad_x>7</child_ipad_x>
- <child_ipad_y>0</child_ipad_y>
- <child>
- <padding>0</padding>
- <expand>True</expand>
- <fill>True</fill>
- </child>
-
- <widget>
- <class>GtkButton</class>
- <name>input_ok_button</name>
- <can_default>True</can_default>
- <can_focus>True</can_focus>
- <signal>
- <name>clicked</name>
- <handler>on_input_ok_clicked</handler>
- <last_modification_time>Fri, 11 Jun 2004 21:01:32 GMT</last_modification_time>
- </signal>
- <label>_OK</label>
- <relief>GTK_RELIEF_NORMAL</relief>
- </widget>
+ <child>
+ <widget class="GtkFrame" id="frame24">
+ <property name="border_width">2</property>
+ <property name="visible">True</property>
+ <property name="label_xalign">0</property>
+ <property name="label_yalign">0.5</property>
+ <property name="shadow_type">GTK_SHADOW_ETCHED_IN</property>
+
+ <child>
+ <widget class="GtkTable" id="table2">
+ <property name="border_width">8</property>
+ <property name="visible">True</property>
+ <property name="n_rows">3</property>
+ <property name="n_columns">6</property>
+ <property name="homogeneous">False</property>
+ <property name="row_spacing">6</property>
+ <property name="column_spacing">11</property>
+
+ <child>
+ <widget class="GtkLabel" id="label1415">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">A</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="right_attach">1</property>
+ <property name="top_attach">0</property>
+ <property name="bottom_attach">1</property>
+ <property name="x_options">fill</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label1416">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">I1</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="left_attach">2</property>
+ <property name="right_attach">3</property>
+ <property name="top_attach">0</property>
+ <property name="bottom_attach">1</property>
+ <property name="x_options">fill</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label1417">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">I2</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="left_attach">2</property>
+ <property name="right_attach">3</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="x_options">fill</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkEntry" id="entry52">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="editable">False</property>
+ <property name="visibility">True</property>
+ <property name="max_length">0</property>
+ <property name="text" translatable="yes"></property>
+ <property name="has_frame">True</property>
+ <property name="invisible_char" translatable="yes">*</property>
+ <property name="activates_default">False</property>
+ <property name="width_chars">19</property>
+ <signal name="button_press_event" handler="on_register_click"/>
+ </widget>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">0</property>
+ <property name="bottom_attach">1</property>
+ <property name="x_options"></property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkEntry" id="entry53">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="editable">False</property>
+ <property name="visibility">True</property>
+ <property name="max_length">0</property>
+ <property name="text" translatable="yes"></property>
+ <property name="has_frame">True</property>
+ <property name="invisible_char" translatable="yes">*</property>
+ <property name="activates_default">False</property>
+ <property name="width_chars">9</property>
+ <signal name="button_press_event" handler="on_register_click"/>
+ </widget>
+ <packing>
+ <property name="left_attach">3</property>
+ <property name="right_attach">4</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="x_options"></property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkEntry" id="entry54">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="editable">False</property>
+ <property name="visibility">True</property>
+ <property name="max_length">0</property>
+ <property name="text" translatable="yes">+ 00 00</property>
+ <property name="has_frame">True</property>
+ <property name="invisible_char" translatable="yes">*</property>
+ <property name="activates_default">False</property>
+ <property name="width_chars">9</property>
+ <signal name="button_press_event" handler="on_register_click"/>
+ </widget>
+ <packing>
+ <property name="left_attach">3</property>
+ <property name="right_attach">4</property>
+ <property name="top_attach">0</property>
+ <property name="bottom_attach">1</property>
+ <property name="x_options"></property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label1418">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">X</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="right_attach">1</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="x_options">fill</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label1419">
+ <property name="width_request">16</property>
+ <property name="height_request">16</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">I3</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="left_attach">2</property>
+ <property name="right_attach">3</property>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
+ <property name="x_options">fill</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label1420">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">I4</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="left_attach">4</property>
+ <property name="right_attach">5</property>
+ <property name="top_attach">0</property>
+ <property name="bottom_attach">1</property>
+ <property name="x_options">fill</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label1421">
+ <property name="width_request">16</property>
+ <property name="height_request">16</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">I5</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="left_attach">4</property>
+ <property name="right_attach">5</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="x_options">fill</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label1422">
+ <property name="width_request">16</property>
+ <property name="height_request">16</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">I6</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="left_attach">4</property>
+ <property name="right_attach">5</property>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
+ <property name="x_options">fill</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label1423">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">J</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="right_attach">1</property>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
+ <property name="x_options">fill</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkEntry" id="entry55">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="editable">False</property>
+ <property name="visibility">True</property>
+ <property name="max_length">0</property>
+ <property name="text" translatable="yes">+ 00 00 00 00 00</property>
+ <property name="has_frame">True</property>
+ <property name="invisible_char" translatable="yes">*</property>
+ <property name="activates_default">False</property>
+ <property name="width_chars">19</property>
+ <signal name="button_press_event" handler="on_register_click"/>
+ </widget>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="x_options"></property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkEntry" id="entry56">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="editable">False</property>
+ <property name="visibility">True</property>
+ <property name="max_length">0</property>
+ <property name="text" translatable="yes"></property>
+ <property name="has_frame">True</property>
+ <property name="invisible_char" translatable="yes">*</property>
+ <property name="activates_default">False</property>
+ <property name="width_chars">9</property>
+ <signal name="button_press_event" handler="on_register_click"/>
+ </widget>
+ <packing>
+ <property name="left_attach">5</property>
+ <property name="right_attach">6</property>
+ <property name="top_attach">0</property>
+ <property name="bottom_attach">1</property>
+ <property name="x_options"></property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkEntry" id="entry57">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="editable">False</property>
+ <property name="visibility">True</property>
+ <property name="max_length">0</property>
+ <property name="text" translatable="yes"></property>
+ <property name="has_frame">True</property>
+ <property name="invisible_char" translatable="yes">*</property>
+ <property name="activates_default">False</property>
+ <property name="width_chars">9</property>
+ <signal name="button_press_event" handler="on_register_click"/>
+ </widget>
+ <packing>
+ <property name="left_attach">5</property>
+ <property name="right_attach">6</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="x_options"></property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkEntry" id="entry58">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="editable">False</property>
+ <property name="visibility">True</property>
+ <property name="max_length">0</property>
+ <property name="text" translatable="yes"></property>
+ <property name="has_frame">True</property>
+ <property name="invisible_char" translatable="yes">*</property>
+ <property name="activates_default">False</property>
+ <property name="width_chars">9</property>
+ <signal name="button_press_event" handler="on_register_click"/>
+ </widget>
+ <packing>
+ <property name="left_attach">5</property>
+ <property name="right_attach">6</property>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
+ <property name="x_options"></property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkEntry" id="entry59">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="editable">False</property>
+ <property name="visibility">True</property>
+ <property name="max_length">0</property>
+ <property name="text" translatable="yes"></property>
+ <property name="has_frame">True</property>
+ <property name="invisible_char" translatable="yes">*</property>
+ <property name="activates_default">False</property>
+ <property name="width_chars">9</property>
+ <signal name="button_press_event" handler="on_register_click"/>
+ </widget>
+ <packing>
+ <property name="left_attach">3</property>
+ <property name="right_attach">4</property>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
+ <property name="x_options"></property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkHBox" id="hbox30">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">0</property>
+
+ <child>
+ <widget class="GtkEntry" id="entry60">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="editable">False</property>
+ <property name="visibility">True</property>
+ <property name="max_length">0</property>
+ <property name="text" translatable="yes"></property>
+ <property name="has_frame">True</property>
+ <property name="invisible_char" translatable="yes">*</property>
+ <property name="activates_default">False</property>
+ <property name="width_chars">9</property>
+ <signal name="button_press_event" handler="on_register_click"/>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <placeholder/>
+ </child>
+ </widget>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
+ <property name="x_options">fill</property>
+ <property name="y_options">fill</property>
+ </packing>
+ </child>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label1424">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Registers </property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">2</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="type">label_item</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">5</property>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
- <widget>
- <class>GtkButton</class>
- <name>input_clear_button</name>
- <can_default>True</can_default>
- <can_focus>True</can_focus>
- <signal>
- <name>clicked</name>
- <handler>on_input_clear_clicked</handler>
- <last_modification_time>Fri, 11 Jun 2004 21:01:56 GMT</last_modification_time>
- </signal>
- <label>_Clear</label>
- <relief>GTK_RELIEF_NORMAL</relief>
+ <child>
+ <widget class="GtkHBox" id="hbox31">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">0</property>
+
+ <child>
+ <widget class="GtkFrame" id="frame25">
+ <property name="border_width">2</property>
+ <property name="visible">True</property>
+ <property name="label_xalign">0</property>
+ <property name="label_yalign">0.5</property>
+ <property name="shadow_type">GTK_SHADOW_ETCHED_IN</property>
+
+ <child>
+ <widget class="GtkHBox" id="hbox32">
+ <property name="border_width">1</property>
+ <property name="visible">True</property>
+ <property name="homogeneous">True</property>
+ <property name="spacing">5</property>
+
+ <child>
+ <widget class="GtkRadioButton" id="radiobutton11">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Greater</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes">G</property>
+ <property name="use_underline">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ <property name="active">False</property>
+ <property name="inconsistent">False</property>
+ <property name="draw_indicator">True</property>
+ <signal name="toggled" handler="on_cmp_g_toggled"/>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkRadioButton" id="radiobutton12">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Equal</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes">E</property>
+ <property name="use_underline">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ <property name="active">False</property>
+ <property name="inconsistent">False</property>
+ <property name="draw_indicator">True</property>
+ <signal name="toggled" handler="on_cmp_e_toggled"/>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkRadioButton" id="radiobutton13">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Lesser</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes">L</property>
+ <property name="use_underline">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ <property name="active">False</property>
+ <property name="inconsistent">False</property>
+ <property name="draw_indicator">True</property>
+ <signal name="toggled" handler="on_cmp_l_toggled"/>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label1425">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Comparison flag </property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">2</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="type">label_item</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkFrame" id="frame26">
+ <property name="border_width">2</property>
+ <property name="visible">True</property>
+ <property name="label_xalign">0</property>
+ <property name="label_yalign">0.5</property>
+ <property name="shadow_type">GTK_SHADOW_ETCHED_IN</property>
+
+ <child>
+ <widget class="GtkHBox" id="hbox33">
+ <property name="border_width">2</property>
+ <property name="visible">True</property>
+ <property name="homogeneous">True</property>
+ <property name="spacing">2</property>
+
+ <child>
+ <widget class="GtkCheckButton" id="checkbutton1">
+ <property name="border_width">3</property>
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Click to toggle</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes">Off</property>
+ <property name="use_underline">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ <property name="active">False</property>
+ <property name="inconsistent">False</property>
+ <property name="draw_indicator">True</property>
+ <signal name="toggled" handler="on_overflow_toggled"/>
+ </widget>
+ <packing>
+ <property name="padding">5</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label1426">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Overflow toggle</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">2</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="type">label_item</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">15</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkFrame" id="frame27">
+ <property name="border_width">2</property>
+ <property name="visible">True</property>
+ <property name="label_xalign">0</property>
+ <property name="label_yalign">0.5</property>
+ <property name="shadow_type">GTK_SHADOW_ETCHED_IN</property>
+
+ <child>
+ <widget class="GtkHBox" id="hbox34">
+ <property name="border_width">4</property>
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">1</property>
+
+ <child>
+ <widget class="GtkEntry" id="entry61">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="editable">False</property>
+ <property name="visibility">True</property>
+ <property name="max_length">4</property>
+ <property name="text" translatable="yes">0</property>
+ <property name="has_frame">True</property>
+ <property name="invisible_char" translatable="yes">*</property>
+ <property name="activates_default">False</property>
+ <property name="width_chars">6</property>
+ </widget>
+ <packing>
+ <property name="padding">5</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkButton" id="button34">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">View loc address</property>
+ <property name="can_focus">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ <signal name="clicked" handler="on_loc_arrow_clicked"/>
+
+ <child>
+ <widget class="GtkImage" id="image5">
+ <property name="visible">True</property>
+ <property name="stock">gtk-jump-to</property>
+ <property name="icon_size">4</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">1</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label1427">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Location </property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">2</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="type">label_item</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="pack_type">GTK_PACK_END</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">5</property>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkFrame" id="frame28">
+ <property name="border_width">2</property>
+ <property name="visible">True</property>
+ <property name="label_xalign">0</property>
+ <property name="label_yalign">0.5</property>
+ <property name="shadow_type">GTK_SHADOW_ETCHED_IN</property>
+
+ <child>
+ <widget class="GtkHBox" id="hbox35">
+ <property name="border_width">5</property>
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">5</property>
+
+ <child>
+ <widget class="GtkLabel" id="label1428">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Up:</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label1429">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">00000000</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">5</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label1430">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Lap:</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="padding">3</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label1431">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">000000</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">5</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label1432">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Program:</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="padding">2</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label1433">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">000000</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">5</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label1434">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Times </property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">2</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="type">label_item</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">5</property>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">2</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkFrame" id="frame29">
+ <property name="border_width">7</property>
+ <property name="visible">True</property>
+ <property name="label_xalign">0</property>
+ <property name="label_yalign">0.5</property>
+ <property name="shadow_type">GTK_SHADOW_ETCHED_IN</property>
+
+ <child>
+ <widget class="GtkScrolledWindow" id="scrolledwindow32">
+ <property name="border_width">5</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <property name="shadow_type">GTK_SHADOW_IN</property>
+ <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
+
+ <child>
+ <widget class="GtkTreeView" id="treeview2">
+ <property name="border_width">1</property>
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Click cell to change value</property>
+ <property name="can_focus">True</property>
+ <property name="headers_visible">True</property>
+ <property name="rules_hint">True</property>
+ <property name="reorderable">False</property>
+ <property name="enable_search">True</property>
+ <signal name="select_row" handler="on_memory_cells_select_row" after="yes"/>
+ <signal name="click_column" handler="on_memory_cells_click_column"/>
+ </widget>
+ </child>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label1435">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Memory </property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">2</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="type">label_item</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">3</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="pack_type">GTK_PACK_END</property>
+ </packing>
+ </child>
</widget>
- </widget>
- </widget>
+ </child>
- <widget>
- <class>GtkVBox</class>
- <name>vbox6</name>
- <border_width>5</border_width>
- <homogeneous>True</homogeneous>
- <spacing>0</spacing>
<child>
- <padding>5</padding>
- <expand>True</expand>
- <fill>True</fill>
+ <widget class="GtkLabel" id="label1414">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">MIX Virtual Machine </property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">2</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="type">label_item</property>
+ </packing>
</child>
-
- <widget>
- <class>GtkLabel</class>
- <name>label240</name>
- <label>The MIX terminal requests input. Please enter up to 70 characters:</label>
- <justify>GTK_JUSTIFY_LEFT</justify>
- <wrap>False</wrap>
- <xalign>0.5</xalign>
- <yalign>0.5</yalign>
- <xpad>0</xpad>
- <ypad>0</ypad>
- <child>
- <padding>2</padding>
- <expand>True</expand>
- <fill>True</fill>
- </child>
- </widget>
-
- <widget>
- <class>GtkEntry</class>
- <name>input_entry</name>
- <can_focus>True</can_focus>
- <has_focus>True</has_focus>
- <signal>
- <name>activate</name>
- <handler>on_input_entry_activate</handler>
- <last_modification_time>Fri, 11 Jun 2004 23:30:53 GMT</last_modification_time>
- </signal>
- <editable>True</editable>
- <text_visible>True</text_visible>
- <text_max_length>70</text_max_length>
- <text></text>
- <child>
- <padding>4</padding>
- <expand>True</expand>
- <fill>True</fill>
- </child>
- </widget>
</widget>
- </widget>
+ </child>
</widget>
-</GTK-Interface>
+</glade-interface>
diff --git a/mixgtk/mixgtk_cmd_dispatcher.c b/mixgtk/mixgtk_cmd_dispatcher.c
index 7ed4a11..f237a1a 100644
--- a/mixgtk/mixgtk_cmd_dispatcher.c
+++ b/mixgtk/mixgtk_cmd_dispatcher.c
@@ -1,24 +1,24 @@
/* -*-c-*- -------------- mixgtk_cmd_dispatcher.c :
* Implementation of the functions declared in mixgtk_cmd_dispatcher.h
* ------------------------------------------------------------------
- * $Id: mixgtk_cmd_dispatcher.c,v 1.15 2002/04/09 23:28:19 jao Exp $
+ * $Id: mixgtk_cmd_dispatcher.c,v 1.16 2004/06/23 10:50:10 jao Exp $
* ------------------------------------------------------------------
- * Copyright (C) 2001, 2002 Free Software Foundation, Inc.
- *
+ * Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc.
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- *
+ *
*/
#include <stdlib.h>
@@ -74,9 +74,11 @@ static const gchar *TITLE_FORMAT_ = "gmixvm - %s";
static void
log_command_ (mixgtk_dispatch_data_t *dis, const gchar *cmd)
{
- gtk_text_insert (GTK_TEXT (dis->log), NULL, NULL, NULL,"MIX> ", -1);
- gtk_text_insert (GTK_TEXT (dis->log), NULL, NULL, NULL, cmd, -1);
- gtk_text_insert (GTK_TEXT (dis->log), NULL, NULL, NULL, "\n", -1);
+ GtkTextBuffer *buf = gtk_text_view_get_buffer (GTK_TEXT_VIEW (dis->log));
+
+ gtk_text_buffer_insert_at_cursor (buf, "MIX> ", -1);
+ gtk_text_buffer_insert_at_cursor (buf, cmd, -1);
+ gtk_text_buffer_insert_at_cursor (buf, "\n", -1);
#ifdef HAVE_LIBHISTORY
add_history ((char *)cmd);
@@ -90,16 +92,22 @@ flush_log_ (mixgtk_dispatch_data_t *dis)
{
enum {BLKSIZE = 100};
static gchar BUFFER[BLKSIZE];
-
+
+ GtkTextBuffer *buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (dis->log));
+ GtkTextMark *mark;
ssize_t k;
+
fflush (dis->out);
while ((k = read (dis->fildes[0], BUFFER, BLKSIZE)) != 0)
{
if (k == -1 && errno != EINTR) break;
if (k != -1)
- gtk_text_insert (GTK_TEXT (dis->log), NULL, NULL, NULL,
- BUFFER, k);
+ gtk_text_buffer_insert_at_cursor (buffer, BUFFER, k);
}
+
+ mark = gtk_text_buffer_get_insert (buffer);
+ gtk_text_view_scroll_to_mark (GTK_TEXT_VIEW (dis->log), mark, 0,
+ TRUE, 0, 0);
}
/* hooks */
@@ -116,7 +124,7 @@ load_post_hook_ (mix_vm_cmd_dispatcher_t *dis, const gchar *arg,
gpointer data)
{
static glong id = -1;
-
+
if (mix_vm_cmd_dispatcher_get_last_result (dis))
{
GtkWindow *mainw =
@@ -129,7 +137,7 @@ load_post_hook_ (mix_vm_cmd_dispatcher_t *dis, const gchar *arg,
mixgtk_mixal_load_file ();
mixgtk_mixal_update ();
mixgtk_mixal_update_bp_all ();
-
+
if (id != -1)
gtk_statusbar_remove (GTK_STATUSBAR (dis_data_.status),
dis_data_.context, (guint)id);
@@ -291,27 +299,28 @@ mixgtk_cmd_dispatcher_init (mixgtk_dialog_id_t top)
dis_data_.prompt =
mixgtk_widget_factory_get (top, MIXGTK_WIDGET_PROMPT);
g_return_val_if_fail (dis_data_.prompt != NULL, FALSE);
-
+
if (dis_data_.log)
text = gtk_editable_get_chars (GTK_EDITABLE (dis_data_.log), 0, -1);
-
+
dis_data_.log =
mixgtk_widget_factory_get (top, MIXGTK_WIDGET_LOG);
-
+
g_return_val_if_fail (dis_data_.log != NULL, FALSE);
-
+
if (text)
{
- gtk_text_insert (GTK_TEXT (dis_data_.log), NULL, NULL, NULL, text, -1);
+ gtk_text_buffer_insert_at_cursor
+ (gtk_text_view_get_buffer (GTK_TEXT_VIEW (dis_data_.log)), text, -1);
g_free (text);
}
-
+
if (!dis_data_.dispatcher)
{
static const gchar *HISTORY_FILE = "gmixvm.history";
static gint HISTORY_SIZE = 100;
mix_config_t *config = mixgtk_config_get_mix_config ();
-
+
int r = pipe (dis_data_.fildes);
g_return_val_if_fail (r == 0, FALSE);
/* connect stdout/stderr to the pipe's write end */
@@ -336,10 +345,10 @@ mixgtk_cmd_dispatcher_init (mixgtk_dialog_id_t top)
dis_data_.out,
config);
mix_vm_cmd_dispatcher_print_time (dis_data_.dispatcher, FALSE);
-
+
install_hooks_ ();
}
-
+
dis_data_.status =
mixgtk_widget_factory_get (MIXGTK_MAIN, MIXGTK_WIDGET_STATUSBAR);
g_return_val_if_fail (dis_data_.status != NULL, FALSE);
@@ -424,38 +433,38 @@ complete_command_ (void)
{
GtkEntry *entry = GTK_ENTRY (dis_data_.prompt);
gchar *prefix = NULL;
- gchar *text = gtk_entry_get_text (entry);
+ const gchar *text = gtk_entry_get_text (entry);
const GList *cmds =
mix_vm_cmd_dispatcher_complete (dis_data_.dispatcher, text, &prefix);
if (prefix != NULL)
{
+ GtkTextBuffer *buf =
+ gtk_text_view_get_buffer (GTK_TEXT_VIEW (dis_data_.log));
+
gtk_entry_set_text (entry, prefix);
g_free (prefix);
if (g_list_length ((GList *)cmds) > 1)
{
- static gchar BUFFER[25];
+ static gchar BUFFER[25];
gint k = 0;
- gtk_text_insert (GTK_TEXT (dis_data_.log),
- NULL, NULL, NULL, "Completions:\n", -1);
+ gtk_text_buffer_insert_at_cursor (buf, "Completions:\n", -1);
while (cmds)
{
g_snprintf (BUFFER, 25, "%-12s", (const char*)cmds->data);
++k;
- gtk_text_insert (GTK_TEXT (dis_data_.log),
- NULL, NULL, NULL, BUFFER, -1);
+ gtk_text_buffer_insert_at_cursor (buf, BUFFER, -1);
if (k%5 == 0)
- gtk_text_insert (GTK_TEXT (dis_data_.log),
- NULL, NULL, NULL, "\n", -1);
-
+ gtk_text_buffer_insert_at_cursor (buf, "\n", -1);
+
cmds = cmds->next;
}
if (k%5 != 0)
- gtk_text_insert (GTK_TEXT (dis_data_.log),
- NULL, NULL, NULL, "\n", -1);
+ gtk_text_buffer_insert_at_cursor (buf, "\n", -1);
}
else
- gtk_entry_append_text (entry, " ");
+ gtk_text_buffer_insert_at_cursor (buf, " ", -1);
+ flush_log_ (&dis_data_);
}
}
@@ -488,18 +497,20 @@ on_command_prompt_key_press_event (GtkEntry *w, GdkEventKey *e, gpointer d)
return TRUE;
}
- if (key == GDK_Return)
+ return FALSE;
+}
+
+void
+on_command_prompt_activate (GtkEntry *prompt, gpointer data)
+{
+ gchar *text =
+ g_strstrip (gtk_editable_get_chars (GTK_EDITABLE (prompt), 0, -1));
+ if (text && *text)
{
- gchar *text = g_strstrip (gtk_entry_get_text (w));
- if (text && *text)
- {
- log_command_ (&dis_data_, text);
- if (!try_guile_ (text))
- mix_vm_cmd_dispatcher_dispatch_text (dis_data_.dispatcher, text);
- gtk_entry_set_text (w, "");
- }
- return TRUE;
+ log_command_ (&dis_data_, text);
+ if (!try_guile_ (text))
+ mix_vm_cmd_dispatcher_dispatch_text (dis_data_.dispatcher, text);
+ gtk_entry_set_text (prompt, "");
}
-
- return FALSE;
+ g_free (text);
}
diff --git a/mixgtk/mixgtk_device.c b/mixgtk/mixgtk_device.c
index 5ba3f9f..69faa02 100644
--- a/mixgtk/mixgtk_device.c
+++ b/mixgtk/mixgtk_device.c
@@ -1,7 +1,7 @@
/* -*-c-*- ---------------- mixgtk_device.c :
* actual types for mixgtk devices
* ------------------------------------------------------------------
- * $Id: mixgtk_device.c,v 1.20 2004/06/11 23:35:59 jao Exp $
+ * $Id: mixgtk_device.c,v 1.21 2004/06/23 10:50:10 jao Exp $
* ------------------------------------------------------------------
* Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc.
*
@@ -56,7 +56,6 @@ static GtkWidget *dtoggle_ = NULL;
static GtkWidget *wtoggle_ = NULL;
static GtkWidget *combo_ = NULL;
-static gint last_pos_ = 0;
/* virtual machine */
static mix_vm_t *vm_ = NULL;
/* dec settings */
@@ -73,14 +72,14 @@ struct mixgtk_device_t
{
mix_device_t device;
GtkWidget *widget;
- gint pos;
+ GtkWidget *scroll;
};
struct mixgtk_bin_device_t
{
struct mixgtk_device_t gtk_device;
guint last_insert;
- GtkWidget *scroll;
+ GtkListStore *store;
gboolean dec;
};
@@ -102,7 +101,8 @@ write_char_ (struct mixgtk_device_t *dev, const mix_word_t *block)
BUFFER[5 * k] = '\n';
BUFFER[5 * k + 1] = '\0';
- gtk_text_insert (GTK_TEXT (dev->widget), NULL, NULL, NULL, BUFFER, -1);
+ gtk_text_buffer_insert_at_cursor
+ (gtk_text_view_get_buffer (GTK_TEXT_VIEW (dev->widget)), BUFFER, -1);
}
@@ -123,64 +123,29 @@ get_word_string_ (mix_word_t w, gboolean dec)
static void
write_bin_ (struct mixgtk_bin_device_t *dev, const mix_word_t *block)
{
- static gchar *DEFTEXT[BIN_DEV_COL_] = { "0", "0", "0", "0", "0" };
-
- guint k, col, row;
+ guint k, col;
gboolean dec = FALSE;
+ size_t len;
- GtkCList *list = GTK_CLIST (dev->gtk_device.widget);
-
- dec = IS_DEC(decs_, dev->gtk_device.device.type);
-
- gtk_clist_freeze (list);
+ GtkTreeView *view = GTK_TREE_VIEW (dev->gtk_device.widget);
+ GtkListStore *store = dev->store;
+ GtkTreeIter iter;
- for (k = 0; k < SIZES_[dev->gtk_device.device.type]; k++)
- {
- row = dev->last_insert / BIN_DEV_COL_;
- col = dev->last_insert % BIN_DEV_COL_;
- if (col == 0)
- {
- int j;
- mix_word_t *words = g_new (mix_word_t, 5);
- gtk_clist_append (list, DEFTEXT);
- for (j = 0; j < 5; ++j) words[j] = block[k + j];
- gtk_clist_set_row_data_full (list, row, (gpointer)words, g_free);
- }
- gtk_clist_set_text (list, row, col, get_word_string_ (block[k], dec));
- dev->last_insert++;
- }
+ g_assert (view);
+ g_assert (store);
- gtk_clist_thaw (list);
-}
-
-static void
-redraw_bin_device_ (struct mixgtk_bin_device_t *dev)
-{
- gint k, col, row;
- gboolean dec = FALSE;
- mix_word_t *words = NULL;
- GtkCList *list;
-
- if (!dev) return;
-
- list = GTK_CLIST (dev->gtk_device.widget);
dec = IS_DEC(decs_, dev->gtk_device.device.type);
- gtk_clist_freeze (list);
-
- for (k = 0; k < dev->last_insert; ++k)
+ for (k = 0, len = SIZES_[dev->gtk_device.device.type]; k < len; k += 5)
{
- row = k / BIN_DEV_COL_;
- col = k % BIN_DEV_COL_;
- if (col == 0)
- words = gtk_clist_get_row_data (list, row);
- gtk_clist_set_text (list, row, col, get_word_string_ (words[col], dec));
+ gtk_list_store_append (store, &iter);
+ for (col = 0; col < 5; ++col)
+ gtk_list_store_set (store, &iter,
+ col, get_word_string_ (block[k + col], dec), -1);
+ dev->last_insert++;
}
-
- gtk_clist_thaw (list);
}
-
static gboolean
write_ (mix_device_t *dev, const mix_word_t *block)
{
@@ -192,7 +157,9 @@ write_ (mix_device_t *dev, const mix_word_t *block)
if (MODES_[dev->type] == mix_dev_CHAR) write_char_ (gtkdev, block);
else write_bin_ ((struct mixgtk_bin_device_t *)gtkdev, block);
- gtk_notebook_set_page (container_, gtkdev->pos);
+ gtk_notebook_set_current_page (container_,
+ gtk_notebook_page_num (container_,
+ gtkdev->scroll));
return TRUE;
}
@@ -237,8 +204,9 @@ read_ (mix_device_t *dev, mix_word_t *block)
if (MODES_[dev->type] == mix_dev_CHAR) write_char_ (gtkdev, block);
else write_bin_ ((struct mixgtk_bin_device_t *)gtkdev, block);
- gtk_notebook_set_page (container_, gtkdev->pos);
-
+ gtk_notebook_set_current_page (container_,
+ gtk_notebook_page_num (container_,
+ gtkdev->scroll));
return TRUE;
}
@@ -258,12 +226,15 @@ static void
destroy_ (mix_device_t *dev)
{
struct mixgtk_device_t *gtkdev = (struct mixgtk_device_t *)dev;
- if (MODES_[dev->type] == mix_dev_BIN)
- gtk_widget_destroy (((struct mixgtk_bin_device_t *)dev)->scroll);
- gtk_widget_destroy (gtkdev->widget);
+ if (MODES_[dev->type] == mix_dev_BIN) {
+ struct mixgtk_bin_device_t * bdev = (struct mixgtk_bin_device_t *)dev;
+ gtk_list_store_clear (bdev->store);
+ g_object_unref ((gpointer)bdev->store);
+ }
(DEF_DEV_VTABLE_->destroy) (dev);
- gtk_notebook_remove_page (GTK_NOTEBOOK (container_), gtkdev->pos);
- --last_pos_;
+ gtk_notebook_remove_page (container_,
+ gtk_notebook_page_num (container_,
+ gtkdev->scroll));
}
static mix_device_vtable_t MIXGTK_VTABLE_ = {
@@ -278,52 +249,51 @@ mixgtk_device_construct_gui_ (struct mixgtk_device_t *dev)
g_assert (label);
- dev->pos = last_pos_++;
+ dev->scroll = gtk_scrolled_window_new (NULL, NULL);
+ gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (dev->scroll),
+ GTK_POLICY_AUTOMATIC,
+ GTK_POLICY_AUTOMATIC);
+
if (MODES_[dev->device.type] == mix_dev_CHAR)
{
- GtkWidget *box = gtk_hbox_new (0, 0);
- GtkWidget *scroll = NULL;
- GtkAdjustment *vadj = NULL;
- dev->widget = gtk_text_new (NULL, NULL);
- g_assert (box);
- g_assert (dev->widget);
- gtk_text_set_editable (GTK_TEXT (dev->widget), FALSE);
- vadj = GTK_TEXT (dev->widget)->vadj;
- scroll = gtk_vscrollbar_new (vadj);
- gtk_box_pack_start (GTK_BOX (box), dev->widget, TRUE, TRUE, 0);
- gtk_box_pack_start (GTK_BOX (box), scroll, FALSE, FALSE, 0);
- gtk_notebook_insert_page (container_, box, label, dev->pos);
- gtk_widget_show (box);
- gtk_widget_show (scroll);
+ dev->widget = gtk_text_view_new ();
+ gtk_text_view_set_editable (GTK_TEXT_VIEW (dev->widget), FALSE);
}
else
{
gint k;
- struct mixgtk_bin_device_t *bindev =
- (struct mixgtk_bin_device_t *)dev;
-
- bindev->scroll = gtk_scrolled_window_new (NULL, NULL);
- g_assert (bindev->scroll);
- gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (bindev->scroll),
- GTK_POLICY_AUTOMATIC,
- GTK_POLICY_AUTOMATIC);
- dev->widget = gtk_clist_new (BIN_DEV_COL_);
- g_assert (dev->widget);
- for (k =0; k < BIN_DEV_COL_; ++k)
+ struct mixgtk_bin_device_t *bindev = (struct mixgtk_bin_device_t *)dev;
+
+ GtkCellRenderer *renderer = gtk_cell_renderer_text_new ();
+
+ bindev->store = gtk_list_store_new (5,
+ G_TYPE_STRING,
+ G_TYPE_STRING,
+ G_TYPE_STRING,
+ G_TYPE_STRING,
+ G_TYPE_STRING);
+ dev->widget =
+ gtk_tree_view_new_with_model (GTK_TREE_MODEL (bindev->store));
+
+ gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (dev->widget), FALSE);
+
+ for (k = 0; k < BIN_DEV_COL_; ++k)
{
- gtk_clist_set_column_width (GTK_CLIST (dev->widget), k, 120);
- gtk_clist_set_column_auto_resize (GTK_CLIST (dev->widget), k, TRUE);
+ gtk_tree_view_append_column
+ (GTK_TREE_VIEW (dev->widget),
+ gtk_tree_view_column_new_with_attributes ("", renderer,
+ "text", k, NULL));
}
- gtk_container_add (GTK_CONTAINER (bindev->scroll), dev->widget);
- gtk_notebook_insert_page (container_, bindev->scroll, label, dev->pos);
- gtk_widget_show (bindev->scroll);
}
- gtk_widget_show (label);
+ g_assert (dev->widget);
+ gtk_container_add (GTK_CONTAINER (dev->scroll), dev->widget);
+ gtk_notebook_append_page (container_, dev->scroll, label);
gtk_widget_set_style (dev->widget,
gtk_widget_get_style (GTK_WIDGET (container_)));
+ gtk_widget_show (label);
+ gtk_widget_show (dev->scroll);
gtk_widget_show (dev->widget);
- gtk_widget_draw (GTK_WIDGET (container_), NULL);
}
/* create a new mixgtk device */
@@ -363,32 +333,19 @@ mixgtk_device_copy_ (const struct mixgtk_device_t *from)
{
gchar *text = gtk_editable_get_chars (GTK_EDITABLE (from->widget),
0, -1);
- gtk_text_insert (GTK_TEXT (result->widget), NULL, NULL, NULL, text, -1);
+ gtk_text_buffer_insert_at_cursor
+ (gtk_text_view_get_buffer (GTK_TEXT_VIEW (result->widget)), text, -1);
g_free (text);
}
else
{
- static gchar *VALS[BIN_DEV_COL_] = {""};
struct mixgtk_bin_device_t *to = (struct mixgtk_bin_device_t *) result;
struct mixgtk_bin_device_t *fr = (struct mixgtk_bin_device_t *) from;
to->last_insert = fr->last_insert;
to->dec = fr->dec;
- if (to->last_insert > 0)
- {
- gint k, j, rows = to->last_insert / BIN_DEV_COL_;
- GtkCList *tl = GTK_CLIST (result->widget);
- GtkCList *fl = GTK_CLIST (from->widget);
- for (k = 0; k < rows; ++k)
- {
- mix_word_t *words = g_new (mix_word_t, BIN_DEV_COL_);
- mix_word_t *oldwords =
- (mix_word_t *) gtk_clist_get_row_data (fl, k);
- for (j = 0; j < BIN_DEV_COL_; ++j) words[j] = oldwords[j];
- gtk_clist_append (tl, VALS);
- gtk_clist_set_row_data_full (tl, k, words, g_free);
- }
- redraw_bin_device_ (to);
- }
+ gtk_tree_view_set_model (GTK_TREE_VIEW (result->widget),
+ GTK_TREE_MODEL (fr->store));
+ to->store = fr->store;
}
return (mix_device_t *)result;
}
@@ -403,7 +360,6 @@ mixgtk_device_init (GtkNotebook *container, mix_vm_t *vm)
g_return_val_if_fail (vm != NULL, FALSE);
container_ = container;
vm_ = vm;
- last_pos_ = 0;
devdlg_ = NULL;
devdir_dlg_ = NULL;
devdir_entry_ = NULL;
@@ -433,9 +389,6 @@ mixgtk_device_init (GtkNotebook *container, mix_vm_t *vm)
}
}
- /* set to first page */
- gtk_notebook_set_page (container_, 0);
-
return TRUE;
}
@@ -452,8 +405,8 @@ mixgtk_device_set_format (mix_device_type_t dev, gboolean dec)
{
if (dec) SET_DEC (decs_, dev);
else CLEAR_DEC (decs_, dev);
- redraw_bin_device_ ((struct mixgtk_bin_device_t *)
- mix_vm_get_device (vm_, dev));
+/* redraw_bin_device_ ((struct mixgtk_bin_device_t *) */
+/* mix_vm_get_device (vm_, dev)); */
}
}
@@ -462,13 +415,13 @@ mixgtk_device_set_format (mix_device_type_t dev, gboolean dec)
static mix_device_type_t
get_device_idx_ (void)
{
- const gchar *name = gtk_entry_get_text
- (GTK_ENTRY (GTK_COMBO (combo_)->entry));
- /* inefficient, but the list is short */
- int k;
- for (k = 0; k <= LAST_BIN_DEV_; ++k)
- if (!strcmp (name, DEF_NAMES_[k])) return k;
- g_assert_not_reached ();
+/* const gchar *name = gtk_entry_get_text */
+/* (GTK_ENTRY (GTK_COMBO (combo_)->entry)); */
+/* /\* inefficient, but the list is short *\/ */
+/* int k; */
+/* for (k = 0; k <= LAST_BIN_DEV_; ++k) */
+/* if (!strcmp (name, DEF_NAMES_[k])) return k; */
+/* g_assert_not_reached (); */
return 0;
}
@@ -492,7 +445,7 @@ init_devform_ (void)
for (k = 0; k <= LAST_BIN_DEV_; ++k)
names = g_list_append (names, (gchar *)DEF_NAMES_[k]);
- gtk_combo_set_popdown_strings (GTK_COMBO (combo_), names);
+/* gtk_combo_set_popdown_strings (GTK_COMBO (combo_), names); */
}
void
@@ -573,16 +526,32 @@ on_devdir_activate ()
gtk_widget_show (devdir_dlg_);
}
-static void
-devdir_callback (const gchar *file)
-{
- gtk_entry_set_text (devdir_entry_, file);
-}
-
void
on_devdir_browse_clicked ()
{
- mixgtk_get_file (devdir_callback, _("Devices dir"), mix_device_get_dir ());
+ GtkWidget *dialog;
+ const gchar *current = gtk_entry_get_text (devdir_entry_);
+
+ dialog =
+ gtk_file_chooser_dialog_new (_("Devices folder"),
+ GTK_WINDOW (devdir_dlg_),
+ GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER,
+ GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
+ GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,
+ NULL);
+
+ if (current != NULL)
+ gtk_file_chooser_set_filename (GTK_FILE_CHOOSER (dialog), current);
+
+ if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_ACCEPT)
+ {
+ char *filename
+ = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (dialog));
+ gtk_entry_set_text (devdir_entry_, filename);
+ g_free (filename);
+ }
+
+ gtk_widget_destroy (dialog);
}
void
diff --git a/mixgtk/mixgtk_fontsel.c b/mixgtk/mixgtk_fontsel.c
index 7986f4d..50bcceb 100644
--- a/mixgtk/mixgtk_fontsel.c
+++ b/mixgtk/mixgtk_fontsel.c
@@ -1,24 +1,24 @@
/* -*-c-*- -------------- mixgtk_fontsel.c :
* Implementation of the functions declared in mixgtk_fontsel.h
* ------------------------------------------------------------------
- * $Id: mixgtk_fontsel.c,v 1.14 2001/09/18 22:51:29 jao Exp $
+ * $Id: mixgtk_fontsel.c,v 1.15 2004/06/23 10:50:10 jao Exp $
* ------------------------------------------------------------------
- * Copyright (C) 2001 Free Software Foundation, Inc.
- *
+ * Copyright (C) 2001, 2004 Free Software Foundation, Inc.
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- *
+ *
*/
#include <mixlib/mix.h>
@@ -33,8 +33,7 @@ static GHashTable *winfo_ = NULL;
typedef struct winfo
{
GtkWidget *widget;
- GtkStyle *style;
- gchar *font;
+ const gchar *font;
const gchar *key;
} winfo;
@@ -100,7 +99,7 @@ static winfo infos_[WIDGET_NO_];
/* initialise the font selection dialog */
static void
-init_fontsel_ (void)
+init_fontsel_ (void)
{
fontsel_dialog_ = mixgtk_widget_factory_get_dialog (MIXGTK_FONTSEL_DIALOG);
g_assert (fontsel_dialog_ != NULL);
@@ -117,7 +116,7 @@ change_font_ (mixgtk_widget_id_t widget)
if (info->font)
gtk_font_selection_dialog_set_font_name
(GTK_FONT_SELECTION_DIALOG (fontsel_dialog_), info->font);
-
+
gtk_widget_show (fontsel_dialog_);
}
@@ -125,8 +124,9 @@ change_font_ (mixgtk_widget_id_t widget)
void
mixgtk_fontsel_load_defaults (void)
{
+
int i;
- const gchar *font = NULL;
+ const gchar *font;
gboolean split = mixgtk_config_is_split ();
fontsel_dialog_ = NULL;
@@ -139,25 +139,13 @@ mixgtk_fontsel_load_defaults (void)
infos_[i].widget =
mixgtk_widget_factory_get (dialog_ids_[i], widget_ids_[i]);
g_assert (infos_[i].widget != NULL);
- if (infos_[i].style) gtk_style_unref (infos_[i].style);
- infos_[i].style = gtk_style_copy
- (gtk_widget_get_style (infos_[i].widget));
- gtk_widget_set_style (infos_[i].widget, infos_[i].style);
- if (widget_ids_[i] == MIXGTK_WIDGET_MIXVM)
- {
- int k;
- for (k = 0; k < CHILDREN_NO_; ++k)
- gtk_widget_set_style (mixgtk_widget_factory_get
- (MIXGTK_MIXVM_DIALOG, mixvm_children_[k]),
- infos_[i].style);
- }
infos_[i].key = keys_[i];
g_hash_table_insert (winfo_, GINT_TO_POINTER (widget_ids_[i]),
(gpointer)(infos_ + i));
infos_[i].font = NULL;
font = mixgtk_config_get (keys_[i]);
- if (font) mixgtk_fontsel_set (widget_ids_[i], font);
+ mixgtk_fontsel_set (widget_ids_[i], font? font : "Monospace");
}
}
@@ -168,30 +156,30 @@ mixgtk_fontsel_set (mixgtk_widget_id_t widget, const gchar *font)
g_hash_table_lookup (winfo_, GINT_TO_POINTER (widget));
if (w != NULL && font != NULL)
{
- GdkFont *f = gdk_font_load (font);
- if (f != NULL)
+ PangoFontDescription *font_desc =
+ pango_font_description_from_string (font);
+ if (font_desc != NULL)
{
- gdk_font_unref (w->style->font);
- w->style->font = f;
- if (w->font) g_free (w->font);
- w->font = g_strdup (font);
- gtk_widget_draw (w->widget, NULL);
+ gtk_widget_modify_font (w->widget, font_desc);
if (widget == MIXGTK_WIDGET_MIXVM)
{
int k;
for (k = 0; k < CHILDREN_NO_; ++k)
- gtk_widget_draw
- (mixgtk_widget_factory_get (MIXGTK_MIXVM_DIALOG,
- mixvm_children_[k]),
- NULL);
+ {
+ GtkWidget *child =
+ mixgtk_widget_factory_get (MIXGTK_MIXVM_DIALOG,
+ mixvm_children_[k]);
+ gtk_widget_modify_font (child, font_desc);
+ }
}
+ w->font = font;
mixgtk_config_update (w->key, w->font);
+ pango_font_description_free (font_desc);
}
else
mixgtk_config_remove (w->key);
}
-
}
const gchar *
@@ -224,13 +212,13 @@ on_prompt_font_activate (void)
}
void
-on_mix_font_activate (void)
+on_mix_font_activate (void)
{
change_font_ (MIXGTK_WIDGET_MIXVM);
}
void
-on_devices_font_activate (void)
+on_devices_font_activate (void)
{
change_font_ (MIXGTK_WIDGET_DEVICE);
}
diff --git a/mixgtk/mixgtk_gen_handlers.c b/mixgtk/mixgtk_gen_handlers.c
index 656286b..d33fbac 100644
--- a/mixgtk/mixgtk_gen_handlers.c
+++ b/mixgtk/mixgtk_gen_handlers.c
@@ -1,24 +1,24 @@
/* -*-c-*- -------------- mixgtk_gen_handlers.c :
* Implementation of the functions declared in mixgtk_gen_handlers.h
* ------------------------------------------------------------------
- * $Id: mixgtk_gen_handlers.c,v 1.8 2002/04/10 23:39:40 jao Exp $
+ * $Id: mixgtk_gen_handlers.c,v 1.9 2004/06/23 10:50:10 jao Exp $
* ------------------------------------------------------------------
- * Copyright (C) 2001, 2002 Free Software Foundation, Inc.
- *
+ * Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc.
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- *
+ *
*/
#include <mixlib/mix_vm_command.h>
@@ -26,58 +26,51 @@
#include "mixgtk_cmd_dispatcher.h"
#include "mixgtk_config.h"
-static file_callback_t callback_ = NULL;
-
-
-static void
-on_file_ok_ (GtkWidget *w, gpointer fs)
-{
- gchar *file = g_strdup
- (gtk_file_selection_get_filename (GTK_FILE_SELECTION (fs)));
- gtk_widget_destroy (GTK_WIDGET (fs));
- if (callback_) callback_ (file);
- g_free (file);
-}
-
-static void
-on_file_destroy_ (GtkWidget *w, gpointer data)
-{
- gtk_grab_remove (GTK_WIDGET (w));
-}
-
-static void show_dlg_ (const gchar *title, const gchar *pattern)
-{
- GtkWidget *file = gtk_file_selection_new (title);
- if (pattern)
- gtk_file_selection_complete (GTK_FILE_SELECTION (file), pattern);
-
- gtk_signal_connect (GTK_OBJECT (file), "destroy",
- (GtkSignalFunc) on_file_destroy_,
- GTK_OBJECT (file));
- gtk_signal_connect (GTK_OBJECT (GTK_FILE_SELECTION (file)->ok_button),
- "clicked", (GtkSignalFunc) on_file_ok_,
- GTK_OBJECT (file));
- gtk_signal_connect_object (GTK_OBJECT (GTK_FILE_SELECTION
- (file)->cancel_button),
- "clicked", (GtkSignalFunc) gtk_widget_destroy,
- GTK_OBJECT (file));
- gtk_widget_show (file);
- gtk_grab_add (file);
-}
-
/* grab a file with an externally provided callback */
void
mixgtk_get_file (file_callback_t callback,
- const gchar *title, const gchar *pattern)
+ const gchar *title,
+ const gchar *pattern,
+ const gchar *def_file)
{
- g_return_if_fail (callback != NULL);
- callback_ = callback;
- show_dlg_ (title, pattern);
-}
+ if (callback != NULL)
+ {
+ GtkWidget *dialog;
+
+ dialog =
+ gtk_file_chooser_dialog_new (title,
+ NULL,
+ GTK_FILE_CHOOSER_ACTION_OPEN,
+ GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
+ GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,
+ NULL);
+
+ if (pattern != NULL)
+ {
+ GtkFileFilter *filter = gtk_file_filter_new ();
+ gtk_file_filter_add_pattern (filter, pattern);
+ gtk_file_chooser_set_filter (GTK_FILE_CHOOSER (dialog), filter);
+ }
+
+ if (def_file != NULL)
+ gtk_file_chooser_set_filename (GTK_FILE_CHOOSER (dialog), def_file);
+
+ if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_ACCEPT)
+ {
+ char *filename;
+
+ filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (dialog));
+ callback (filename);
+ g_free (filename);
+ }
+ gtk_widget_destroy (dialog);
+ }
+}
/* exec prompt command */
-static void exec_cmd_ (mix_vm_command_t cmd, const gchar *arg)
+static void
+exec_cmd_ (mix_vm_command_t cmd, const gchar *arg)
{
gchar *command;
if (arg)
@@ -89,9 +82,10 @@ static void exec_cmd_ (mix_vm_command_t cmd, const gchar *arg)
mixgtk_cmd_dispatcher_dispatch (command);
g_free (command);
}
-
+
/* load mix binary */
-static void open_cb_ (const gchar *file)
+static void
+open_cb_ (const gchar *file)
{
if (file)
exec_cmd_ (MIX_CMD_LOAD, file);
@@ -100,11 +94,12 @@ static void open_cb_ (const gchar *file)
void
on_file_open_activate (GtkWidget *w, gpointer data)
{
- mixgtk_get_file (open_cb_, _("Load MIX program..."), "*.mix");
+ mixgtk_get_file (open_cb_, _("Load MIX program..."), "*.mix", NULL);
}
/* edit mixal source */
-static void edit_cb_ (const gchar *file)
+static void
+edit_cb_ (const gchar *file)
{
exec_cmd_ (MIX_CMD_EDIT, file);
}
@@ -112,12 +107,13 @@ static void edit_cb_ (const gchar *file)
void
on_file_edit_activate (GtkWidget *w, gpointer data)
{
- mixgtk_get_file (edit_cb_, _("Edit MIXAL source file..."),
+ mixgtk_get_file (edit_cb_, _("Edit MIXAL source file..."), "*.mixal",
mixgtk_cmd_dispatcher_get_src_path ());
}
/* compile mixal source */
-static void compile_cb_ (const gchar *file)
+static void
+compile_cb_ (const gchar *file)
{
exec_cmd_ (MIX_CMD_COMPILE, file);
}
@@ -125,7 +121,7 @@ static void compile_cb_ (const gchar *file)
void
on_file_compile_activate (GtkWidget *w, gpointer data)
{
- mixgtk_get_file (compile_cb_, _("Compile MIXAL source file..."),
+ mixgtk_get_file (compile_cb_, _("Compile MIXAL source file..."), "*.mixal",
mixgtk_cmd_dispatcher_get_src_path ());
}
diff --git a/mixgtk/mixgtk_gen_handlers.h b/mixgtk/mixgtk_gen_handlers.h
index 1e435c3..7028659 100644
--- a/mixgtk/mixgtk_gen_handlers.h
+++ b/mixgtk/mixgtk_gen_handlers.h
@@ -3,22 +3,22 @@
* ------------------------------------------------------------------
* Last change: Time-stamp: <2001-04-29 12:32:32 jao>
* ------------------------------------------------------------------
- * Copyright (C) 2001 Free Software Foundation, Inc.
- *
+ * Copyright (C) 2001, 2004 Free Software Foundation, Inc.
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- *
+ *
*/
@@ -55,7 +55,7 @@ typedef void (*file_callback_t)(const gchar *file);
extern void
mixgtk_get_file (file_callback_t callback, const gchar *title,
- const gchar *pattern);
+ const gchar *pattern, const gchar *def_file);
#endif /* MIXGTK_GEN_HANDLERS_H */
diff --git a/mixgtk/mixgtk_input.c b/mixgtk/mixgtk_input.c
index a516ced..90aa803 100644
--- a/mixgtk/mixgtk_input.c
+++ b/mixgtk/mixgtk_input.c
@@ -1,24 +1,24 @@
/* -*-c-*- -------------- mixgtk_input.c :
* Implementation of the functions declared in mixgtk_input.h
* ------------------------------------------------------------------
- * $Id: mixgtk_input.c,v 1.5 2002/04/09 23:28:19 jao Exp $
+ * $Id: mixgtk_input.c,v 1.6 2004/06/23 10:50:10 jao Exp $
* ------------------------------------------------------------------
- * Copyright (C) 2001, 2002 Free Software Foundation, Inc.
- *
+ * Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc.
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- *
+ *
*/
#include <ctype.h>
@@ -42,6 +42,11 @@ static GtkWidget *childs_[SIZE_];
static input_callback_t callback_;
static gpointer data_;
+
+static void init_dialog_ (void);
+static void set_word_ (mix_word_t word);
+
+
/* init */
void
mixgtk_input_init (void)
@@ -49,41 +54,6 @@ mixgtk_input_init (void)
dialog_ = NULL;
}
-static void
-init_dialog_ (void)
-{
- gint k;
-
- dialog_ = GTK_DIALOG (mixgtk_widget_factory_get_dialog (MIXGTK_WORD_DIALOG));
- g_assert (dialog_ != NULL);
- for (k = 0; k < SIZE_; ++k)
- {
- childs_[k] = mixgtk_widget_factory_get_child_by_name
- (MIXGTK_WORD_DIALOG, WGT_NAMES_[k]);
- g_assert (childs_[k] != NULL);
- }
-}
-
-static void
-set_word_ (mix_word_t word)
-{
- enum {SIZE = 50};
- static gchar BUFFER[SIZE] = {0};
- gint k;
- gint val = mix_word_magnitude (word);
- gboolean neg = mix_word_is_negative (word);
- g_snprintf (BUFFER, SIZE, "%s%d", neg ? "-" : "", val);
- gtk_entry_set_text (GTK_ENTRY (childs_[DEC_]), BUFFER);
- gtk_entry_set_text (GTK_ENTRY (childs_[SIGN_]), neg ? "-" : "+");
- for (k = 1; k < 6; ++k)
- {
- mix_byte_t b = mix_word_get_byte (word, k);
- g_snprintf (BUFFER, SIZE, "%d", (int)b);
- gtk_entry_set_text (GTK_ENTRY (childs_[SIGN_ + k]), BUFFER);
- }
-}
-
-
/* get a word */
void
mixgtk_input_word (const gchar *message, mix_word_t def,
@@ -105,6 +75,7 @@ void
mixgtk_input_short (const gchar *message, mix_short_t def,
input_callback_t cb, gpointer data)
{
+ if (!dialog_) init_dialog_ ();
gtk_label_set_text (GTK_LABEL (childs_[MSG_]), message);
set_word_ (mix_word_to_short_fast (def));
callback_ = cb;
@@ -118,33 +89,34 @@ mixgtk_input_short (const gchar *message, mix_short_t def,
#include <gdk/gdkkeysyms.h>
/* dec and bytes input handler */
-gboolean
-on_word_dec_key_press (GtkWidget *dec, GdkEvent *event, gpointer *data)
+void
+on_word_dec_changed (GtkEditable *dec, gpointer *data)
{
- GdkEventKey *key = (GdkEventKey *)event;
- if (key->string && strlen (key->string) > 0 && !iscntrl (key->string[0]))
+ gchar *txt = gtk_editable_get_chars (dec, 0, -1);
+
+ if (strlen (txt) > 0)
{
- gchar *text = gtk_entry_get_text (GTK_ENTRY (childs_[DEC_]));
- gint val = atoi (text);
+ gint val = atoi (txt);
set_word_ (mix_word_new (val));
}
- return FALSE;
+ g_free (txt);
}
-gboolean
-on_word_byte_key_press (GtkWidget *widget, GdkEvent *event, gpointer *data)
+void
+on_word_byte_changed (GtkEditable *byte, gpointer *data)
{
- GdkEventKey *key = (GdkEventKey *)event;
- if (key->string && strlen (key->string) > 0 && !iscntrl (key->string[0]))
+ gchar *txt = gtk_editable_get_chars (byte, 0, 2);
+
+ if (strlen (txt) > 0)
{
mix_byte_t bytes[5];
gint k;
- gchar *s;
+ const gchar *s;
mix_word_t w;
-
+
for (k = 0; k < 5; ++k)
{
- gchar *text = gtk_entry_get_text (GTK_ENTRY (childs_[B1_ + k]));
+ const gchar *text = gtk_entry_get_text (GTK_ENTRY (childs_[B1_ + k]));
bytes[k] = mix_byte_new (atoi (text));
}
w = mix_bytes_to_word (bytes, 5);
@@ -152,27 +124,32 @@ on_word_byte_key_press (GtkWidget *widget, GdkEvent *event, gpointer *data)
if (s && s[0] == '-') mix_word_reverse_sign (w);
set_word_ (w);
}
- return FALSE;
+ g_free (txt);
}
-gboolean
-on_word_sign_key_press (GtkWidget *widget, GdkEvent *event, gpointer *data)
+void
+on_word_sign_changed (GtkEditable *sign, gpointer *data)
{
- GdkEventKey *key = (GdkEventKey *)event;
- if (key->string && strlen (key->string) > 0 && !iscntrl (key->string[0]))
+ gchar *txt = gtk_editable_get_chars (sign, 0, 1);
+
+ if (strlen (txt) > 0)
{
- gchar s = key->string[0];
- gchar *txt = gtk_entry_get_text (GTK_ENTRY (childs_[SIGN_]));
- gchar c = txt ? txt[0] : '+';
- if ( (s == '+' || s == '-') && s != c)
- {
- mix_word_t w =
- mix_word_new (atoi
- (gtk_entry_get_text (GTK_ENTRY (childs_[DEC_]))));
- set_word_ (mix_word_negative (w));
- }
+ gint pos = 0;
+ mix_word_t w =
+ mix_word_new (atoi (gtk_entry_get_text (GTK_ENTRY (childs_[DEC_]))));
+
+ g_signal_handlers_block_by_func (GTK_OBJECT (sign),
+ on_word_sign_changed, data);
+
+ if (txt[0] != '+' && txt[0] != '-') txt[0] = '+';
+ gtk_editable_delete_text (sign, 0, 1);
+ gtk_editable_insert_text (sign, txt, 1, &pos);
+
+ g_signal_handlers_unblock_by_func (GTK_OBJECT (sign),
+ on_word_sign_changed, data);
+ set_word_ (txt[0] == '-' ? mix_word_negative (w) : w);
}
- return FALSE;
+ g_free (txt);
}
void
@@ -180,6 +157,11 @@ on_word_ok_clicked (GtkWidget *widget, gpointer *data)
{
const gchar *text = gtk_entry_get_text (GTK_ENTRY (childs_[DEC_]));
mix_word_t w = mix_word_new (atoi (text));
+ if (w == MIX_WORD_ZERO)
+ {
+ const gchar *sign = gtk_entry_get_text (GTK_ENTRY (childs_[SIGN_]));
+ if (sign && sign[0] == '-') mix_word_reverse_sign (w);
+ }
callback_ (w, data_);
gtk_widget_hide (GTK_WIDGET (dialog_));
}
@@ -195,3 +177,57 @@ on_word_reset_clicked (GtkWidget *w, gpointer *data)
{
set_word_ (MIX_WORD_ZERO);
}
+
+static void
+init_dialog_ (void)
+{
+ gint k;
+
+ dialog_ = GTK_DIALOG (mixgtk_widget_factory_get_dialog (MIXGTK_WORD_DIALOG));
+ g_assert (dialog_ != NULL);
+ for (k = 0; k < SIZE_; ++k)
+ {
+ childs_[k] = mixgtk_widget_factory_get_child_by_name
+ (MIXGTK_WORD_DIALOG, WGT_NAMES_[k]);
+ g_assert (childs_[k] != NULL);
+ }
+}
+
+static void
+set_word_ (mix_word_t word)
+{
+ enum {SIZE = 50};
+ static gchar BUFFER[SIZE] = {0};
+ gint k;
+ gint val = mix_word_magnitude (word);
+ gboolean neg = mix_word_is_negative (word);
+ g_snprintf (BUFFER, SIZE, "%s%d", neg ? "-" : "", val);
+
+
+ g_signal_handlers_block_by_func (GTK_OBJECT (childs_[DEC_]),
+ on_word_dec_changed, NULL);
+ g_signal_handlers_block_by_func (GTK_OBJECT (childs_[SIGN_]),
+ on_word_sign_changed, NULL);
+ for (k = B1_; k <= B5_; ++k)
+ g_signal_handlers_block_by_func (GTK_OBJECT (childs_[k]),
+ on_word_byte_changed, NULL);
+
+ gtk_entry_set_text (GTK_ENTRY (childs_[DEC_]), BUFFER);
+ gtk_entry_set_text (GTK_ENTRY (childs_[SIGN_]), neg ? "-" : "+");
+
+ for (k = 1; k < 6; ++k)
+ {
+ mix_byte_t b = mix_word_get_byte (word, k);
+ g_snprintf (BUFFER, SIZE, "%d", (int)b);
+ gtk_entry_set_text (GTK_ENTRY (childs_[SIGN_ + k]), BUFFER);
+ }
+
+ for (k = B1_; k <= B5_; ++k)
+ g_signal_handlers_unblock_by_func (GTK_OBJECT (childs_[k]),
+ on_word_byte_changed, NULL);
+ g_signal_handlers_unblock_by_func (GTK_OBJECT (childs_[DEC_]),
+ on_word_dec_changed, NULL);
+ g_signal_handlers_unblock_by_func (GTK_OBJECT (childs_[SIGN_]),
+ on_word_sign_changed, NULL);
+}
+
diff --git a/mixgtk/mixgtk_mixal.c b/mixgtk/mixgtk_mixal.c
index dc0f6d5..b805c30 100644
--- a/mixgtk/mixgtk_mixal.c
+++ b/mixgtk/mixgtk_mixal.c
@@ -1,24 +1,24 @@
/* -*-c-*- -------------- mixgtk_mixal.c :
* Implementation of the functions declared in mixgtk_mixal.h
* ------------------------------------------------------------------
- * $Id: mixgtk_mixal.c,v 1.16 2002/04/10 23:39:40 jao Exp $
+ * $Id: mixgtk_mixal.c,v 1.17 2004/06/23 10:50:10 jao Exp $
* ------------------------------------------------------------------
- * Copyright (C) 2001, 2002 Free Software Foundation, Inc.
- *
+ * Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc.
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- *
+ *
*/
@@ -33,7 +33,9 @@
#define MIXAL_TAB_POS_ 2
static mix_vm_t *vm_ = NULL;
-static GtkCList *clist_;
+static GtkTreeView *clist_ = NULL;
+static GtkListStore *clist_store_ = NULL;
+
static gulong lineno_;
static const gchar *LOCAL_STATUS_BAR_ = "mixal_statusbar";
static GtkStatusbar *status_;
@@ -41,164 +43,203 @@ static gint status_context_;
static GPtrArray *tips_text_ = NULL;
static GtkWidget *symbols_dlg_ = NULL;
-static GtkWidget *symbols_clist_ = NULL;
-static const gchar *SYMBOLS_CLIST_NAME_ = "symbols_clist";
+static GtkTreeView *symbols_view_ = NULL;
+static GtkListStore *symbols_store_ = NULL;
+static const gchar *SYMBOLS_VIEW_NAME_ = "symbols_view";
+
+static const gchar *bp_stock_id_ = NULL;
+static const gchar *pc_stock_id_ = NULL;
+static const guint bp_stock_size_ = GTK_ICON_SIZE_MENU;
+
+enum {
+ CLIST_BP_ID_COL,
+ CLIST_BP_SIZE_COL,
+ CLIST_ADDRESS_COL,
+ CLIST_BYTECODE_COL,
+ CLIST_CODE_COL,
+ CLIST_ADDRESS_NO_COL,
+ CLIST_LINE_NO_COL,
+ CLIST_COL_NO
+};
+
+enum {
+ SYMBOLS_NAME_COL,
+ SYMBOLS_VALUE_COL,
+ SYMBOLS_WORD_COL,
+ SYMBOLS_COL_NO
+};
+
+
+static gboolean
+mixal_event_ (GtkWidget *w, GdkEvent *event, gpointer data);
+
static void
-init_symbols_ (void)
+init_symbols_ (void)
{
+ GtkCellRenderer *renderer = gtk_cell_renderer_text_new ();
+
symbols_dlg_ = mixgtk_widget_factory_get_dialog (MIXGTK_SYMBOLS_DIALOG);
g_assert (symbols_dlg_);
- symbols_clist_ = mixgtk_widget_factory_get_child_by_name
- (MIXGTK_SYMBOLS_DIALOG, SYMBOLS_CLIST_NAME_);
- g_assert (symbols_clist_);
- gtk_clist_set_sort_type (GTK_CLIST (symbols_clist_), GTK_SORT_ASCENDING);
- gtk_clist_set_auto_sort (GTK_CLIST (symbols_clist_), TRUE);
+ symbols_view_ = GTK_TREE_VIEW
+ (mixgtk_widget_factory_get_child_by_name
+ (MIXGTK_SYMBOLS_DIALOG, SYMBOLS_VIEW_NAME_));
+ g_assert (symbols_view_);
+
+ symbols_store_ = gtk_list_store_new (SYMBOLS_COL_NO,
+ G_TYPE_STRING,
+ G_TYPE_STRING,
+ G_TYPE_STRING);
+
+ gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (symbols_store_),
+ SYMBOLS_NAME_COL,
+ GTK_SORT_ASCENDING);
+
+ gtk_tree_view_set_model (symbols_view_, GTK_TREE_MODEL (symbols_store_));
+ g_object_unref (G_OBJECT (symbols_store_));
+ gtk_tree_view_append_column
+ (symbols_view_,
+ gtk_tree_view_column_new_with_attributes ("Name", renderer,
+ "text", SYMBOLS_NAME_COL,
+ NULL));
+ gtk_tree_view_append_column
+ (symbols_view_,
+ gtk_tree_view_column_new_with_attributes ("Value", renderer,
+ "text", SYMBOLS_VALUE_COL,
+ NULL));
+ gtk_tree_view_append_column
+ (symbols_view_,
+ gtk_tree_view_column_new_with_attributes ("", renderer,
+ "text", SYMBOLS_WORD_COL,
+ NULL));
}
static void
-insert_symbol_ (gpointer symbol, gpointer value, gpointer list)
+insert_symbol_ (gpointer symbol, gpointer value, gpointer data)
{
enum {DEC_SIZE = 25, WORD_SIZE = 20};
static gchar DEC[DEC_SIZE], WORD[WORD_SIZE];
-
- gchar *text[] = {(gchar *)symbol, DEC, WORD};
+
+ GtkTreeIter iter;
+
mix_word_t w = (mix_word_t)GPOINTER_TO_INT (value);
g_snprintf (DEC, DEC_SIZE, "%s%ld",
mix_word_is_negative (w)? "-" : "+",
mix_word_magnitude (w));
mix_word_print_to_buffer (w, WORD);
- gtk_clist_append ((GtkCList *)list, text);
+
+ gtk_list_store_append (symbols_store_, &iter);
+ gtk_list_store_set (symbols_store_, &iter,
+ SYMBOLS_NAME_COL, (const gchar*)symbol,
+ SYMBOLS_VALUE_COL, DEC,
+ SYMBOLS_WORD_COL, WORD,
+ -1);
}
static void
fill_symbols_ (const mix_symbol_table_t *table)
{
- if (symbols_clist_)
- gtk_clist_clear (GTK_CLIST (symbols_clist_));
+ if (symbols_view_)
+ gtk_list_store_clear (symbols_store_);
else
init_symbols_ ();
-
+
mix_symbol_table_foreach (((mix_symbol_table_t *)table),
- insert_symbol_, (gpointer)symbols_clist_);
+ insert_symbol_, NULL);
}
-static GdkColor colors_[3][2];
-static GdkColormap *colormap_ = NULL;
-static const char* default_colors_[3][2] = {
- {"red", "black"},
- {"lightgrey", "black"},
- {"white", "black"}
-};
+static gboolean
+init_clist_ (mixgtk_dialog_id_t top)
+{
+ GtkStockItem item;
-static const char* keys_[3][2] = {
- {"MIXAL.bp.color.bg", "MIXAL.bp.color.fg"},
- {"MIXAL.lc.color.bg", "MIXAL.lc.color.fg"},
- {"MIXAL.pl.color.bg", "MIXAL.pl.color.fg"}
-};
+ GtkCellRenderer *renderer = gtk_cell_renderer_text_new ();
+ GtkCellRenderer *bprenderer = gtk_cell_renderer_pixbuf_new ();
-static const GdkColor *
-parse_color_ (const gchar *str)
-{
- static GdkColor color;
- if (sscanf (str, "%hd%hd%hd", &(color.red), &(color.green), &(color.blue)) < 3)
+ clist_ = GTK_TREE_VIEW
+ (mixgtk_widget_factory_get (top, MIXGTK_WIDGET_MIXAL));
+
+ g_assert (clist_);
+
+ clist_store_ = gtk_list_store_new (CLIST_COL_NO,
+ G_TYPE_STRING,
+ G_TYPE_INT,
+ G_TYPE_STRING,
+ G_TYPE_STRING,
+ G_TYPE_STRING,
+ G_TYPE_INT,
+ G_TYPE_INT);
+
+ gtk_tree_view_set_model (clist_, GTK_TREE_MODEL (clist_store_));
+ g_object_unref (G_OBJECT (clist_store_));
+
+ gtk_tree_view_append_column
+ (clist_,
+ gtk_tree_view_column_new_with_attributes ("", bprenderer,
+ "stock-id", CLIST_BP_ID_COL,
+ "stock-size", CLIST_BP_SIZE_COL,
+ NULL));
+ gtk_tree_view_append_column
+ (clist_,
+ gtk_tree_view_column_new_with_attributes ("Address", renderer,
+ "text", CLIST_ADDRESS_COL,
+ NULL));
+ gtk_tree_view_append_column
+ (clist_,
+ gtk_tree_view_column_new_with_attributes ("Bytecode", renderer,
+ "text", CLIST_BYTECODE_COL,
+ NULL));
+ gtk_tree_view_append_column
+ (clist_,
+ gtk_tree_view_column_new_with_attributes ("Source", renderer,
+ "text", CLIST_CODE_COL,
+ NULL));
+
+ if (gtk_stock_lookup (GTK_STOCK_STOP, &item))
{
- g_warning (_("Wrong color spec: %s\n"), str);
- return NULL;
+ bp_stock_id_ = item.stock_id;
}
-
- return &color;
-}
-static const gchar *
-color_to_string_ (const GdkColor *color)
-{
- enum {LEN = 100};
- static gchar buffer[LEN];
- g_snprintf (buffer, LEN, "%hd %hd %hd",
- color->red, color->green, color->blue);
- return buffer;
-}
+ if (gtk_stock_lookup (GTK_STOCK_GO_FORWARD, &item))
+ {
+ pc_stock_id_ = item.stock_id;
+ }
-static gboolean
-init_color_ (GdkColor *c, const gchar *name)
-{
- return (gdk_color_parse (name, c) &&
- gdk_colormap_alloc_color (colormap_, c, FALSE, TRUE));
+ return TRUE;
}
+
/* initialise the mixal widgets */
gboolean
mixgtk_mixal_init (mix_vm_t *vm, mixgtk_dialog_id_t top)
{
static gboolean restart = FALSE;
- int i,j;
-
+
g_return_val_if_fail (vm != NULL, FALSE);
vm_ = vm;
- clist_ = GTK_CLIST (mixgtk_widget_factory_get (top, MIXGTK_WIDGET_MIXAL));
- g_return_val_if_fail (clist_ != NULL, FALSE);
-
+
+ if (!init_clist_ (top)) return FALSE;
+
if (!mixgtk_config_is_split ())
status_ = GTK_STATUSBAR
(mixgtk_widget_factory_get (MIXGTK_MAIN, MIXGTK_WIDGET_STATUSBAR));
else
status_ = GTK_STATUSBAR
(mixgtk_widget_factory_get_child_by_name (top, LOCAL_STATUS_BAR_));
-
+
g_return_val_if_fail (status_ != NULL, FALSE);
status_context_ = gtk_statusbar_get_context_id (status_, "MIXAL status");
-
- symbols_dlg_ = symbols_clist_ = NULL;
-
- /* allocate colors */
- colormap_ = gtk_widget_get_colormap (GTK_WIDGET (clist_));
- for (i = 0; i < 3; ++i)
- for (j = 0; j < 2; ++j)
- {
- const gchar *ccol = mixgtk_config_get (keys_[i][j]);
- const GdkColor *color = NULL;
- if (ccol && (color = parse_color_ (ccol)))
- {
- mixgtk_mixal_set_color (i, j, color);
- }
- else
- {
- g_return_val_if_fail (init_color_
- (&colors_[i][j], default_colors_[i][j]),
- FALSE);
- }
- }
+
+ symbols_dlg_ = NULL;
+ symbols_view_ = NULL;
+
+ g_signal_connect (G_OBJECT (clist_), "event",
+ G_CALLBACK (mixal_event_), NULL);
if (restart) mixgtk_mixal_load_file ();
else restart = TRUE;
-
- return TRUE;
-}
-
-/* set the plain, location pointer and break colors */
-void
-mixgtk_mixal_set_color (mixal_line_t line, mixal_line_zone_t zone,
- const GdkColor *color)
-{
- g_return_if_fail (color != NULL);
- g_return_if_fail (line <= MIXAL_LINE_PLAIN);
- g_return_if_fail (zone <= MIXAL_LINE_FG);
- colors_[line][zone].red = color->red;
- colors_[line][zone].green = color->green;
- colors_[line][zone].blue = color->blue;
- gdk_colormap_alloc_color (colormap_, &colors_[line][zone], FALSE, TRUE);
- mixgtk_mixal_update_bp_all ();
- mixgtk_config_update (keys_[line][zone],
- color_to_string_(&colors_[line][zone]));
-}
-const GdkColor *
-mixgtk_mixal_get_color (mixal_line_t line, mixal_line_zone_t zone)
-{
- g_return_val_if_fail (line <= MIXAL_LINE_PLAIN, FALSE);
- g_return_val_if_fail (zone <= MIXAL_LINE_FG, FALSE);
- return &colors_[line][zone];
+ return TRUE;
}
/* load the corresponding mixal file */
@@ -241,180 +282,250 @@ update_tips_ (const mix_symbol_table_t *table,
void
mixgtk_mixal_load_file (void)
{
- enum {ADDR_SIZE = 20, CONT_SIZE = 200};
- static gchar ADDR[ADDR_SIZE], CONT[CONT_SIZE];
- static gchar *TEXT[] = {ADDR, CONT};
- static gchar *NULL_TEXT[] = {NULL, NULL};
-
+ enum {ADDR_SIZE = 20, CONT_SIZE = 200, WORD_SIZE = 20};
+ static gchar ADDR[ADDR_SIZE], CONT[CONT_SIZE], WORD[WORD_SIZE];
+
const mix_src_file_t *file;
-
+ GtkTreeIter iter;
+
g_assert (vm_);
g_assert (clist_);
-
- gtk_clist_clear (clist_);
+
+ gtk_list_store_clear (clist_store_);
+ if (tips_text_)
+ {
+ g_ptr_array_free (tips_text_, TRUE);
+ tips_text_ = NULL;
+ }
+
file = mix_vm_get_src_file (vm_);
if (file != NULL)
{
gint k;
+
mix_address_t addr;
const mix_symbol_table_t *table = mix_vm_get_symbol_table (vm_);
-
+
+ if (table) tips_text_ = g_ptr_array_new ();
+
lineno_ = mix_src_file_get_line_no (file);
- if (tips_text_) g_ptr_array_free (tips_text_, TRUE);
- tips_text_ = g_ptr_array_new ();
- gtk_clist_freeze (clist_);
+
for (k = 0; k < lineno_; ++k)
{
- const gchar *line = mix_src_file_get_line (file, k + 1);
-
- g_snprintf (CONT, CONT_SIZE, "%03d: %s", k + 1, line);
+ gchar *line =
+ g_strchomp ((gchar *)mix_src_file_get_line (file, k + 1));
+
+ g_snprintf (CONT, CONT_SIZE, " %03d: %s", k + 1, line);
addr = mix_vm_get_lineno_address (vm_, k + 1);
if (addr != MIX_VM_CELL_NO)
{
- g_snprintf (ADDR, ADDR_SIZE, "%04d: ",
- mix_short_magnitude (addr));
+ g_snprintf (ADDR, ADDR_SIZE, "%04d", mix_short_magnitude (addr));
mix_word_print_to_buffer (mix_vm_get_addr_contents (vm_, addr),
- ADDR + strlen (ADDR));
+ WORD);
}
else
- ADDR[0] = '\0';
- gtk_clist_append (clist_, TEXT);
- gtk_clist_set_row_data (clist_, k, GINT_TO_POINTER
- (mix_short_magnitude (addr)));
- if (table) update_tips_ (table, line);
-
+ {
+ g_snprintf (ADDR, ADDR_SIZE, _("N/A"));
+ g_snprintf (WORD, WORD_SIZE, _("N/A"));
+ }
+ gtk_list_store_append (clist_store_, &iter);
+ gtk_list_store_set (clist_store_, &iter,
+ CLIST_ADDRESS_NO_COL, mix_short_magnitude (addr),
+ CLIST_LINE_NO_COL, k + 1,
+ CLIST_ADDRESS_COL, ADDR,
+ CLIST_CODE_COL, CONT,
+ CLIST_BYTECODE_COL, WORD,
+ CLIST_BP_SIZE_COL, bp_stock_size_,
+ -1);
+ if (table) update_tips_ (table, line);
}
if (table) fill_symbols_ (table);
- gtk_clist_append (clist_, NULL_TEXT);
- gtk_clist_set_row_data (clist_, k, GINT_TO_POINTER (MIX_VM_CELL_NO));
- gtk_clist_unselect_row (clist_, 0, 0);
- gtk_clist_thaw (clist_);
}
else
- lineno_ = 0;
+ {
+ lineno_ = 0;
+ gtk_list_store_append (clist_store_, &iter);
+ gtk_list_store_set (clist_store_, &iter,
+ CLIST_ADDRESS_NO_COL, MIX_VM_CELL_NO,
+ CLIST_LINE_NO_COL, 0,
+ CLIST_ADDRESS_COL, "",
+ CLIST_CODE_COL, _("Source not available"),
+ CLIST_BYTECODE_COL, "",
+ -1);
+ }
}
/* update the widgets */
+static gint
+find_address_ (gint address)
+{
+ GtkTreeIter iter;
+ gint addr;
+ gint row = 0;
+ gboolean valid =
+ gtk_tree_model_get_iter_first (GTK_TREE_MODEL (clist_store_), &iter);
+
+ while (valid)
+ {
+ ++row;
+ gtk_tree_model_get (GTK_TREE_MODEL (clist_store_), &iter,
+ CLIST_ADDRESS_NO_COL, &addr, -1);
+ if (addr == address) return row;
+ valid = gtk_tree_model_iter_next (GTK_TREE_MODEL (clist_store_), &iter);
+ }
+ return 0;
+}
+
static void
-reset_bg_ (gint row)
+update_bp_ (gint row)
{
- gint addr = GPOINTER_TO_INT (gtk_clist_get_row_data (clist_, row));
- gboolean isset = mix_vm_has_breakpoint_at_address (vm_, addr);
- gtk_clist_set_background (clist_, row,
- isset ? &colors_[MIXAL_LINE_BREAK][MIXAL_LINE_BG]:
- &colors_[MIXAL_LINE_PLAIN][MIXAL_LINE_BG]);
- gtk_clist_set_foreground (clist_, row,
- isset ? &colors_[MIXAL_LINE_BREAK][MIXAL_LINE_FG]:
- &colors_[MIXAL_LINE_PLAIN][MIXAL_LINE_FG]);
+ if (row > 0)
+ {
+ GtkTreePath *path = gtk_tree_path_new_from_indices (row - 1, -1);
+ GtkTreeIter iter;
+
+ if (gtk_tree_model_get_iter (GTK_TREE_MODEL (clist_store_), &iter, path))
+ {
+ gint address;
+ const gchar *id = NULL;
+
+ gtk_tree_model_get (GTK_TREE_MODEL (clist_store_), &iter,
+ CLIST_ADDRESS_NO_COL, &address, -1);
+ if (mix_vm_has_breakpoint_at_address (vm_, address))
+ id = bp_stock_id_;
+ else if (address ==
+ (gint) mix_short_magnitude (mix_vm_get_prog_count (vm_)))
+ id = pc_stock_id_;
+
+ gtk_list_store_set (clist_store_, &iter, CLIST_BP_ID_COL, id, -1);
+ }
+ gtk_tree_path_free (path);
+ }
}
-
+
static void
select_row_ (gint row)
{
- static gint last = -1;
-
- gtk_clist_set_background (clist_, row, &colors_[MIXAL_LINE_LOC][MIXAL_LINE_BG]);
- gtk_clist_set_foreground (clist_, row, &colors_[MIXAL_LINE_LOC][MIXAL_LINE_FG]);
- if (gtk_clist_row_is_visible (clist_, row) != GTK_VISIBILITY_FULL)
- gtk_clist_moveto (clist_, row, 0, 0.25, 0);
- if (last != -1 && last != row) reset_bg_ (last);
- last = row;
+ static gint previous = 0;
+
+ if (row > 0 && previous != row)
+ {
+ GtkTreePath *path = gtk_tree_path_new_from_indices (row - 1, -1);
+ GtkTreeIter iter;
+
+ if (gtk_tree_model_get_iter (GTK_TREE_MODEL (clist_store_), &iter, path))
+ {
+ gtk_list_store_set (clist_store_, &iter,
+ CLIST_BP_ID_COL, pc_stock_id_,
+ -1);
+ update_bp_ (previous);
+ previous = row;
+ gtk_tree_view_scroll_to_cell (clist_, path, NULL, FALSE, 0.3, 0);
+ }
+ gtk_tree_path_free (path);
+ }
}
void
mixgtk_mixal_update (void)
{
gint addr = 0;
- gint k = 0;
-
+
g_assert (vm_);
- g_assert (clist_);
-
- addr = mix_short_magnitude (mix_vm_get_prog_count (vm_));
- k = gtk_clist_find_row_from_data (clist_, GINT_TO_POINTER (addr));
- select_row_ (k);
+
+ addr = (gint) mix_short_magnitude (mix_vm_get_prog_count (vm_));
+ select_row_ (find_address_ (addr));
}
/* breakpoints */
void
mixgtk_mixal_update_bp_at_address (guint addr)
{
- gint k;
-
- g_assert (vm_);
- g_assert (clist_);
-
- k = gtk_clist_find_row_from_data (clist_, GINT_TO_POINTER (addr));
- reset_bg_ (k);
+ update_bp_ (find_address_ ((gint)addr));
}
void
mixgtk_mixal_update_bp_at_line (guint line)
{
- if ( line < 1 ) return;
-
- while (line < lineno_)
- {
- gint addr = GPOINTER_TO_INT (gtk_clist_get_row_data (clist_, line - 1));
- if (addr != MIX_VM_CELL_NO) break;
- ++line;
- }
- reset_bg_ (line - 1);
+ update_bp_ ((gint)line);
}
void
-mixgtk_mixal_update_bp_all ()
+mixgtk_mixal_update_bp_all (void)
{
- gint k, addr;
- for (k = 0; k < lineno_; ++k) reset_bg_ (k);
- addr = mix_vm_get_prog_count (vm_);
- k = gtk_clist_find_row_from_data (clist_, GINT_TO_POINTER (addr));
- select_row_ (k);
+ gint k;
+ for (k = 1; k <= lineno_; ++k) update_bp_ (k);
+ mixgtk_mixal_update ();
}
/* callbacks */
-void
-on_mixal_select_row (GtkWidget *w, gint row, gint col, GdkEventButton *e,
- gpointer data)
+static void
+mixal_row_clicked_ (GtkTreeIter *iter)
{
- gboolean isset;
- gint addr, pc;
-
- gtk_clist_unselect_row (clist_, row, col);
- addr = GPOINTER_TO_INT (gtk_clist_get_row_data (clist_, row));
- pc = mix_vm_get_prog_count (vm_);
+
+ gint addr = MIX_VM_CELL_NO;
+ gtk_tree_model_get (GTK_TREE_MODEL (clist_store_),
+ iter, CLIST_ADDRESS_NO_COL, &addr, -1);
+
if (addr < MIX_VM_CELL_NO)
{
- isset = mix_vm_has_breakpoint_at_address (vm_, addr);
+ gboolean isset = mix_vm_has_breakpoint_at_address (vm_, addr);
if (isset)
- mix_vm_clear_breakpoint_address (vm_, addr);
+ mix_vm_clear_breakpoint_address (vm_, addr);
else
- mix_vm_set_breakpoint_address (vm_, addr);
- reset_bg_ (row);
+ mix_vm_set_breakpoint_address (vm_, addr);
+ update_bp_ (find_address_ (addr));
}
}
-gint
-on_mixal_motion_notify_event (GtkWidget *list, GdkEventMotion *event,
- gpointer data)
+static void
+mixal_motion_ (GtkTreeIter *iter)
{
static gint last_row = 0;
static guint last_message = 0;
- gint row = last_row, col = 0;
- if (gtk_clist_get_selection_info (clist_, event->x, event->y, &row, &col)
- && row != last_row && tips_text_)
+
+ gint row = last_row;
+
+ gtk_tree_model_get (GTK_TREE_MODEL (clist_store_), iter,
+ CLIST_LINE_NO_COL, &row, -1);
+
+ if (row > 0 && row != last_row && tips_text_)
{
const gchar *msg = NULL;
last_row = row;
if (last_message)
- gtk_statusbar_remove (status_, status_context_, last_message);
- msg = (const gchar *)g_ptr_array_index (tips_text_, row);
+ gtk_statusbar_remove (status_, status_context_, last_message);
+ msg = (const gchar *)g_ptr_array_index (tips_text_, row - 1);
if (msg)
- last_message = gtk_statusbar_push (status_, status_context_, msg);
+ last_message = gtk_statusbar_push (status_, status_context_, msg);
else
- last_message = 0;
- }
+ last_message = 0;
+ }
+}
+
+static gboolean
+mixal_event_ (GtkWidget *w, GdkEvent *event, gpointer data)
+{
+ GdkEventType type = event->type;
+ if ((type == GDK_BUTTON_PRESS || type == GDK_MOTION_NOTIFY)
+ && (gtk_tree_view_get_bin_window (clist_) == event->any.window))
+ {
+ gdouble x = (type == GDK_BUTTON_PRESS)? event->button.x : event->motion.x;
+ gdouble y = (type == GDK_BUTTON_PRESS)? event->button.y : event->motion.y;
+ GtkTreeIter iter;
+ GtkTreePath *path = NULL;
+ GtkTreeViewColumn *col = NULL;
+ if (gtk_tree_view_get_path_at_pos (clist_, x, y, &path, &col, NULL, NULL)
+ && gtk_tree_model_get_iter (GTK_TREE_MODEL (clist_store_),
+ &iter, path))
+ {
+ if (type == GDK_BUTTON_PRESS) mixal_row_clicked_ (&iter);
+ else mixal_motion_ (&iter);
+ }
+ if (path) gtk_tree_path_free (path);
+ return TRUE;
+ }
return FALSE;
}
diff --git a/mixgtk/mixgtk_mixal.h b/mixgtk/mixgtk_mixal.h
index a1ab681..ccf3b61 100644
--- a/mixgtk/mixgtk_mixal.h
+++ b/mixgtk/mixgtk_mixal.h
@@ -3,22 +3,22 @@
* ------------------------------------------------------------------
* Last change: Time-stamp: <2001-04-21 23:54:18 jao>
* ------------------------------------------------------------------
- * Copyright (C) 2001 Free Software Foundation, Inc.
- *
+ * Copyright (C) 2001, 2004 Free Software Foundation, Inc.
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- *
+ *
*/
@@ -29,32 +29,11 @@
#include <mixlib/mix_vm.h>
#include "mixgtk_widgets.h"
-/* the possible colorised elements */
-typedef enum {
- MIXAL_LINE_BREAK,
- MIXAL_LINE_LOC,
- MIXAL_LINE_PLAIN
-} mixal_line_t;
-
-typedef enum {
- MIXAL_LINE_BG,
- MIXAL_LINE_FG
-} mixal_line_zone_t;
-
/* initialise the mixal widget */
extern gboolean
mixgtk_mixal_init (mix_vm_t *vm, mixgtk_dialog_id_t top);
-/* set the plain, location pointer and break colors */
-extern void
-mixgtk_mixal_set_color (mixal_line_t line, mixal_line_zone_t zone,
- const GdkColor *color);
-
-extern const GdkColor *
-mixgtk_mixal_get_color (mixal_line_t line, mixal_line_zone_t zone);
-
-
/* load the corresponding mixal file */
extern void
mixgtk_mixal_load_file (void);
diff --git a/mixgtk/mixgtk_mixvm.c b/mixgtk/mixgtk_mixvm.c
index d7f48c8..57fbb90 100644
--- a/mixgtk/mixgtk_mixvm.c
+++ b/mixgtk/mixgtk_mixvm.c
@@ -1,24 +1,24 @@
/* -*-c-*- -------------- mixgtk_mixvm.c :
* Implementation of the functions declared in mixgtk_mixvm.h
* ------------------------------------------------------------------
- * $Id: mixgtk_mixvm.c,v 1.10 2002/04/10 23:39:40 jao Exp $
+ * $Id: mixgtk_mixvm.c,v 1.11 2004/06/23 10:50:10 jao Exp $
* ------------------------------------------------------------------
- * Copyright (C) 2001, 2002 Free Software Foundation, Inc.
- *
+ * Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc.
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- *
+ *
*/
#include <stdlib.h>
@@ -28,7 +28,9 @@
#include "mixgtk_cmd_dispatcher.h"
#include "mixgtk_input.h"
-/* register widgets */
+
+/* Local variables */
+
#define REGISTER_NO_ (MIXGTK_WIDGET_rI6 - MIXGTK_WIDGET_rA + 1)
static GtkEntry *reg_entries_[REGISTER_NO_];
@@ -38,7 +40,8 @@ static GtkWidget *goto_ = NULL;
static GtkEntry *goto_entry_ = NULL;
static GtkToggleButton *over_button_;
static GtkToggleButton *cmp_buttons_[3];
-static GtkCList *memory_;
+static GtkTreeView *memory_;
+static GtkListStore *mem_store_;
static GtkLabel *laptime_;
static GtkLabel *progtime_;
static GtkLabel *uptime_;
@@ -46,76 +49,26 @@ static mix_vm_t *vm_;
#define GOTO_ENTRY_NAME_ "goto_entry"
-static void
-init_goto_ (void)
-{
- goto_ = mixgtk_widget_factory_get_dialog (MIXGTK_GOTO_DIALOG);
- g_assert (goto_ != NULL);
- goto_entry_ = GTK_ENTRY (mixgtk_widget_factory_get_child_by_name (
- MIXGTK_GOTO_DIALOG, GOTO_ENTRY_NAME_));
- g_assert (goto_entry_ != NULL);
-}
-
-static void
-update_register_ (mixgtk_widget_id_t reg)
-{
- static gchar BUFFER[20];
- mix_word_t tipval = MIX_WORD_ZERO;
- switch (reg)
- {
- case MIXGTK_WIDGET_rA:
- tipval = mix_vm_get_rA (vm_);
- mix_word_print_to_buffer (tipval, BUFFER);
- break;
- case MIXGTK_WIDGET_rX:
- tipval = mix_vm_get_rX (vm_);
- mix_word_print_to_buffer (tipval, BUFFER);
- break;
- case MIXGTK_WIDGET_rJ:
- tipval = mix_short_to_word_fast (mix_vm_get_rJ (vm_));
- mix_short_print_to_buffer (mix_vm_get_rJ (vm_), BUFFER);
- break;
- case MIXGTK_WIDGET_rI1:
- case MIXGTK_WIDGET_rI2:
- case MIXGTK_WIDGET_rI3:
- case MIXGTK_WIDGET_rI4:
- case MIXGTK_WIDGET_rI5:
- case MIXGTK_WIDGET_rI6:
- {
- gint k = reg - MIXGTK_WIDGET_rI1 + 1;
- tipval = mix_short_to_word_fast (mix_vm_get_rI (vm_, k));
- mix_short_print_to_buffer (mix_vm_get_rI (vm_, k), BUFFER);
- }
- break;
- default:
- g_assert_not_reached ();
- }
- gtk_entry_set_text (reg_entries_[reg - MIXGTK_WIDGET_rA], BUFFER);
- g_snprintf (BUFFER, 20, "%s%ld", mix_word_is_negative (tipval)? "-" : "",
- mix_word_magnitude (tipval));
- gtk_tooltips_set_tip (tips_,
- GTK_WIDGET (reg_entries_[reg - MIXGTK_WIDGET_rA]),
- BUFFER, NULL);
-
-}
-
-
-static void
-on_mem_adj_change_ (GtkAdjustment *adj)
-{
- mixgtk_mixvm_update_cells ();
-}
+
+/* Static function prototypes */
+static void init_goto_ (void);
+static void update_register_ (mixgtk_widget_id_t reg);
+static gboolean init_mem_ (mixgtk_dialog_id_t top);
+
+enum {
+ MEM_ADDRESS_COL,
+ MEM_CONTENTS_COL,
+ MEM_COL_NO
+};
+
/* initialise the mixvm widgets */
gboolean
mixgtk_mixvm_init (mix_vm_t *vm, mixgtk_dialog_id_t top)
{
int k;
- gchar *text[] = {"", ""};
- GtkWidget *scrol;
- GtkAdjustment *adj;
-
+
g_return_val_if_fail (vm != NULL, FALSE);
vm_ = vm;
@@ -152,31 +105,10 @@ mixgtk_mixvm_init (mix_vm_t *vm, mixgtk_dialog_id_t top)
g_return_val_if_fail (cmp_buttons_[k] != NULL, FALSE);
}
- memory_ = GTK_CLIST (mixgtk_widget_factory_get (top, MIXGTK_WIDGET_CELLS));
- g_return_val_if_fail (memory_ != NULL, FALSE);
- gtk_clist_set_column_justification (memory_, 0, GTK_JUSTIFY_CENTER);
- gtk_clist_set_column_justification (memory_, 1, GTK_JUSTIFY_CENTER);
- gtk_clist_freeze (memory_);
- for (k = 0; k< MIX_VM_CELL_NO; ++k)
- {
- gchar buffer[20];
- g_snprintf (buffer, 20, "%04d", k);
- text[0] = buffer;
- gtk_clist_append (memory_, text);
- }
- gtk_clist_thaw (memory_);
-
- scrol = mixgtk_widget_factory_get (top, MIXGTK_WIDGET_CELLS_SCROLL);
- g_return_val_if_fail (scrol != NULL, FALSE);
- adj = gtk_scrolled_window_get_vadjustment (GTK_SCROLLED_WINDOW (scrol));
- gtk_signal_connect (GTK_OBJECT (adj), "value_changed",
- GTK_SIGNAL_FUNC (on_mem_adj_change_), NULL);
-
goto_ = NULL;
-
- return TRUE;
-}
+ return init_mem_ (top);
+}
/* update register widgets */
void
@@ -201,9 +133,9 @@ void
mixgtk_mixvm_update_cmp (void)
{
gint toggle;
-
+
g_assert (cmp_buttons_);
-
+
toggle = mix_vm_get_cmpflag (vm_);
gtk_toggle_button_set_active (cmp_buttons_[toggle], TRUE);
}
@@ -214,33 +146,27 @@ void
mixgtk_mixvm_update_cells (void)
{
static gchar BUFFER[20];
+ GtkTreeIter iter;
+ gboolean valid =
+ gtk_tree_model_get_iter_first (GTK_TREE_MODEL (mem_store_), &iter);
gint k = 0;
-
- g_assert (memory_);
-
- gtk_clist_freeze (memory_);
-
- while (gtk_clist_row_is_visible (memory_, k) == GTK_VISIBILITY_NONE) ++k;
- while (gtk_clist_row_is_visible (memory_, k) != GTK_VISIBILITY_NONE)
+
+ while (valid)
{
- mix_word_print_to_buffer (mix_vm_get_addr_contents (vm_, k), BUFFER);
- gtk_clist_set_text (memory_, k, 1, BUFFER);
- ++k;
+ mix_word_print_to_buffer (mix_vm_get_addr_contents (vm_, k++), BUFFER);
+ gtk_list_store_set (mem_store_, &iter, MEM_CONTENTS_COL, BUFFER, -1);
+ valid = gtk_tree_model_iter_next (GTK_TREE_MODEL (mem_store_), &iter);
}
-
- gtk_clist_thaw (memory_);
}
void
mixgtk_mixvm_update_cells_to_address (gint address)
{
- g_assert (memory_);
+ GtkTreePath *path = gtk_tree_path_new_from_indices (address, -1);
+
if (address >= MIX_VM_CELL_NO) return;
-
- gtk_clist_freeze (memory_);
- gtk_clist_moveto (memory_, address, 0, 0, 0);
- gtk_clist_thaw (memory_);
- mixgtk_mixvm_update_cells ();
+ gtk_tree_view_scroll_to_cell (memory_, path, NULL, TRUE, 0, 0);
+ gtk_tree_path_free (path);
}
/* update the loc pointer */
@@ -250,9 +176,9 @@ mixgtk_mixvm_update_loc (void)
enum {SIZE = 10 };
static gchar BUFFER[SIZE];
mix_short_t locval;
-
+
g_assert (loc_entry_);
-
+
locval = mix_vm_get_prog_count (vm_);
g_snprintf (BUFFER, SIZE, "%04d", mix_short_magnitude (locval));
gtk_entry_set_text (loc_entry_, BUFFER);
@@ -265,7 +191,7 @@ mixgtk_mixvm_update_times (void)
enum {SIZE = 20 };
static gchar BUFFER[SIZE];
gint uptime, progtime, laptime;
-
+
g_assert (uptime_ && progtime_ && laptime_);
mixgtk_cmd_dispatcher_get_times (&uptime, &progtime, &laptime);
g_snprintf (BUFFER, SIZE, "%d", uptime);
@@ -289,7 +215,7 @@ mixgtk_mixvm_update_vm_widgets (void)
mixgtk_mixvm_update_times ();
}
-
+
/* update cmp flag */
void
on_cmp_e_toggled (GtkWidget *widget, gpointer data)
@@ -318,15 +244,13 @@ on_overflow_toggled (GtkWidget *widget, gpointer data)
mix_vm_set_overflow (vm_, GTK_TOGGLE_BUTTON (widget)->active);
}
-
void
-on_loc_arrow_clicked (GtkWidget *widget, gpointer data)
+on_loc_arrow_clicked (GtkWidget *widget, gpointer data)
{
gint address = mix_short_magnitude (mix_vm_get_prog_count (vm_));
mixgtk_mixvm_update_cells_to_address (address);
}
-
static void
register_AX_ (mix_word_t w, gpointer reg)
{
@@ -359,7 +283,7 @@ on_register_click (GtkWidget *w, GdkEvent *e, gpointer data)
enum {SIZE = 20};
static gchar BUFFER[SIZE];
gint k;
-
+
if (w == GTK_WIDGET (reg_entries_[0]))
mixgtk_input_word (_("Register A"), mix_vm_get_rA (vm_),
register_AX_, GINT_TO_POINTER (0));
@@ -379,7 +303,7 @@ on_register_click (GtkWidget *w, GdkEvent *e, gpointer data)
break;
}
}
- return FALSE;
+ return TRUE;
}
static void
@@ -391,39 +315,176 @@ mem_cell_ (mix_word_t w, gpointer a)
}
void
-on_memory_cells_select_row (GtkCList *w, gint row, gint col,
- GdkEvent *e, gpointer data)
+on_goto_cancel_clicked (GtkWidget *w, gpointer data)
{
- enum {SIZE = 30};
- static gchar BUFFER[SIZE];
- g_snprintf (BUFFER, SIZE, _("Memory cell no. %d"), row);
- mixgtk_input_word (BUFFER,
- mix_vm_get_addr_contents (vm_, mix_short_new (row)),
- mem_cell_, GINT_TO_POINTER (row));
+ gtk_widget_hide (goto_);
}
void
-on_memory_cells_click_column (GtkCList *w, gint row, gpointer data)
+on_goto_ok_clicked (GtkWidget *w, gpointer data)
+{
+ const gchar *txt = gtk_entry_get_text (goto_entry_);
+ mix_short_t addr = mix_short_new (atoi (txt));
+ if (addr < MIX_VM_CELL_NO)
+ {
+ gtk_widget_hide (goto_);
+ mixgtk_mixvm_update_cells_to_address (addr);
+ }
+}
+
+
+
+/* static functions */
+static void
+init_goto_ (void)
+{
+ goto_ = mixgtk_widget_factory_get_dialog (MIXGTK_GOTO_DIALOG);
+ g_assert (goto_ != NULL);
+ goto_entry_ =
+ GTK_ENTRY (mixgtk_widget_factory_get_child_by_name (MIXGTK_GOTO_DIALOG,
+ GOTO_ENTRY_NAME_));
+ g_assert (goto_entry_ != NULL);
+}
+
+static void
+update_register_ (mixgtk_widget_id_t reg)
+{
+ static gchar BUFFER[20];
+ mix_word_t tipval = MIX_WORD_ZERO;
+ switch (reg)
+ {
+ case MIXGTK_WIDGET_rA:
+ tipval = mix_vm_get_rA (vm_);
+ mix_word_print_to_buffer (tipval, BUFFER);
+ break;
+ case MIXGTK_WIDGET_rX:
+ tipval = mix_vm_get_rX (vm_);
+ mix_word_print_to_buffer (tipval, BUFFER);
+ break;
+ case MIXGTK_WIDGET_rJ:
+ tipval = mix_short_to_word_fast (mix_vm_get_rJ (vm_));
+ mix_short_print_to_buffer (mix_vm_get_rJ (vm_), BUFFER);
+ break;
+ case MIXGTK_WIDGET_rI1:
+ case MIXGTK_WIDGET_rI2:
+ case MIXGTK_WIDGET_rI3:
+ case MIXGTK_WIDGET_rI4:
+ case MIXGTK_WIDGET_rI5:
+ case MIXGTK_WIDGET_rI6:
+ {
+ gint k = reg - MIXGTK_WIDGET_rI1 + 1;
+ tipval = mix_short_to_word_fast (mix_vm_get_rI (vm_, k));
+ mix_short_print_to_buffer (mix_vm_get_rI (vm_, k), BUFFER);
+ }
+ break;
+ default:
+ g_assert_not_reached ();
+ }
+ gtk_entry_set_text (reg_entries_[reg - MIXGTK_WIDGET_rA], BUFFER);
+ g_snprintf (BUFFER, 20, "%s%ld", mix_word_is_negative (tipval)? "-" : "",
+ mix_word_magnitude (tipval));
+ gtk_tooltips_set_tip (tips_,
+ GTK_WIDGET (reg_entries_[reg - MIXGTK_WIDGET_rA]),
+ BUFFER, NULL);
+
+}
+
+
+static void
+cells_clicked_ (GtkTreeViewColumn* col, gpointer data)
{
if (!goto_) init_goto_ ();
gtk_widget_show (goto_);
}
-void
-on_goto_cancel_clicked (GtkWidget *w, gpointer data)
+static gboolean
+cont_clicked_ (GtkWidget *w, GdkEvent *event, gpointer data)
{
- gtk_widget_hide (goto_);
+ enum {SIZE = 30};
+ static gchar BUFFER[SIZE];
+
+ if (event->type == GDK_BUTTON_PRESS)
+ {
+ GtkTreeIter iter;
+ GtkTreeModel *model;
+ GtkTreeSelection *selection;
+
+ selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (memory_));
+
+ if (gtk_tree_selection_get_selected (selection, &model, &iter))
+ {
+ gint addr;
+
+ gtk_tree_model_get (model, &iter, MEM_ADDRESS_COL, &addr, -1);
+ g_snprintf (BUFFER, SIZE, _("Memory cell no. %d"), addr);
+ mixgtk_input_word
+ (BUFFER,
+ mix_vm_get_addr_contents (vm_, mix_short_new (addr)),
+ mem_cell_, GINT_TO_POINTER (addr));
+ }
+ }
+
+ return FALSE;
}
-void
-on_goto_ok_clicked (GtkWidget *w, gpointer data)
+
+static gboolean
+init_mem_ (mixgtk_dialog_id_t top)
{
- gchar *txt = gtk_entry_get_text (goto_entry_);
- mix_short_t addr = mix_short_new (atoi (txt));
- if (addr < MIX_VM_CELL_NO)
+ gint k;
+ GtkTreeIter iter;
+ GtkCellRenderer *renderer;
+ GtkTreeViewColumn *col;
+
+ /* model */
+
+ mem_store_ = gtk_list_store_new (MEM_COL_NO, G_TYPE_INT, G_TYPE_STRING);
+
+ g_assert (mem_store_);
+
+ for (k = 0; k< MIX_VM_CELL_NO; ++k)
{
- gtk_widget_hide (goto_);
- mixgtk_mixvm_update_cells_to_address (addr);
+ gtk_list_store_append (mem_store_, &iter);
+ gtk_list_store_set (mem_store_, &iter,
+ MEM_ADDRESS_COL, k,
+ MEM_CONTENTS_COL, "+ 00 00 00 00 00",
+ -1);
}
+
+
+ /* view */
+
+ renderer = gtk_cell_renderer_text_new ();
+ memory_ = GTK_TREE_VIEW (mixgtk_widget_factory_get (top,
+ MIXGTK_WIDGET_CELLS));
+
+ g_assert (memory_);
+ g_assert (renderer);
+
+ gtk_tree_view_set_model (memory_, GTK_TREE_MODEL (mem_store_));
+ gtk_tree_view_set_headers_clickable (memory_, TRUE);
+ g_object_unref (G_OBJECT (mem_store_));
+
+ col = gtk_tree_view_column_new_with_attributes ("Address", renderer,
+ "text", 0, NULL);
+ gtk_tree_view_column_set_clickable (col, TRUE);
+ g_signal_connect (G_OBJECT (col), "clicked",
+ G_CALLBACK (cells_clicked_), NULL);
+
+ gtk_tree_view_append_column (memory_, col);
+
+
+ col = gtk_tree_view_column_new_with_attributes ("Contents", renderer,
+ "text", 1, NULL);
+ gtk_tree_view_column_set_clickable (col, TRUE);
+ g_signal_connect (G_OBJECT (col), "clicked",
+ G_CALLBACK (cont_clicked_), NULL);
+
+ gtk_tree_view_append_column (memory_, col);
+
+ g_signal_connect (G_OBJECT (memory_), "event-after",
+ G_CALLBACK (cont_clicked_), NULL);
+
+ return TRUE;
}
diff --git a/mixgtk/mixgtk_widgets.c b/mixgtk/mixgtk_widgets.c
index 9ff76a6..8a5e91f 100644
--- a/mixgtk/mixgtk_widgets.c
+++ b/mixgtk/mixgtk_widgets.c
@@ -100,7 +100,7 @@ static const gchar *file_ = NULL;
static void init_xml_ (mixgtk_dialog_id_t dlg)
{
- xml_[dlg] = glade_xml_new (file_, dnames_[dlg]);
+ xml_[dlg] = glade_xml_new (file_, dnames_[dlg], NULL);
glade_xml_signal_autoconnect (xml_[dlg]);
g_assert (xml_[dlg] != NULL);
}