fullscreen

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

笑着哭i 提交于 2019-12-04 07:43:35
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 want the panel to contain some buttons that would start other applications (using subprocess.call) but

Why navigation bar is appearing in fullscreen apps when clicked on popup menu

安稳与你 提交于 2019-12-04 07:38:47
I have a fullscreen app: MainActivity.java: public class MainActivity extends AppCompatActivity { @TargetApi(Build.VERSION_CODES.KITKAT) private void removeControlBar(){ View decorView = getWindow().getDecorView(); decorView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_STABLE | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION | View.SYSTEM_UI_FLAG_FULLSCREEN | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY); } @Override public void onResume(){ super.onResume(); removeControlBar(); } @Override protected void onCreate(Bundle

Android Video not fitting the width in portrait of the videoview and not occupying full screen in landscape

时光怂恿深爱的人放手 提交于 2019-12-04 07:38:28
Android video not fitting the width of the videoview when in portrait, how can i make the width of my video fit the width of my videoview when in portrait, and when i change orientation of the screen to landscape i would like the video to fill the whole screen like the youtube app does. when in portrait the video is to start from the top to the middle of the screen and and when in landscape to fill the whole screen. here is what i have tried, i have also add links of the complete screenshot <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill

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

纵然是瞬间 提交于 2019-12-04 07:02:27
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 mainScreen] in order to allow a global keyboard shortcut to show either a popover positioning on the

webkitRequestFullScreen fails when passing Element.ALLOW_KEYBOARD_INPUT in Safari 5.1.2

自古美人都是妖i 提交于 2019-12-04 05:34:57
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_KEYBOARD_INPUT seems like it should work in Safari, according to documentation here: http://developer.apple

Fullscreen youtube video, rotation, and the status bar (iOS)

江枫思渺然 提交于 2019-12-04 05:17:44
I came across an issue in my current project, so I spun up a simple app to see if I could isolate the problem. In my app delegate I hide the status bar. [application setStatusBarHidden:YES animated:NO]; In my single view controller I have this code: - (void)loadVideo { // HTML to embed YouTube video NSString *youTubeVideoHTML = @"<html><head>\ <body style=\"margin:0\">\ <embed id=\"yt\" src=\"%@\" type=\"application/x-shockwave-flash\" \ width=\"%0.0f\" height=\"%0.0f\"></embed>\ </body></html>"; // Populate HTML with the URL and requested frame size NSString *html = [NSString stringWithFormat

jPlayer fullscreen while inside IFRAME?

蹲街弑〆低调 提交于 2019-12-04 05:02:19
Can jPlayer's fullscreen be made to work while inside an IFRAME tag? As is, the "full screen" is restricted by the size of the iframe. EDIT: Here's how I insert jPlayer in an IFRAME : <div id="movieContainer" > <object id="videoTut" name="videoTut" type="text/html" data="/videotutorial/videotut.html"> </object> </div> Where videotut.html contains a full HTML page that contains jPlayer and works if loaded independently. And the object tag is modified using code like document.getElementById('movieContainer').innerHTML = '... . Also see: https://groups.google.com/forum/#!topic/jplayer/IQxIIYhtAnE

Android locked fullscreen

一笑奈何 提交于 2019-12-04 05:01:26
问题 Simple question, hopefully a simple answer too; is it possible to lock fullscreen on Android? Basically hide toasts, hide home/back/switch, hide notification bar, make it so swiping from bottom or top doesn't work. Working on an idea that would benefit greatly from this. I know it's bad to do what I described, but it's aimed at very young children who randomly tap/drag and occasionally change your phone language to Chinese by accident. 回答1: Depending on the version of Android you're targeting

Java full screen exclusive mode

浪尽此生 提交于 2019-12-04 04:58:19
问题 I made my application to be full screen in exclusive mode but when I show an input dialog the application is minimized. I want the application to stay full screen and the input dialog to be show over it. This is how I render my application full screen: setUndecorated(true); GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment(); GraphicsDevice gs = ge.getDefaultScreenDevice(); gs.setFullScreenWindow(this); validate(); Edit: This is how I open the dialog: JOptionPane

java fullscreen window with transparency

只愿长相守 提交于 2019-12-04 04:44:52
I am trying to create a fullscreen window that cover the whole screen using Java. This window must also have some transparency (about 30%-50% transparent). When saying whole screen, I do mean it cover everything (including the dock/taskbar/menubar in OSX/Linux/Windows), and when I say with transparancy, I mean a real-time transparancy and not just a hacked screenshot. Here is what I am aware-of/tried: Using Java Fullscreen API: while it creates a true fullscreen, you cannot have some transparency with it (only opaque color). One hack is to take a screenshot of the whole desktop and set it as