Displaying 4 results from an estimated 4 matches for "frame_raised".
2005 Dec 01
1
Can''t add text to FXCanvas
...YOUT_SIDE_RIGHT|LAYOUT_FILL_Y)
FXVerticalSeparator.new(self,
LAYOUT_SIDE_RIGHT|LAYOUT_FILL_Y|SEPARATOR_GROOVE)
colorButton = FXButton.new(@rightFrame,
"&Colors\tOpen Color Dialog\tOpen a dialog for selecting colors",
nil, colorDialog, FXWindow::ID_SHOW,
FRAME_RAISED|FRAME_THICK|LAYOUT_FIX_WIDTH|LAYOUT_FIX_HEIGHT, 0,0, 70,
30)
fontButton = FXButton.new(@rightFrame,
"&Axes\nFont\tChoose Axis Font\tSelect a font for the Axis Display",
nil, @fontDialog, FXWindow::ID_SHOW,
FRAME_RAISED|FRAME_THICK|LAYOUT_FIX_WIDTH|LAYOUT_FIX_HEI...
2008 Oct 27
2
Using BUTTON_TOOLBAR
...;Toolbar Example",
:width => 485, :height => 300)
tool_bar_shell = FXToolBarShell.new(self)
top_dock_site = FXDockSite.new(self,
:opts => LAYOUT_FILL_X|LAYOUT_SIDE_TOP)
tool_bar = FXToolBar.new(top_dock_site, tool_bar_shell,
:opts => PACK_UNIFORM_WIDTH|FRAME_RAISED|LAYOUT_FILL_X)
new_button = FXButton.new(tool_bar,
"New File", :opts => BUTTON_TOOLBAR)
open_button = FXButton.new(tool_bar,
"Open File", :opts => BUTTON_TOOLBAR)
end
def create
super
show(PLACEMENT_SCREEN)
end
end
if __FILE__ == $0
FX...
2007 Aug 24
2
setting the font in FXText
...UT_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 FXTextDialog and call it I
get a Seg Fault!:
def set_font()
@fxtext.font = FXFont.new(getApp(), "courier", 8)
end
Usage in my app...
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