Hi
I am using Listbox Widget [BWidget]. I am not able to edit a node in list box
I tried to edit a node from listbox by using edit command , but it is not getting edited, as far as documentation concerned, once a node is edited , the modified text will be returned.
I am using as follows
set...
How do I set user defined tab position in TEXT Widget
i.e.
I have a variable, depends upon that variable tab position should be set.
i.e. if user set 4. Tab position should 4
How it is assigned one scrollbar with 2 text at same time
ie
i have 2 text widget
one for displaying text and another for displaying number
Text1 Text2
1 aaaa
2 bbbb
3 5555
I want to configure the scrollbar with these texts in such a way that if u scroll both text should get...
Does anyone know how to make make an executable file.
ie
i have some scripts
a.itcl
b.itcl
a.tcl
I want to compile these scripts and make an executable for these scripts
thanks
akpr
I am developing an editor. How do I create a child window.
i.e. I have a main window, that hold menu function, output window and project window, and source window. I want to create a source window as child of the main window. So I can be able to open more than one source window, moreover I do...
How do I prevent showing window in status bar
i.e. I have created a dialog box, if i am selected a option from menu that dialog box will be displayed, but i do not want to show that in status bar.
thanks
akpr
Hi
Thanks for ur help.
I do not think it "-underline 0" is going to work. I spent 2 day to get it work. I agree the "-underline 0" will get displayed a line under the first character. but once u press ALT-f nothing happens. After reading ur examples I tried again but -
Problem 1
How do I bind <MOTION> in menu
i.e.
I want to display the brief note about the menu to status bar. I create a status.
I tried to bind MOTION event as follows but no result
set menu_name [CreateMenu .menu.menubar filemenu "File" 0]
$menu_name add command -label...
I used upvar, code
but an error cannot read $index is displayed
my question is how do i read a vriable from a class within out side the scope
ie
in a class i have a button like
class ee {
foreach item $images {
itk_component add button$index {
image create photo $index -file...
I used upvar, code
but an error cannot read $index is displayed
my question is how do i read a vriable from a class within out side the scope
ie
in a class i have a button like
class ee {
foreach item $images {
itk_component add button$index {
image create photo $index -file...
Thanks for helping to solve the problem
Now i have one more problem related with OOPS.
I create a class for toolbar it calls as follows
::clsToolbar .frmToolbar.file -maxbutton 3 -variable BUTTONNAME
pack .frmToolbar -side top -fill x
now I want to store the button's name in the global...
I have created a class toolbar
it's working nice
Now how do I bind an event <MOTION>
the creation of toolbar as follows
constructor { arg }
set FrmToolbar $arg
}
method show { arg } {
frame $FrmToolbar -borderwidth 2 -background grey -relief raised
frame...
I have class Toolbar
the class will create a frame, label and place a bitmap over the label
in this call there are methods called show and hide.
Problem No 1:
from [a tcl] file , reference for this class is called as shown below
::Toolbar ToolbarFile ".file"
ToolbarFile Show...
Hi
Thanks for helping to solve the menu prob
I have some more problems related to menu.
I could able to set the value .
Now How do i get the value
i.e. I have a menu like
.menu.view.subview.windows add check -label "Output" -variable OPT -command { Output_Click...
I created a menu. How do I pass a reference to that menu to another function
i.e. I have a menu as follows
File
new
open
save
I want to disable the Save menu as soon as the menu is clicked.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.