Displaying 2 results from an estimated 2 matches for "overrideredirect".
Did you mean:
override_redirect
2003 Feb 25
1
Re: A tcltk question
Hi,
I am trying to create a light-weight window with no border and title bar. The
following code does not work for me.
base <- tktoplevel()
tkwm.overrideredirect(base, TRUE) (or FALSE)
Could someone help me out? Thanks.
Jianhua Zhang
Department of Biostatistics
Dana-Farber Cancer Institute
44 Binney Street
Boston, MA 02115-6084
2007 May 22
0
tcl font size issue on centso 4.4 x86_64
...nt_size 40
set show_window_title 0
set disable_window_decorations 1
set screen_width [winfo screenwidth . ]
set screen_height [winfo screenheight . ]
set window_x 0
set window_y 0
set my_message "This is my message..."
wm geometry . ${screen_width}x${font_size}+${window_x}+${window_y}
wm overrideredirect . $disable_window_decorations
font create ourFont -family helvetica -size $font_size
set c [canvas .c -height $font_size -width $screen_width -background
black -highlightthickness 0 ]
pack $c
$c create text 10 4 -text $my_message -font ourFont -anchor nw -fill red
~
~