search for: get_row

Displaying 10 results from an estimated 10 matches for "get_row".

2007 Mar 20
0
[903] branches/wxruby2/wxwidgets_282/samples: Added #!/usr/bin/env ruby to the grid sample.
...1, 6, 3) } - menu_bar = Wx::MenuBar.new - menu_bar.append(sel_menu, ''Select'') - set_menu_bar(menu_bar) - - make_grid(self) - sizer.add(@grid, 1, Wx::ALL|Wx::GROW, 4) - set_sizer(sizer) - - evt_grid_cell_left_click() do |evt| - set_status_text("#{evt.get_row} x #{evt.get_col} is clicked") - evt.skip - end - - evt_grid_cell_right_click() do |evt| - set_status_text("#{evt.get_row} x #{evt.get_col} is right clicked") - evt.skip - end - - evt_grid_cell_left_dclick() do |evt| - set_status_text("#{evt.get...
2007 Feb 14
0
[875] trunk/wxruby2/samples: Add expanded grid sample
...1, 6, 3) } + menu_bar = Wx::MenuBar.new + menu_bar.append(sel_menu, ''Select'') + set_menu_bar(menu_bar) + + make_grid(self) + sizer.add(@grid, 1, Wx::ALL|Wx::GROW, 4) + set_sizer(sizer) + + evt_grid_cell_left_click() do |evt| + set_status_text("#{evt.get_row} x #{evt.get_col} is clicked") + evt.skip + end + + evt_grid_cell_right_click() do |evt| + set_status_text("#{evt.get_row} x #{evt.get_col} is right clicked") + evt.skip + end + + evt_grid_cell_left_dclick() do |evt| + set_status_text("#{evt.get...
2004 Dec 09
6
Scrolling to the bottom of a Grid
Hi, Thanks to the newly added event handlers for Wx::Grid in the 0.6.0 release, I can now provide a much slicker intreface to my "data widgets" which heavily rely on that control. However, I haven''t quite figured out how to programmatically scroll to the last row of a populated grid (actually, the first empty row). So say that I have a grid with 200 rows only 20 of which
2020 Sep 04
2
Intel AMX programming model discussion.
...w, col} is defined in each if/else clause. So at line 57, the shape of c in unknown. Do you have any advice for such problem? 52 void kernel(int cond) { 53 _tile a = {row, 8}; 54 _tile b = {8, col}; 55 56 // copy shape to stack slot 57 // ldtilecfg a, b, c 58 if(cond) { 59 short row = get_row(); 60 short col = get_row(); 61 _tile c = {row, col}; 62 __tile_loadd(&a, buf, STRIDE); 63 __tile_loadd(&b, buf, STRIDE); 64 __tile_loadd(&c, buf, STRIDE); 65 } else { 66 short row = get_row(); 67 short col = get_row(); 68 _tile c = {row, col}; 69 _...
2020 Sep 04
2
Intel AMX programming model discussion.
On 9/4/20 3:37 AM, Luo, Yuanke wrote: > > Hi Hal, > > Thank you for the ideas that help us to improve the design, and sorry > for replying late. There is something I am not able to figure out and > there some special trait for tile RA. > You're quite welcome. > 1.X86RegisterInfo::getRegAllocationHints can tell RA which physical > register is preferred, but it
2010 Jan 16
0
Converting snmpset() and snmpget() functions of php in rails
...2.3.3.1.1.4''; $toret = false; if($pdb->connected) { $query = "SELECT snmp_community_str, address, reset_port FROM gd_portal_apc_reboot WHERE device_id=$device_id"; if($result = $pdb->query($query)) { if($pdb->num_rows($result)) { $row = $pdb->get_row($result); snmpset($row[''address''], $row[''snmp_community_str''], $oid.".".$row[''reset_port''], ''i'', ''3''); $count = 0; while($count < 20 && $toret == false) {...
2007 Feb 12
0
[865] trunk/wxruby2/doc/textile/gridsizer.txtl: Added missing methods section
...t;/span><span class="cx"> </span><ins>+h2. Methods + +<div id="methods"> + +* "GridSizer.new":#GridSizer_wxgridsizer +* "GridSizer#get_cols":#GridSizer_getcols +* "GridSizer#get_hgap":#GridSizer_gethgap +* "GridSizer#get_rows":#GridSizer_getrows +* "GridSizer#get_vgap":#GridSizer_getvgap +* "GridSizer#set_cols":#GridSizer_setcols +* "GridSizer#set_hgap":#GridSizer_sethgap +* "GridSizer#set_rows":#GridSizer_setrows +* "GridSizer#set_vgap":#GridSizer_setvgap + +</...
2008 Nov 01
13
wxRuby 1.9.9 released
Hello I''m happy to announce that wxRuby version 1.9.9 is now available for download and gem installation: http://rubyforge.org/frs/?group_id=35&release_id=27842 gem install wxruby On Linux, the default binary gem is now dynamically linked to wxWidgets. This means you''ll need to install wxWidgets from your package manager. See below for more info. == CHANGES == This
2019 Feb 04
0
Wine release 4.1
...d3d_device_set_predication(). d3d9/tests: Add more tests for reset state after DrawIndexedPrimitiveUP(). d3d8/tests: Port test_draw_primitive() from d3d9. msi: Factor out int_to_table_storage(). msi: Set table values directly in msi_select_update(). msi: Get rid of the get_row() view operation. msi: Remove an unnecessary call to SELECT_get_dimensions(). msi: Store the IStorage list as an array of STORAGE structures. ntoskrnl.exe/tests: Open the test file for synchronous I/O. ntoskrnl.exe: Implement KeReleaseSpinLockFromDpcLevel(). ntoskrnl.e...
2008 Oct 24
0
Wine release 1.1.7
...RegLocator table. msi: Fix the returned format of REG_BINARY data. msi: Append a backslash to the AppSearch directory path. msi: Append a backslash to the AppSearch registry path. msi: All files are uncompressed in an administrative image. msi: Pass the correct view to get_row. msi: Return the requested ini field. msi: Add more tests for the AppSearch action. msi: Check the file version when a version is provided in the signature. msi: Add more tests for the RegLocator part of the AppSearch action. msi: Handle searching for a file with no si...