similar to: Wx::ListItem data

Displaying 20 results from an estimated 5000 matches similar to: "Wx::ListItem data"

2009 Oct 24
6
Working with ListCtrl and ListItem
Hi List, I''m trying to get my ListCtrl to work. Currently I''ve managed to fill my ListCtrl with items, but I think it''s not the most beautiful way: class MyList < Wx::ListCtrl def initialize(parent, *args) super(parent, :style => Wx::LC_REPORT|LC_HRULES ) create_layout fill_list end def create_layout self.insert_column(0, "Name")
2008 Jun 30
1
Issue with Wx::Image class, especially set_data
Hello Hopefully some developer will see this too. I''ve problems using set_data method for example with wxruby 1.9.7/ruby 1.8.6 on mswin32. It always crashes: ..../classes/bitmap.rb:17: [BUG] segmentation fault On my Linux it works fine (thats no suprise of course). Probably somebody has a clue - I exported this raw data also with get_data, I guess this should be platform independent
2011 Apr 21
1
How to Retrieve content of the document?
Hi, I have just started using xapian and I may sound like a noob. I want to know how i can access the content of the document retrieved while searching. I have used the code found on this mailing list itself to index my database. #!/usr/bin/perl -w use strict; use Search::Xapian; use File::Find; my $DATABASE_DIR = '/home/rohit/Desktop/SET/DB'; my $db =
2006 Mar 28
3
ListItem patches
Hi Attached, patches to implement ListItem. This class, in wxruby 0.6.0, allows styling of individual items in a ListCtrl, via a particularly clunky API. In disambiguating the overloaded ListCtrl#set_item method it introduces one non backwards-compatible change. I''ve followed the WxPython convention as described in the Wx class ref, renaming set_item(index, col, string, imageid) to
2013 Feb 06
2
require 'wx' ruby 1.8 vs 1.9
Hi, i''m going to port my wxruby application from ruby 1.8 to 1.9.x. Everything went smoothly and i''ve got many advantage over the port. With ruby 1.9.x my app run blazingly fast on startup either on MacOSX and Linux while on Windows (xp, vista, win7) it takes longer (~20 sec. more). The problem is on "require ''wx''" instruction (you can test on an
2007 Sep 05
6
centering MessageDialog
Hi, is there any way to center the default Wx::MessageDialog or Wx::message_box on parent (owner) instead of screen? I haven''t found any constant other than Wx::DEFAULT_POSITION. thanks for your help. fabio. _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2005 May 06
3
Problems setting image data
Hi, I''ve been having some intermittent (but repeatable) problems using Image#set_data. In some cases, I get just a black image drawn after I''ve set a (non-black) image. Other times I get a MSVC++ runtime exception. It happens on the same files at the same time. I''m confident that I''m setting the correct amount of data for the image size. (Note: Ruby 1.8.2,
2006 Sep 24
4
SWIG exceptions
I was trying to fix the problem with wxImage and the char */unsigned char * thing today and I was going to hand-write the functions to translate between the two. While doing so I decided I''d clean up the SWIG error message to make it more clear. Here''s an example SWIG-generated argument error: in method SetData'', argument 2 of type ''wxImage *''
2006 Mar 16
1
Patch: patches for smbmount opton documentation ( smbmount.8.xml )
Hi, I use samba on Linux 2.6 and 2G over size file sharing. It seems smbmount '-o lfs' need to use with large file. but default man page doesn't say this option. I want to edit smbmount.8.xml for lfs and unicode option. I believe using mount.cifs is right way on latest Linux. But one of the implementation smb_clients tools take this lazy option. Is it right way to change of man page
2016 Feb 08
2
[LLD] Incorrect comparision of pointers to function defined in DSO
Yes, I had just reduced it too. I am pretty sure this was implemented at some point. Taking a look. Cheers, Rafael On 8 February 2016 at 17:52, Sean Silva <chisophugis at gmail.com> wrote: > Sounds like it is related to this: > > http://www.airs.com/blog/archives/42 > """ > > The fact that C permits taking the address of a function introduces an >
2013 Jan 19
1
PAM function ordering
Dear all, I've been looking into hacking with some PAM modules, and thought I could learn from the OpenSSH source (it's probably the closest thing to a canonical cross-platform consumer of the API). One thing I've noticed I don't understand though is how OpenSSH's invocation of do_pam_session/setcred can work (in main of the process forked in sshd.c). Ignoring privsep for the
2007 May 01
1
How to insert item to ListCtrl
The only way I know to use ListCtrl is to call ListCtrl#set_item_count and define a callback function on_get_item_text(item, col) How can I insert Listitem one by one, that each Listitem is composed with several string -- flyerhzm@hotmail.com _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2006 Nov 13
0
ListCtrl / ListItem
The attached patch builds upon Sean''s neat work adding the ListItem constants. Instead of passing a ListItem into ListCtrl#get_item, you now pass the row and optionally the column you want info for, and get a ListItem back. This was suggested by how wxPython works, according to the docs. I hadn''t realised until now, but %extend does work correctly with directors - so as
2016 Feb 08
3
[LLD] Incorrect comparision of pointers to function defined in DSO
Hi, It looks like I have found a bug in LLD. Suppose DSO defines a global variable 'data' and initializes it by the address of function 'set_data' defined in the same DSO. If an executable file (linked by LLD) gets address of the '&set_data' function and compares it with a value stored in the 'data' variable it gets different result. If the executable is linked
2008 Nov 30
7
wxComboBox and wxTE_PROCESS_ENTER
Hi all, i am trying to use wxComboBox (instead of wxChoice) to capture wxTE_PROCESS_ENTER event. If i enable TE_PROCESS_ENTER flag on the resulting xrc file, i get an ''Unknown style flag wxTE_PROCESS_ENTER'' on app loading. Probably wxComboBox doesn''t reconize this kind of event. How do i catch this event for the wxComboBox widget? Thank you all. bio.
2013 Oct 23
2
performance on document.get_data()
I got some performance issue for document.get_data() and enquire.get_mset(). It costs 35 seconds for matches = enquire.get_mset(0,200), and 3 seconds for iterating all doc in matches to get_data. Is't normal? My index contains 30millions documents. I use python binding to operate xapian. Bellow it's my index structure # value: 0:date, 1:site # data: json message which contains: author,
2004 Jan 15
10
Wx::ListCtrl#get_item method
Hi guys! I have a question (or a request?) on Wx::ListCtrl#get_item method. As you can see in the wxWindows reference, wxListCtrl::GetItem method of C++ is different from that of wxPython. C++ return value: boolean argument: wxListItem& info wxPython return value: wxListItem arguments: int ID, int column (optional) How about wxruby? >From the wxruby source code, wxruby looks
2007 Jan 17
3
Fedora 6 -- can''t load wx
Hi, I''ve installed and used wxRuby on Win32, and am trying to install it on Linux for the first time. I''m running Fedora Core 6. Here is what I have installed, but as shown below, when I try to load wx, I''m told it cannot be loaded. I get the same error when trying to run some of the sample wxruby scripts. Sorry for the newbie question, but am I missing something
2007 Feb 01
2
Re: [Nut-upsuser] Ablerex 625L USB version
Hi Jon, your patches are malformed because (presumably) your email client wrapped this lines. Could you please send these as a unified diff ("diff -u"), and send them in attachments, rather than as a copy-and-paste? Thanks, -- Peter Jon Gough wrote: > > Peter, > Here are the files I have worked on. I hope I have diff'd them > correctly. I have not touched the
2003 Nov 27
1
AGI (IF/ELSE)
I need some help with some statements..... #!/usr/bin/perl use Asterisk::AGI; $AGI = new Asterisk::AGI; my %input = $AGI->ReadParse(); my $callerid = $input{'callerid'}; if ($optemp != 1) { my $empid = $AGI->get_data('employee',-1,5); $AGI->stream_file(entered); $AGI->say_digits($empid); my $optemp =