From: Keith Seitz <keiths@cygnus.com>
To: Insight Maling List <insight@sources.redhat.com>
Subject: [PATCH] remove more tix
Date: Tue, 28 Aug 2001 17:26:00 -0000 [thread overview]
Message-ID: <Pine.GSO.4.33.0108281723300.2633-100000@makita.cygnus.com> (raw)
Hi,
Two parts: removes our reliance on "tixOption" in bpwin and removes all
traces of the letters "tix" in all other files: main.tcl and variables.tcl
excepted.
All that is left is to figure out how to supply some sort of hierarchial
tree widget for the variable windows. I will follow-up with a discussion
thread.
[I'm SO excited!]
Keith
ChangeLog
2001-08-28 Keith Seitz <keiths@redhat.com>
* library/bpwin.itb (bp_select): Use standard preferences
for selection fg & bg, not tixOption database.
* process.itb, tracedlg.tcl: Remove all traces of those
three evil little letters, "t", "i", "x".
Patch
Index: library/bpwin.itb
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/bpwin.itb,v
retrieving revision 1.7
diff -u -p -r1.7 bpwin.itb
--- bpwin.itb 2001/08/28 21:20:20 1.7
+++ bpwin.itb 2001/08/29 00:22:31
@@ -357,7 +357,7 @@ body BpWin::bp_restore {} {
# METHOD: bp_select - select a row in the grid
# ------------------------------------------------------------------
body BpWin::bp_select { r } {
- global tixOption _bp_en _bp_disp
+ global _bp_en _bp_disp
set zz [list addr file func line]
if {$tracepoints} {lappend zz num pass}
@@ -367,7 +367,7 @@ body BpWin::bp_select { r } {
set i $selected
foreach thing $zz {
- $twin.${thing}${i} configure -fg $tixOption(fg) -bg $bg1
+ $twin.${thing}${i} configure -fg [pref get gdb/font/select_fg] -bg $bg1
bind $twin.${thing}${i} <3> break
}
}
@@ -394,7 +394,8 @@ body BpWin::bp_select { r } {
}
foreach thing $zz {
- $twin.${thing}${r} configure -fg $tixOption(select_fg) -bg $tixOption(select_bg)
+ $twin.${thing}${r} configure -fg [pref get gdb/font/select_fg] \
+ -bg [pref get gdb/font/select_bg]
bind $twin.${thing}${r} <3> "tk_popup $Menu %X %Y"
}
Index: library/process.itb
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/process.itb,v
retrieving revision 1.5
diff -u -p -r1.5 process.itb
--- process.itb 2001/08/28 22:36:40 1.5
+++ process.itb 2001/08/29 00:22:31
@@ -34,16 +34,14 @@ body ProcessWin::constructor {args} {
# METHOD: build_win - build the main process window
# ------------------------------------------------------------------
body ProcessWin::build_win {} {
- global tixOption tcl_platform
+ global tcl_platform
if {$tcl_platform(platform) == "windows"} {
- #tixScrolledListBox $itk_interior.s -scrollbar both -sizebox 1
set hsmode static
set vsmode static
ide_sizebox $itk_interior.sbox
place $itk_interior.sbox -relx 1.0 -rely 1.0 -anchor se
} else {
- #tixScrolledListBox $itk_interior.s -scrollbar auto
set hsmode dynamic
set vsmode dynamic
}
Index: library/tracedlg.tcl
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/tracedlg.tcl,v
retrieving revision 1.3
diff -u -p -r1.3 tracedlg.tcl
--- tracedlg.tcl 2001/08/29 00:14:08 1.3
+++ tracedlg.tcl 2001/08/29 00:22:31
@@ -301,7 +301,6 @@ class TraceDlg {
pack $pass_frame.ent -side right -padx 10 -pady 5
# Actions
- #tixScrolledListBox $act_frame.lb -scrollbar auto
set ActionLB $act_frame.lb
iwidgets::scrolledlistbox $act_frame.lb -hscrollmode dynamic \
-vscrollmode dynamic -selectmode multiple -exportselection 0 \
reply other threads:[~2001-08-28 17:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.GSO.4.33.0108281723300.2633-100000@makita.cygnus.com \
--to=keiths@cygnus.com \
--cc=insight@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).