Displaying 10 results from an estimated 10 matches for "system_set".
Did you mean:
system_reset
2005 Nov 25
2
Wx::SystemSettings mark II
hi
patches and files for Wx::SystemSettings, with get_font included in swig
file and a sample that doesn''t segfault wxruby.
CVS patches: RubyConstants.i, type_map.i
CVS new: system_settings.rb (sample) SystemSettings.i (SWIG file)
The sample should allow you to view the available information about
system colours, fonts and metrics (eg cursor size, display size) in a Grid.
Incidentally, there seems to be a bug in Wx::Grid - when I double-click
on a grid cell, I get
samples/sy...
2006 Nov 13
0
[730] trunk/wxruby2/samples/etc/system_settings.rb: The call to message_box in on_about needed to be prefixed with Wx::
...d #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[730] trunk/wxruby2/samples/etc/system_settings.rb: The call to message_box in on_about needed to be prefixed with Wx::</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd>730</dd>
<dt>Author</dt> <dd>seanlong</dd>
<dt>Date</dt>...
2005 Nov 30
1
No matching function for overloaded ''wxWindow_GetTextExtent'' on Linux
Hi guys,
I get this error when I try to edit an item in the grid:
dewd@marieta:/mnt/workspace/tpl_src/src/wxruby2/samples/etc$ ruby
system_settings.rb
Our Initialize was called
Their Initialize returned 1
system_settings.rb:245:in `get_text_extent'': No matching function for
overloaded ''wxWindow_GetTextExtent'' (ArgumentError)
from system_settings.rb:245
I have been getting this consistently on Ubuntu Bre...
2005 Dec 29
3
migrations
...ble doesn''t first exist. Can the migrations also be told to
create a model for a new table? Because right now if I run this code
it will fail to add the first row because the model does not exist
yet.
class AddSystemSettings < ActiveRecord::Migration
def self.up
create_table :system_settings do |t|
t.column :name, :string
t.column :label, :string
t.column :value, :text
t.column :type, :string
t.column :position, :integer
end
SystemSetting.create :name => "notice", :label => "Use notice?",...
2006 Apr 04
2
loading data with migrations
Hello,
I''m just taking a look at migrations, seems like a fantastic way to maintain
the database. I am wonder if there is a way to maintain what I''ll call
"reference data" along with the migrations. A lot of times in apps your
have tables that have pretty static data, often used to generate select
lists. Is there a way to insert the reference data into these tables
2007 Dec 21
0
[ wxruby-Bugs-16484 ] Application crash (Segmentation fault) on widows resize
...p;atid=218&aid=16484&group_id=35
Category: Incorrect behavior
Group: current
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: Application crash (Segmentation fault) on widows resize
Initial Comment:
When resizing window (sample: etc/system_settings.rb and many more) application crashes silently. On other examples crashes with message:
[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 mor...
2005 Nov 23
1
Wx::SystemSettings
...dth and screen
height, but there''s lots of other stuff there too; the sample file
provides a listing of what''s avaiable, with descriptions. With this email
* patch to typemap.i
* patch to RubyConstants.i
* new SystemSettings.i file for swig/classes
* new sample file for samples/system_settings/
There''s a few wrinkles that are beyond me:
1) The wx header file in wxruby2 CVS tree seems to be missing some
methods listed elsewhere: SystemSettings::GetScreenType (listed in 2.6
docs & my wx header file, settings.h), and SystemSettings::HasFeature
(in header files, not in...
2007 May 21
13
First drop of new memory management
Hi
Just a quick update on memory leaks etc. I''ve just dropped a bunch of
patches with a new approach to linking ruby''s GC to Wx''s memory
handling. Still some work to do - eg bigdemo.rb falls over quite quickly
- but working well for me on other samples.
Briefly, it disposes of fixdeleting. For almost all objects that aren''t
Windows, they should now be
2006 Jul 19
8
small patch for wxWindow::GetTextExtent
I have not worked on wxRuby2 for awhile and decided to download the
latest CVS HEAD and saw that it still had a problem with
wxWindow::GetTextExtent (in my case showing up when editing Grid
cells). So I copied the method signature from the wxDC::GetTextExtent
which seems to be working, changed 2 variable names and made the
typemap the same as used for wxDC. Well in my program editing grid
cells
2006 Aug 10
3
update on samples
...ey?)
- controls.rb
Seems OK, except doesn''t work if not run from current dir. Probably
should add textctrls to this one.
- dialogs.rb
Problems with DC - seems to cause ObjectPreviouslyDeleted error in an
on_paint handler. I have worked round this. MDI, ColourDialog crashes on
OS X.
- system_settings.rb
OK (thanks to Sean''s fix for get_text_extent)
- images.rb
OK
- listbook.rb
OK, except breaks if not run from own directory.
- mdi.rb
MDI doesn''t work on OS X?
- minimal.rb
OK - have tidied up and commented a bit more, commit pending
- text/textctrl.rb
Ok
- text/unico...