search for: my_fram

Displaying 8 results from an estimated 8 matches for "my_fram".

Did you mean: my_frame
2011 Oct 03
3
Best method to add unit information to dataframe ?
...about the units of the data it contains. You'll find below a minimal exemple of the way I do, so far. I add a "units" attribute to the dataframe. But I dont' like the long syntax needed to access to the unit of a given variable (namely, something like : var_unit <- attr(my_frame, "units")[[match(var_name, attr(my_frame, "names"))]] Can anybody point me to a better solution ? Thanks in advance, Bruno. # Dataframe creation x <- c(1:10) y <- c(11:20) z <- c(101:110) my_frame <- data.frame(x, y, z) attr(my_frame, "units") <-...
2007 Nov 02
11
xrcise tutorial, undefined method ''upper_bt''
Hi I''m trying to follow the tutorial on xrcise at http://wxruby.rubyforge.org/wiki/wiki.pl?UsingXRCise But I keep getting the following error when I try to run the example; tutorial.rb:21:in `initialize'': undefined method ''upper_bt'' for #<CaseChangeFrame:0x2d610f8> (NoMethodError) from tutorial.rb:28:in `new'' from
2007 Sep 12
1
XRC Tool
Hi Attached is a rough draft of a tool that parses XRC files and creates skeleton ruby class files from them. ruby xrc-tool.rb my_frame.xrc > my_frame.rb At the moment it only deals with Frame/Dialog/Panel subclasses, for which it creates a constructor that loads from the XML, and binds the named controls in the XML to ruby variables and accessors. THe idea is that this would make working with a visual designer easier: sav...
2007 Nov 19
2
how to add icon to window
I have icon file and I want to add it to top-left of my application How can I add it ?? -- Posted via http://www.ruby-forum.com/.
2010 Jun 22
1
Stuck noobie: XRC/xrcise woes
...BAD LINE THAT CAUSES THE ERROR if self.class.method_defined? "on_init" self.on_init() end end end 3) ######## Exercise.rb ######## require ''rubygems'' require ''wx'' # load in the generated code require ''my_frame'' # Mix-in for a Wx::TextCtrl module CaseChangeTextCtrl1 # convert all the text in the control to upper case def upcase! self.value = self.value.upcase end # convert all the text in the control to lower case def downcase! self.value = self.value.downcase end...
2008 Mar 05
21
wxruby, XRC, DialogBlock
I''ve been trying to figure out the best method for generating GUI''s with Ruby. I ended up using DialogBlock because it seems like the fastest way. But not I have to work backwards and have not done this before. How do I go from the file I generate in DialogBlock to a code in Ruby? -- Posted via http://www.ruby-forum.com/.
2007 May 20
3
bouton de fermeture
Bonjour, je voudrais savoir si il est possible de désactiver le bouton de fermeture en haut a droite (le bouton rouge avec une croix blanche), sans se servir de "FRAME_NO_WINDOW_MENU", car j''ai besoin des autres boutons. Merci. Sebastien _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org
2007 Jul 28
4
Modeless Dialog causes Application to hang on exit
Hello, my name is Gregor and I''m new to this list and to wxRuby/wxDialogs. That''s why I wanted to introduce myself shortly. I''m a Ruby fan for 2 years now and I''m doing a lot of web development with Rails and a little Camping and I''m currently writing my Master''s Thesis around Ruby. You may follow my thoughts on my blog www.nach-vorne.de if