Alaska32 1 Posted March 14, 2015 Share Posted March 14, 2015 (edited) hello! I wanna idea how I could do in python: https://metin2.download/picture/R33sYGpBZ116Q1cUWJP6xWv3RGqJOhEV/.png instead of writing that I want to put an image.. Is that possible ? Sorry do not really know how to write in English.. Edited August 19, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
3DModeller 88 Posted March 14, 2015 Share Posted March 14, 2015 If i remember, in Romania you are the best "python" programmer, why do you need help? that thing it's very simple :| and as i remember, you know to write english. Is this an false identity? Link to comment Share on other sites More sharing options...
Active Member Koray 2001 Posted March 14, 2015 Active Member Share Posted March 14, 2015 look at ui.ImageBox and ui.ExpandedImageBox 1 Link to comment Share on other sites More sharing options...
iRemain 17 Posted March 14, 2015 Share Posted March 14, 2015 If i remember, in Romania you are the best "python" programmer, why do you need help? that thing it's very simple :| and as i remember, you know to write english. Is this an false identity? it isn't simple, if you say that you have no idea what you are talking about I don't think you will get any help with what you want Link to comment Share on other sites More sharing options...
Frozen 189 Posted March 15, 2015 Share Posted March 15, 2015 You need to use this 3 things: self.Board = ui.Board() self.Board.SetSize(750, 540) self.Board.SetCenterPosition() self.Board.Show() self.ButtonOne = ui.Button() self.ButtonOne.SetParent(self.Board) self.ButtonOne.SetUpVisual("d:/ymir work/ui/public/large_button_01.sub") self.ButtonOne.SetOverVisual("d:/ymir work/ui/public/large_button_02.sub") self.ButtonOne.SetDownVisual("d:/ymir work/ui/public/large_button_03.sub") self.ButtonOne.SetPosition(545, 50) self.ButtonOne.SetEvent(self.Event) # Insert Event Here self.ButtonOne.SetText("Button Text Here") self.ButtonOne.Show() self.Image = ui.ImageBox() self.Image.SetParent(self.Board) self.Image.SetPosition(-18, 3) self.Image.LoadImage("d:/ymir work/ui/game/windows/image.tga")#The image path self.Image.Show() They arent in the correct position so you need to make them fit. Kind Regards Frozen 1 Link to comment Share on other sites More sharing options...
Alaska32 1 Posted March 15, 2015 Author Share Posted March 15, 2015 look at ui.ImageBox and ui.ExpandedImageBox thx.. Work Link to comment Share on other sites More sharing options...
Alaska32 1 Posted March 15, 2015 Author Share Posted March 15, 2015 Simply not I realized... I asked a simple idea. I'm sorry if I upset someone. Koray thanks for opening the head with that function. (ui.ImageBox) 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now