search for: frame_non

Displaying 2 results from an estimated 2 matches for "frame_non".

Did you mean: frame_none
2007 Aug 24
2
setting the font in FXText
...# 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(getApp(),...
2006 Apr 10
1
Display an arrow, or transparent image colors
...ame, 40, nil, 0, LAYOUT_CENTER_Y) file_display.text = "SoundFile.wav" arrow_image = File.open("ArrowShortRightRedT.png", "rb") {|f| FXPNGIcon.new(app, f.read) } # arrow_image.options = IMAGE_ALPHACOLOR | IMAGE_ALPHAGUESS arrow = FXImageFrame.new(hframe, arrow_image, FRAME_NONE) dial = FXDial.new(hframe, nil, 0, DIAL_VERTICAL | DIAL_HAS_NOTCH | LAYOUT_FILL_Y) app.create window.show app.mainloop Using this program, my red arrow will display on black background. I had expected the background to be of the same gray as used everywhere else in the fox w...