Displaying 20 results from an estimated 100 matches similar to: "setting the font in FXText"
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
2004 Sep 22
1
FXText with colored lines or text
Im using an FXText and want to change the color or background color of individual lines. Is there a way to do it?
I see methods called xxxxStyledText but cant find anything about them.
THis is fx from the 1.8.1 build 11 windows installer
Thanks
Paul
2013 Jan 03
0
FXText syled text bug
Please go here: https://github.com/larskanis/fxruby/issues/2 I''ve created that issue in the FXRuby bug tracker, Lars Kanis, then maintainer says:
"This is actually a bug in the fox toolkit. If you set the FXText to styled=true, then the memory needed for getStyle is allocated. If not libfox crashes.May you open a bug report on fox-toolkit? I''m a bit busy currently."
2008 May 06
1
Wrap text inside an FXTable cell?
Hi,
Is it possible to wrap text inside an FXTable cell, just like it is
possible with an FXText object? I''d like to display and edit multi-line
text inside an FXTable cell.
Thanks!
Philippe
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
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 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
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 28
6
FXTextField.connect(SEL_CHANGED)
When I do an assignment to the text in a FXTextField, SEL_CHANGED is not raised.
The text is changed on the screen.
How do I detect that the text has been changed and/or ... how do I raise SEL_CHANGED?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20100728/e0d169e5/attachment.html>
2007 May 19
3
table with no row headers
Is this the right way to turn off row headers?
table.rowHeaderMode = LAYOUT_FIX_WIDTH
table.rowHeaderWidth = 0
--
vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407
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
2010 Jul 19
0
HTML widget?
From
FXRuby
Create Lean and Mean GUIs with Ruby
- - -
A serious shortcoming of FOX and FXRuby is the lack of a widget that
can display HTML or rich text. The FXText widget is definitely not that
kind of widget, although it provides some minimal support for ?styled?
text.
- - -
Does such a widget exist yet? I did a Google search and the last time I could find the question asked and answered
2006 Sep 22
1
A problem about updating an FXRuby program layout recursively
Dear all,
I have a design question: assume we have an FXText field containing
a sentence
The <best> Ruby version is the current one.
with "best" highlighted, and there is a choice of words
| most wonderful |, | cutest |, | most effective |
to replace "best". To do the replacement, I want to just click on any of
three buttons. I want to iterate through all of the
2010 Aug 17
2
SEL_UPDATE not responsive
I have read what I could about SEL_UPDATE and I understand that the block(s) that get called "from" SEL_UPDATE only get called when "there is no more work to do".
I took the splitter.rb example that comes with FXRuby. I put in a "puts" in one of the SEL_UPDATE blocks and I get about 4 a second. Not awful ... but ... why is it so slow?
In my code which is ... more
2006 Apr 10
1
Display an arrow, or transparent image colors
I want to display an arrow in the user interface between 2 GUI Components.
I think I know how I can do it, but I ran into a problem displaying
pixel images with transparent background. I describe this image display
problem here and ask for advice. but if someone knows of a different and
easier way to display arrows, please tell me.
Example Problem: I want a FXHorizontalFrame to contain, from
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"
2005 Sep 03
3
Re: FXRuby issues
On Sep 3, 2005, at 3:58 AM, Gonzalo Garramuno wrote:
> Sorry to bother you personally, but after working with FXRuby for the
> first time on a relatively medium-sized project, I collected a list of
> things that seem to be broken in fxruby (or fox), and I thought it
> would be good for you guys to be aware of.
> Some of these things I consider them somewhat serious in term of
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
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
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