mavzermete 1
mavzermete
Hikaye Ekle

Metin2 UI Wrapper

  • Konuyu başlatan Konuyu başlatan Koray'
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 6
  • Görüntüleme Görüntüleme 3K
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Ayyıldız2 | 2008 TR Yapısı • 1-99 Orta Emek Destan • Oto Avsız • 10 Temmuz 21:00 HEMEN TIKLA!

Python scripti yazan arkadaşlar için ui kısmında işlerini kolaylaştıracak bir script.

İçerik;
self.Board(parent, moveable, x, y, width, heigh)
self.ThinBoard(parent, moveable, x, y, width, heigh)
self.BoardWithTitleBar(parent, moveable, x, y, width, heigh)


self.BasicButton(parent, buttonName, x, y, func)
self.Button(parent, buttonName, tooltipText, x, y, func, UpVisual, OverVisual, DownVisual)
self.RadioButton(parent, buttonName, tooltipText, x, y, func, UpVisual, OverVisual, DownVisual)
self.ToggleButton(parent, text, tooltiptext, x, y, funcUp, funcDown, UpVisual, OverVisual, DownVisual)
self.DragButton(parent, func, UpVisual, OverVisual, DownVisual)
self.ResizeableButton(parent, x, y, width, heigh, text, tooltiptext, event)


self.RGB(r, g, b)
self.Box(parent, x, y, width, heigh, color)
self.Line(parent, x, y, width, heigh, color)
self.TextLine(parent, text, x, y)
self.EditLine(parent, text, x, y, width, heigh, max)
self.NumberLine(parent, path, number, x, y)
self.ComboBox(parent, text, x, y, width)
self.Gauge(parent, width, color, x, y)


self.ListBox(parent, x, y, width, heigh)
self.ListBox2(parent, x, y, width, heigh)
self.ListBoxEx(parent, x, y, width, heigh)


self.SlotBar(parent, x, y, width, heigh)
self.Bar(parent, x, y, width, heigh)
self.Bar3D(parent, x, y, width, heigh, color)
self.TitleBar(parent, x, y, width, color, event)
self.HorizontalBar(parent, x, y, width)
self.SliderBar(parent, x, y, width, heigh, event)
self.ProgressBar(parent, x, y, width, heigh, percentage)
self.ScrollBar(parent, width, heigh)


self.ImageBox(parent, image, x, y)
self.AniImageBox(parent, image, x, y)
self.ExpandedImageBox(parent, image, x, y, min, max)


self.SlotWindow(parent, x, y, width, heigh, emptyevent, selectItemEvent, itemInEvent, ItemOutEvent)
self.GridSlotWindow(parent, ItemInEvent, ItemOutEvent, x, y, width, heigh, SlotStartIndex, SlotXCount, SlotYCount, SlotXStep, SlotYStep, SlotXBlank, SlotYBlank)


self.Popup(text, width, acceptevent)
self.Input(text, length, acceptevent, cancelevent)
self.InputDescription(text, description,length, acceptevent, cancelevent)
self.InputDescription2(text, description, description2, length, acceptevent, cancelevent)
self.Question(text, width, acceptevent, cancelevent)
self.Question2(text, text2, width, acceptevent, cancelevent)
self.QuestionWithLimit(text, limit, width, acceptevent, cancelevent)


Çağırma örneği
Kod:
from ui_wrapper import _ui
veriable = _ui().TextLine(parent, text, x, y)

Yardımcı olanlar:
Eigenartig
-
-


 
Moderatör tarafında düzenlendi:

En Çok Reaksiyon Alan Mesajlar

Python scripti yazan arkadaşlar için ui kısmında işlerini kolaylaştıracak bir script.

İçerik;



Çağırma örneği
Kod:
from ui_wrapper import _ui
veriable = _ui().TextLine(parent, text, x, y)

Yardımcı olanlar:
Eigenartig
- Öğeyi görmek için üye olmalısınız.
- Öğeyi görmek için üye olmalısınız.


Öğeyi görmek için üye olmalısınız.

Bu forumda öyle kişiler mi varmış .s
Bu forumda öyle kişiler mi varmış .s

bilen adama 4 satır fazla yazmak birşey değiştirtmez zaten amaç öğrenmeye çalışan arkadaşların işini kolaylaştırmak

