Displaying 20 results from an estimated 100 matches similar to: "ReOrdering Wx::TreeCtrl Items"
2007 Jul 31
1
RXML: <ruby:put expr="1+2"/>
Hello
railers,
I''ve always been annoyed by the fact that ERB doesn''t respect XML
specs.
As I mostly write XHTML, I''m trying to write a renderer using only
valid
XML files. Here is an example of a file so you get the feeling of
what
it''s going to
do:
<?xml version="1.0" encoding="utf-8"?
>
<html
2012 Dec 19
0
[LLVMdev] LNT compile-time performance testing
There is currently no one publicly using the compile tests. We use it internally around the clock. I am not sure what Daniel's vision for the use of this externally (i.e. I am not sure how beta/non-beta he thinks this is), but regardless the way to use it is:
1. Create a directory.
2. Stick a bunch of tar balls you want into the directory.
3. Create a project_list.json file and write a
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
2007 Jul 05
8
when can publish the next version?
when can publish the next version?
i am waiting...
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2007 Jun 19
5
Wx::ToolBar#insert_tool
Hey guys,
Wx::ToolBar#insert_tool, is either not referenced right, or needs to be
updated.
1.) Wx::ToolBar#insert_tool(size_t
pos, ToolBarToolBase tool) comes up with a No overloading function
type error, AKA 404 Not Found
2.) Wx::ToolBar#insert_tool(size_t pos, Integer toolId, Bitmap bitmap1,
Bitmap bitmap2 = NullBitmap, Boolean isToggle = false, Object clientData =
nil, String shortHelpString
2007 Nov 13
3
New wxTree method
Here''s my first try at a contribution to the wxRuby project:
The tree control seemed to lack a more Ruby-ish way to add a bulk of
items to a tree control (and to easily connect a data structure to a
tree). Since tree view can be seen as an array of arrays, I simply added
a method called append_array (see attached file). With it, you can add a
full tree as simple as:
---
root =
2009 Aug 28
2
TreeCtrl Scrolling
I have been playing around with the wxRuby TreeCtrl for a couple of
weeks now and I can''t figure out how to get the scrolling to work. I
believe it has scrolling built in but I can''t get the to show up. I can
place the TreeCtrl in a ScrolledWindow and scroll around over the tree
but that breaks TreeItem visibility checks because the TreeCtrl doesn''t
know about
2007 May 07
9
0.0.40 tagged
I''ve tagged 0.0.40 in subversion and created the release on rubyforge.
Roy, Sean, please could you compile and upload the binary gems when you
have a moment - thanks in advance. Drop me a line off list so I know
when to make an announcement.
cheers
alex
2007 Dec 28
2
controls within a wxTreeCtrl
What I''d like to be able to do is use a wxTreeCtrl to manage a tree layout
of not only text, but several buttons which would line up adjacent to the
text in the tree items. I''ve googled around a bit on this and it doesn''t
seem straightforward, if it is possible at all.
Can anyone provide any pointers for attempting this?
In a simple ASCI schematic, it would be like
2004 May 22
4
couple of questions
Hi folks
A couple of questions:
1) I seem to get funny artifacts in the display of TreeCtrl, ComboBox
and ListBox when the MDI child frame containing it is first painted (see
attached - it should be two-root treeview, unopened). I''m not sure if
it''s related to being in a MDI, but the controls sample looks OK. The
artifacts are cleared up when it''s repainted or
2007 Oct 18
6
Bug in minimal.rb
Hi!
I discovered WxRuby2 and WxSugar a short while ago (1.9.1) and I really
like its professional look and the platform independance. But
especially the simplification and ''rubyfication'' that you already
achieved and are planning for 1.9.2 (event handlers) is funstuff!
Thanks a lot!
And with Ruby 1.9/2 the keyword constructors will be even nicer with
the new hash syntax:
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
2006 Nov 12
1
TreeCtrl item_data
The attached fixes set_item_data, get_item_data and some other methods
for the TreeCtrl so they work nicely with Ruby objects and GC.
In C++ Wx TreeCtrl item_data works differently from client_data in
classes derived from ControlWithItems (eg Choice, ListCtrl). A
one-to-one mapping of the way TreeCtrl works would mean that you would
have to derive a class from TreeItemData, and instantiate
2004 Feb 08
5
wxruby 0.2 for osx panther release
A first draft of the wxruby binary release for the macintosh is now
available at:
http://www.nicreations.net/wxruby-0.2-osx-panther.dmg
Install the metapackage (mpkg). You will need to choose a folder for the
sample apps. wxruby.bundle is installed in
/usr/lib/ruby/1.6/powerpc-darwin7.0
A few questions:
1) Should I just leave the samples in a folder instead of making the
user
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 14
1
how to simulate key_down event(when event.get_key_code()==Wx::K_DOWN) in ListCtrl or TreeCtrl?
I want to simulate vi(vim) like operations in ListCtrl or TreeCtrl,
that is, for example, when user pressed a ''j'' on keyboard,the selected
item change into the next one item, just like user press a
Wx::K_DOWN(arrow key down on keyboard) .
but not jump to some item started with a "J" charater.
evt_tree_key_down(TreeTest_Ctrl) { | e | on_tree_key_down(e) }
...
def
2007 May 21
13
First drop of new memory management
Hi
Just a quick update on memory leaks etc. I''ve just dropped a bunch of
patches with a new approach to linking ruby''s GC to Wx''s memory
handling. Still some work to do - eg bigdemo.rb falls over quite quickly
- but working well for me on other samples.
Briefly, it disposes of fixdeleting. For almost all objects that aren''t
Windows, they should now be
2006 Dec 03
3
tag and release 0.0.38
Hi
I''d like to tag and release 0.0.38 in the next week or so.
I know we still have a nasty GC bug on windows, but I''m thinking we
could just tell people to use GC.disable for the time being if that
avoids the problem. After all, it''s not meant for production use yet.
This would make other recent bugfixes and enhancements available. Plus
having a binary build out
2008 May 23
3
Rss-wxruby
Bonjour Alex.
J''ai créer une application(Rss-wxruby) et je l''ai déposée en téléchargement sur le site "Tom''s guide". Ils ont créer les screenshots, et la problème:
Il y a des carrés qui ressortent de partout???
Voilà un url pour l''exemple du problème avec les carrés qui ressortent:
2012 Dec 19
2
[LLVMdev] LNT compile-time performance testing
Hi,
I was looking at LNT's "compile" tests, listed here:
$ lnt-sandbox/bin/lnt showtests
Available tests:
compile - Single file compile-time performance testing
nt - LLVM test-suite compile and execution tests
When trying to run it, I get Python exceptions in the code trying to
parse the output of 'ifconfig' in order to infer my MAC address (this
is on 64-bit