egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TK: button background

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
raider2k
Op


Joined: 01 Jan 2008
Posts: 140

PostPosted: Tue Oct 26, 2010 3:36 am    Post subject: TK: button background Reply with quote

hi, its me again with a tk question again

i have
Code:

grid [ttk::button .tabprev.bclose -text "test" -command { destroy .tabprev }]
.tabprev.bclose configure -background black


as well as
Code:

grid [ttk::button .tabprev.bclose -text "test" -command { destroy .tabprev } -background black]


but none of them works, both report "unknown option -background", also tried with -bg. also have i tried to do

Code:

ttk:style configure sbclose -background black
grid [ttk::button .tabprev.bclose -text "test" -command { destroy .tabprev } -style sbclose]


and

Code:

ttk:style configure sbclose -background black
grid [ttk::button .tabprev.bclose -text "test" -command { destroy .tabprev }]
.tabprev.bclose configure -style sbclose


which both reject with "layout sbclose not found".
need some decent help on that one as buttons with their raised relief (not to be disabled it seems :/) and/or border dont fit in the application.

help appreciated Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber