tkinter – menu

 0    16 flashcards    sir
mp3 indir Baskı oynamak kendini kontrol et
 
soru język polski cevap język polski
The foreground color that will appear on a choice when it is under the mouse.
öğrenmeye başla
activeforeground
The color of the text for items whose state is DISABLED.
öğrenmeye başla
disabledforeground
You can set this option to a procedure, and that procedure will be called every time someone brings up this menu.
öğrenmeye başla
postcommand
Specifies the color displayed in checkbuttons and radiobuttons when they are selected.
öğrenmeye başla
selectcolor
The first position (position 0) in the list of choices is occupied by the tear-off element, and the additional choices are added starting at position 1.
öğrenmeye başla
tearoff
If you set tearoff = False, the menu will not have a tear-off feature, and choices will be added starting at position 0.
Normally, the title of a tear-off menu window will be the same as the text of the menubutton or cascade that lead to this menu. If you want to change the title of that window, set the title option to that string.
öğrenmeye başla
title
Adds a menu item to the menu.
öğrenmeye başla
add_command (options)
Creates a radio button menu item.
öğrenmeye başla
add_radiobutton(options)
Creates a check button menu item.
öğrenmeye başla
add_checkbutton(options)
Creates a new hierarchical menu by associating a given menu to a parent menu
öğrenmeye başla
add_cascade(options)
Adds a separator line to the menu.
öğrenmeye başla
add_separator()
Adds a specific type of menu item to the menu.
öğrenmeye başla
add(type, options)
Deletes the menu items ranging from startindex to endindex.
öğrenmeye başla
delete(startindex [, endindex ])
Allows you to modify a menu item, which is identified by the index, and change its options.
öğrenmeye başla
entryconfig(index, options)
Returns the index number of the given menu item label.
öğrenmeye başla
index(item)
Returns the type of the choice specified by index: either "cascade", "checkbutton", "command", "radiobutton", "separator", or "tearoff".
öğrenmeye başla
type (index)

Yorum yapmak için giriş yapmalısınız.