[Glade-users] Chaning the font size for an entire application....
- From: rhuston mitre org (Bob Huston)
- Subject: [Glade-users] Chaning the font size for an entire application....
- Date: Tue, 15 Feb 2005 09:19:02 -0500
This is a multi-part message in MIME format.
------=_NextPart_000_001E_01C5133F.63596EC0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
I have an application running on Linux 9, useing Glade to design the UI,
then libglade to load/process
the xml. The backend code is written in C++ using gtkmm.
When i design the UI screens, they are fine. When I load the XML file, then
call get_widget to put the
dialogs and windows and controls onto the screen, they have a totally
different and much larger font size
than was used during the glade session for design.
How can I change the font size used by the application at run time? I have
found sample code to change
font characteristics for a control, but I need to do it for all controls in
all windows.
Any help would be appreciated.
Thanks!
Bob
------=_NextPart_000_001E_01C5133F.63596EC0
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2800.1491" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><SPAN class=3D704401614-15022005><FONT face=3DArial size=3D2>I have =
an=20
application running on Linux 9, useing Glade to design the UI, then =
libglade to=20
load/process</FONT></SPAN></DIV>
<DIV><SPAN class=3D704401614-15022005><FONT face=3DArial size=3D2>the =
xml. The backend=20
code is written in C++ using gtkmm.</FONT></SPAN></DIV>
<DIV><SPAN class=3D704401614-15022005><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D704401614-15022005><FONT face=3DArial size=3D2>When i =
design the UI=20
screens, they are fine. When I load the XML file, then call =
get_widget to=20
put the</FONT></SPAN></DIV>
<DIV><SPAN class=3D704401614-15022005><FONT face=3DArial =
size=3D2>dialogs and windows=20
and controls onto the screen, they have a totally different and much =
larger font=20
size</FONT></SPAN></DIV>
<DIV><SPAN class=3D704401614-15022005><FONT face=3DArial size=3D2>than =
was used during=20
the glade session for design.</FONT></SPAN></DIV>
<DIV><SPAN class=3D704401614-15022005><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D704401614-15022005><FONT face=3DArial size=3D2>How =
can I change the=20
font size used by the application at run time? I have found sample code =
to=20
change </FONT></SPAN></DIV>
<DIV><SPAN class=3D704401614-15022005><FONT face=3DArial size=3D2>font =
characteristics=20
for a control, but I need to do it for all controls in all=20
windows.</FONT></SPAN></DIV>
<DIV><SPAN class=3D704401614-15022005><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D704401614-15022005><FONT face=3DArial size=3D2>Any =
help would be=20
appreciated.</FONT></SPAN></DIV>
<DIV><SPAN class=3D704401614-15022005><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D704401614-15022005><FONT face=3DArial=20
size=3D2>Thanks!</FONT></SPAN></DIV>
<DIV><SPAN class=3D704401614-15022005><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D704401614-15022005><FONT face=3DArial=20
size=3D2>Bob</FONT></SPAN></DIV></BODY></HTML>
------=_NextPart_000_001E_01C5133F.63596EC0--
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]