Sponsored Content
Top Forums Programming Write the source code for messenger Post 302094048 by Corona688 on Tuesday 24th of October 2006 06:11:06 PM
Old 10-24-2006
Try taking it in the other direction -- build a commandline client, then once you have that working, add GTK windows and such. Building it top-down will mean you'll be stuck changing the GUI every 5 minutes, and the code will end up scattered in callbacks instead of ordered rationally.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Where can I review the source code?

A very n00b question: After compiling and installing software, where does the original source code reside? I'd like to study the source code of some of the ports I've installed. Thanks! :D (1 Reply)
Discussion started by: Aaron Van
1 Replies

2. Shell Programming and Scripting

write page source to standard output

I'm new to PERL, but I want to take the page source and write it to a file or standard output. I used perl.org as a test website. Here is the script: use strict; use warnings; use LWP::Simple; getprint('http://www.perl.org') or die 'Unable to get page'; exit 0; ... (1 Reply)
Discussion started by: wxornot
1 Replies

3. IP Networking

read/write,write/write lock with smbclient fails

Hi, We have smb client running on two of the linux boxes and smb server on another linux system. During a backup operation which uses smb, read of a file was allowed while write to the same file was going on.Also simultaneous writes to the same file were allowed.Following are the settings in the... (1 Reply)
Discussion started by: swatidas11
1 Replies

4. UNIX for Dummies Questions & Answers

Where can i get unix source code?

Sir please tell me where can i get source code for some unix kernal and shell also. (1 Reply)
Discussion started by: VIPUL15
1 Replies

5. Shell Programming and Scripting

Block of code replacement in Java source code through Unix script

Hi, I want to remove the following code from Source files (or replace the code with empty.) from all the source files in given directory. finally { if (null != hibernateSession && hibernateSession.isOpen()) { //hibernateSession.close(); } } It would be great if the script has... (2 Replies)
Discussion started by: hareeshram
2 Replies

6. Linux

Source code

I need the source code of fedora. plz plz plz help me........... (1 Reply)
Discussion started by: neh
1 Replies

7. Shell Programming and Scripting

Source code compilation

Need assistance in Source code compilation . When installing a software compiling a source code . Whatever the output that prints on the screen i want to log it into a file. How can i see output and store the output to file ./configure make make install Is there other way of seeing output... (5 Replies)
Discussion started by: ajayram_arya
5 Replies

8. UNIX for Dummies Questions & Answers

Source code

hii... i am a biginner....and i have linux source code ,downloaded from some website ,a compressed file on windows and dont know how do compile them..... (4 Replies)
Discussion started by: M K Raju
4 Replies
XRaiseWindow(3X11)						     MIT X11R4							XRaiseWindow(3X11)

Name
       XRaiseWindow, XLowerWindow, XCirculateSubwindows, XCirculateSubwindowsUp, XCirculateSubwindowsDown, XRestackWindows - change window stack-
       ing order

Syntax
       XRaiseWindow(display, w)
	  Display *display;
	  Window w;

       XLowerWindow(display, w)
	  Display *display;
	  Window w;

       XCirculateSubwindows(display, w, direction)
	  Display *display;
	  Window w;
	  int direction;

       XCirculateSubwindowsUp(display, w)
	  Display *display;
	  Window w;

       XCirculateSubwindowsDown(display, w)
	  Display *display;
	  Window w;

       XRestackWindows(display, windows, nwindows);
	  Display *display;
	  Window windows[];
	  int nwindows;

Arguments
       direction Specifies the direction (up or down) that you want to circulate the window.  You can pass or

       display	 Specifies the connection to the X server.

       nwindows  Specifies the number of windows to be restacked.

       w	 Specifies the window.

       windows	 Specifies an array containing the windows to be restacked.

Description
       The function raises the specified window to the top of the stack so that no sibling window obscures it.	If the windows are regarded as
       overlapping sheets of paper stacked on a desk, then raising a window is analogous to moving the sheet to the top of the stack but leaving
       its x and y location on the desk constant.  Raising a mapped window may generate events for the window and any mapped subwindows that were
       formerly obscured.

       If the override-redirect attribute of the window is and some other client has selected on the parent, the X server generates a event, and
       no processing is performed.  Otherwise, the window is raised.

       can generate a error.

       The function lowers the specified window to the bottom of the stack so that it does not obscure any sibling windows.  If the windows are
       regarded as overlapping sheets of paper stacked on a desk, then lowering a window is analogous to moving the sheet to the bottom of the
       stack but leaving its x and y location on the desk constant.  Lowering a mapped window will generate events on any windows it formerly
       obscured.

       If the override-redirect attribute of the window is and some other client has selected on the parent, the X server generates a event, and
       no processing is performed.  Otherwise, the window is lowered to the bottom of the stack.

       can generate a error.

       The function circulates children of the specified window in the specified direction.  If you specify raises the lowest mapped child (if
       any) that is occluded by another child to the top of the stack.	If you specify lowers the highest mapped child (if any) that occludes
       another child to the bottom of the stack.  Exposure processing is then performed on formerly obscured windows.  If some other client has
       selected on the window, the X server generates a event, and no further processing is performed.	If a child is actually restacked, the X
       server generates a event.

       can generate and errors.

       The function raises the lowest mapped child of the specified window that is partially or completely occluded by another child.  Completely
       unobscured children are not affected.  This is a convenience function equivalent to with specified.

       can generate a error.

       The function lowers the highest mapped child of the specified window that partially or completely occludes another child.  Completely unob-
       scured children are not affected.  This is a convenience function equivalent to with specified.

       can generate a error.

       The function restacks the windows in the order specified, from top to bottom.  The stacking order of the first window in the windows array
       is unaffected, but the other windows in the array are stacked underneath the first window, in the order of the array.  The stacking order
       of the other windows is not affected.  For each window in the window array that is not a child of the specified window, a error results.

       If the override-redirect attribute of a window is and some other client has selected on the parent, the X server generates events for each
       window whose override-redirect flag is not set, and no further processing is performed.	Otherwise, the windows will be restacked in top to
       bottom order.

       can generate error.

Diagnostics
       Some numeric value falls outside the range of values accepted by the request.
		 Unless a specific range is specified for an argument, the full range defined by the argument's type is accepted. Any argument
		 defined as a set of alternatives can generate this error.

       A value for a Window argument does not name a defined Window.

See Also
       XChangeWindowAttributes(3X11), XConfigureWindow(3X11), XCreateWindow(3X11), XDestroyWindow(3X11), XMapWindow(3X11), XUnmapWindow(3X11)
       X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys

																XRaiseWindow(3X11)
All times are GMT -4. The time now is 09:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy