search for: get_column

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

Did you mean: get_columns
2006 Nov 13
0
[735] trunk/wxruby2: Got the ''get_item_sample'' sample working had to add some missing ListCtrl constants.
...</span><span class="cx"> # test of get_item method </span><span class="cx"> 0.upto(2) do |i| </span><del>- item = list.get_item(i) - print "ID:",item.get_id,"\n" - print "column: ",item.get_column,"\n" - print "text: ",item.get_text,"\n" - print "text color:",show_color(item.get_text_colour),"\n" - print "BG color: ",show_color(item.get_background_colour),"\n" - print "font: ",show_...
2007 Jan 14
3
ListCtrl help
...king and maybe you can add it to the samples library.... I''d expect that being able to quickly whip up a cross platform data viewer is a popular reason to use wxRuby. -Hawley ------------------- def on_col_left_click(event) @log.write_text("col clicked, id=%d" % event.get_column()) if @sort_column == event.get_column() @the_data.reverse! else @sort_column = event.get_column() @the_data.sort! {|a,b| a[@sort_column]<=>b[@sort_column]} end @the_data.each do |d| @log.write_text( "%s %s" % [d[0], d[4]]) ##...
2006 Nov 15
0
[740] trunk/wxruby2: API - Make ListCtrl#get_item return a ListCtrl item corresponding to a row and
...@ </span><span class="cx"> _start_ or the beginning if _start_ is -1. </span><span class="cx"> </span><span class="cx"> </span><del>- - - - </del><span class="cx"> h3(#ListCtrl_getcolumn). ListCtrl#get_column </span><span class="cx"> </span><span class="cx"> Boolean *get_column*(%(arg-type)Integer% col, %(arg-type)ListItem% item) </span><span class="lines">@@ -371,23 +361,21 @@ </span><span class="cx"> |@IMAGE_LIS...
2013 Sep 12
10
[PATCH] xen/build: Remove hacked up version of figlet
...te is - http://www.figlet.org/ */ - -#define DEFAULTFONTDIR "." -#define DEFAULTFONTFILE "xen.flf" - -#include <stdio.h> -#ifdef __STDC__ -#include <stdlib.h> -#endif -#include <string.h> -#include <ctype.h> -#include <fcntl.h> /* Needed for get_columns */ - -#ifdef unix -#include <sys/ioctl.h> /* Needed for get_columns */ -#endif - - -#define ZFILE FILE -#define Zopen fopen -#define Zgetc fgetc -#define Zungetc(_x,_y) fseek(_y,-1,SEEK_CUR) -#define Zclose fclose - -#define MYSTRLEN(x) ((int)strlen(x)) /* Eliminate ANSI problem */ - -#defin...
2010 Oct 08
7
[PATCH] Replace pyxml/xmlproc-based XML validator with lxml based one.
...+ for err in dtd.error_log: + err_str = ''ERROR: %s\n'' % (str(err),) + sys.stderr.write(err_str) + sys.stderr.flush() sys.exit(-1) - # Here for compatibility with ValidatingApp - def get_line(self): - return -1 - - def get_column(self): - return -1 - - def dom2sax(self, dom, app): - """ - Take a dom tree and tarverse it, - issuing SAX calls to app. - """ - for child in dom.childNodes: - if child.nodeType == child.TEXT_NODE: -...
2020 Aug 28
0
Wine release 5.16
...criptError::get_Description. msscript.ocx: Implement IScriptError::get_HelpFile. msscript.ocx: Implement IScriptError::get_HelpContext. msscript.ocx: Implement IScriptError::get_Text. msscript.ocx: Implement IScriptError::get_Line. msscript.ocx: Implement IScriptError::get_Column. msscript.ocx: Uncache the module objects when script is restarted, but not the Procedure count. Gijs Vermeulen (8): fsutil: Initialize ret in hardlink() (Coverity). shell32: Free original_dos_name with correct function in TRASH_GetDetails() (Coverity). evr: Fix typo in vid...