Re: Full-Screen-Application possible with GTK



Hello,

is it possible to write a fullscreen application with GTK ?

I would like to write a MP3-Player-application so that you don't see any
title-bars etc. just the contents of the window. In Windows, there is no
problem, but is it also possible with linux ?

Yes! NO problem.

You don't even need Gtk... In Xt you can do something like.


screen = DefaultScreen(display);
        
display_width = DisplayWidth(display, screen);
display_height = DisplayHeight(display, screen);
        
/* create window */
win = XCreateSimpleWindow( display, RootWindow(display, screen),
     x, y, display_width, display_height, border_width,
     BlackPixel(display, screen),
     WhitePixel(display, screen));

I think he is asking if a window can be made 'full screen' such that the
window is not operating in a GUI enviroment with other windows.
Not making a GUI window the size of the root window.


--
Sincerely,                  ,"-_                         \|/
-Capt. Taura M.             ,   O=__                    --X--
..__                         ,_JNMNNEO=_                 /|\
OMNOUMmnne.                  {OMMNNNEEEEOO=_
UOOOBIOOOEOMMn.               'LONMMMMNNEEEOOO=.__..,,..
UUOOEUUOOOOOOOObe              '"=OMMMMWNEEEOOOOO,"=OEEEOO=,._
OOUUUIEEIOONNOIUbe.                "7OMMMMNNNNNWWEEEEOOOOOO"   "'.
EEBNNMMMNWNWWEEIMMNe.             __  7EMMMNNNNNWWWEEEEEEEOO.     " .
NNMMMMWWWMMMWEINMMMNn            "=BBEEEEMMMMMMMMNNNWWWEEOOOOO=._     .
                  http://furry.ao.net/~learfox/





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]