<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/RO/guiGetBrowser?action=history&amp;feed=atom</id>
	<title>RO/guiGetBrowser - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/RO/guiGetBrowser?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=RO/guiGetBrowser&amp;action=history"/>
	<updated>2026-04-08T10:30:42Z</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=RO/guiGetBrowser&amp;diff=65782&amp;oldid=prev</id>
		<title>Vinyard: Created page with &quot;__NOTOC__ {{RO/Funcție client}} {{New feature/item|3.0150|1.5|| Această funcție preia elementul browser din spatele unui gui-browser (un browser creat prin guiCreateBrows...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=RO/guiGetBrowser&amp;diff=65782&amp;oldid=prev"/>
		<updated>2020-04-08T15:47:27Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__ {{RO/Funcție client}} {{New feature/item|3.0150|1.5|| Această funcție preia elementul browser din spatele unui gui-browser (un browser creat prin guiCreateBrows...&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;
{{RO/Funcție client}}&lt;br /&gt;
{{New feature/item|3.0150|1.5||&lt;br /&gt;
Această funcție preia elementul browser din spatele unui gui-browser (un browser creat prin [[guiCreateBrowser]]).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Sintaxă==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
browser guiGetBrowser(gui-browser theBrowser)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP||[[Element/gui-browser|guiBrowser]]:getBrowser|browser|}}&lt;br /&gt;
&lt;br /&gt;
===Argumente Necesare===&lt;br /&gt;
*'''theBrowser:''' gui-browser&lt;br /&gt;
&lt;br /&gt;
===Redare===&lt;br /&gt;
Redă elementul [[Element/Browser|Browser]] dacă un [[Element/gui-browser|gui-browser]] corect a fost transmis, ''false'' în caz contrar.&lt;br /&gt;
&lt;br /&gt;
==Exemplu==&lt;br /&gt;
Acest exemplu preia un element browser din spatele unui gui-browser și atașează un navigator web unei ferestre CEGUI.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- Pentru a randa navigatorul web pe întreg ecranul, avem nevoie de dimensiunile ecranului.&lt;br /&gt;
local screenWidth, screenHeight = guiGetScreenSize()&lt;br /&gt;
&lt;br /&gt;
-- Vom realiza un navigator web în modul extern.&lt;br /&gt;
local window = guiCreateWindow(200, 200, 1024, 768, &amp;quot;Webbrowser&amp;quot;, false)&lt;br /&gt;
local browser = guiCreateBrowser(0, 0, 800, 600, false, false, window)&lt;br /&gt;
&lt;br /&gt;
-- Evenimentul onClientBrowserCreated va fi declanșat, după care navigatorul web va fi inițializat.&lt;br /&gt;
-- După ce acest eveniment a fost declanșat, vom putea încărca URL-ul și începe afișare.&lt;br /&gt;
local theBrowser = guiGetBrowser(browser) -- Preia elementul browser din gui-browser&lt;br /&gt;
addEventHandler(&amp;quot;onClientBrowserCreated&amp;quot;, theBrowser, &lt;br /&gt;
function()&lt;br /&gt;
    -- După ce navigatorul web a fost inițializat, putem încărca www.youtube.com&lt;br /&gt;
    loadBrowserURL(source, &amp;quot;http://www.youtube.com&amp;quot;)&lt;br /&gt;
end)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Vizualizați de asemenea==&lt;br /&gt;
{{RO/Funcții CEF}}&lt;br /&gt;
&lt;br /&gt;
[[EN:guiGetBrowser]]&lt;br /&gt;
[[hu:guiGetBrowser]]&lt;/div&gt;</summary>
		<author><name>Vinyard</name></author>
	</entry>
</feed>