tkinter – menu

 0    16 フィッシュ    sir
mp3をダウンロードする 印刷 遊びます 自分をチェック
 
質問 język polski 答え język polski
The foreground color that will appear on a choice when it is under the mouse.
学び始める
activeforeground
The color of the text for items whose state is DISABLED.
学び始める
disabledforeground
You can set this option to a procedure, and that procedure will be called every time someone brings up this menu.
学び始める
postcommand
Specifies the color displayed in checkbuttons and radiobuttons when they are selected.
学び始める
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.
学び始める
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.
学び始める
title
Adds a menu item to the menu.
学び始める
add_command (options)
Creates a radio button menu item.
学び始める
add_radiobutton(options)
Creates a check button menu item.
学び始める
add_checkbutton(options)
Creates a new hierarchical menu by associating a given menu to a parent menu
学び始める
add_cascade(options)
Adds a separator line to the menu.
学び始める
add_separator()
Adds a specific type of menu item to the menu.
学び始める
add(type, options)
Deletes the menu items ranging from startindex to endindex.
学び始める
delete(startindex [, endindex ])
Allows you to modify a menu item, which is identified by the index, and change its options.
学び始める
entryconfig(index, options)
Returns the index number of the given menu item label.
学び始める
index(item)
Returns the type of the choice specified by index: either "cascade", "checkbutton", "command", "radiobutton", "separator", or "tearoff".
学び始める
type (index)

コメントを投稿するにはログインする必要があります。