search for: toplevelwindow

Displaying 17 results from an estimated 17 matches for "toplevelwindow".

2007 Apr 30
0
[996] branches/wxruby2/wxwidgets_282: TopLevelWindow: add some 2.8 methods; document; add missing CentreOnScreen
...;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>[996] branches/wxruby2/wxwidgets_282: TopLevelWindow: add some 2.8 methods; document; add missing CentreOnScreen</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>996</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>2007-...
2005 Aug 21
15
New inheritance
A good number of the samples I have tested are outright or subtly broken on Windows now. I''m trying to determine what the cause is. Mostly it seems related to the initialize function not being created when it should be. Case in point: ClientDC.i The caret example won''t work at all because initialize isn''t declared any longer. If you comment out the import
2008 Aug 01
1
Question about Window#raise
I want to force my Frame to be visible under certain conditions, even if it''s currently behind other windows. I am running under Windows XP. I am calling raise to do this, but the Frame doesn''t come to the front, though the icon does alert. Isn''t this what Window#raise is supposed to do? Is this a Windows issue? Eric Rubin
2007 May 03
1
memory leaks
...always marked in ruby''s GC mark phase, so they are never collected until shut down, even if they have fallen out of scope everywhere else. I think the way to go is to dispense with fixdeleting altogether and define appropriate freefuncs for the different types of Wx classes (Windows, TopLevelWindows, Events, others) that reflect wxWidgets own memory management tactics. But this uncovers quite a few bugs that have so far been masked, so I think we should try after releasing 0.0.40 alex
2007 Jul 04
0
[1105] trunk/wxruby2/doc/textile/button.txtl: 2.8 documentation update reflecting where set_default_item now lies
...text panel items, and "Panel#set_default_item":panel.html#Panel_setdefaultitem. </del><ins>+be depressed when the return key is pressed. See also "Window#set_focus":window.html#Window_setfocus which sets the keyboard focus for windows and text panel items, and "TopLevelWindow#set_default_item":toplevelwindow.html#TopLevelWindow_setdefaultitem. </ins><span class="cx"> </span><span class="cx"> Note that under Motif, calling this function immediately after </span><span class="cx"> creation of a button...
2010 Apr 09
2
Problem detecting keypresses in FXTable
I''m using an RXTable in my application and I would like to be able to select a row and then press the Delete key to delete the selected row. This does not seem to work, however, as apparently keypresses are not initially recognized. In my FXTable derived class I have: connect(SEL_KEYRELEASE) do |sender, selector, event| puts "code = #{''%X'' %
2007 Jun 26
0
[1085] trunk/wxruby2/swig: Add checks and ruby exceptions for two common Wx::Window mistakes leading to
...t;<span class="cx"> %ignore wxBusyInfo::wxBusyInfo; </span><span class="cx"> </span><ins>+// BusyInfo is an exception to the general rule in typemap.i - it +// accepts a wxWindow* parent argument which may be null - but it does +// not inherit from TopLevelWindow - so special typemap for this class. +%typemap(check) wxWindow* parent { + if ( ! rb_const_defined(mWxruby2, rb_intern("THE_APP") ) ) +&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp{ rb_raise(rb_eRuntimeError, +&nbsp&nbsp&nbsp&nbsp&nbsp&n...
2008 Apr 30
1
MediaCtrl with no parent?
Hiyas, I''m trying to make a mediactrl with no parent or with my application as the parent, so it can play music in the background (I''m making a simple alarm app), but I cant seem to get it workin. Any ideas or does it need to have a frame as a parent? -- Posted via http://www.ruby-forum.com/.
2008 Aug 08
0
[ wxruby-Bugs-21491 ] Wx::STAY_ON_TOP and Wx::NO_BORDER messes with Sizer layouts.
...[0, 0], [x, y], Wx::NO_BORDER) ... ...my on-screen buttons are not spaced out in the sizer, but instead are one on top of the other. Any combination that contains either STAY_ON_TOP or NO_BORDER does this. Removing them, the sizers layout their contents correctly. I''ve moved to using TopLevelWindow::show_full_screen to force the max-size, but part of the app''s purpose it to cover the entire desktop, not have a border, etc... Any idea why the control overlapping/sizer issue is happening? This is one Windows Vista, for what it''s worth, ruby 1.8.6, and whatever wx-ruby that c...
2005 Aug 22
1
Patches for inheritance fixes for 2 classes and added 1 class
...__ now all the extra debug info is spit out at the command line (at least on Mac OS X, should on others also) in Window I got rid of the Clear() method which no longer exists, I am surprised we did not get a problem with this earlier. I also changed the GetFont method to the correct form. I added TopLevelWindow so Frame can inherit from it as it should. I changed MenuBar to inherit from Window instead of EvtHandler per the docs and the wx header files. Sean _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo...
2007 Apr 14
0
[965] branches/wxruby2/wxwidgets_282/doc/textile: Misc.
...es/wxruby2/wxwidgets_282/doc/textile/dialog.txtl</a></li> <li><a href="#brancheswxruby2wxwidgets_282doctextilelistboxtxtl">branches/wxruby2/wxwidgets_282/doc/textile/listbox.txtl</a></li> <li><a href="#brancheswxruby2wxwidgets_282doctextiletoplevelwindowtxtl">branches/wxruby2/wxwidgets_282/doc/textile/toplevelwindow.txtl</a></li> <li><a href="#brancheswxruby2wxwidgets_282doctextiletreectrltxtl">branches/wxruby2/wxwidgets_282/doc/textile/treectrl.txtl</a></li> <li><a href="#branches...
2008 May 18
0
[ wxruby-Bugs-20211 ] Unresolved symbol due to linkage error
...emSettings.o obj/TaskBarIcon.o obj/TextAttr.o obj/TextCtrl.o obj/TextDataObject.o obj/TextDropTarget.o obj/TextEntryDialog.o obj/TextUrlEvent.o obj/TextValidator.o obj/Timer.o obj/TimerEvent.o obj/TipProvider.o obj/TipWindow.o obj/ToggleButton.o obj/ToolBar.o obj/ToolBarToolBase.o obj/ToolTip.o obj/TopLevelWindow.o obj/TreeCtrl.o obj/TreeEvent.o obj/UpdateUIEvent.o obj/Validator.o obj/Window.o obj/WindowCreateEvent.o obj/WindowDC.o obj/WindowDestroyEvent.o obj/WindowDisabler.o obj/Wizard.o obj/WizardEvent.o obj/WizardPage.o obj/WizardPageSimple.o obj/XmlResource.o obj/RubyConstants.o obj/RubyStockObjects.o...
2007 May 07
0
[1017] trunk/wxruby2/Changelog: Update changelog with 0.0.40 changes
...(AF) +- Clarification to Sizer#remove docs (AF) +- Corrected Image documentation (SL) +- Added IMAGE_QUALITY constants (SL) +- Require wxWidgets 2.8.3 (AF) +- Additional VERSION constants from Wx, fix hardcoded WXWIDGETS_VERSION +- Default arguments for Pen constructor (AF) +- More 2.8 methods for TopLevelWindow, Window (AF) +- fixed evt_window_destroy and evt_window_create (AF) +- fixed samples to use paint method rather than DC directly (AF) +- Fixes for memory errors and windows crashes with PaintDC, doc (AF/Artur Kuptel) +- Prevent direct instantiation of ClientDC and PaintDC (AF) +- Make Window#paint...
2010 Jan 28
5
Compiling problem on Ubuntu 9.10 64 bit
...TextAttr.o obj/TextCtrl.o obj/TextDataObject.o obj/TextDropTarget.o obj/TextEntryDialog.o obj/TextUrlEvent.o obj/TextValidator.o obj/Timer.o obj/TimerEvent.o obj/TipProvider.o obj/TipWindow.o obj/ToggleButton.o obj/ToolBar.o obj/ToolBarToolBase.o obj/ToolTip.o obj/Toolbook.o obj/ToolbookEvent.o obj/TopLevelWindow.o obj/TreeCtrl.o obj/TreeEvent.o obj/Treebook.o obj/TreebookEvent.o obj/UpdateUIEvent.o obj/VListBox.o obj/VScrolledWindow.o obj/Validator.o obj/Window.o obj/WindowCreateEvent.o obj/WindowDC.o obj/WindowDestroyEvent.o obj/WindowDisabler.o obj/Wizard.o obj/WizardEvent.o obj/WizardPage.o obj/WizardPa...
2006 Aug 13
25
wxruby2 alpha status
Hi all, How soon can we do our alpha (binary gem) release? 1. I would like to get the samples working a bit better, but am ok simply documenting most of the current problems. Do the samples crash every few minutes for other people? Or is it just me? I would like to have a copyright/license comment at the top of every sample file before the alpha release. 2. I would like to receive and merge a
2007 Apr 30
0
[997] branches/wxruby2/wxwidgets_282: Window - 2.6 -> 2.8 API, new methods and deprecations; update doc
...ed implicitly by -"Window#set_sizer":window.html#Window_setsizer but if you use </del><ins>+be called automatically when the window is resized. Please note that this only +happens for the windows usually used to contain children, namely +"Panel":panel.html and "TopLevelWindow":toplevelwindow.html +(and the classes deriving from them). + +This method is called implicitly by +"Window#set_sizer":window.html#Window_setsizer but if you use </ins><span class="cx"> "Window#set_constraints":window.html#Window_setconstraints you...
2007 Feb 09
20
Hello Everyone
I have a bit of a problem with installation. I installed wxX11 in my linux box. I compiled the demos and all the demos, save dbbrowse, work. I think I have a functional wx. Now I''m trying to install wxRuby from source, since I have a 64 bit machine. I only have permission to my home directory so my installation is : /usr/people/stevenq/Applications/wxX11/