JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::XWindowSystemUtilities::XSettings Class Reference

Parses and stores the X11 settings for a display according to the XSETTINGS specification. More...

#include <juce_linux_XWindowSystem.h>

Collaboration diagram for juce::XWindowSystemUtilities::XSettings:

Classes

struct  Listener
 

Public Member Functions

void addListener (Listener *listenerToAdd)
 
XSetting getSetting (const String &settingName) const
 
::Window getSettingsWindow () const noexcept
 
void removeListener (Listener *listenerToRemove)
 
void update ()
 

Static Public Member Functions

static std::unique_ptr< XSettingscreateXSettings (::Display *)
 

Private Member Functions

 XSettings (::Display *, Atom, ::Window)
 

Private Attributes

::Display * display = nullptr
 
int lastUpdateSerial = -1
 
ListenerList< Listenerlisteners
 
std::unordered_map< String, XSettingsettings
 
Atom settingsAtom
 
::Window settingsWindow = None
 

Detailed Description

Parses and stores the X11 settings for a display according to the XSETTINGS specification.

@tags{GUI}

Constructor & Destructor Documentation

◆ XSettings()

juce::XWindowSystemUtilities::XSettings::XSettings ( ::Display *  ,
Atom  ,
::Window   
)
private

Member Function Documentation

◆ addListener()

void juce::XWindowSystemUtilities::XSettings::addListener ( Listener listenerToAdd)
inline

References listeners.

◆ createXSettings()

static std::unique_ptr<XSettings> juce::XWindowSystemUtilities::XSettings::createXSettings ( ::Display *  )
static

◆ getSetting()

XSetting juce::XWindowSystemUtilities::XSettings::getSetting ( const String settingName) const

◆ getSettingsWindow()

::Window juce::XWindowSystemUtilities::XSettings::getSettingsWindow ( ) const
inlinenoexcept

References settingsWindow.

◆ removeListener()

void juce::XWindowSystemUtilities::XSettings::removeListener ( Listener listenerToRemove)
inline

References listeners.

◆ update()

void juce::XWindowSystemUtilities::XSettings::update ( )

Member Data Documentation

◆ display

::Display* juce::XWindowSystemUtilities::XSettings::display = nullptr
private

◆ lastUpdateSerial

int juce::XWindowSystemUtilities::XSettings::lastUpdateSerial = -1
private

◆ listeners

ListenerList<Listener> juce::XWindowSystemUtilities::XSettings::listeners
private

Referenced by addListener(), and removeListener().

◆ settings

std::unordered_map<String, XSetting> juce::XWindowSystemUtilities::XSettings::settings
private

◆ settingsAtom

Atom juce::XWindowSystemUtilities::XSettings::settingsAtom
private

◆ settingsWindow

::Window juce::XWindowSystemUtilities::XSettings::settingsWindow = None
private

Referenced by getSettingsWindow().


The documentation for this class was generated from the following file: