Jump to content

Recommended Posts

What command could I use to change the default color of the cursor that appears in the main tkcon console in hypermesh ?

 

I've been able to change the background color using

.tkcon.tab1 configure -bg #000000 

, but haven't been able to do the same for the cursor.

 

Any help is appreciated.

Share this post


Link to post
Share on other sites
On 3/3/2017 at 8:46 PM, tinh said:

Oh, are you consuming your time to fiddle with tkconsole?:D

change cursor color:


.tkcon.tab1 configure -insertbackground red

 

Thanks, this is exactly what I was looking for.

 

Could you refer me to a list of all such functions/options that could be used to configure tkconsole ?

Rahul R likes this

Share this post


Link to post
Share on other sites

Hi,

You can everytime retrieve configurations of a window by : $windowname config

ex:

foreach Config [.tkcon.tab1 configure] {puts "[lindex $Config 0] [.tkcon.tab1 cget [lindex $Config 0]]"}

 

or using general dumping proc "dump" to retrieve none default configurations:

dump .tkcon.tab1

Share this post


Link to post
Share on other sites
11 hours ago, tinh said:

Hi,

You can everytime retrieve configurations of a window by : $windowname config

ex:

foreach Config [.tkcon.tab1 configure] {puts "[lindex $Config 0] [.tkcon.tab1 cget [lindex $Config 0]]"}

 

or using general dumping proc "dump" to retrieve none default configurations:

dump .tkcon.tab1

@tinh : Thank you. This is exactly what I was looking for.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...