similar to: FXDialogBox and the destroy and close methods

Displaying 20 results from an estimated 100 matches similar to: "FXDialogBox and the destroy and close methods"

2005 Dec 22
1
FxTopWindow problem
I have an fxRuby GUI app that I am having problems with. I want to bring up a help window from the main window when someone selects a help/help from the help menu. I have created a helpWindow that inherits from FXDialogBox. It has an FXMenuBar, FXStatusBar, and an FXtext which gets filled with help text from a file. When the help/help menu is selected from the main window, I make a new helpWindow,
2008 Jan 12
3
Is there a way to handle window (FXDialogBox) "close event" (or any other event/message)?
I cannot figure out how to call a function (or have a block executed) when a FXDialogBox closes (to have some program variables set from the text-fields in the dialog). Also, how do I close the dialog box when user presses Enter in some text-field, I know how to handle Enter key-press but not how to send message to the FXDialogBox window). Vlad PS: I searched and tried but still failing.
2007 Aug 24
2
setting the font in FXText
I have subclassed a FXDialogBox and put a FXText in it for displaying a hex dump in my application. I want to change the font to a courier type font since it''s a hex dump. When do the following it 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,
2005 Dec 01
1
Can''t add text to FXCanvas
I have a ruby program that uses a FXCanvas, and I have attached a FXDCWindow to control it. It lets me draw lines, rectangles and ellipses, but not text. If I attempt to draw text, I get the following error This application has requested the Runtime to terminate it in an unusual way. Please contact the application''s support team for more information. >Exit code: 3 I also get this
2006 Mar 07
5
FXProgressDialog trouble
Hey all, I''m having trouble with FXProgressDialog-- I''m trying to use it to show the progress of a file upload.. I am running the upload in a separate thread that calls the dialog''s destroy method when its done.. the dialog closes, but the application remains non-responsive (as if its still in the execute loop). I''ve tried sending ID_ACCEPT to the dialog with
2006 Mar 29
2
intercepting messages from FXScrollBar toFXScrollArea
Hello Lyle, the Task, I want to accomplish: I''ve created a little app that is used on a PC with a touch screen. To ease hitting the keys, the keys and the scrollbars are really big (45 pixels). So the ScrollCorner is also really big and I just wanted to use this space by moving the ScrollDown Botton down to the position of the ScrollCorner (like the attachment shows) The code looks like
2010 Jul 31
2
Non-modal FXMessageBox
Is there a way to make FxMessageBox non-modal? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20100731/bd63db58/attachment-0001.html>
2012 Mar 08
5
FXRuby 1.6.23 released
Hi fxruby hackers, new version 1.6.23 is out with the following changes. Unfortunately the fxruby.org homepage is down and I don''t have access to it. Therefore I''ve moved the documentation to http://rubydoc.info/github/larskanis/fxruby/1.6/frames and converted to yard. Have fun! === 1.6.23 / 2012-03-08 * Add YARD documentation support * Use generated Manifest.txt * Support
2005 Feb 18
2
Fixed column widths in FXTable?
Is there a way to make an FXTable''s column widths (and row heights) unchangeable by the user? By experimentation it looks to me like leaving out TABLE_COL_SIZABLE and TABLE_ROW_SIZABLE from the options field in FXTable.new() has no effect. I can still drag the intersection between two column heading buttons to change the column width. The code I''m using to test this is
2005 Mar 23
2
FXListBox size behavior?
The default behavior of FXListBox seems to be to grow and shrink in width depending on the length of the selected entry in the list. This is a problem when the list contains items of varying width, because if a short item is picked then the longer entries are obscured in the drop-down list. Is this deliberate, an oversight, or a bug? Its certainly not how I''d choose it to act. Is
2008 Jun 04
0
"invest" applet in centos 5.1 seems to be inoperative
Hello! I figured it'd be interesting to see a miniature graph of the Dow Jones on my panel bar. Unfortunately, it doesn't appear to do anything, and the preferences for it isn't helpful (it already has DJIA). So, any suggestions on how to get it to work? Regards, Charles Campbell
2005 May 18
1
-x option inoperative with "bind" mounts
Hello, I have this mount defined in /etc/fstab: /backup/current/usr/local/share/premier /var/www/g5/trunk/Naxos none bind,ro When I backup /var with rsync using (among other) the -x option (one filesystem) then the whole contents of /backup/current/usr/local/share/premier are also backed up as they are mounted on /var/www/g5/trunk/Naxos. Is this expected behavior? I thought -x would exclude
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
2005 Apr 05
0
Connecting messages to methods
Hi all. I''m trying to write a subclass of FXMainWindow which has several methods to dispatch events. The class looks like this: -- require "fox12" require "fox12/responder" include Fox class Window < FXMainWindow include Responder ID_SELF, ID_BTN = enum(FXMainWindow::ID_LAST, 2) def initialize(a, title) super(a, title, nil, nil, DECOR_ALL, 0, 0, 640,
2008 Feb 08
2
Dynamic resize of drawing canvas and FXImage
How can I use the drawing canvas and its off-screen image buffer, say FXImage, to dynamically resize or have its width and height attributes changed in reply to user interaction with the main window (FXMainWindow)? It seems that whem I put initial values to W and H of the canvas or FXImage, they remain with its initial values no matter what I do whem resizing the main window. -- Ranieri Barros
2008 Oct 27
2
Using BUTTON_TOOLBAR
Hi, folks. I''m trying to make a toolbar with buttons that change appearance when hovered over with the mouse. The docs on FXButton say that using BUTTON_TOOLBAR "causes the edge of the button to be raised when the cursor moves over it." What I''m getting is buttons without any frame, but they do not change appearance when the cursor moves over them. I''m
2017 Jul 12
2
ThinLTO and the C API
Our ThinLTO testing was inoperative for a while, and now that it's running again, we're seeing the linker step reporting "Expected a single module." Note that our linker is using the C API to read bitcode. It looks like the ThinLTO writer now emits two modules, but AFAICT most of the APIs in BitcodeReader.cpp expect to see only one. Is this just an oversight in supporting
2005 Aug 05
3
Popup menu attached to a FXTreeItem
Hi, I''m using FXRuby 1.0 on Windows. I''d like to display a popup menu after a right click on a tree item, I cannot make it work : #-------------------- root = FXTreeList.new(parent, 1, self, 0) pop = FXMenuPane.new(parent) expandCmd = FXMenuCommand.new(pop, "Expand", nil, app) expandCmd.connect(SEL_COMMAND) { root.currentItem.expanded=(true) }
2006 Oct 08
1
autoprobe for nVidia 6200 broken
I have the same problem on the install disks and on the Live CD: The computer locks as soon as the Xserver starts. I end up with a blank screen (color varies) with a moving mouse cursor. Nothing else. Nothing appears on the screen. Keyboard and mouse are inoperative. Even Alt-SysRq-R doesn't work. Only way out is the reset button (or maybe SSH, but I don't have another machine handy
2005 Feb 18
5
FXTable segfaults after multiple setTableSize calls
When I empty and refill an FXTable multiple times with a large data set (10,000 rows x 1 column in the example below, around 1000 rows x 6 columns in a more complicated app), the application eventually fails with a segmentation fault. The number of repetitions required to produce the segfault is rather random, ranging from just a couple reps to 15 or 20 in some trials. The program disappears