Displaying 20 results from an estimated 2000 matches similar to: "Getting items to fill a column"
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
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
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 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
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
2008 Aug 18
3
FXRuby FXScintilla question
Hello,
I have started learning FXRuby about 2 weeks ago. Now I''m trying to
launch the scintilla_test.rb from the fxruby-1.6 installation directory
(/usr/lib/ruby/gems/1.8/gems/fxruby-1.6.16/examples) and get this
error: /usr/lib/ruby/gems/1.8/gems/fxruby-1.6.16/lib/fox16/kwargs.rb:2007:in `old_initialize'': wrong number of arguments (8 for 0) (ArgumentError)
from
2008 Jul 12
4
problem
Hi -- I just got your book FXRuby and am trying to get it working on Leopard
-- I had no problems getting it to work on Vista or Ubuntu but when I tried
to follow the post on your blog for Leopard I got the following error -- I
don''t know enough about Leopard or Ruby for that matter to troubleshoot this
myself so I was hoping someone may have run into this before and can offer a
solution.
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
2009 Oct 20
8
Pre-release FXRuby binary gems for testing
All,
A couple of new build platforms have come into the picture since the
last FXRuby release and I''m trying to make sure they''re supported.
That is to say, I want to be able to provide precompiled binary gems
so that users on those platforms don''t have to build everything from
source. I think I''m there, but I could use your help testing if you
have
2008 May 23
4
problem with non-focused fxruby gui freezing or blanking out.
I find that when a running fxruby program looses focus or another window is
placed in front of it, when the fxruby window regains focus, many times the
gui is now frozen or blank.
This seems to happen especially frequently when the window covering it is a
java or fox based application.
Usually it comes back but sometimes it takes several minutes to do so.
I would really like to find someway
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 ''onclick received''}
...
What is it that I''m missing?
2010 Apr 09
2
Problem detecting keypresses in FXTable
I''m using an RXTable in my application and I would like to be able to
select a row and then press the Delete key to delete the selected row.
This does not seem to work, however, as apparently keypresses are not
initially recognized. In my FXTable derived class I have:
connect(SEL_KEYRELEASE) do |sender, selector, event|
puts "code = #{''%X'' %
2008 Apr 14
3
Copy-paste between FXTable and FXTextfield
Hi,
I''m using FXRuby 1.6.13 under Windows XP / Ruby 1.8.6.
I''ve noticed something strange when copying-pasting things between
FXTable cells, and FXTextfields.
----------------------------------------------
1) When copying the content of an FXTextfield, and pasting it into an
FXTable cell, everything works fine.
2) When selecting an FXTable cell, issuing a "copy"
2007 Apr 26
3
FXSplitter width is 1 until created
Why is the width of an FXSplitter equal to 1 before the
FXSplitter#create method is called?
My splitter is configured to have LAYOUT_FILL_X, so wouldn''t its width
be determined before its children were created?
It''s not really a big deal, but I was configuring the split based on a
preferences file during initialize, and couldn''t make it work properly.
Doing it in
2008 Mar 11
4
Dropping Root
Hello Campers
I''m not sure this is the right list to ask but:
I''m using the junebug wiki (which is written in camping) for my own personal wiki. I''d like it to behave as a proper daemon, so it will start up at boot, get stopped properly at shutdown, keep a pid file in /var/run etc.
This requires a little messing with the wiki script junebug makes in the wiki
2006 Nov 13
4
Trouble Renaming Computer
Hi,
i've just migrated from nt4 to samba 3.0.10-1.4E.9 with tdbsam, running
on Centos 4.4
The net rpc vampire went fairly smoothly.
Now that samba is running as the PDC (nt4 machine has been laid to rest)
i am having trouble renaming computers in the domain.
If i try this from the windows workstation (XP Professional) i get
access denied. I use "root" or administrator which is
2008 Sep 06
0
Tab control using FXRuby
In the sample program below I have a form of 6 text fields, in a scrolling
window, followed by a row of function buttons.
Problems:
1) For data entry purposes I''d like the function buttons NOT to be entered
by pressing Tab keys, and retain their ''clickability'', but when the user
Tab''s out of the last scrolling field (postcode) to have the form scroll to
the
2007 Apr 25
6
Running something periodically.
Suppose, for a moment, that I have a Camping app. It looks at
something, like an RSS feed of upcoming events, and displays them if
they meet a specified criterion. I look at the index page, it fetches
the feed items and then displays them. Yay. Maybe it also writes them
to a database.
Which is great, so long as I keep looking at the page every so often.
But what do I do while I''m
2010 Aug 04
16
Moving On
Cross-posted to the blog (at
http://lylejohnson.name/blog/2010/08/04/moving-on/):
When Jamis Buck wrote last year about ceasing development on
Capistrano, his post really struck a chord with me. If this post
reminds you of that one, it''s because I re-read it before sitting down
to compose this one. It was the next best thing to having Jamis on
hand to give me a pep talk before I had to
2010 Jul 09
8
Repository of sample FXRuby programs?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>Repository of sample FXRuby programs?</title>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
body {