fullscreen

How to lock JavaFX fullscreen mode?

蹲街弑〆低调 提交于 2019-11-28 09:59:16
问题 I am currently working on a volunteer sign-in application, and need to prevent any attempts to tamper with the computer. As a start, I set the application to fullscreen, easily enough. Then I tried to set the exit key combination for the window to null, but JavaFX automatically defaults to the escape key in that case. I will have an admin section where the program can be exited using a password. Is there any way to effectively intercept any possible methods of exiting a JavaFX application's

App not using full height of iPhone 5

Deadly 提交于 2019-11-28 09:46:10
I have an App that was created a long time ago and updated it to use Storyboards. All the views have been rebuilt and hooked up. However, the App does not use the entire height of an iPhone 5, even though in Storyboards, it shows they adjust based on the size of the screen. In fact, none of the startup screens show up at launch. It's just a black screen. I do have a full size startup image appropriately sized and named. And it shows up in the General tab of the settings. Am I missing a setting or something that needs to be changed? I have tried everything. Additional note: I have a feeling it

Make my wpf application Full Screen (Cover taskbar and title bar of window)

心已入冬 提交于 2019-11-28 08:28:26
I would like to make my application such that it can maximize to full screen means it hide the windows task bar and the title bar as well. And it should triggered by a button. I am trying to develop the my application window like this. Add my code snippet below <controls:MetroWindow x:Class="EDUI.MainWindow" xmlns:controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:local="clr-namespace:EDiscoveryCore;assembly=EDiscoveryCore" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="eDi" BorderBrush=

Detect if user has any application running in fullscreen [duplicate]

坚强是说给别人听的谎言 提交于 2019-11-28 07:44:01
This question already has an answer here: Is there a way to check to see if another program is running full screen 2 answers I did a notifier app in C# that sits on the taskbar and display a balloon when I get something from it, similar to Google Talk when you receive a new email but at the momment it ignores if I am running an application on fullscreen or not and just do it is job. How can I detect and make sure an application is in fullscreen mode? I don't mean maximized (as an app could be maximized on your screen but still not in fullscreen) mode but true fullscreen. For example when you

How can we programmatically enter and exit the fullscreen mode in javascript?

一笑奈何 提交于 2019-11-28 07:38:22
问题 Here's documentation on exiting fullscreen mode. I used this code that I learnd to make the browser go fullscreen (it works), but my attempts to modify a version of it to exit fullscreen failed. Dealing with these non-standard APIs is a little tricky, with each browser implementing it a bit differently. Here's the code: // Bring the page into full-screen mode - Works! function requestFullScreen(element) { // Supports most browsers and their versions. var requestMethod = element

Custom Dialog in full screen?

不羁岁月 提交于 2019-11-28 06:12:24
Is there any way to make my Dialog view full screen, i.e dialog occupy the entire screen (like an Activity). I tried using the LayoutParams and styles like <item name="android:windowFullscreen">true</item> but nothing seems to be working. I found a way of getting rid of the Title bar, but couldn't find a way to put a dialog in full screen. So can any one suggest me a way to do it. <?xml version="1.0" encoding="utf-8"?> <resources> <style name="MyTheme" parent="@android:style/Theme.Dialog"> <item name="android:windowFullscreen">true</item> <item name="android:windowFrame">@null</item> <item

Fullscreen widget

跟風遠走 提交于 2019-11-28 05:16:39
How can I make my widget fullscreen? I've tried something like this: void MainWindow::SetFullScreen() { // Make our window without panels this->setWindowFlags( Qt::FramelessWindowHint | Qt::Tool | Qt::WindowStaysOnTopHint ); // Resize refer to desktop this->resize( QApplication::desktop()->size() ); this->setFocusPolicy( Qt::StrongFocus ); this->setAttribute(Qt::WA_QuitOnClose, true); qApp->processEvents(); show(); this->setFocus(); } But widget isn't over system panels. Any another ideas? OS: Linux QWidget::showFullScreen() is what you need - works great under Linux+Windows in my projects for

How to list all windows from all workspaces in Python on Mac?

99封情书 提交于 2019-11-28 04:56:05
问题 The following Python 2 code prints list of all windows in the current workspace: #!/usr/bin/python import Quartz for window in Quartz.CGWindowListCopyWindowInfo(Quartz.kCGWindowListOptionOnScreenOnly, Quartz.kCGNullWindowID): print("%s - %s" % (window['kCGWindowOwnerName'], window.get('kCGWindowName', u'Unknown').encode('ascii','ignore'))) Although it doesn't print the applications which are in full screen (as it's in another workspace). How do I modify above script to list all windows from

WKWebView Mac Browser Enable fullscreen html5?

对着背影说爱祢 提交于 2019-11-28 04:47:28
问题 I made a simple browser with Swift last version and xcode 8.3.3. I want to be able to enter in fullscreen when there is an html5 video (like on youtube). I get "full screen is unavailable" on youtube right now. Same problem with the old WebView... on iOS it work. EDIT. Maybe it's just not possible. I tried to look at JavaFX WebView and WPF WebBrowser and they have the same limitation. Actually one guy was able to allow full screen for a youtube video on WPF WebBrowser but only by creating a

How to animate a UIImageview to display fullscreen by tapping on it?

£可爱£侵袭症+ 提交于 2019-11-28 04:11:55
I have an UIImageView in a UITableviewCell. When it is tapped, the UIImageView should animated to be displayed fullscreen. When the image is tapped when it is fullscreen it should shrink back to the original position. How can this be achieved? arnoapp Add a gesture recognizer to the view controller. Add the gesture Recognizer to your header file @interface viewController : UIViewController <UIGestureRecognizerDelegate>{ UITapGestureRecognizer *tap; BOOL isFullScreen; CGRect prevFrame; } In your viewDidLoad add this: isFullScreen = false; tap = [[UITapGestureRecognizer alloc] initWithTarget