Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Installing a Vue.js Desktop App Using Node.js and Electron Post 303032835 by Neo on Monday 25th of March 2019 01:30:52 AM
Old 03-25-2019
Great.

I changed the title of this discussion to:

Installing a Vue.js Desktop App Using Node.js and Electron

... since the app MaxtheCat wanted to install (in his original post) was actually a desktop app and not a web app

Cheers.
 

6 More Discussions You Might Find Interesting

1. Red Hat

Installing cairo-dock or any other desktop customization software

Dear all, I want to install cairo-dock or any other substitute desktop customization software in my RedHat Linux 5.3 machine. I think cairo-dock is for fedora linux,i need RedHat compatible. Can any one provide me with the appropriate link and installation steps for the same. ... (0 Replies)
Discussion started by: monojcool
0 Replies

2. UNIX for Dummies Questions & Answers

Kde Desktop Effect won't work after installing OpenBox

I recently installed OpenBox to work with KDE in replacing the Kwin Session manager. A lot of things did seem to use less processing and memory, but it seems I've lost my KDE Desktop Effects. I managed to track down this in /home/user/.xsession-errors after trying to re-enable them: ... (0 Replies)
Discussion started by: Azrael
0 Replies

3. Ubuntu

Installing latest Ubuntu on my desktop

I wish to install the latest ubuntu on my desktop. How do I go about doing this ? Also how do I create the superuser or admin once the installation is done ? (3 Replies)
Discussion started by: sundaresh
3 Replies

4. Red Hat

Unable to get a Xterm or X app to appear under a Linux Gnome Desktop

I want to have a xterm or xapplication from a Solaris client to appear on my RHEL Server running GNOME desktop. It may sound easy at first but, I have done the basics and I be stuck. Have Tried: Linux - logged in as root, open a Terminal and did a echo $DISPLAY and it reports back :0.0 I... (7 Replies)
Discussion started by: mrmurdock
7 Replies

5. Web Development

Simple Vue.js Component to Redirect to External Web Page Using Vue Router

Vue Router has some quirks and on of the quirks is that it is not reliable when adding external links using the vue-router library. After struggling with many solutions, I have found that creating a simple Vue.js component like this one seems to work the best (so far): Component Example: ... (0 Replies)
Discussion started by: Neo
0 Replies

6. Web Development

Vue JS 2 Tutorial by The Net Ninja: A Recommended Vue.js Video Tutorial Series

A number of people have asked me how to get started with Vue.js and my reply before today was to Google "Vue.js". That has changed and my recommendation to anyone who wants to learn the fastest growing, easiest to learn and use Vue.js web dev framework is to watch this video tutorial series: ... (0 Replies)
Discussion started by: Neo
0 Replies
SDL::App(3)						User Contributed Perl Documentation					       SDL::App(3)

NAME
SDL::App - a SDL perl extension SYNOPSIS
use SDL; use SDL::Event; use SDL::App; my $app = new SDL::App ( -title => 'Application Title', -width => 640, -height => 480, -depth => 32 ); This is the manual way of doing things my $event = new SDL::Event; # create a new event $event->pump(); $event->poll(); while ($event->wait()) { my $type = $event->type(); # get event type print $type; exit if $type == SDL_QUIT; } An alternative to the manual Event processing is the L<SDL::App::loop> . DESCRIPTION
SDL::App controls the root window of the of your SDL based application. It extends the SDL::Surface class, and provides an interface to the window manager oriented functions. METHODS
new "SDL::App::new" initializes the SDL, creates a new screen, and initializes some of the window manager properties. "SDL::App::new" takes a series of named parameters: o -title o -icon_title o -icon o -width o -height o -depth o -flags o -resizeable title "SDL::App::title" takes 0, 1, or 2 arguments. It returns the current application window title. If one parameter is passed, both the window title and icon title will be set to its value. If two parameters are passed the window title will be set to the first, and the icon title to the second. delay "SDL::App::delay" takes 1 argument, and will sleep the application for that many ms. ticks "SDL::App::ticks" returns the number of ms since the application began. error "SDL::App::error" returns the last error message set by the SDL. resize "SDL::App::resize" takes a new height and width of the application if the application was originally created with the -resizable option. fullscreen "SDL::App::fullscreen" toggles the application in and out of fullscreen mode. iconify "SDL::App::iconify" iconifies the applicaiton window. grab_input "SDL::App::grab_input" can be used to change the input focus behavior of the application. It takes one argument, which should be one of the following: o SDL_GRAB_QUERY o SDL_GRAB_ON o SDL_GRAB_OFF loop "SDL::App::loop" is a simple event loop method which takes a reference to a hash of event handler subroutines. The keys of the hash must be SDL event types such as SDL_QUIT(), SDL_KEYDOWN(), and the like. The event method recieves as its parameter the event object used in the loop. Example: my $app = new SDL::App -title => "test.app", -width => 800, -height => 600, -depth => 32; my %actions = ( SDL_QUIT() => sub { exit(0); }, SDL_KEYDOWN() => sub { print "Key Pressed" }, ); $app->loop(\%actions); sync "SDL::App::sync" encapsulates the various methods of syncronizing the screen with the current video buffer. "SDL::App::sync" will do a fullscreen update, using the double buffer or OpenGL buffer if applicable. This is prefered to calling flip on the application window. attribute ( attr, [value] ) "SDL::App::attribute" allows one to set and get GL attributes. By passing a value in addition to the attribute selector, the value will be set. "SDL:::App::attribute" always returns the current value of the given attribute, or croaks on failure. AUTHOR
David J. Goehrig Kartik Thakore SEE ALSO
perl SDL::Surface SDL::Event SDL::OpenGL perl v5.12.1 2010-07-05 SDL::App(3)
All times are GMT -4. The time now is 11:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy