fullscreen

Fullscreen Python TKinter or wxPython window, but 'stay at the bottom' of all windows?

余生长醉 提交于 2019-12-21 16:49:57
问题 I want to create a fullscreen panel that visually blocks access to everything on the screen (desktop, menu, Unity Panel, etc in Ubuntu (11.10)), but stays below other applications' opened windows. This is mainly to make the laptop child proof. I want the kid (4 years old) to have access to some selected apps ie. gcompris, childs play, tux math, etc. but not really to other apps and settings. Something like custom desktop + launcher panel without anything to break, no access to files, etc. I

How do find out if there is a full-screen app running on a specific NSScreen

有些话、适合烂在心里 提交于 2019-12-21 13:48:30
问题 In Cocoa/AppKit, given a screen from [NSScreen screens] , how can I find out if there's a full-screen app running on that specific screen? I'm mostly interested in apps that use the Cocoa APIs for full-screen, but if there's a solution that also encompasses other types of full-screen apps, even better. The solution needs be able to pass Mac App Store approval. My specific use case involves a menu bar app ( NSStatusItem ) and figuring out whether or not a menubar is shown at all on [NSScreen

How can I make the HTML5 canvas go fullscreen?

亡梦爱人 提交于 2019-12-21 12:39:40
问题 I have seen dozens of tutorials on this, and it seems straight forward. All I want is to make my HTML5 canvas element go full-screen (as in total full-screen, taking up the whole monitor). Here's my HTML: <p><canvas id="screen" width="800" height="500" style="background: #FFFFFF; border: 5px solid black;" role="img"> Your browser does not support the canvas element. </canvas></p> <p><a href="javascript:goFullScreen();">Go Fullscreen</a></p> Here's my Javascript (in its own .js file): function

webkitRequestFullScreen fails when passing Element.ALLOW_KEYBOARD_INPUT in Safari 5.1.2

拟墨画扇 提交于 2019-12-21 12:37:31
问题 Running into the following problem specifically in Safari 5.1.2 when attempting to use the javascript fullscreen api. By copy and pasting the following lines into your browser on a loaded page, you can see the effect. This works in Chrome 15 and Safari 5.1.2: javascript:document.querySelector('body').webkitRequestFullScreen(); This works in Chrome 15 but fails silently in Safari 5.1.2: javascript:document.querySelector('body').webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT); ALLOW

How to make full screen java applets?

放肆的年华 提交于 2019-12-21 07:42:10
问题 I am designing a psychology experiment with java applets. I have to make my java applets full screen. What is the best way of doing this and how can I do this. Since I haven't been using java applets for 3 years(The last time I've used it was for a course homework :) ) I have forgotten most of the concepts. I googled and found that link: Dani web But in the method described in above link you have to put a JFrame inside the applet which I have no idea how to do it. Whatever I need a quick and

Fullscreen for QDialog from within MainWindow only working sometimes

时光怂恿深爱的人放手 提交于 2019-12-21 06:48:09
问题 (Testing with C++ on Qt 4.8 and Ubuntu 12.10 unity) I've got a main window which displays a QDialog. When I put the Dialog window full-screen it does not seem to always work even though it seems to be a proper window. Meaning, the window can appear full-screen, though only sometimes. Anyone got an idea? I know Qt states it might not work for all X environments, but it can't be that bad, can it? MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi

AVCam not in fullscreen

雨燕双飞 提交于 2019-12-21 04:27:21
问题 I've integrated AVCam in my iOS app. The problem is in iPhone 4 the preview frame isn't fullscreen, it has empty side borders... How can I solve this? Thanks. 回答1: You need to use the videoGravity property of the AVCaptureVideoPreviewLayer . Take a look to the doc. You need to use: AVLayerVideoGravityResizeAspectFill Edit: Based on that the solution founded by the asker is: - (void)setSession:(AVCaptureSession *)session { ((AVPlayerLayer *)[self layer]).videoGravity =

Substitute for ALLOW_KEYBOARD_INPUT javascript full screen

非 Y 不嫁゛ 提交于 2019-12-21 04:00:34
问题 I have been searching on the internet for a reason why my fullscreen javascript doesn't work in Safari, but yet works in webkit browser Chrome. It seems to that safari doesn't support the element.ALLOW_KEYBOARD_INPUT add-on for webkitRequestFullScreen . function cancelFullScreen(el) { var requestMethod = el.cancelFullScreen || el.webkitCancelFullScreen || el.mozCancelFullScreen || el.exitFullscreen; if (requestMethod) { // cancel full screen. requestMethod.call(el); } else if (typeof window

How to get current display mode (resolution, refresh rate) of a monitor/output in DXGI?

[亡魂溺海] 提交于 2019-12-21 03:42:22
问题 I am creating a multi-monitor full screen DXGI/D3D application. I am enumerating through the available outputs and adapters in preparation of creating their swap chains. When creating my swap chain using DXGI's IDXGIFactory::CreateSwapChain method, I need to provide a swap chain description which includes a buffer description of type DXGI_MODE_DESC that details the width, height, refresh rate, etc. How can I find out what the output is currently set to (or how can I find out what the display

Android - status bar prevents full screen

对着背影说爱祢 提交于 2019-12-21 01:20:56
问题 My app correctly runs in full screen when it's started. However after minimizing and then returning to the app, the status bar pops up and pushes my views down a little. How can I keep the status bar from moving my views? Here is my layout: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:myapp="http://schemas.android.com/apk/res/com.example.draw" android:orientation="vertical" android:layout_width="fill_parent" android