search for: fxfont

Displaying 4 results from an estimated 4 matches for "fxfont".

Did you mean: xfont
2007 Aug 24
2
setting the font in FXText
...SIDE_BOTTOM|FRAME_NONE|LAYOUT_FILL_X|PACK_UNIFORM_WIDTH) contents = FXHorizontalFrame.new(self, LAYOUT_SIDE_TOP|FRAME_NONE|LAYOUT_FILL_X|LAYOUT_FILL_Y|PACK_UNIFORM_WIDT H) @fxtext = FXText.new(contents, nil, 0, TEXT_READONLY|TEXT_WORDWRAP|LAYOUT_FILL_X|LAYOUT_FILL_Y) @fxtext.font = FXFont.new(getApp(), "courier", 8) # Ok button ok = FXButton.new(button, "OK", nil, self, ID_CANCEL, FRAME_RAISED|FRAME_THICK|LAYOUT_CENTER_X|LAYOUT_CENTER_Y|LAYOUT_FILL_X) ok.setDefault ok.setFocus end end However, when I add the following method to FXTextDial...
2008 May 18
8
FXTable::fitColumnsToContents
On May 17, 2008, at 6:54 AM, David Toll wrote: > I tried to submit the following message to the "fxruby-users" > message board (I clicked the link to send it as an email to fxruby-users at rubyforge.org > , but the message did not appear). I conclude I do not know how to > submit questions to this message board. You need to be subscribed to the mailing list before you
2005 Dec 01
1
Can''t add text to FXCanvas
...ram that shows this problem. Thanks for any 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 = FXFon...
2008 Sep 06
0
Tab control using FXRuby
...initilize def create super show(PLACEMENT_SCREEN) end # create end # class MainWindow # ============= main prog ============ # Construct an application theApp = FXApp.new(''Smithy'',''Max'') # Construct the main window theApp.normalFont = FXFont.new(theApp,''Adobe Courier'',12,FONTWEIGHT_BOLD) # define default display FONT for this application MainWindow.new(theApp) # Create and show the application windows theApp.create # Run the application theApp.run # ============= end ============ -- View this mes...