Displaying 17 results from an estimated 17 matches similar to: "FXListBox ...connect(SEL_COMMAND)"
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
2010 Apr 03
0
FXlistBox.fillItems() segmentation fault - Found Work-around
As my prior posts show, I was getting very random segmentation faults when repeatedly clearing items from a listbox and then repopulating the items. I was using the following statements:
mylistbox.clearItems()
mylistbox.fillItems(new_list)
This would work for awhile, but after enough iterations of clearing and replacing the items in the listbox it would segmentation faults at the .fillItems
2004 Oct 04
1
Making a FXListBox open up
How would I programatically make a FXListBox pop open? I have searched
through the Fox mailing list archive, but did not find anything.
Thanks.
Jamey
Confidentiality Notice: This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and/or privileged information. If you are not the intended recipient(s), you are hereby notified
2006 May 15
3
FXTextField - posSelected?(pos)
Hi,
I wonder if am facing a bug or something else
On a FXtextField, I want to detect the low and high pos of the selected string
example: the text is: 0123456789
The selected string is : 234567
first = last = -1
atext.text.length.times do |pos|
first = pos if atext.posSelected?(pos) and first < 0
last = pos if atext.posSelected?(pos)
2006 May 31
3
FXLabel: ca''nt set the Icon attibute
Hi,
trying that:
aLabel = FXLabel.new(menuBar35,nil,@@maximizeIcon,0)
aLabel.icon = @@restoreIcon # ok
aLabel.connect(SEL_LEFTBUTTONPRESS) do |sender, selector, data|
case sender.icon
when @@maximizeIcon
sender.icon = @@restoreIcon
when @@restoreIcon
sender.icon = @@maximizeIcon
end
0
end
Result
abnormal
2005 Jul 27
2
SWIGging ConfigBase
Hi all
I''m trying to write an .i file for ConfigBase. If I can figure out a few
general SWIG things then I think most of it will work. Apols for the
noob swig questions.
The C++ class has lots of overloaded methods called Read, which return
different kinds of values. In wxruby-not-swig these are implemented as
read, read_bool, read_int and so on. read() means read_string(). In ruby
2006 Apr 19
1
is there a problem with FXList findItemByData(....) ??????
Hi,
I am tackling with FXList ( ruby 1.8.4 (2005-12-24) [i386-mswin32]) )
. The ''data'' value is a MDIChild reference
afxlist.findItemByData(sender) => return -1 . Always
I can turn around it by doing
..........
cpt = 0 ; idx=nil
afxlist.each do |lista|
if lista.data == sender
idx=cpt
break
2007 Mar 29
0
[927] branches/wxruby2/wxwidgets_282/swig/classes: Changed the version of InsertItem that puts the item before current selection to InsertItemBefore
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2019 Aug 16
0
Wine release 4.14
The Wine development release 4.14 is now available.
What's new in this release (see below for details):
- New version of the Mono engine with upstream updates.
- PE dlls no longer rely on the MinGW runtime.
- Exception handling fixes on ARM64.
- Various bug fixes.
The source is available from the following locations:
https://dl.winehq.org/wine/source/4.x/wine-4.14.tar.xz
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) }
2011 Aug 13
3
kernel 3.0 and dom0 native
Hello everybody,
I dont found the new feature about kernel 3.0 and Xen DOM0. Where
Kernel 3.0 has native support in dom0? how would I enable this option.
In my currently kernel (gentoo source 3.0 and vanilla kernel 3.0)
don''t found Xen device drivers, need i enable anything?
thanks!
--
-------------------
Pablo J. Villarruel / pablo@libo.com.ar
2012 Feb 22
1
Huge difference btw system time and elapsed time
Hi all,
I got this time for my code,
> proc.time()-pt
user system elapsed
132541.743 0.004 132533.526
As you can see, there is huge difference btw elapsed time and system time.
Does that mean lots of I/O? Or some bad coding?
Thanks,
Libo
[[alternative HTML version deleted]]
2012 Nov 25
2
RExcel, ROOo and LibreOffice inquiry
Dear all
I'd like to give RExcel a decent spin, mainly to take advantage of
Excel's data management facilities and automatic recalculations.
However I cannot use this Windows-only solution on the platform of my
choice, Linux.
Alternatively I've been considering the cross-platform ROOo, the
OpenOffice equivalent of RExcel, but in this case the problem is that
the only release available
2010 Sep 15
1
What is the block size algorithm
Hello,
First of all, thank you for this great software of rsync. If is extremely
flexible and powerfull.
(my only regret is that i could not find a version for windows dealing
properly with charsets in the files' name, might be patched in a future
version of cygwin? anyway this is not the subject here [?]).
I would like to know how, in the version 3, is computed the default
Block-Size?
I
2012 Feb 11
1
R Parallel question
Hi All,
I have a question about R parallel computing by using snowfall.
How can I set the seeds on parallel workers to get the same result as
sequential mode?
For example:
> sfSapply(c(1,1),rnorm)
[1] 1.823082 -2.222052
> rnorm(2)
[1] -0.5179967 -1.0807196
How to get the identical result?
Thanks.
Libo Sun
Graduate Student,
Department of Statistics,
Colorado State University
Fort
2010 Feb 27
1
Cannot migrate DB due to "getaddrinfo: Name or service not known"
I am using Rails 2.2.2 and try to do a DB migration, but got the
following error. I am using Centos 5.4. Can someone give me a clue?
>> rake db:migrate RAILS_ENV="production"
rake aborted!
getaddrinfo: Name or service not known
(See full trace by running task with --trace)
[current]$ rake db:migrate RAILS_ENV="production" --trace
** Invoke db:migrate (first_time)
**
2013 Jul 31
29
[PATCH 0/9] tools: remove or disable old/useless/unused/unmainted stuff
depends on "autoconf: regenerate configure scripts with 4.4 version"
This series removes some of the really old deadwood from the tools build
and makes some other things which are on their way out configurable at
build time with a default depending on how far down the slope I judge
them to be.
* nuke in tree copy of libaio
* nuke obsolete tools: xsview, miniterm, lomount & sv
*