Sponsored Content
Top Forums Programming Requesting general advice about window manager development Post 302988661 by SirSalt on Friday 30th of December 2016 01:23:06 PM
Old 12-30-2016
I appreciate your time. I can tell it will definitely take time to figure all this stuff out. I can't wait to receive my X books. I also switched to mcwm, and its code is a lot easier to follow and almost every line has a useful comment. I only have thousands of lines of code to figure out now! :P

Thanks again!

Edit: I found this cool tutorial article on X programming Basic Graphics Programming With The XCB Library

Last edited by SirSalt; 12-30-2016 at 03:55 PM.. Reason: Adding an article I found
 

7 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

Window Manager of the ... Choice

Inspired by Window Manager of the Year threads from LinuxQuestions.org Like these: 2002 | 2003 | 2004 | 2005 | 2006 I wonder what WMs are used by UNIX people ... People sometimes select diffrent WMs for (old and slow) laptop and (overpowered) workstation, that is why poll allows multiple... (8 Replies)
Discussion started by: vermaden
8 Replies

2. Programming

How to override Window Manager placement of windows.

Hello, everyone! Is it possible to create a window in X11/WM, but override the position Window Manager sets for the window. I'm not sure how to use 'override_redirect' flag, and what to do in order to use it. But the problem with the flag is also that it probably will disable all decorations... (2 Replies)
Discussion started by: AOne
2 Replies

3. Shell Programming and Scripting

Determining window manager from command line

How to know what is my window manager from Linux command line? ---------- Post updated at 02:46 PM ---------- Previous update was at 12:07 PM ---------- How to determine the display manager from command line? (1 Reply)
Discussion started by: proactiveaditya
1 Replies

4. UNIX Desktop Questions & Answers

slim window manager for a thin client

hi I'm looking for a slim and quite comfortable window manager for a unix/linux thin client? (5 Replies)
Discussion started by: ccc
5 Replies

5. UNIX Desktop Questions & Answers

Slimmest Window Manager

Hi Which is the absolutely slimmest window manager Window Manager? THX (3 Replies)
Discussion started by: ccc
3 Replies

6. Red Hat

Window manager on Fedora

Hi eveybody, I want to install fedora on my personal laptop, but I dont want to use any graphical desktop environment, this way i will force myself to learn more. I want to install wm2 which i used to work with it on debian a couple of yeras ago, so is there any instruction that how I can do this?... (3 Replies)
Discussion started by: messi777
3 Replies

7. Fedora

Window Manager

Hi guys, I want to get back to my old days and re-obtain my unix skills, I remember I installed a window manager wmii / wmii2 /mwm on my debian and started to learn unix/linux and now after some years not touching it and having to deal with gnome on redhat (because of my work) I feel like very... (6 Replies)
Discussion started by: messi777
6 Replies
Tk_MoveToplevelWindow(3)                                       Tk Library Procedures                                      Tk_MoveToplevelWindow(3)

__________________________________________________________________________________________________________________________________________________

NAME
Tk_MoveToplevelWindow - Adjust the position of a top-level window SYNOPSIS
#include <tk.h> Tk_MoveToplevelWindow(tkwin, x, y) ARGUMENTS
Tk_Window tkwin (in) Token for top-level window to move. int x (in) New x-coordinate for the top-left pixel of tkwin's border, or the top-left pixel of the decorative border supplied for tkwin by the window manager, if there is one. int y (in) New y-coordinate for the top-left pixel of tkwin's border, or the top-left pixel of the decorative border supplied for tkwin by the window manager, if there is one. _________________________________________________________________ DESCRIPTION
In general, a window should never set its own position; this should be done only by the geometry manger that is responsible for the win- dow. For top-level windows the window manager is effectively the geometry manager; Tk provides interface code between the application and the window manager to convey the application's desires to the geometry manager. The desired size for a top-level window is conveyed using the usual Tk_GeometryRequest mechanism. The procedure Tk_MoveToplevelWindow may be used by an application to request a particular position for a top-level window; this procedure is similar in function to the wm geometry Tcl command except that negative offsets cannot be speci- fied. It is invoked by widgets such as menus that want to appear at a particular place on the screen. When Tk_MoveToplevelWindow is called it does not immediately pass on the new desired location to the window manager; it defers this action until all other outstanding work has been completed, using the Tk_DoWhenIdle mechanism. KEYWORDS
position, top-level window, window manager Tk Tk_MoveToplevelWindow(3)
All times are GMT -4. The time now is 12:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy