Sponsored Content
Full Discussion: Motif gui programming !
Top Forums UNIX for Beginners Questions & Answers Motif gui programming ! Post 303040095 by Neo on Wednesday 23rd of October 2019 04:29:57 AM
Old 10-23-2019
Quote:
Originally Posted by Sennenmut
Hi , the problem is solved. I have installed CLANG compiler , that works.
I have Sparky Linux OS.

Windowsmanager. I dont know what that is.
Then see this reference, and learn something new:

Motif Window Manager - Wikipedia

and see also:

Window manager - Wikipedia

Quote:
A window manager is system software that controls the placement and appearance of windows within a windowing system in a graphical user interface. Most window managers are designed to help provide a desktop environment. They work in conjunction with the underlying graphical system that provides required functionality-support for graphics hardware, pointing devices, and a keyboard, and are often written and created using a widget toolkit.

Few window managers are designed with a clear distinction between the windowing system and the window manager. Every graphical user interface based on a windows metaphor has some form of window management. In practice, the elements of this functionality vary greatly. Elements usually associated with window managers allow the user to open, close, minimize, maximize, move, resize, and keep track of running windows, including window decorators. Many window managers also come with various utilities and features: e.g. docks, task bars, program launchers, desktop icons, and wallpaper.
Hopefully, you know what a window manager is now Smilie

From above:

Every graphical user interface based on a windows metaphor has some form of window management.

So, you should probably learn and know what a window manager is, since you are using MOTIF .... Smilie
 

10 More Discussions You Might Find Interesting

1. Programming

GUI programming

I am a newbie to the *nix developer community, and was wondering if anyone has any good links on the subject of GUI programming in the X environment. Any suggestion is welcome =). (2 Replies)
Discussion started by: Solitare
2 Replies

2. Programming

Motif

Do you think that Motif programming is old...should I learn it... (3 Replies)
Discussion started by: CreamHarry
3 Replies

3. Programming

motif help

Hi everyone, I am new in motif programming and I want to learn how to program it. I use Fedora core 3 and every time I compile the program, there are always some errors appear. One of the errors said that I do not have the Xm/xxxx.h However, I do not know precisely how to install header files. I... (0 Replies)
Discussion started by: qqq
0 Replies

4. UNIX for Dummies Questions & Answers

If a is windows gui ( client), b is a unix gui ( Server for a) and c is a shell scrip

Hello all, 1) I want to have a GUI application that will call Unix shell scripts, 2) that GUI application should be able to reside on windows ( if possible) and then call Unix shell script either directly or through a server residing on unix. That is for example. If a is windows gui (... (1 Reply)
Discussion started by: hchivukula
1 Replies

5. Solaris

Motif 2.1 migration from Motif 1.2

An application was getting built using Motif 1.2 that used come along Solaris 6 OS for compiling and linking. Application is run using Motif 2.1 on Solaris 10 and it is working fine. Application compilation and linking is working fine on Solaris 10 with Motif 2.1.0 but running the application... (0 Replies)
Discussion started by: shafi2all
0 Replies

6. Programming

Python gui or C++ gui or java gui?

python gui or c++ gui or java gui? and when to use etch one? (1 Reply)
Discussion started by: kaja
1 Replies

7. Programming

MOTIF programming and X11 client !

Hi there , i am interesting in MOTIF programming. One question : Is it right that in Motif GUI programming the actions are automaticly transformed and networked to other clients over the internet without network programming necessary ? Are the commands automatic transformed by the X11... (4 Replies)
Discussion started by: Zabo
4 Replies

8. UNIX for Beginners Questions & Answers

Wanna learn native GUI programming in UNIX - Linux ?

Hi , wanna learn native GUI programming in Unix-Linux instead of Gtk and Qt. No problem. You don't need a cross platform Gui toolkit like Gtk and Qt. And the code and syntax is also not more or less than others. Check out this code for a simple mainwindow for your application that is openend in... (0 Replies)
Discussion started by: Sennenmut
0 Replies

9. UNIX for Beginners Questions & Answers

I'll be a professional MOTIF GUI programmer.

I'll be a professional MOTIF GUI programmer. And nothing will stop me. Nothing. :) (5 Replies)
Discussion started by: Sennenmut
5 Replies

10. UNIX for Beginners Questions & Answers

Motif GUI example. UNIX executable ready.

Motif GUI example. Unix executable ready. Hi , i have attached my executable GUI example file in form of a .gz file. please gunzip file before. May i ask you for check it out that it is running on your machine ? You should have "Motif" package installed. when you klick the unix executable... (4 Replies)
Discussion started by: Sennenmut
4 Replies
XMoveResizeWindow()													       XMoveResizeWindow()

Name
  XMoveResizeWindow - change the size and position of a window.

Synopsis
  XMoveResizeWindow(display, w, x, y, width, height)
	Display *display;
	Window w;
	int x, y;
	unsigned int width, height;

Arguments
  display  Specifies a connection to an X server; returned from XOpenDisplay().

  w	   Specifies the ID of the window to be reconfigured.

  x	   Specify the new x and y coordinates of the upper-left pixel of the window's border, relative to the window's parent.
  y
  width    Specify the new width and height in pixels.	These arguments define the interior size of the window.
  height
Description
  XMoveResizeWindow()  moves  or resizes a window or both.  XMoveResizeWindow() does not raise the window.  Resizing a mapped window may lose
  its contents and generate an Expose event on that window depending on the bit_gravity attribute.  Configuring a window may  generate	expo-
  sure events on windows that the window formerly obscured, depending on the new size and location parameters.

  If  the  override_redirect  attribute  of  the  window  is  False (see Volume One, Chapter 4, Window Attributes) and the window manager has
  selected SubstructureRedirectMask on the parent, then a ConfigureRequest event is sent to the window manager, and no further processing  is
  performed.

  If  a  client  has  selected	StructureNotifyMask  on the window, then a ConfigureNotify event is generated after the move and resize takes
  place, and the event will contain the final position and size of the window.	This is only useful in the case of top-level  windows,	since
  the window manager may modify or prevent them being moved or resized.

Errors
  BadValue
  BadWindow

See Also
  XCirculateSubwindows(),  XCirculateSubwindowsDown(),	XCirculateSubwindowsUp(),  XConfigureWindow(), XLowerWindow(), XMoveWindow(), XQuery-
  Tree(), XRaiseWindow(), XReparentWindow(), XResizeWindow(), XRestackWindows().

Xlib - Window Manipulation												       XMoveResizeWindow()
All times are GMT -4. The time now is 03:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy