Thread: Change text font to greater one in this very good MOTIF texteditor ?

  1. #1
    Registered User
    Join Date
    Feb 2019
    Posts
    6

    Change text font to greater one in this very good MOTIF texteditor ?

    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 font of this editor is to small.
    I am at this point of knowledge not able to find the position in the code to CHANGE THE FONT SIZE.
    Can someone help ???

    Kindly Regards
    SM

    HERE IS THE SOURCE CODE :

    see attachement file

    Attached Files Attached Files

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    37,530
    Find all the places where scrolledtext is mentioned, as that seems to be the thing doing all the work.

    For each function which makes use of it, read the respective documentation to see if there is any mention of font.
    Don't forget to follow up on any "see also" references which might lead to what you want.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Feb 2019
    Posts
    6
    hi salem , i got it.
    You can start the application from terminal with :
    ./texteditor -xrm "*fontList: variable"

    he he he

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How change console default font
    By Alguek in forum Windows Programming
    Replies: 4
    Last Post: 08-06-2013, 10:18 AM
  2. Idc_static font change
    By Prads in forum Windows Programming
    Replies: 6
    Last Post: 03-13-2010, 03:02 AM
  3. Change Font Size
    By strokebow in forum Windows Programming
    Replies: 1
    Last Post: 03-30-2009, 12:01 PM
  4. How to Change Text File Font Size
    By space in forum Windows Programming
    Replies: 3
    Last Post: 08-07-2006, 11:42 PM
  5. How do u change font sizein C??
    By haku87 in forum C Programming
    Replies: 4
    Last Post: 02-22-2005, 10:43 PM

Tags for this Thread