Displaying 20 results from an estimated 100 matches similar to: "GridTableBase problem"
2008 Jan 28
4
GridTableBase
Hello all,
i''m using wxruby 1.9.4 with Grid and the model class: "GridTableBase"
like in the code below. But the method set_table of the grid does''nt
work. Can anyone help me?
require ''wx''
include Wx
class MyGridTableBase < GridTableBase
def get_attr row, col, attr_kind
##
end
def get_number_rows
0
2007 Apr 03
2
CalendarCtrl.date not working?
I finally got my CheckListBoxes under control (thanks Alex& Phil) and
have moved on to tackling the CalendatCtrl. This one seemed pretty easy
when I was reading through the documentation but I cannot retrieve the
selected date. I have the following code:
def initialize...
...
@calendar = panel.add(Wx::CalendarCtrl[])
panel.add(Wx::Button[:label => ''test'']) do
2007 May 15
0
[ wxruby-Bugs-10844 ] GridTableBase clss not defined
Bugs item #10844, was opened at 2007-05-15 03:00
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=10844&group_id=35
Category: Incorrect behavior
Group: v0.4
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Kevin Smith (qualitycode)
Summary: GridTableBase clss not defined
Initial Comment:
In the Wxruby2 module,
2007 Mar 29
7
object-oriented GUI design and event handling
I''m trying to setup a fairly simple GUI with Ruby to perform some SQL
queries. There are a few drop-down boxes where users can select
different options and then one button that when clicked should get the
text from each drop-down in order to perform the query. Once it gets the
result it should display it to a text control. The problem is I am not
sure how to actually reference each
2008 Jan 29
1
wxruby and ActiveRecord
Hello,
i''m running wxruby 1.9.4, and i show my ActiveRecord data in a grid
(with GridTableBase) (a grid with 30 columns)
>From my base Window, i open and close the GridWindow. After several
openings and closes, this message appears:
c:/Programme/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_
record/base.rb:1860: [BUG] Segmentation fault
ruby 1.8.6 (2007-03-13)
2008 Jul 28
12
Segfault with GridCellChoiceEditor
I have a problem.
In my application I have a few Grid objects in a Notebook. The Grid objects
are populated via GridTableBase. Certain Grid cells need to have a choice
interface (I''m artificially enforcing foreign key constraints). All this
works to the point where you try to edit the value for that cell. The
choice box renders (i.e. the drop down arrow appears) then the application
2007 Jul 10
5
Seg Fault caused by StatusBar. Am I doing something wrong?
Some odd bug cropped up when I made a bunch of code changes to my app
recently. I started getting the following everytime I closed the app:
----------------------------------
[BUG] Segmentation fault
ruby 1.8.6 (2007-03-13) [i386-mswin32]
This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application''s support team for more information.
2005 Sep 10
8
Tagged wxruby2 v0.0.29, plus added more directors
Since things seemed to be somewhat stable (that is, wxruby2 compiles and
runs on all three platforms), I tagged what has been there for a couple
days as v0_0_29. Nothing magic about it, but it had been a while since I
had tagged.
Then I worked on adding directors to the classes that don''t have them,
in the hopes of avoiding more segfault crashes during garbage
collection. I was able
2007 Jun 28
2
Keeping GUI responsive while processing data
To start I will say I have read through the read "Problem with threads"
to try and work around this problem, but I do not think I understand
what is happening enough to make use of the info I found there.
My app is pretty basic and does some text processing on 2 files and uses
WIN32OLE to take the data and put it an excel sheet. The processing is
really fast, but loading up Excel
2007 Jun 20
1
Wx::TaskBarIcon example?
I was wondering if anyone could help me out with a little bit of sample
code for TaskBarIcon. I want my app to launch hidden and be able to
show/hide it from a taskbaricon menu. I found some C++ examples but they
were beyond the scope of what I''m trying to do and confused me more.
Thanks,
-Alex C.
2008 Jan 15
0
version 1.9.3 released
Hi
We''re pleased to invite you to try the latest version of wxRuby, 1.9.3.
http://rubyforge.org/frs/?group_id=35&release_id=18145
== WHAT''S NEW ==
Thanks to a number of contributors, this is a feature-packed release:
* GraphicsContext, for high-quality, anti-aliased drawing and
sophisticated image transforms
* MediaCtrl, for playing and controlling sound and video files
2012 May 22
2
Wx:Grid Setting Cursor Position
I''m using the grid widget with an underlying GridTableBase and trying to
implement a "Find" button which would cause the current cursor position
to go to the next matching cell. I''m wondering if there''s an easy way
to do it? I''m playing with the Grid.select_block_row(),
Grid.set_grid_cursor() and Grid.scroll() methods, but the results are a
bit
2008 May 18
0
[ wxruby-Bugs-20211 ] Unresolved symbol due to linkage error
Bugs item #20211, was opened at 2008-05-18 13:46
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=20211&group_id=35
Category: Compile/build
Group: current
Status: Open
Resolution: None
Priority: 3
Submitted By: Tobias Peters (t-peters)
Assigned to: Nobody (None)
Summary: Unresolved symbol due to linkage error
Initial Comment:
While compiling wxruby
2008 Jan 16
2
Question about WxNotebook, threads, and GUI refreshing
I''m running into a problem I''ve had before with wxRuby where the GUI
does not update while my App is processing some set of data. The fix for
this I know is to put the data processing piece in a new thread and in
the Wx::App code make a timer to pass the threads. This has always
worked in the past, but now my problem is slightly more complex and I''m
at a loss.
2010 Feb 24
3
Mouse wheel events in a grid cell editor?
I''m trying to do some advanced editing using Grids. I''ve created my own
editors and updating view and model both works fine so far. Thanks to
whoever made this possible. I like wxRuby more each day!
Now I''d like to catch mousewheel events in order to increment/decrement
a grid cell editor.
I''ve tried installing a handler in begin_edit of my editor and removing
2010 Jan 28
5
Compiling problem on Ubuntu 9.10 64 bit
Hello,
I''m trying to compile wxruby for Ruby 1.9 on Ubuntu Karmic 64 bit, but I
can''t get it to work. I''ve already done this for the 32 bit version (on
another machine, of course), so I don''t see where''s the problem with
that. I thought, I had all neccessary libraries installed, but maybe you
know better... After compiling for a long time, rake fails
2006 Sep 24
8
form_for and Multiple Models Being Saved
Howdy Folks,
I want to use form_for to allow a user to submit a form that contains two
instances of the same model. They are entering calendar dates and I want
them to be able to submit 2 from the same form.
Ok, so, using form_for, what is the best way to do this? form_for seems to
be setup to handle a single instance in that it wants a name for the
variable, etc...
Has someone else done this?
2007 Jul 12
0
[ wxruby-Bugs-12233 ] segfault on exit with StatusBar
Bugs item #12233, was opened at 2007-07-12 17:26
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=12233&group_id=35
Category: None
Group: None
Status: Open
Resolution: None
Priority: 2
Submitted By: Alex Fenton (brokentoy)
Assigned to: Nobody (None)
Summary: segfault on exit with StatusBar
Initial Comment:
(on behalf of Alex Ciarlillo)
In 0.40,
2008 Aug 13
4
Asterisk might be dropping RTP packets before reaching eth int?
[This email is either empty or too large to be displayed at this time]
2003 Dec 01
0
No subject
share in the samba box, from the PDC server itself. The log.winbindd and
log.nmbd are empty.
[2001/08/08 13:11:28, 3] smbd/reply.c:reply_sesssetup_and_X(865)
Domain=[EERDBR001] NativeOS=[Windows NT 1381] NativeLanMan=[] [2001/08/08
13:11:28, 3] smbd/reply.c:reply_sesssetup_and_X(876)
sesssetupX:name=[administrator]
[2001/08/08 13:11:28, 3] libsmb/namequery.c:resolve_lmhosts(733)