How to add a button on the title bar in Kivy - python

I am making an application. In my design I am planning to add a tabbed panel that is integrated into the title bar just like iCal application. Is there anyway to make this happen with kivy? Thanks in advance
enter image description here

Related

streamlit width autoadjusment

How can I change the size of the main interface (where most of the dashboard is)?
I made a dashboard using Streamlit. This dashboard has a sidebar and the main interface. I realized I need to hide the sidebar if I want to see the entire dashboard. Of course I can scroll right if I want to see the entire main interface, but this is exactly what I want to avoid.
How can I do this?

Does kivy have the capability to create a scrollable grid of menus with text and icons, as in the image below, if yes, how?

I want to create a dictionary, like the one in the image, where I can translate English to my native language. I have achieved the navigation drawer, but the challenge is how to create a scrollable home screen menu, as in the image. Pls, any idea how I can go about it?

pywinauto ribbon menu returns no control identifiers

I'm trying to automate a series of tasks I have to do with a given software. I've managed to "wing it" using keyboard controls, but to extend the complexity of the script I need to access a ribbon menu.
So far, my code is as follows:
windows = pwa.Desktop(backend="win32").windows()
running_windows = [window.window_text() for window in windows]
midas_title = ""
target_title = "Civil"
for window in running_windows:
if target_title in window:
midas_title += window
else:
pass
app = pwa.Application().connect(title=midas_title)
app[midas_title].set_focus()
app.MidasGenMainFrmClass['MIDAS/Civil'].print_control_identifiers()
app.MidasGenMainFrmClass['BCGPRibbonBar:40000000:8:10003:10'].print_control_identifiers()
Judging by the top/left and bottom/right coordinates of the BCGPRibbonBar:40000000:8:10003:10, that seems to be the menu that I want to access so that I can click on the "Results" button in this ribbon (my final goal), but when I do print_control_identifiers() on that the output I get is this:
BCGPRibbonBar:40000000:8:10003:10 - 'MIDAS/Civil' (L0, T0, R1920, B174)
['MIDAS/CivilBCGPRibbonBar:40000000:8:10003:10', 'BCGPRibbonBar:40000000:8:10003:10', 'MIDAS/Civil']
child_window(title="MIDAS/Civil", class_name="BCGPRibbonBar:40000000:8:10003:10")
I'm very new to this, but seems like the ribbon has no children?
Seems like I'm too new to embed images, but link here to what the ribbon menu looks like
And finally, link to the image of the inspector of the "Results" menu where I'd like to click
Hopefully this is sufficient information, but please let me know if anything is missing.
If anyone has any idea of what I might be doing wrong, that would be extremely helpful.
Use backend="uia" instead of backend="win32". Ribbon controls are visible to UIA backend only. Application(backend="uia") is also a must.

how to make a website viewer python that views a website

I wanted to make a program that will view this website in a window with sound not opening any sort of browser but I can not seem to find any thing what would help me
PyQt Designer should be able to do this. You can tell it what website you want it to go to, and then just either make the window transparent, or make it hidden. The Widget you would use for this is QWebEngineViewer.

Kivy dropdown: can you make it drop "up" instead of "down"?

I have a UI in Kivy with a load of buttons at the bottom of the screen. Ideally I want some of these buttons to be dropdowns but of course since they are at the bottom of the screen, you can't see the dropdown when they are tapped.
Is there any way to display dropdown items up rather than down?
Thanks for any help.
You can have a look at the kivy-md library if you start the application by running the main.py you will be able to see a demonstration of the up opening dropdown button. The widget is called MDRaisedButton.
Here is a preview

Categories

Resources