You can mix widgets. Have you main app class inherit from MDApp instead of App.
The datepicker and time picker are still under development, if you are doing anything serious, test them thoroughly. I have seen bugs in the time picker.
Here is date picker for kivy:
https://bitbucket.org/xxblx/kivycalendar/src/master/
I helped another user that was modifying this data picker for another calendar.
--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/d90e710f-b00d-4121-ab16-5fc00d1fb7a6n%40googlegroups.com.
When I did the work with the other guy, I just downloaded the source files into my project directory. I did not do a pip install. If all else fails -do that.
Looking at the source directory, I found the examples below. See if they work.
CalendarWidget example
from kivy.app import App
from KivyCalendar import CalendarWidget
class MyApp(App):
def build(self):
return CalendarWidget()
MyApp().run()
DatePicker example
from kivy.app import App
from KivyCalendar import DatePicker
class MyApp(App):
def build(self):
return DatePicker()
MyApp().run()
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/835b4408-7280-4f9f-8a95-397f70f82a39n%40googlegroups.com.
On Mar 9, 2022, at 8:07 PM, markR <markandla...@gmail.com> wrote:
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/5bb8fe44-d942-44d2-9316-6437f40d59b3n%40googlegroups.com.
On line 24 of calander_ui.py replace:
from . import calendar_data as cal_data
with:
import calendar_data as cal_data
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/9e04d91e-608f-4b97-99cd-9318c65367b3n%40googlegroups.com.
I downloaded the 2 calendar_*.py files.
I created a main.py
I made the edit to the import as described in caledar_ui.py, and It works.
I have attached the 3 files in a zip file.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/c76f17aa-4d52-4faa-a9a3-f25a87f7efc4n%40googlegroups.com.
On Mar 11, 2022, at 7:25 PM, markR <markandla...@gmail.com> wrote:
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/fd381560-dbc1-4c01-bb37-9e5058718a66n%40googlegroups.com.
On Mar 12, 2022, at 4:00 PM, markR <markandla...@gmail.com> wrote:
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/b9f57672-40a3-48e6-8ada-1266255d0081n%40googlegroups.com.