search for: wxpanel

Displaying 20 results from an estimated 20 matches for "wxpanel".

Did you mean: panel
2010 Nov 13
2
Scrolling / wxPanel / wxFlexGridSizer
...key/value pairs. I looked to use PropertyGrid but did not find it in wxruby 2.0.1. I''m really stuck and would appreciate any help. Thanks, Dave Details: I am starting with an .xrc file containing: ... wxStaticBoxSizer (horizontal, stretch factor 1, expanded vertically) wxPanel (stretch factor 1, expanded vertically) ... In the ruby file invoking the interface I have: require ''wx'' require ''loadgui.rb'' # from xrcise class MyApp < MyGUI def on_init # Sizer holding key value pairs @settings_sizer = Wx::FlexGridSizer.new...
2008 Aug 12
1
xrc panels using xrcise
...ect class="wxNotebook" name="ID_NOTEBOOK" subclass="notebook"> <style>wxRAISED_BORDER</style> <object class="notebookpage"> <label>Contatti</label> <object class="wxPanel" name="ID_FOLDER_CONTATTI" subclass="contatti"> <style>wxSUNKEN_BORDER|wxTAB_TRAVERSAL</style> </object> </object> <object class="notebookpage"> <label&...
2006 Apr 23
5
Re: StaticBoxSizer bug?
...; > > bool SizerTestApp::OnInit() { > SizerTestFrame *frame = new SizerTestFrame("Test"); > > frame->Show(true); > > return true; > } > > SizerTestFrame::SizerTestFrame(const wxString & title) : > wxFrame(NULL, wxID_ANY, title) > { > wxPanel *panel = new wxPanel(this, wxID_ANY); > wxBoxSizer *boxSizer = new wxBoxSizer(wxHORIZONTAL); > wxStaticBox *box = new wxStaticBox(panel, wxID_ANY, wxT("BoxTitle")); > wxStaticText *text = new wxStaticText(panel, wxID_ANY, wxT("Some text!")); > wxS...
2004 Nov 13
2
wxRuby and XRC via wxGlade
...object class="wxNotebook" name="notebook_1"> <usenotebooksizer>1</usenotebooksizer> <object class="notebookpage"> <label>tab1</label> <object class="wxPanel" name="notebook_1_pane_1"> <style>wxTAB_TRAVERSAL</style> <object class="wxStaticBoxSizer"> <orient>wxHORIZONTAL</orient> <label>Fo...
2006 Jul 25
6
Wizards
Hi Please find attached a set of patches and swig files to implement Wizards for wxruby. Also a brief sample. Quick q - the C declarations of evt_xxx_xxx methods and their attaching to Ruby classes seems to be duplicated across Events.i and EvtHandler.i - is one of these the right place to be adding them? or both? Thanks alex _______________________________________________
2009 Aug 10
2
xrcise -o test.rb ui.xrc
...lt;cols>2</cols> <vgap>0</vgap> <hgap>0</hgap> <object class="sizeritem"> <option>1</option> <flag>wxEXPAND | wxALL</flag> <border>5</border> <object class="wxPanel" name="m_panel1"> <style>wxTAB_TRAVERSAL</style> <object class="wxBoxSizer"> <orient>wxVERTICAL</orient> <object class="sizeritem"> <option>0</option>...
2008 Sep 12
7
embedding wxruby?
Hello, is it possible to code a wxWidgets GUI in C++ and pass the whole wxApp or just single windows to embedded Ruby code? This would be very nice to provide a scriptable plugin system. Greetings, Niklas _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2004 Oct 06
11
find_window_by_xxx doesn''t find Gauge or BitmapButton
I''m fairly new to the Ruby world, particularly WxRuby, so please forgive me if this is ground that''s been covered in the past. I''m trying to load a frame from an XRC file (created using DialogBlocks), and I''m having trouble getting an instance of the Gauge object using the Wx::Window.find_window_by_xxx methods. I''m trying this on Windows XP,
2007 Mar 17
0
[883] branches/wxruby2/wxwidgets_282/swig: API changes for move to WxWidgets 2.8
...ses/include/wxListBox.h</a></li> <li><a href="#brancheswxruby2wxwidgets_282swigclassesincludewxMemoryDCh">branches/wxruby2/wxwidgets_282/swig/classes/include/wxMemoryDC.h</a></li> <li><a href="#brancheswxruby2wxwidgets_282swigclassesincludewxPanelh">branches/wxruby2/wxwidgets_282/swig/classes/include/wxPanel.h</a></li> <li><a href="#brancheswxruby2wxwidgets_282swigclassesincludewxRadioBoxh">branches/wxruby2/wxwidgets_282/swig/classes/include/wxRadioBox.h</a></li> <li><a href=&quo...
2007 Jan 08
0
[841] trunk/wxruby2/swig/classes: Added PasswordEntryDialog
...</span><span class="cx"> ''wxPaintEvent'' => ''wxEvent'', </span><span class="cx"> ''wxPalette'' => ''wxGDIObject'', </span><span class="cx"> ''wxPanel'' => ''wxWindow'', </span><ins>+ ''wxPasswordEntryDialog'' => ''wxTextEntryDialog'', </ins><span class="cx"> ''wxPathList'' => ''wxList'', </span><span...
2007 Jul 04
0
[1099] trunk/wxruby2/swig/classes/XmlResource.i: Permit Dialogs and Frames with no parents to be created via XRC; add comments
...s><span class="cx"> %rename(LoadDialogSubclass) wxXmlResource::LoadDialog(wxDialog *dlg, wxWindow *parent, const wxString &name); </span><span class="cx"> </span><span class="cx"> %rename(LoadPanelSubclass) wxXmlResource::LoadPanel(wxPanel *pan, wxWindow *parent, wxString &name); </span><span class="cx"> </span><span class="cx"> %rename(LoadFrameSubclass) wxXmlResource::LoadFrame(wxFrame *frame, wxWindow *parent, const wxString &name); </span><span class="cx">...
2007 Dec 28
4
wxSizerItem show() method
It appears from the wx 2.8.7 documentation that a wxSizerItem has a show() method. But when I try to invoke it through wxruby, I get: tasks.rb:56:in `do_btn3'': undefined method `show'' for #<SWIG::TYPE_p_wxSizerItem:0xb5eedf44> (NoMethodError) Is this just something that hasn''t been added because people don''t manipulate wxSizerItems much, or is it
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
2006 Dec 02
7
Gauge Problem with XRC?
Hi I''ve just started using wxruby2-preview-0.0.36-i386-mswin32 outsourcing layout part to the external XRC file. Almost everything seems to be fine. Only that I can never retrieve Gauge objects in the main script. What I''ve been trying is something like this: class MainFrame < Wx::Frame include Wx def initialize(parent) super(nil,-1, "")
2007 Apr 28
0
[977] branches/wxruby2/wxwidgets_282/swig/classes/include/wxScrolledWindow.h: Add missing DoPrepareDC method, remove comment cruft
...ets_282/swig/classes/include/wxScrolledWindow.h&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp2007-04-28 23:31:48 UTC (rev 977) </span><span class="lines">@@ -8,160 +8,28 @@ </span><span class="cx"> class wxScrolledWindow : public wxPanel </span><span class="cx"> { </span><span class="cx"> public: </span><del>-&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp/** -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \brief Default con...
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 -
2008 Jan 08
28
1.9.3 release, rakefile
Hi I''d like to put out a 1.9.3 release perhaps later this week/weekend. If you have a chance to test the build and samples esp with latest rubygems, please do. There are still some bugs on the list, and samples to do, but this should address all the build/install probs that have come up. And it would be good to get some testing and feedback on some of the new classes. A note on the
2006 Nov 12
0
[724] trunk/wxruby2: Initial commit of HtmlWindow functionality
...quot;output_helper") wxString * redirect { + //VALUE o = rb_str_new2((const char*)$1->mb_str()); + //$result = output_helper($result, o); +} + +%import "include/wxObject.h" +%import "include/wxEvtHandler.h" +%import "include/wxWindow.h" +%import "include/wxPanel.h" +%import "include/wxScrolledWindow.h" + +%include "include/wxHtmlWindow.h" </ins></span></pre></div> <a id="trunkwxruby2swigclassesincludewxHtmlCellh"></a> <div class="modfile"><h4>Modified: trunk/wxruby...
2005 May 03
10
Is wxRuby-SWIG version usable enough to package for download?
If wxRuby-SWIG is as usable as wxRuby 0.6.0, maybe it should be given a version number and packaged up for download. Given the nature of SWIG, having a lot more people use it would probably result in more code contributions to this project. Seems most of the changes are 2+ months old, so I''m guessing wxRuby-SWIG is fairly stable right now in terms of frequency of changes...
2007 Mar 22
0
[916] branches/wxruby2/wxwidgets_282: More Wx::AUI classes, event hooks and sample
..., + Wx::DEFAULT_POSITION, Wx::Size.new(100,-1), + Wx::SP_ARROW_KEYS, 5, 50, 5 ), + 1, Wx::ALL|Wx::ALIGN_CENTRE, 5 ) + + flex.add( 5,5 ) + flex.add( 5,5 ) + panel.set_sizer( flex ) + ctrl.add_page( panel, "wxPanel", false, page_bmp ) + + + ctrl.add_page( Wx::TextCtrl.new( ctrl, Wx::ID_ANY, "Some text", + Wx::DEFAULT_POSITION, Wx::DEFAULT_SIZE, + Wx::TE_MULTILINE|Wx::NO_BORDER), + "wxTextC...