search for: layout_side_bottom

Displaying 3 results from an estimated 3 matches for "layout_side_bottom".

2009 Jun 23
9
Learning FXRuby please help!
Hi all, I''m trying to get text on to the screen in response to pressing a button. This code doesn''t work, and I don''t know why. My puts command says that the window is shown, but it''s not displayed. Also, it seems to me that there should be an easier way to get text on a screen in response to pressing a button. Any hints? Thanks! Marlene require
2007 Aug 24
2
setting the font in FXText
...works as expected: # A little dialog box to use in our tests class FXTextDialog < FXDialogBox def initialize(owner) # Invoke base class initialize function first super(owner, "Temp", DECOR_TITLE|DECOR_BORDER, 0, 0, 200, 200) button = FXHorizontalFrame.new(self, LAYOUT_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(...
2005 Dec 01
1
Can''t add text to FXCanvas
...ialog.new(self, "Color Dialog") # Create a font dialog for later use @fontDialog = FXFontDialog.new(self, "Axis Font Dialog") # Create a tooltip so we get tool tips for things in this window FXToolTip.new(self.getApp()) statusbar = FXStatusBar.new(self, LAYOUT_SIDE_BOTTOM|LAYOUT_FILL_X|STATUSBAR_WITH_DRAGCORNER) #BUTTONS @rightFrame = FXVerticalFrame.new(self, LAYOUT_SIDE_TOP|LAYOUT_SIDE_RIGHT|LAYOUT_FILL_Y) FXVerticalSeparator.new(self, LAYOUT_SIDE_RIGHT|LAYOUT_FILL_Y|SEPARATOR_GROOVE) colorButton = FXButton.new(@rightFrame, "&...