JUCE v8.0.9
JUCE API
 
Loading...
Searching...
No Matches
juce::ScopedWindowAssociation Class Reference

#include <juce_ScopedWindowAssociation_linux.h>

Collaboration diagram for juce::ScopedWindowAssociation:

Public Member Functions

 ScopedWindowAssociation ()=default
 
 ScopedWindowAssociation (const ScopedWindowAssociation &)=delete
 
 ScopedWindowAssociation (ScopedWindowAssociation &&other) noexcept
 
 ScopedWindowAssociation (void *associatedIn, Window windowIn)
 
 ~ScopedWindowAssociation () noexcept
 
bool isValid () const
 
ScopedWindowAssociationoperator= (const ScopedWindowAssociation &)=delete
 
ScopedWindowAssociationoperator= (ScopedWindowAssociation &&other) noexcept
 

Private Member Functions

void swap (ScopedWindowAssociation &other) noexcept
 

Static Private Member Functions

static std::optional< XPointer > getAssociatedPointer (Display *display, Window window)
 

Private Attributes

void * associatedPointer = nullptr
 
XID window {}
 

Constructor & Destructor Documentation

◆ ScopedWindowAssociation() [1/4]

juce::ScopedWindowAssociation::ScopedWindowAssociation ( )
default

◆ ScopedWindowAssociation() [2/4]

juce::ScopedWindowAssociation::ScopedWindowAssociation ( void *  associatedIn,
Window  windowIn 
)
inline

◆ ScopedWindowAssociation() [3/4]

juce::ScopedWindowAssociation::ScopedWindowAssociation ( const ScopedWindowAssociation )
delete

◆ ScopedWindowAssociation() [4/4]

juce::ScopedWindowAssociation::ScopedWindowAssociation ( ScopedWindowAssociation &&  other)
inlinenoexcept

◆ ~ScopedWindowAssociation()

juce::ScopedWindowAssociation::~ScopedWindowAssociation ( )
inlinenoexcept

Member Function Documentation

◆ getAssociatedPointer()

static std::optional< XPointer > juce::ScopedWindowAssociation::getAssociatedPointer ( Display *  display,
Window  window 
)
inlinestaticprivate

◆ isValid()

bool juce::ScopedWindowAssociation::isValid ( ) const
inline

References associatedPointer.

◆ operator=() [1/2]

ScopedWindowAssociation & juce::ScopedWindowAssociation::operator= ( const ScopedWindowAssociation )
delete

◆ operator=() [2/2]

ScopedWindowAssociation & juce::ScopedWindowAssociation::operator= ( ScopedWindowAssociation &&  other)
inlinenoexcept

References swap().

◆ swap()

void juce::ScopedWindowAssociation::swap ( ScopedWindowAssociation other)
inlineprivatenoexcept

References associatedPointer, and window.

Referenced by operator=().

Member Data Documentation

◆ associatedPointer

void* juce::ScopedWindowAssociation::associatedPointer = nullptr
private

◆ window

XID juce::ScopedWindowAssociation::window {}
private

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