02-07-2001
Quote:
Originally posted by PxT
I dont see a question here. Do you find this behaviour unacceptable, or...? What are you asking us?
I´m sorry.
The question is: Is there a problem in export graphics that make refreshes in graphics XPM´s? Or can I consider only the network´s bandwidth?
Can I export display with parameters or something else to reduce the delay?
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hello to begin i sorry for my english because i'am french so:
someone can explain me to do a export DIPLAY with a web page (php)
i have test the php function exec (myscriptshell.sh) but he can't do the export diplay. if someone have a solution .
bye (1 Reply)
Discussion started by: the_nul
1 Replies
2. UNIX for Dummies Questions & Answers
I'm trying to open an xwindow on my Sun server. What am I doing wrong?
# echo $SHELL
/sbin/sh
#
# export DISPLAY=localhost:0.0
DISPLAY=localhost:0.0: is not an identifier
Thank you! (1 Reply)
Discussion started by: FredSmith
1 Replies
3. Shell Programming and Scripting
hi
I wanted to export the display of all directories of home with their respective subdirectories and files if any on my local pc.
this home directory is of some remote machine .
using ssh remote login and then using struct direct i can just gate name list of directories .
but not the display... (2 Replies)
Discussion started by: bhakti
2 Replies
4. Solaris
Hi Frnds,
i face a peculiar issue.
I am managing 200 Aix workstations and 20 sun boxes.
I am not anle to export the display from aix workstations to sun box,
But vice versa it is working fine.
But if i try to export the display to a sun box from other sun box it works perfectly.
Could... (3 Replies)
Discussion started by: sriram.s
3 Replies
5. HP-UX
HI,
HP-UX B.11.00 A 9000/785 (ta)
I am trying to export a display using Xming & and Telnet (not SSH) but when I try..
$ DISPLAY=192.168.1.75:0.0
$ export DISPLAY
$ xclock
and get..
Xlib: connection to "192.168.1.75:0.0" refused by server
Xlib: No protocol specified
Error:... (4 Replies)
Discussion started by: Pauly
4 Replies
6. UNIX for Advanced & Expert Users
hello frnds,
I want to export display of othe terminal to my terminal and want to post a msg, which should visible at other terminal,
I tried myself, but couldnt get it
plz help me to get solution (1 Reply)
Discussion started by: sushant.pathade
1 Replies
7. Solaris
rsh to host2 from host1 and from host2 rsh into host3
Is it possible to display a GUI from host3 through host2 and onto host1? (1 Reply)
Discussion started by: eddiet
1 Replies
8. Shell Programming and Scripting
Hi All,
I use "export DISPLAY=same_host:0.0" to set my export DISPLAY and it is working fine for me..
Problem here is I have developed a script for which i should run export DISPLAY prior to running my script....
so my script should check whether export DISPLAY is set or not.. if... (6 Replies)
Discussion started by: smarty86
6 Replies
9. UNIX for Advanced & Expert Users
Hi,
from my Windows Workstation I can connect with PUTTY to an AIX 6.1 unix server.
On AIX via PUTTY I run DBCA which has a grphical interface.
Then :
#DISPLAY=local_host:0.0 ; export DISPLAY
$(hostname) $(whoami):/appli/oracle/product/10.2.0/db_1/bin#dbca
_X11TransSocketINETConnect()... (12 Replies)
Discussion started by: big123456
12 Replies
LEARN ABOUT REDHAT
tk_getgc
Tk_GetGC(3) Tk Library Procedures Tk_GetGC(3)
__________________________________________________________________________________________________________________________________________________
NAME
Tk_GetGC, Tk_FreeGC - maintain database of read-only graphics contexts
SYNOPSIS
#include <tk.h>
GC
Tk_GetGC(tkwin, valueMask, valuePtr)
Tk_FreeGC(display, gc)
ARGUMENTS
Tk_Window tkwin (in) Token for window in which the graphics context will be used.
unsigned long valueMask (in) Mask of bits (such as GCForeground or GCStipple) indicating which fields of *valuePtr are valid.
XGCValues *valuePtr (in) Pointer to structure describing the desired values for the graphics context.
Display *display (in) Display for which gc was allocated.
GC gc (in) X identifier for graphics context that is no longer needed. Must have been allocated by Tk_GetGC.
_________________________________________________________________
DESCRIPTION
Tk_GetGC and Tk_FreeGC manage a collection of graphics contexts being used by an application. The procedures allow graphics contexts to be
shared, thereby avoiding the server overhead that would be incurred if a separate GC were created for each use. Tk_GetGC takes arguments
describing the desired graphics context and returns an X identifier for a GC that fits the description. The graphics context that is
returned will have default values in all of the fields not specified explicitly by valueMask and valuePtr.
Tk_GetGC maintains a database of all the graphics contexts it has created. Whenever possible, a call to Tk_GetGC will return an existing
graphics context rather than creating a new one. This approach can substantially reduce server overhead, so Tk_GetGC should generally be
used in preference to the Xlib procedure XCreateGC, which creates a new graphics context on each call.
Since the return values of Tk_GetGC are shared, callers should never modify the graphics contexts returned by Tk_GetGC. If a graphics con-
text must be modified dynamically, then it should be created by calling XCreateGC instead of Tk_GetGC.
When a graphics context is no longer needed, Tk_FreeGC should be called to release it. There should be exactly one call to Tk_FreeGC for
each call to Tk_GetGC. When a graphics context is no longer in use anywhere (i.e. it has been freed as many times as it has been gotten)
Tk_FreeGC will release it to the X server and delete it from the database.
KEYWORDS
graphics context
Tk Tk_GetGC(3)