<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/Multi_Theft_Auto:_Wiki:TR/guiCreateButton?action=history&amp;feed=atom</id>
	<title>Multi Theft Auto: Wiki:TR/guiCreateButton - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/Multi_Theft_Auto:_Wiki:TR/guiCreateButton?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Multi_Theft_Auto:_Wiki:TR/guiCreateButton&amp;action=history"/>
	<updated>2026-04-07T04:41:48Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Multi_Theft_Auto:_Wiki:TR/guiCreateButton&amp;diff=65219&amp;oldid=prev</id>
		<title>CastiaL: CastiaL moved page TR/guiCreateButton to Multi Theft Auto: Wiki:TR/guiCreateButton</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Multi_Theft_Auto:_Wiki:TR/guiCreateButton&amp;diff=65219&amp;oldid=prev"/>
		<updated>2020-02-20T13:48:28Z</updated>

		<summary type="html">&lt;p&gt;CastiaL moved page &lt;a href=&quot;/index.php?title=TR/guiCreateButton&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;TR/guiCreateButton (page does not exist)&quot;&gt;TR/guiCreateButton&lt;/a&gt; to &lt;a href=&quot;/wiki/Multi_Theft_Auto:_Wiki:TR/guiCreateButton&quot; title=&quot;Multi Theft Auto: Wiki:TR/guiCreateButton&quot;&gt;Multi Theft Auto: Wiki:TR/guiCreateButton&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:48, 20 February 2020&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key wiki-wiki_dev_:diff::1.12:old-65218:rev-65219 --&gt;
&lt;/table&gt;</summary>
		<author><name>CastiaL</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Multi_Theft_Auto:_Wiki:TR/guiCreateButton&amp;diff=65218&amp;oldid=prev</id>
		<title>CastiaL at 13:48, 20 February 2020</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Multi_Theft_Auto:_Wiki:TR/guiCreateButton&amp;diff=65218&amp;oldid=prev"/>
		<updated>2020-02-20T13:48:03Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:48, 20 February 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l45&quot;&gt;Line 45:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 45:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Ayrıca==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Ayrıca==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{GUI_functions}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{GUI_functions}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[guiCreateButton]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ru:&lt;/ins&gt;guiCreateButton]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{GUI_events}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{GUI_events}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>CastiaL</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Multi_Theft_Auto:_Wiki:TR/guiCreateButton&amp;diff=65209&amp;oldid=prev</id>
		<title>CastiaL: Created page with &quot;__NOTOC__  {{Client function}} Bu işlev, GUI'nin bir parçası olarak tıklanabilir bir öğe olan GUI Düğmesinin oluşturulmasına izin verir.  ==Sözdizimi==  &lt;syntaxhigh...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Multi_Theft_Auto:_Wiki:TR/guiCreateButton&amp;diff=65209&amp;oldid=prev"/>
		<updated>2020-02-19T16:26:36Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__  {{Client function}} Bu işlev, GUI&amp;#039;nin bir parçası olarak tıklanabilir bir öğe olan GUI Düğmesinin oluşturulmasına izin verir.  ==Sözdizimi==  &amp;lt;syntaxhigh...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
Bu işlev, GUI'nin bir parçası olarak tıklanabilir bir öğe olan GUI Düğmesinin oluşturulmasına izin verir.&lt;br /&gt;
&lt;br /&gt;
==Sözdizimi== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element guiCreateButton ( float x, float y, float width, float height, string text, bool relative, [ element parent = nil ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
{{OOP||[[Element/GUI/Button|GuiButton]]}}&lt;br /&gt;
&lt;br /&gt;
===Gerekli Bağımsız Değişkenler=== &lt;br /&gt;
[[Image:Button.png|thumb|GUI Buton Görünüşü]]&lt;br /&gt;
*'''x:''' GUI Buton'un Ekran Üzerindeki Yatay Konumudur.&lt;br /&gt;
*'''y:''' GUI Buton'un Ekran Üzerindeki Dikey Konumudur.&lt;br /&gt;
*'''width:''' GUI Buton'un Genişliğidir.&lt;br /&gt;
*'''height:''' GUI Buton'un Uzunluğudur.&lt;br /&gt;
*'''text:''' GUI Buton'un Üstünde Görünen Yazıdır.&lt;br /&gt;
*'''relative:''' Boyutların ve konumlandırmanın göreceli olup olmadığıdır. Bu doğruysa , tüm x, y, genişlik ve yükseklik kayan noktaları üst öğeye göre boyutları temsil eden 0 ile 1 arasında olmalıdır.&lt;br /&gt;
===İsteğe Bağlı Değişkenler=== &lt;br /&gt;
{{OptionalArg}} &lt;br /&gt;
*'''parent:''' Bu, gui düğmesinin bağlı olduğu üst öğedir. Eğer göreli argüman doğrudur, boyutları ve konumlandırma bu ebeveyne göreli yapılacaktır. Eğer göreli argüman yanlıştır, konumlandırma ebeveynin kökenden ofset piksel sayısı olacaktır. Ebeveyn geçirilmezse, ebeveyn ekran olur ve ekran konumlandırmasına göre konumlandırma ve boyutlandırmaya neden olur.&lt;br /&gt;
&lt;br /&gt;
===Geri Dönüş===&lt;br /&gt;
Eğer GUI Buton Başarılı bir şekilde oluşturulmuşsa true değerini döndürür , aksi takdirde false değerini döndürür.&lt;br /&gt;
&lt;br /&gt;
==Örnek== &lt;br /&gt;
Bu Örnekte Bir Edit Box ve Bir Buton Kullanılmıştır. Bu Örnekte Edit Box'a Yazılan Yazı Butona Basıldığında Mesaj Kutusunda Çıkar.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
--Butonumuzu Oluşturalım&lt;br /&gt;
button = guiCreateButton( 0.7, 0.1, 0.2, 0.1, &amp;quot;Gönder!&amp;quot;, true )&lt;br /&gt;
--Bir Edit Box Oluşturalım ve değerini &amp;quot;editBox&amp;quot; Yapalım&lt;br /&gt;
editBox = guiCreateEdit( 0.3, 0.1, 0.4, 0.1, &amp;quot;Mesajını Buraya Yaz!&amp;quot;, true )&lt;br /&gt;
-- Butonumuza işlev verelim&lt;br /&gt;
addEventHandler ( &amp;quot;onClientGUIClick&amp;quot;, editBox, outputEditBox )&lt;br /&gt;
guiEditSetMaxLength ( editBox, 128 ) --Mesaj Kutusuna En Fazla 128 Harf Yazılabilir. Bu Yüzden Edit Box'u 128 Harf'te Sınırlayalım.&lt;br /&gt;
&lt;br /&gt;
--Mesaj Kutumuza Mesaj Gönderecek Fonksiyonumuzu Hazırlayalım&lt;br /&gt;
function outputEditBox ()&lt;br /&gt;
        local text = guiGetText ( editBox )--Bu Yazı Edit Box'tan Alınacaktır.&lt;br /&gt;
        outputChatBox ( text ) --Alınan Değer Mesaj Kutusuna Buradan GÖnderilir&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onClientGUIClick&amp;quot;, button, outputEditBox )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ayrıca==&lt;br /&gt;
{{GUI_functions}}&lt;br /&gt;
[[guiCreateButton]]&lt;br /&gt;
{{GUI_events}}&lt;/div&gt;</summary>
		<author><name>CastiaL</name></author>
	</entry>
</feed>