Re: Full-Screen-Application possible with GTK
- From: G Hasse <gh raditex se>
- To: Andreas Jung <a jung tu-bs de>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Full-Screen-Application possible with GTK
- Date: Mon, 22 Jan 2001 15:43:06 +0100 (CET)
On Mon, 22 Jan 2001, Andreas Jung wrote:
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));
;-)
----------------------------------------------------------------
Göran Hasse email: gh raditex se Tel: +46 8 694 92 70
Raditex AB http://www.raditex.se Fax: +46 8 442 05 91
Sickla Alle 7, 1tr Mob: 070-5530148
131 34 NACKA, SWEDEN
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]