Hello there Forum Members...
I have been developing in VBA for 10 years...My first time delving into python...Total Newbie...
The reason for me doing this is the need to convert my VBA Windows Operating App I developed - see below demo - into an Android App...
I'm trusting this can be done...
demo
I have just started...
I am wanting to add images as buttons to an already existing background image being the main screen...
Making use of Kivy & kv file
Can I please get direction...Google has rendered no results...
I have been developing in VBA for 10 years...My first time delving into python...Total Newbie...
The reason for me doing this is the need to convert my VBA Windows Operating App I developed - see below demo - into an Android App...
I'm trusting this can be done...
demo
I have just started...
I am wanting to add images as buttons to an already existing background image being the main screen...
Making use of Kivy & kv file
class EzImage(BoxLayout):
pass
class ToTSlider(App):
def build(self):
#return Builder.load_string('ToTSlider.kv')
return EzImage()
# kv file
<EzImage>:
BoxLayout:
Rectangle:
source: 'Images\main.png'
size: root.width, root.height
pos: self.pos
# Here I am wanting to add a button on top of main image
Button:
source: 'Images\launch.png'
size: root.width, root.height
pos: self.pos Edit...I tried another approach...Also not working...class BackGround(BoxLayout):
pass
class ToTSlider(App):
def build(self):
# This snippet adds my 3 required buttons...
EzImage = BoxLayout(orientation='horizontal')
btn1 = Image(source='Images\launch.png')
btn2 = Image(source='Images\print.png')
btn3 = Image(source='Images\leave.png')
EzImage.add_widget(btn1)
EzImage.add_widget(btn2)
EzImage.add_widget(btn3)
# Cannot get background in...it is either or...
return BackGround()
return EzImage
# kv file code
<BackGround>:
BoxLayout:
canvas.before
Rectangle:
size:self.size
pos: self.pos
source: 'Images\main.png' Can I please get direction...Google has rendered no results...
