similar to: TaskBarIcon gives Typerror

Displaying 20 results from an estimated 300 matches similar to: "TaskBarIcon gives Typerror"

2007 Aug 22
2
Can''t change button-size?
Hi, I tried my first steps with wxruby today and I have a problem. I read the doc and wanted to add a button but no matter what I do the button has always the size of the whole frame also if I told him another size like in this example in which I gave him this size button = Button.new(self, -1, "Push me",Point.new(10,10),Size.new(50,10)) but it always has the size of the whole frame?:
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
2007 Jan 30
2
error finding library when running test program
I''m new to Ruby and wxRuby, and I just installed Ruby 185-21 (I run WinXP), then used gem to install wxRuby2. When I try to run a short test program (included below), I get this error: C:\Documents and Settings\Mike\Desktop>ruby test.rb c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'': no such file to load -- wxruby (LoadError)
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.
2010 Nov 07
1
On Mac: undefined method `create_popup_menu' for #<Wx::TaskBarIcon>
Hi there, I got the following error every time when I tried right clicking the app icon on Dock. Env: Mac OS X 10.6 wxRuby: wxruby-2.0.1-universal-darwin-9 Error: undefined method `create_popup_menu'' for #<Wx::TaskBarIcon:0x1884be40> Backtrace: /Users/zhimin/Work/projects/testwise/vendor/source/darwin/gems/wxruby-2.0.1-universal-darwin-9/lib/wx/accessors.rb:50:in
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
2008 Mar 13
3
TaskBarIcon in OS X
Is the Wx:TaskBarIcon supported under OS X? I can''t seem to get it working. My code works under Windows, but not OS X. I thought it was something I was doing, so I tried the bigdemo.rb sample and that doesnt'' seem to like OS X either. I''m running OS X 10.5 with wxRuby 1.9.5 gem and ruby 1.8.6. -dave -- David Grandinetti (315) 569 2594
2006 Oct 15
4
TaskBarIcon
Attached are some patches to implement the TaskBarIcon. Let me know how this works on Linux and OS X. You may want to ''svn update'' first and get the new version of ruby.png since I fixed the transparent background. Roy -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: bigdemo.rb.patch Url:
2006 Nov 19
1
TaskBarIcon i wxruby2-preview gem
Hi! I would like to use the Wx::TaskBarIcon class, but it does not seem to be present in my installation. I''m using the latest "wxruby2-preview" gem. From browsing the mailing lists it seems as if this class was added quite recently, so I guess it is not yet included in the gem. So my questions are: When will this class be available in the gem package? Until then, do I have
2007 Jul 04
0
[1103] trunk/wxruby2: Added 2.8 methods to StaticBitmap & document them; cleanup header file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2004 Dec 31
5
catch keystrokes
is it possible to intercept keystrokes using wxruby?
2007 Jul 21
0
[1131] trunk/wxruby2/swig/classes/TaskBarIcon.i: TaskBarIcon should never be destroyed by Ruby, else will segfault-on-exit
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2013 Jan 14
2
The three-dot question
Dear all, Why does not the three-dot accept arguments from the parent environment? I am just confused with this error, can someone give me a hint? > rm(list=ls()) > testFun <- function(a, ...) + { + if(a){ + print(a) + }else + { + print(b) + } + } > > myTask <- function(a) + { + b <- 3 + testFun(a, b = b) + } >
2007 Apr 30
0
[996] branches/wxruby2/wxwidgets_282: TopLevelWindow: add some 2.8 methods; document; add missing CentreOnScreen
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2006 Nov 30
0
Re: TaskBarIcon i wxruby2-preview gem (Alex Fenton)
I''m using windows, if I find the time I''ll try to build it myself. Otherwise I''ll just wait for the next gem. Thanks for a great job on wxruby2 btw! Regards, Mattias > > > > Date: Tue, 21 Nov 2006 08:40:53 +0000 > From: Alex Fenton <alex@pressure.to> > Subject: Re: [Wxruby-users] TaskBarIcon i wxruby2-preview gem > To: General discussion of
2006 Apr 06
3
data base
As from the database to get a cell on id?? -- Posted via http://www.ruby-forum.com/.
2007 Feb 12
0
[871] trunk/wxruby2/samples/printing/printing.rb: Enable sample to be run from other directories
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2007 Dec 18
1
Dynamic Task Bar Menu Items
Am looking for a way to dynamically add menu items to a task bar icon menu. And then once selected - I would like to get the title of the menu item. The general idea is to read a text file: Project1 Project2 Project3 ===== Add those to the task bar menu, and when i select (for example) Project2, I want to pass the string "Project2" to the code. Also - Am wondering about how to get
2006 Sep 17
1
run.rb
This is a first stab at a run.rb file that will let you run a sample in the bigdemo directory by itself. You have to add the following to the bottom of every sample file: if __FILE__ == $0 load "run.rb" run(File.basename($0)) end Roy _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org
2007 Dec 10
3
Popup Window
Hey! I would need a popup window like this (not necessarily associated to a taskbaricon): http://www.venraiker.com/wp-content/uploads/2006/03/libnotifyvx.png I should be possible to show such a window for a certain time, displaying a certain message. Is a similar thing possible with wx? Are there oder options? thx ck -- Posted via http://www.ruby-forum.com/.