mfont(3m17n) The m17n Library mfont(3m17n)NAME
mfont - Create a new font.
SYNOPSIS
MFont* mfont ()
DESCRIPTION
Create a new font. The mfont() function creates a new font object that has no property.
RETURN VALUE
This function returns a pointer to the created font object.
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 mfont(3m17n)
Check Out this Related Man Page
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)
This one is a bit of bugger and I'm not sure if it's entirely relevant to this board but here goes...
I'm trying to produce some fixed width output to a List widget (X11/Motif GUI) So, I use something similar to:
sprintf(Buffer, "%*d%*f", 20, some_integer, 20, some_float);
This gives me a... (0 Replies)
Hi,
i remember that when programming for Windows i used the MessageBox function,which blocked my application until the user made his/her choice.
So,that function returned only after this choice.
Now i'm using the QuestionDialog widget in motif,and i would like to have that behaviour:is there... (1 Reply)
Hi All,
I'm trying to write a simple if statement in TCSH and I honestly can't figure out what I'm doing wrong. I've played around with all sorts of permutations of syntax.
if ($DESKTOP_SESSION == "kde") then
replace "forceFontDPI=0" "forceFontDPI=96" --... (0 Replies)
Hall0 Team,
I need you help. I have a .csv file called Pax.csv. It has 13 fields
The fields that i am interested in is field 7, field 10(CallDuration),field 12 and field 13(TelkomAsif)
Field 12(Cost) is affected by what is on field 7(CallType)
if field7= VoIS Community Sharecall then Cost... (14 Replies)
Hallo Team and happy Friday,
I have a .csv file attached called MHG_Only_Billing_only_great_201408_SummaryDetails.csv
The file is as below:
$ cat MHG_Only_Billing_only_great_201408_SummaryDetails.csv... (1 Reply)
Hallo Team,
I need you you help. I need to sum up all the columns in a .csv file. Lets call the file file1.csv and it looks like below:
$ cat file1.csv... (2 Replies)
Hi,
i have here found a very good texteditor source code programmed in the MOTIF GUI language.
For myself i need NOTHING else to program.
To start from a very easy point of view i want to RUN this editor on my LINUX machine and type simple C code.
The reason for this post is that the text... (7 Replies)