mframe_get_prop(3m17n) The m17n Library mframe_get_prop(3m17n)NAME
mframe_get_prop - Return property value of frame.
SYNOPSIS
void* mframe_get_prop (MFrame * frame, MSymbol key)
DESCRIPTION
Return property value of frame. The mframe_get_prop() function returns a value of property key of frame frame. The valid keys and the
corresponding return values are as follows.
key type of value meaning of value
--------------------------------
Mface MFace * The default face.
Mfont MFont * The default font.
Mfont_width int Width of the default font.
Mfont_ascent int Ascent of the default font.
Mfont_descent int Descent of the default font.
In the m17n-X library, the followings are also accepted.
key type of value meaning of value
--------------------------------
Mdisplay Display * Display associated with the frame.
Mscreen int Screen number of a screen associated
with the frame.
Mcolormap Colormap Colormap of the frame.
Mdepth unsigned Depth of the frame.
COPYRIGHT
Copyright (C) 2001 Information-technology Promotion Agency (IPA)
Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License
<http://www.gnu.org/licenses/fdl.html>.
Version 1.6.2 12 Jan 2011 mframe_get_prop(3m17n)
Check Out this Related Man Page
Frame(3m17n) The m17n Library Frame(3m17n)NAME
Frame - A frame is an object corresponding to the graphic device.
Typedefs
typedef struct MFrame MFrame
Type of frames.
Functions
MFrame * mframe (MPlist *plist)
Create a new frame.
void * mframe_get_prop (MFrame *frame, MSymbol key)
Return property value of frame.
Variables
MFrame * mframe_default
The default frame.
Variables: Keys of frame parameter
These are the symbols to use in a parameter to create a frame. See the function mframe() for details.
Mdevice, Mdisplay, Mscreen, Mdrawable, Mdepth, and Mcolormap are also keys of a frame property.
MSymbol Mdevice
MSymbol Mdisplay
MSymbol Mscreen
MSymbol Mdrawable
MSymbol Mdepth
MSymbol Mcolormap
MSymbol Mwidget
MSymbol Mgd
Variables: Keys of frame property
These are the symbols to use as an argument to the function mframe_get_prop().
MSymbol Mfont
MSymbol Mfont_width
MSymbol Mfont_ascent
MSymbol Mfont_descent
Detailed Description
A frame is an object corresponding to the graphic device.
A frame is an object of the type MFrame to hold various information about each display/input device. Almost all m17n GUI functions require
a pointer to a frame as an argument.
Typedef Documentation
typedef struct MFrame MFrame
Type of frames. The type MFrame is for a frame object. Each frame holds various information about the corresponding physical display/input
device.
The internal structure of the type MFrame is concealed from an application program, and its contents depend on the window system in use. In
the m17n-X library, it contains the information about display and screen in the X Window System.
Variable Documentation
MSymbol Mdevice
MSymbol Mdisplay
MSymbol Mscreen
MSymbol Mdrawable
MSymbol Mdepth
MSymbol Mcolormap
MSymbol Mwidget
MSymbol Mgd
MSymbol Mfont
MSymbol Mfont_width
MSymbol Mfont_ascent
MSymbol Mfont_descent
MFrame* mframe_default
The default frame. The external variable mframe_default contains a pointer to the default frame that is created by the first call of
mframe().
Author
Generated automatically by Doxygen for The m17n Library from the source code.
COPYRIGHT
Copyright (C) 2001 Information-technology Promotion Agency (IPA)
Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License
<http://www.gnu.org/licenses/fdl.html>.
Version 1.6.2 12 Jan 2011 Frame(3m17n)