Mercurial > emacs
comparison src/macfns.c @ 53844:0093eae529e8
macfns.c, w32fns.c (Fx_change_window_property):
Make doc string and parameters same as for X version.
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Sat, 07 Feb 2004 17:17:20 +0000 |
parents | 21301d0e0505 |
children | 6c8849d06ab3 |
comparison
equal
deleted
inserted
replaced
53843:86085872de07 | 53844:0093eae529e8 |
---|---|
7790 /*********************************************************************** | 7790 /*********************************************************************** |
7791 Window properties | 7791 Window properties |
7792 ***********************************************************************/ | 7792 ***********************************************************************/ |
7793 | 7793 |
7794 DEFUN ("x-change-window-property", Fx_change_window_property, | 7794 DEFUN ("x-change-window-property", Fx_change_window_property, |
7795 Sx_change_window_property, 2, 3, 0, | 7795 Sx_change_window_property, 2, 6, 0, |
7796 doc: /* Change window property PROP to VALUE on the X window of FRAME. | 7796 doc: /* Change window property PROP to VALUE on the X window of FRAME. |
7797 PROP and VALUE must be strings. FRAME nil or omitted means use the | 7797 VALUE may be a string or a list of conses, numbers and/or strings. |
7798 selected frame. Value is VALUE. */) | 7798 If an element in the list is a string, it is converted to |
7799 (prop, value, frame) | 7799 an Atom and the value of the Atom is used. If an element is a cons, |
7800 Lisp_Object frame, prop, value; | 7800 it is converted to a 32 bit number where the car is the 16 top bits and the |
7801 cdr is the lower 16 bits. | |
7802 FRAME nil or omitted means use the selected frame. | |
7803 If TYPE is given and non-nil, it is the name of the type of VALUE. | |
7804 If TYPE is not given or nil, the type is STRING. | |
7805 FORMAT gives the size in bits of each element if VALUE is a list. | |
7806 It must be one of 8, 16 or 32. | |
7807 If VALUE is a string or FORMAT is nil or not given, FORMAT defaults to 8. | |
7808 If OUTER_P is non-nil, the property is changed for the outer X window of | |
7809 FRAME. Default is to change on the edit X window. | |
7810 | |
7811 Value is VALUE. */) | |
7812 (prop, value, frame, type, format, outer_p) | |
7813 Lisp_Object prop, value, frame, type, format, outer_p; | |
7801 { | 7814 { |
7802 #if 0 /* MAC_TODO : port window properties to Mac */ | 7815 #if 0 /* MAC_TODO : port window properties to Mac */ |
7803 struct frame *f = check_x_frame (frame); | 7816 struct frame *f = check_x_frame (frame); |
7804 Atom prop_atom; | 7817 Atom prop_atom; |
7805 | 7818 |