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
mface_put_prop(3m17n) The m17n Library mface_put_prop(3m17n)NAME
mface_put_prop - Set a value of a face property.
SYNOPSIS
int mface_put_prop (MFace * face, MSymbol key, void * val)
DESCRIPTION
Set a value of a face property. The mface_put_prop() function assigns val to the property whose key is key in face face. key must be one
the followings:
Mforeground, Mbackground, Mvideomode, Mhline, Mbox, Mfoundry, Mfamily, Mweight, Mstyle, Mstretch, Madstyle, Msize, Mfontset, Mratio,
Mhook_func, Mhook_arg
Among them, font related properties (Mfoundry through Msize) are used as the default values when a font in the fontset of face does not
specify those values.
The actual type of the returned value depends of key. See documentation of the above keys.
RETURN VALUE
If the operation was successful, mface_put_prop() returns 0. Otherwise it returns -1 and assigns an error code to the external variable
merror_code.
SEE ALSO
mface_get_prop()
ERRORS
MERROR_FACE
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 mface_put_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)