Kod:
Text = ui.TextLine()
Text.SetParent(self)
            
Text.SetPosition(0, 0)
Text.SetText("")
        
Text.Show()

şeklinde uğraşmak yerine

Kod:
_ui().Textline(self, "", 0, 0)

şeklinde demek daha kolay alışmayı sağlar diye düşündüm
Python scripti yazan arkadaşlar için ui kısmında işlerini kolaylaştıracak bir script.

İçerik;
HTML:
self.Board(parent, moveable, x, y, width, heigh)self.ThinBoard(parent, moveable, x, y, width, heigh)self.BoardWithTitleBar(parent, moveable, x, y, width, heigh)
self.Button(parent, buttonName, x, y, func) -Basicself.Buttonf(parent, buttonName, tooltipText, x, y, func, UpVisual, OverVisual, DownVisual) -Formattedself.RadioButton(parent, buttonName, tooltipText, x, y, func, UpVisual, OverVisual, DownVisual)self.ToggleButton(parent, text, tooltiptext, x, y, funcUp, funcDown, UpVisual, OverVisual, DownVisual)self.DragButton(parent, func, UpVisual, OverVisual, DownVisual)self.ResizeableButton(parent, x, y, width, heigh, text, tooltiptext, event)
self.RGB(r, g, b)self.Box(parent, x, y, width, heigh, color)self.Line(parent, x, y, width, heigh, color)self.TextLine(parent, text, x, y)self.EditLine(parent, text, x, y, width, heigh, max)self.NumberLine(parent, path, number, x, y)self.ComboBox(parent, text, x, y, width)self.Gauge(parent, width, color, x, y)
self.ListBox(parent, x, y, width, heigh)self.ListBox2(parent, x, y, width, heigh)self.ListBoxEx(parent, x, y, width, heigh)
self.SlotBar(parent, x, y, width, heigh)self.Bar(parent, x, y, width, heigh)self.Bar3D(parent, x, y, width, heigh, color)self.TitleBar(parent, x, y, width, color, event)self.HorizontalBar(parent, x, y, width)self.SliderBar(parent, x, y, width, heigh, event)self.ProgressBar(parent, x, y, width, heigh, percentage)self.ScrollBar(parent, width, heigh)
self.ImageBox(parent, image, x, y)self.AniImageBox(parent, image, x, y)self.ExpandedImageBox(parent, image, x, y, min, max)
self.SlotWindow(parent, x, y, width, heigh, emptyevent, selectItemEvent, itemInEvent, ItemOutEvent)self.GridSlotWindow(parent, ItemInEvent, ItemOutEvent, x, y, width, heigh, SlotStartIndex, SlotXCount, SlotYCount, SlotXStep, SlotYStep, SlotXBlank, SlotYBlank)
self.Popup(text, width, acceptevent)self.Input(text, length, acceptevent, cancelevent)self.InputDescription(text, description,length, acceptevent, cancelevent)self.InputDescription2(text, description, description2, length, acceptevent, cancelevent)self.Question(text, width, acceptevent, cancelevent)self.Question2(text, text2, width, acceptevent, cancelevent)self.QuestionWithLimit(text, limit, width, acceptevent, cancelevent)

Çağırma örneği
Kod:
from ui_wrapper import _ui
veriable = _ui().TextLine(parent, text, x, y)

Yardımcı olanlar:
Eigenartig
-
-




ne kadar anlasamasakta tesekkurler :)
 
Python scripti yazan arkadaşlar için ui kısmında işlerini kolaylaştıracak bir script.

İçerik;



Çağırma örneği
Kod:
from ui_wrapper import _ui
veriable = _ui().TextLine(parent, text, x, y)

Yardımcı olanlar:
Eigenartig
-
-



Bu forumda öyle kişiler mi varmış .s
 
Bu forumda öyle kişiler mi varmış .s

bilen adama 4 satır fazla yazmak birşey değiştirtmez zaten amaç öğrenmeye çalışan arkadaşların işini kolaylaştırmak

Kod:
Text = ui.TextLine()
Text.SetParent(self)
            
Text.SetPosition(0, 0)
Text.SetText("")
        
Text.Show()

şeklinde uğraşmak yerine

Kod:
_ui().Textline(self, "", 0, 0)

şeklinde demek daha kolay alışmayı sağlar diye düşündüm
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Geri
Üst