30bool juce_handleXEmbedEvent (ComponentPeer*,
void*);
32unsigned long juce_getCurrentFocusWindow (ComponentPeer*);
34#if JUCE_LINUX || JUCE_BSD || DOXYGEN
111 friend bool juce::juce_handleXEmbedEvent (
ComponentPeer*,
void*);
112 friend unsigned long juce_getCurrentFocusWindow (
ComponentPeer*);
The Component class uses a ComponentPeer internally to create and manage a real operating-system wind...
The base class for all JUCE user-interface objects.
FocusChangeType
Enumeration used by the focusGained() and focusLost() methods.
A graphics context, used for drawing a component or image.
A Linux-specific class that can embed a foreign X11 widget.
unsigned long getHostWindowID()
Use this method to retrieve the host's window id when using the host initiated version of the XEmbedP...
~XEmbedComponent() override
Destructor.
void focusLost(FocusChangeType) override
Called to indicate that this component has just lost the keyboard focus.
void removeClient()
Removes the client window from the host.
void paint(Graphics &) override
Components can override this method to draw their content.
void broughtToFront() override
Called when this component has been moved to the front of its siblings.
void updateEmbeddedBounds()
Forces the embedded window to match the current size of this component.
void focusGained(FocusChangeType) override
Called to indicate that this component has just acquired the keyboard focus.
Type unalignedPointerCast(void *ptr) noexcept
Casts a pointer to another type via void*, which suppresses the cast-align warning which sometimes ar...