# ContextBase

- **Ortam:** İstemci
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/ContextBase
- **Çeviri tarihi:** 2025-09-08

## Açıklama

Tüm içerik menüsü panelleri (sandbox'ta araç seçenekleri için kullanılanlar) için bir temeldir.

[Kaynağı görüntüle](https://github.com/Facepunch/garrysmod/blob/master/garrysmod/lua/vgui/contextbase.lua)

## Ebeveyn

Bu sayfada listelenmeyen metotları vb. şuradan türetir: [Panel](https://gmod.tr/wiki/Panel).

## Metotlar

ContextBase:[ControlValues](https://gmod.tr/wiki/ContextBase:ControlValues)( [table](https://gmod.tr/wiki/table) contextData )

Bu kontrolü verilerle doldurmak için spawnmenu fonksiyonları tarafından (bir içerik menüsü oluşturulurken) çağrılır.

[string](https://gmod.tr/wiki/string) ContextBase:[ConVar](https://gmod.tr/wiki/ContextBase:ConVar)()

ContextBase:SetConVar tarafından ayarlanan, panelin değiştireceği/yöneteceği ConVar'ı döndürür.

ContextBase:[SetConVar](https://gmod.tr/wiki/ContextBase:SetConVar)( [string](https://gmod.tr/wiki/string) cvar )

Panelin değiştireceği/yöneteceği ConVar'ı ayarlar.

ContextBase:[TestForChanges](https://gmod.tr/wiki/ContextBase:TestForChanges)()

Bu fonksiyonu geçersiz kılmalı ve convar değerinizin değişip değişmediğini kontrol etmek için kullanmalısınız.

- [GMod Wiki ana sayfası](https://gmod.tr/wiki)

---

[Tüm sunucular](https://gmod.tr/) · [GmodTR Launcher](https://gmod.tr/launcher) · [Rehber](https://gmod.tr/rehber) · [GMod Wiki](https://gmod.tr/wiki) · [GmodTR nedir?](https://gmod.tr/hakkinda) · [Sunucu ekle](https://gmod.tr/sunucu-ekle) · [Discord](https://discord.gg/gmodtr)

Kaynak: https://gmod.tr/wiki/ContextBase
