unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* frame "Object" name
@ 2003-01-24  5:20 matt
  2003-01-24 12:41 ` Kai Großjohann
  2003-01-24 12:45 ` Christopher J. White
  0 siblings, 2 replies; 5+ messages in thread
From: matt @ 2003-01-24  5:20 UTC (permalink / raw)


How fo I find a frame's object name to test it using a function like 
`frame-live-p'?

TIA -- Matt
-- 
Remove the X's to reply directly.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: frame "Object" name
  2003-01-24  5:20 frame "Object" name matt
@ 2003-01-24 12:41 ` Kai Großjohann
  2003-01-24 12:45 ` Christopher J. White
  1 sibling, 0 replies; 5+ messages in thread
From: Kai Großjohann @ 2003-01-24 12:41 UTC (permalink / raw)


matt <nwzmattXX@XXnetscape.net> writes:

> How fo I find a frame's object name to test it using a function like
> `frame-live-p'?

selected-frame is a function which returns the currenly selected
frame (ie, the one that has focus, I think).  Does this help?
-- 
Ambibibentists unite!

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: frame "Object" name
  2003-01-24  5:20 frame "Object" name matt
  2003-01-24 12:41 ` Kai Großjohann
@ 2003-01-24 12:45 ` Christopher J. White
  2003-01-24 13:54   ` David S Goldberg
  2003-01-24 18:47   ` Matt
  1 sibling, 2 replies; 5+ messages in thread
From: Christopher J. White @ 2003-01-24 12:45 UTC (permalink / raw)


>>>>> "matt" == matt  <nwzmattXX@XXnetscape.net> writes:

matt> How fo I find a frame's object name to test it using a function like
matt> `frame-live-p'?

Which frame do you want? 

  (selected-frame) - current frame 
  (window-frame WINDOW) - frame associated with a given window

...cj

-- 
------------------------------------------------------------------------------
 Christopher J. White                                    chris@grierwhite.com
------------------------------------------------------------------------------ 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: frame "Object" name
  2003-01-24 12:45 ` Christopher J. White
@ 2003-01-24 13:54   ` David S Goldberg
  2003-01-24 18:47   ` Matt
  1 sibling, 0 replies; 5+ messages in thread
From: David S Goldberg @ 2003-01-24 13:54 UTC (permalink / raw)


Or mapcar your function across (frame-list).
-- 
Dave Goldberg
david.goldberg6@verizon.net

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: frame "Object" name
  2003-01-24 12:45 ` Christopher J. White
  2003-01-24 13:54   ` David S Goldberg
@ 2003-01-24 18:47   ` Matt
  1 sibling, 0 replies; 5+ messages in thread
From: Matt @ 2003-01-24 18:47 UTC (permalink / raw)




Christopher J. White wrote:
>>>>>>"matt" == matt  <nwzmattXX@XXnetscape.net> writes:
>>>>>
> 
> matt> How fo I find a frame's object name to test it using a function like
> matt> `frame-live-p'?
> 
> Which frame do you want? 
> 
>   (selected-frame) - current frame 
>   (window-frame WINDOW) - frame associated with a given window
> 

Those both work. Thanks. What I was realy trying to do(I just didn't 
know it yet) is to create a frame and assign it's object to a variable. 
After looking at the docs for `new-frame' a little more I realized that 
I could just do:

	(setq frm-name (new-frame))


-- Matt
-- 
Remove the X's to reply directly.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-01-24 18:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-24  5:20 frame "Object" name matt
2003-01-24 12:41 ` Kai Großjohann
2003-01-24 12:45 ` Christopher J. White
2003-01-24 13:54   ` David S Goldberg
2003-01-24 18:47   ` Matt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).