search for: get_label

Displaying 19 results from an estimated 19 matches for "get_label".

Did you mean: set_label
2004 May 24
9
Combo Box
>> You really want to call get_value. Unfortunately, that''s not implemented >> in wxRuby 0.3.0. >I found to my surprise that this method is actually working, but only in the >example code that comes with wxRuby one-click install for Windows. @combo.get_label seems to work for me. See sample code below. HTH, Assaph ----- CODE ----- require ''wxruby'' include Wx ID_DRIVES_BOX = 1 ID_BTN1 = 2 class TestFrame < Frame def initialize super(nil, -1, "Test App") dlgSizer = BoxSizer.new(VERTICAL)...
2004 Apr 26
7
TRW: getters and setters
...is on the forum but wasn''t sure if anyone was paying attention. I was just wondering if it would be possible to replace the get_something/set_something style methods with the more Rubyish something/something= style (i.e. uniform access). For example, the Button class currently has button.get_label and button.set_label("foo"). It would give me warm, fuzzy feelings if I could do button.label and button.label = "foo". :) Just a thought. Regards, Dan PS - TRW == "The Ruby Way" before you ask. __________________________________ Do you Yahoo!? Yahoo! Photo...
2007 Sep 15
2
wxRuby 1.9.1 and id accessor consistency problem
Hi all, wxRuby 1.9.1 introduced great Rubish style accessors (x.label as a synonym for x.get_label). I just found that get_id has no corresponding Rubish style id accessor. For a CheckListBox or a StaticText (I haven''t checked for other kind of controls), id just returns the Ruby object_id. This is very confusing and not consistent with other accessors. Chauk-Mean. _________________...
2006 Mar 27
4
Patch for Swig 1.3.29
Attached is a patch for Swig that at least allows us to link the library. I am experiencing a number of bugs that will need to be tracked down and squashed. I haven''t even had time to look at the newer Swig features yet. Roy _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2017 Jun 18
2
Problema con Histograma con porcentajes usando ggplot
...46 4.46 96.95 ## 21 Slovenia 1224 3.05 3.05 100.00 ## NA NA 0 0.00 NA NA Ahora voy a hacer un histograma de la variable satisfaccion con la vida, cuyo rango es de 0-10 (numeros enteros, donde mayor valor indica mayor satisfacción con la vida. get_labels(ess$stflife) ## [1] "Extremely dissatisfied" "1" ## [3] "2" "3" ## [5] "4" "5" ## [7] "6" "7" ## [9] "8" "9&quot...
2017 Jun 18
3
Problema con Histograma con porcentajes usando ggplot
....05 3.05 100.00 >> ## NA NA 0 0.00 NA NA >> Ahora voy a hacer un histograma de la variable satisfaccion con la vida, >> cuyo rango es de 0-10 (numeros enteros, donde mayor valor indica mayor >> satisfacción con la vida. >> >> get_labels(ess$stflife) >> >> >> ## [1] "Extremely dissatisfied" "1" >> ## [3] "2" "3" >> ## [5] "4" "5" >> ## [7] "6" "7" &gt...
2007 Mar 21
0
[907] branches/wxruby2/wxwidgets_282: Wx::Control API 2.6 -> 2.8
...21 10:50:01 UTC (rev 907) </span><span class="lines">@@ -23,12 +23,11 @@ </span><span class="cx"> </span><span class="cx"> * "Control#command":#Control_command </span><span class="cx"> * "Control#get_label":#Control_getlabel </span><ins>+* "Control#get_label_text":#Control_getlabeltext </ins><span class="cx"> * "Control#set_label":#Control_setlabel </span><span class="cx"> </span><span class="cx">...
2016 Jun 06
2
Letor stabilisation - project progress
Hello everyone, I have completed introducing some code from v-hasu's branch into mine, mainly for Features, FeatureVector and FeatureManager classes. I have pushed the changes to https://github.com/ayshtmr/xapian/tree/letor-update. I am now proceeding to write unit tests for feature modules. There are a few things that I wanted to clarify: 1. I have introduced a lot of code in a single
2006 Mar 30
5
Patch for wxControl.h
Hello all. This gets past the problem in bigdemo where it won''t start the application at all. That was where it was overflowing the stack on get_label. Roy _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2017 Jun 18
2
Problema con Histograma con porcentajes usando ggplot
...NA 0 0.00 NA NA >>>> Ahora voy a hacer un histograma de la variable satisfaccion con la >>>> vida, cuyo rango es de 0-10 (numeros enteros, donde mayor valor indica >>>> mayor satisfacción con la vida. >>>> >>>> get_labels(ess$stflife) >>>> >>>> >>>> ## [1] "Extremely dissatisfied" "1" >>>> ## [3] "2" "3" >>>> ## [5] "4" "5" >>>> ## [7] &quo...
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 Aug 22
2
TreeEvent patch
Hi Patches to TreeEvent.i and wxTreeEvent.h to implement missing methods (and fix a crasher in bigdemo along the way) Two of the missing methods appeared just to be down to errors in the header file. The other (get_label) works fine - perh a bug in previous versions of SWIG? Methods tested and return correct values on OS X. I could offer a test addition to bigedemo, but this doesn''t feel to me like the right place to add class-specific trial code. I will look to add a treectrl sample, perh just port t...
2007 Jan 03
0
[823] trunk/wxruby2/doc/textile: Remove docs for some deprecated classes
...* "TabControl.new":#TabControl_new -* "TabControl#get_col_position":#TabControl_getcolposition -* "TabControl#get_font":#TabControl_getfont -* "TabControl#get_height":#TabControl_getheight -* "TabControl#get_id":#TabControl_getid -* "TabControl#get_label":#TabControl_getlabel -* "TabControl#get_row_position":#TabControl_getrowposition -* "TabControl#get_selected":#TabControl_getselected -* "TabControl#get_width":#TabControl_getwidth -* "TabControl#get_x":#TabControl_getx -* "TabControl#get_y":#...
2017 Jun 19
2
Problema con Histograma con porcentajes usando ggplot
...NA >>>>>> Ahora voy a hacer un histograma de la variable satisfaccion con la >>>>>> vida, cuyo rango es de 0-10 (numeros enteros, donde mayor valor indica >>>>>> mayor satisfacción con la vida. >>>>>> >>>>>> get_labels(ess$stflife) >>>>>> >>>>>> >>>>>> ## [1] "Extremely dissatisfied" "1" >>>>>> ## [3] "2" "3" >>>>>> ## [5] "4" &qu...
2006 Dec 12
0
[786] trunk/wxruby2/TODO: Refer ppl to tracker for up-to-date list of bugs etc, not sure how much
...ved by swig. ARGH! </span><span class="cx"> </span><del>-- Add support for evt_xxx(:method) as an alternative - -- Remove debugging output for director constructors/destructors - </del><span class="cx"> - Add aliases like label and label= for get_label and set_label. Patch </span><span class="cx"> submitted, decide later whether to apply. </span><span class="cx"> </span></span></pre> </div> </div> </body> </html>
2017 Jun 19
3
Problema con Histograma con porcentajes usando ggplot
...Slovenia 1224 3.05 3.05 100.00 > ## NA NA 0 0.00 NA NA > > Ahora voy a hacer un histograma de la variable satisfaccion con la vida, > cuyo rango es de 0-10 (numeros enteros, donde mayor valor indica mayor > satisfacción con la vida. > > get_labels(ess$stflife) > > > > ## [1] "Extremely dissatisfied" "1" > ## [3] "2" "3" > ## [5] "4" "5" > ## [7] "6" "7" > ## [9] "8&q...
2006 Aug 18
10
TreeCtrl update
The previous TreeCtrl.i was very messy and just plain wrong, for instance it had GetFirstChild as depreciated when in fact only 1 version of it was depreciated not both. I changed GetFirstChild and GetNextChild to return an array of values to match the wxPython and wxPerl usage. I also noticed that wxTreeCtrl is inherited from wxControl on Windows and wxScrolledWindow on everything else so I #if
2007 Apr 30
0
[997] branches/wxruby2/wxwidgets_282: Window - 2.6 -> 2.8 API, new methods and deprecations; update doc
..._text_at_point":#Window_gethelptextatpoint </ins><span class="cx"> * "Window#get_help_text":#Window_gethelptext </span><span class="cx"> * "Window#get_id":#Window_getid </span><span class="cx"> * "Window#get_label":#Window_getlabel </span><span class="lines">@@ -121,6 +124,8 @@ </span><span class="cx"> * "Window#get_parent":#Window_getparent </span><span class="cx"> * "Window#get_position":#Window_getposition </span...
2012 Nov 01
41
[Request for review] [RFC] Add label support for snapshots and subvols
From: Anand Jain <anand.jain@oracle.com> (This patch is for the review/test not yet for the integration). Here is an implementation of the feature to add label to the subvolume and snapshots. Which would help sysadmin to better manager the subvol and snapshots. This can be done in two ways, one - using attr which is user land only changes but drawback is able to change the label