MCPcopy Create free account
hub / github.com/DISTRHO/DPF / getIgnoringKeyRepeat

Function getIgnoringKeyRepeat

dgl/Window.hpp:149–484  ·  view source on GitHub ↗

Constructor for an embed Window with known size, typically used in modules or plugins that run inside another host. */

Source from the content-addressed store, hash-verified

147 typically used in modules or plugins that run inside another host.
148 */
149 explicit Window(Application& app,
150 uintptr_t parentWindowHandle,
151 uint width,
152 uint height,
153 double scaleFactor,
154 bool resizable);
155
156 /**
157 Destructor.
158 */
159 virtual ~Window();
160
161 /**
162 Whether this Window is embed into another (usually not DGL-controlled) Window.
163 */
164 bool isEmbed() const noexcept;
165
166 /**
167 Check if this window is visible / mapped.
168 Invisible windows do not receive events except resize.
169 @see setVisible(bool)
170 */
171 bool isVisible() const noexcept;
172
173 /**
174 Set window visible (or not) according to @a visible.
175 Only valid for standalones, embed windows are always visible.
176 @see isVisible(), hide(), show()
177 */
178 void setVisible(bool visible);
179
180 /**
181 Show window.
182 This is the same as calling setVisible(true).
183 @see isVisible(), setVisible(bool)
184 */
185 void show();
186
187 /**
188 Hide window.
189 This is the same as calling setVisible(false).
190 @see isVisible(), setVisible(bool)
191 */
192 void hide();
193
194 /**
195 Hide window and notify application of a window close event.
196 The application event-loop will stop when all windows have been closed.
197 For standalone windows only, has no effect if window is embed.
198 @see isEmbed()
199
200 @note It is possible to hide the window while not stopping the event-loop.
201 A closed window is always hidden, but the reverse is not always true.
202 */
203 void close();
204
205 /**
206 Check if this window is resizable (by the user or window manager).

Callers

nothing calls this directly

Calls 2

FileBrowserOptionsClass · 0.85
WebViewOptionsClass · 0.85

Tested by

no test coverage detected