Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

glutpopwindow(3) [centos man page]

glutPopWindow -- Request to raise the current window to the top LIBRARY
OpenGLUT - window SYNOPSIS
#include <openglut.h> void glutPopWindow(void); DESCRIPTION
Request that the current window be brought to the top. A window can be in front of or behind other windows, as determined by the z-order from front to back. Top-level OpenGLUT windows can be placed at the front or back of the z-order by means of the glutPopWindow() and glutPushWindow() API functions. A z-order also applies to the subwindows of a top-level window. While the z-order of top-level windows can usually be adjusted by the user, subwindow z-order is controlled entirely by the application. If this has any effect on your window's visibility, you should receive a glutWindowStatusFunc() callback and a glutDisplayFunc() callback. CAVEATS
The z-order of top-level windows is ultimately managed by the windowing system. Therefore, a push or pop request by an OpenGLUT application may not necessarily succeed or take immediate effect. Not applicable to offscreen windows. SEE ALSO
glutCreateWindow(3) glutDisplayFunc(3) glutPushWindow(3) glutWindowStatusFunc(3) Epoch

Check Out this Related Man Page

glutCreateSubWindow -- Create a subwindow LIBRARY
OpenGLUT - window SYNOPSIS
#include <openglut.h> int glutCreateSubWindow(int parentID, int x, int y, int w, int h); PARAMETERS
parentID Parent window identifier x Horizontal position of subwindow y Vertical position of subwindow w Width of subwindow h Height of subwindow DESCRIPTION
In almost every regard that is important to you, a subwindow is like a top-level window. It has a window id; it has its own set of event callbacks; you can render to it; you are notified of its creation; ... A subwindow lives inside of some other window (possibly a top-level window, possibly another subwindow). Because of this, it generally only interacts with other windows of your own creation, hence it is not subjected to a window manager. This is the primary source for its differ- ences from a top-level window: - There are no borders or decorations. - There is no title bar, hence no title. - Requests tend to be acted on a little more directly, without interference from a window manager. - The subwindow inherits the display mode of its parent. Like a top-level window, you must register a display callback function if you wish to use glutMainloop(). A notable case where this function can fail is for offscreen windows. A coherent concept of a subwindow of an offscreen window would intro- duce more complication than is presently believed to be worthwhile. Attempting such a window presently just fails. Failure is denoted by a 0 window id being returned. Subwindows can be very useful for partitioning a window into GUI elements: They have their own input callbacks, so you don't have to figure out which window an event is for. Graphics are clipped to the boundaries of your subwindows, so you do not need to worry much about where your drawing goes. Because windows and subwindows work almost identically from the perspective of a GLUT program, it is relatively easy to move a cluster of related controls into a separate top-level window---or, conversely, embed what was a top-level window inside of another window. OpenGLUT can also report some basic statistics about your (sub)window, relieving you of the duty of tracking all of that information for yourself. SEE ALSO
glutCreateWindow(3) glutDestroyWindow(3) glutCreateMenuWindow(3) Epoch
Man Page

14 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

connecting to windows from unix

how to connect to windows from unix??? (7 Replies)
Discussion started by: hemant30
7 Replies

2. UNIX for Dummies Questions & Answers

My unix is possessed!

I'm a n00b. after awhile on the internet my KDE desktop switches windows on it's own. copies weird texts into my termnial window. Generally acts like It's being controlled remotely. I'm using freebsd 6.2 on an intel box. where should I begin to look? (5 Replies)
Discussion started by: script@kiddy
5 Replies

3. UNIX for Dummies Questions & Answers

Shell script in windows

I use windows and I wanted to know how I can use shell script in windows. I saw windows power shell but the commands they use seem to be different from those I know as a newbie. For example I wanted to change the permission of a file using chmod, but it doesn't recognise such a command. So I would... (12 Replies)
Discussion started by: #moveon
12 Replies

4. Solaris

Running unix script from windows.

Hi All, I need to call a unix script from windows bat file, please help if that can be done. I cant install cygwin or putty or any other ssh on server.....! do we have anything else? (8 Replies)
Discussion started by: fidelis
8 Replies

5. Windows & DOS: Issues & Discussions

Start windows application (.bat) from Unix

How can I start an application sitting on a windows machine (XP) from Unix shell script (AIX server) ? (6 Replies)
Discussion started by: pkan
6 Replies

6. Debian

How to run windows application in Ubuntu?

HI ! all I have some model which works fine in windows 7 OS with matlab program I want to run all those from Ubuntu 12.04 32-bit OS. is there any provision to run windows applications? wine I tried, its not working, if any other available kindly explain the usage also Note : Dual boot ... (5 Replies)
Discussion started by: Akshay Hegde
5 Replies

7. Windows & DOS: Issues & Discussions

Sys headers - running Linux C code on windows

Hi All, I wanted to run a small socket application written in C on windows. The code was written for GNU/linux..the compiler on windows CodeBlocks complains about the sys headers. is there an equivalent for windows ? (4 Replies)
Discussion started by: coolatt
4 Replies

8. UNIX for Advanced & Expert Users

How a windowing system is implemented in C ?

Hi All, I was wondering how using C the programmers have implemented a GUI (x window & ms windows). Am curious to learn about the overall architecture. I learned a bit about graphics primitives, memory mapped io, etc I want to learn more whether the above is the foundation upon which modern... (4 Replies)
Discussion started by: coolatt
4 Replies

9. Virtualization and Cloud Computing

Connecting windows to Vmware

Hi , I have installed Centos 6.5 in my VMWare on windows 7 , My Internet is running fine on both VMWare OS and windows 7 . When I am trying to connect from putty on my window to Vimware Linux but it does not connect. Please help what should I do to connect the window system to Linux System (6 Replies)
Discussion started by: kaushik02018
6 Replies

10. UNIX for Dummies Questions & Answers

How to use UNIX from windows?

Hello! I have windows on my pc but I am serachign a way to use unix commands on it. Is there a way using dos window, (cmd), ? - to achieve that? Please helps someone, I just started with the stuff! many thanks!!! (5 Replies)
Discussion started by: pinklemon
5 Replies

11. UNIX for Dummies Questions & Answers

Script for copying files from windows to UNIX

Hi guys Let me start by saying that I'm a newbie, so feel free to point me to any good reading material. What I wanted to do is copy some specific files from windows to unix. Let me elaborate my view. Let's say I have some directory tree in unix, CHO-species/C2H1O1/ VAS-S005-001-Ru444/OPT-0/,... (16 Replies)
Discussion started by: saleheen
16 Replies

12. UNIX for Dummies Questions & Answers

UNIX tools on windows ?

is there any tool or something to install and practice unix on windows ? (8 Replies)
Discussion started by: ded325
8 Replies

13. Linux

Dual boot Internet bug

I'm a windows user going to Linux I've tried manjaro, zorin, and other ones :p But none of them will connect to the internet. :confused: I use a cable. ;) I'm running windows 8 :( and I'm trying to dual boot :eek: Can anyone help me? :confused: :b: - CamCK :b: (6 Replies)
Discussion started by: CamCK
6 Replies

14. UNIX for Beginners Questions & Answers

Seen Windows pc, having all the features of Linux, could exe, read and edit save like windows

Hi, totally new to linux base using windows when started learning and using computers. but i remember that one pc was there , look alike windows desktop, but could not do the task as windows just click and open and view edit etc. But, you could do a little differently even saving in and opening... (8 Replies)
Discussion started by: jraju
8 Replies

Featured Tech Videos