Displaying 1 result from an estimated 1 matches for "dumpfontdesc".
2005 Dec 01
1
Can''t add text to FXCanvas
...ny help.
class PlotterWindow < FXMainWindow
def initialize(app)
# Invoke base class initialize first
super(app, "Plotter", nil, nil, DECOR_ALL, 0, 0, 500, 700)
@color4 = FXColor::LightBlue1
@color5 = FXColor::Blue
@font = FXFont.new(app,"times",14)
dumpFontDesc("Initial Font", at font.getFontDesc)
# @font.setFont("courier,140")
# Dialogs for later use
colorDialog = FXColorDialog.new(self, "Color Dialog")
# Create a font dialog for later use
@fontDialog = FXFontDialog.new(self, "Axis Font Dialog")...