search for: appenditem

Displaying 6 results from an estimated 6 matches for "appenditem".

Did you mean: append_item
2006 Apr 25
5
FXListBox ...connect(SEL_COMMAND)
Hi, I think I got a problem with the FXListBox widget. ( ruby 1.8.4 (2005-12-24) [i386-mswin32]) ) FXListBox.new(parent, nil, 0) do |libo4| libo4.appendItem("0 very weird") libo4.appendItem("1 very weird") libo4.appendItem("2 very weird") libo4.appendItem("3 very weird") libo4.appendItem("4 very weird") libo4.appendItem("5 very weird") libo4.appendItem...
2005 Mar 23
2
FXListBox size behavior?
...ne-click installer # on Windows XP) require ''fox12'' include Fox application = FXApp.new("listboxtest", "FoxTest") main = FXMainWindow.new(application, "FXListBox test", nil, nil, DECOR_ALL, 0, 0, 400, 200) myListBox = FXListBox.new(main) myListBox.appendItem("a very long example") myListBox.appendItem("short") myListBox.appendItem("longer") myListBox.appendItem("even longer") myListBox.appendItem("shorter") myListBox.numVisible = myListBox.numItems application.create main.show(PLACEMENT_SCREEN) applica...
2005 Jul 27
2
SWIGging ConfigBase
Hi all I''m trying to write an .i file for ConfigBase. If I can figure out a few general SWIG things then I think most of it will work. Apols for the noob swig questions. The C++ class has lots of overloaded methods called Read, which return different kinds of values. In wxruby-not-swig these are implemented as read, read_bool, read_int and so on. read() means read_string(). In ruby
2010 Apr 03
0
FXlistBox.fillItems() segmentation fault - Found Work-around
...arItems() mylistbox.fillItems(new_list) This would work for awhile, but after enough iterations of clearing and replacing the items in the listbox it would segmentation faults at the .fillItems call. I found a workaround. If instead, I do: mylistbox.clearItems() new_list.each { |item| mylistbox.appendItem(item) } the app works fine and never gives a segmentation fault. I don''t know why the latter is stable, while the former is not, but at least I found a working solution. I thought I''d post this in case someone else runs into this problem in the future. --Alex -------------- ne...
2007 Mar 29
0
[927] branches/wxruby2/wxwidgets_282/swig/classes: Changed the version of InsertItem that puts the item before current selection to InsertItemBefore
...ge = -1, + // wxTreeItemData *data = NULL); </ins><span class="cx"> </span><span class="cx"> // insert a new item in as the last child of the parent </span><span class="cx"> virtual wxTreeItemId AppendItem(const wxTreeItemId& parent, </span></span></pre> </div> </div> </body> </html>
2019 Aug 16
0
Wine release 4.14
...slight rewording fix in a comment. ntdll: Add a trailing '\n' to a TRACE(). jscript: Add a trailing '\n' to a WARN() message. Gijs Vermeulen (7): wmp: Improve playlist creation. wmp: Implement IWMPPlaylist::get_count. wmp: Fake success in IWMPPlaylist::appendItem. wmp: Implement IWMPPlaylist::[get|put]_name. wmp/tests: Add some IWMPPlaylist tests. wine.inf: Update E. South America Standard Time. wmp: Fix memory leak in IWMP[Media|Playlist]::put_name. Henri Verbeet (49): wined3d: Pass a wined3d_context_gl structure to context_s...