Displaying 2 results from an estimated 2 matches for "fximagefram".
Did you mean:
fximageframe
2008 Mar 25
2
FXImageFrame/SEL_LEFTBUTTONRELEASE
Hi,
I have a FXImageFrame widget and I would like it to show another image when
I click on it.
I''m having no luck with receiving a onclick via SEL_LEFTBUTTONRELEASE.
...
imageframe=FXImageFrame.new(mainwindow,the_image,LAYOUT_EXPLICIT,0,0,20,20)
imageframe.connect(SEL_LEFTBUTTONRELEASE) {p '...
2006 Apr 10
1
Display an arrow, or transparent image colors
...oblem: I want a FXHorizontalFrame to contain, from left to
right, (1) a FXTextField, (2) the arrow, pointing from to the right, (3)
a FXDial.
I figured I can display the Arrow using a .png image containing a red
arrow on transparent background, loading that image using FXPNGIcon, and
display it in FXImageFrame. Example code:
require "fox14"
include Fox
app = FXApp.new
window = FXMainWindow.new(app, "Demo")
window.place(PLACEMENT_SCREEN)
hframe = FXHorizontalFrame.new(window)
file_display = FXTextField.new(hframe, 40, nil, 0, LAYOUT_CENTER_Y)
file_display.text = "SoundFile.wa...