Displaying 20 results from an estimated 5000 matches similar to: "Standard icon in custom dialog"
2006 Sep 14
2
Patch to fix ArtProvider and ArtProvider sample
These patches better implement ArtProvider and add the demo for it. I
also expanded the bigdemo window a little bit. I really think we should
go larger but I suppose there might be some people at 800x600 still.
Note that creating your own art provider still doesn''t quite work
correctly. I didn''t have time to get into that.
The RubyConstants.i.patch file looks weird. Not
2004 Aug 26
18
wxRuby 0.5.0 has been released!
wxRuby 0.5.0 has been released and is now available for
download from RubyForge at http://wxruby.rubyforge.org/
This release includes binary builds for Max OS X and
MS Windows.
Please report any bugs or feature requests here:
http://rubyforge.org/tracker/?group_id=35
Changes in this release include:
* Added XRC (Xml Resource File) support.
* Added totally awesome HTML widget from Tobi
2004 Jun 19
4
FlexGridSizer question
=begin
I am trying to understand how FlexGridSizer works and I have written a small
test application using the latest wxRuby 0.4.0 on Win XP (Home).
I cannot get static text ''Week'', ''Day'' and ''Date'' line up above the OK button.
I have tried all combinations of ALIGN flags, but I either got the text sticking
far too close to the left edge of
2008 May 11
4
Choosing a Sizer
Following alex advices, i''ve used both "text/textctrl.rb" and
"etc/threaded.rb" to build my first wxApp.
I''ve changed the Sizer type mainly (from "Wx::BoxSizer" to
"Wx::FlexGridSizer").
I didn''t find the way to let @log (Wx::TextCtrl) span 2 columns. At the time
of writing it''s growing only vertically.
And also how to get
2007 Jan 22
4
Adding sizers to other sizers doesn''t work
Hello all,
Running this on an Intel Mac
OSX 10.4.8
ruby 1.8.4 (2005-12-24) [i686-darwin]
wxruby2-preview (0.0.37)
using zshell
I''m having a heck of a time setting up a GUI with a differing number of
widgets per row, resulting in a differing number or widgets per column.
At first I tried to simply do something like the following:
class CharacterInfoPanel < Wx::Panel
def
2007 Feb 19
2
Sizer question
First, Thank you, thank you, thank you for those who put wxRuby
together. I''m thrilled to be able to write GUI code in Ruby!
I''m hitting some confusion about how Sizers work. I''ve read the
tutorials and the section in the wxWidgets book but I still can''t
seem to figure this out.
Here''s an example of my code:
parent = Wx::Panel.new(frame, -1,
2008 Mar 18
14
Proposal for an improved API for Sizer (and ToolBar)
Hi all,
This is a proposal for supporting keyword arguments to Sizer#add
following the thread below :
http://rubyforge.org/pipermail/wxruby-development/2008-March/001244.html
After a deeper look at lib/wx/keyword_ctors.rb and
lib/wx/keyword_defs.rb, I understood the whole thing :-).
I just reused and modified slightly the method args_as_list.
The new Sizer#add_item combines the features of add
2005 Jul 30
7
Can''t compile the cvs-tree
Hi folks,
Let me start off by saying I''ve just been following wxruby development
for two or three days now and have read up on alot on what has been
going on. I must say I''m impressed and happy about all the things being
developed and created by you guys! You got me all excited and I know I''m
not the only one. If I have an opportunity to spend more time
investigating
2007 Oct 24
3
API doc update coming?
I''ve upgraded from 1.9.0 to 1.9.2 and am finding that
the errors I''m getting don''t match the docs. For example,
in Wx::ListCtrl:
- The doc makes no mention of on_get_item_column_image(),
but without this method I get NoMethodError.
- The doc says on_get_item_attr() *may* be overloaded,
but if I don''t define it, I get NoMethodError.
The API doc appears to
2004 Apr 27
15
Building wxruby on Solaris 9
Hi all,
Ruby 1.8.1
Solaris 9
wxwindows 2.4.2 (package from blastwave.org)
wxruby 0.3.0
I''m having trouble getting this sucker to build on my Solaris box.
Here''s how I''m building:
ruby extconf.rb --with-xrc-dir=/opt/csw
--with-xrc-include=/opt/csw/lib/wx
The include directive I added because the setup.h file is there (for
whatever reason). And yes, /opt/csw/bin and
2005 May 03
4
Wx::HtmlWindow.on_link_clicked
Hello, wxruby-users.
This is an addition which implement wrapper for
overloading wxHtmlWindow::OnLinkClicked method. Unfortunately, it was
impossible to make it correctly without ugly hack to wxpp.rb, but i`m
hope it does not broke it.
Please look at attachment for a patch for htmlwindow.t and wxpp.rb and
additional file htmllinkinfo.t (need to be added to $objs array in
extconf.rb).
Sample
2008 Jun 12
4
Background thread - entension code - switch contexts
Hi,
I am using wxRuby 1.9.7 and Ruby 1.8.6. I have built an extension in C++
and used swig to load it into Ruby interpreter, which works great. The
extension is an often long executing algorithm, and I''ve noticed that if
I fork a new Ruby thread in button clicked event, and in this thread run
the algorithm the application freezes for the time of execution. I have
looked through the
2007 Jul 25
11
taskbaricon
Salut alex, j''ai un petit souci.
quand j''utilise "demotaskbaricon" avec traducteur-wxruby, que j''ouvre mon application(donc l''icone apparaƮt dans la barre de lancement rapide) et que je ferme mon application, l''icone disparaƮt tout de suite.
Mais quand je l''utilise avec l''exemple Wizard et que je ferme mon application
2005 Sep 11
6
Patch to wxNotebook.rbw
Patch to the notebook example to remove the call to the deprecated
NotebookSizer. It appears to work just fine without the sizer.
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2007 Apr 29
8
wxruby unfriendly to other threads?
I''ve seen a few e-mails about multithreading with respect to wxruby
but nothing recent. Unless I''m mistaken, and that may be, there
still appear to be problems.
The following code seems to hang my spawned thread in favor of the
wxruby event loop:
Thread.new do
puts "in thread"
loop do
sleep 5
puts "looping"
end
end
puts "main
2009 Apr 02
1
Controlling vertical position
First, I want to thank everyone here who''s been helping me learn wxRuby.
The biggest problem I''m having is getting the layout of a screen right.
Right now, I have a dialog with several controls on it. With one
exception, it looks good. I''m using wxFormBuilder and Xrcise to do the
generation. I''m using nested box sizers to try to get things into the
right
2006 Nov 06
3
HtmlWindow and friends
Hi
Attached is a patch to add HtmlWindow and some of its friends, including
HtmlEasyPrinting. Also a sample.
I haven''t tried exposing the parsing and rendering API yet to allow
custom tags etc - I just wanted to get basic HTML and the 0.6.0
compatibility classes first. There may well be some quite easy classes left.
There''s one ugly kludge to get OnOpeningURL to compile -
2004 May 22
4
couple of questions
Hi folks
A couple of questions:
1) I seem to get funny artifacts in the display of TreeCtrl, ComboBox
and ListBox when the MDI child frame containing it is first painted (see
attached - it should be two-root treeview, unopened). I''m not sure if
it''s related to being in a MDI, but the controls sample looks OK. The
artifacts are cleared up when it''s repainted or
2008 Mar 07
9
copy & paste event
hi. now I have problem about copy and paste text in my application I
make copy and paste button in toolbar and I have fuction of them but I
don''t know how to make it can copy only selection text and paste into
other textCtrl. see my picture for more info. thank you :)
Attachments:
http://www.ruby-forum.com/attachment/1526/untitled.JPG
--
Posted via http://www.ruby-forum.com/.
2006 Mar 26
3
Updating tools
Hello all. I decided to see how things were progressing and have
updated my Swig to 1.3.29 and my wxWindows to 2.6.3. I''ll try
rebuilding everything as soon as I''m done compiling wx 2.6.3. Then I
hope to have some time to read up on the new ruby stuff in Swig to see
if we can close the last few holes.
Roy