python textbox highlight with selectable menu items - python

I am using Python 2.7.13 and I am trying to build a GUI that uses textbox and I need to put a menu inside the textbox that I can select different items of that menu with a highlighted cursor.I want to be able to select these items by having up and down arrow buttons and a enter button.I have searched and searched and found nothing that could help me with this problem.

Related

Displaying dropdown choice in the dropdown box using python tkinter

I'm making an airplane booking programme using python. I want to know how to create a dropdown list with options using tkinter module and how to store the option the user selects.
for example, if a user chooses "Manila" from the dropdown list of destinations, "Manila" will be shown on the drop box and will be stored in the programme(for the purpose of displaying tickets). I also don't want my dropdown list box be opened in another window.
I am at a very elementary stage right now since this is a JC project so I would appreciate it if the solutions to my problem could be explained in simpler terms.
Thank you!

Dialog or pop up showing an information from a list

Okay so I created a list of items and each list has a specific information that I want to always show up when the list is clicked. So my question is what is the right code to put in the list that when clicked or on release, shows the information like a dialog box then okay button to close the dialog

How to jump to option from dropdown datalist on key press Kivy Python?

How can I drop to datalist when using dropdown in kivy?
example if user clicks on "I" the dropdown jumps to the part of the part with I.
picture not mine.

Add multiple Elements into every entry in Drop-Down Menu Tkinter

I am trying to make a drop-down menu which supports an image on the left side, then two labels on top of each other, these also need to be different sized, and then on the initial button to open the menu, a down arrow on the right side.
For reference purposes, I am trying to clone the Outlook drop-down option in the Info Frame
Tkinter menus don't support that. You will have to create your own dropdown window and then managing all of the bindings for making it appear and disappear.

Python app with its menu added to the right click of the OS mouse

I would like to know if it is possible, using python, to create a desktop application which is added to the mouse right click menu and add sub items to it. And also, how to link a sub menu item with a function in my code.
For instance, if a user is reading a PDF; he would :
select a text
right click on the mouse and find the app entry on the mouse's right click menu
click it,
gets a list of sub menus of the entry
selects one and that should perform a function of the app.
Take a look at this article:
https://msdn.microsoft.com/en-us/library/windows/desktop/cc144171(v=vs.85).aspx
Hope it helps.

Categories

Resources