1 # Memory display preferences window class definition for GDBtk.
2 # Copyright (C) 1998, 1999 Cygnus Solutions
4 # This program is free software; you can redistribute it and/or modify it
5 # under the terms of the GNU General Public License (GPL) as published by
6 # the Free Software Foundation; either version 2 of the License, or (at
7 # your option) any later version.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
16 inherit ModalDialog ManagedWin
28 method constructor {args}
33 method set_bytes_per_row {w value}
34 method check_numbytes {var index mode}
35 method toggle_size_control {}
37 method enable_format {}
38 method disable_format {}
44 # The next seven variables are all used in the radio-buttons
45 # and checkbuttons of the display.
57 variable format_disabled 0
59 variable normal_background
67 common default_numbytes 128