logo       

Re: [Gtk-Perl] Gtk2::SimpleList: msg#00301

Subject: Re: [Gtk-Perl] Gtk2::SimpleList
On Sat, 2003-07-26 at 14:51, muppet wrote:
> > $ldata->[0][1] would return 'one'
> 
> i think that should be [0][0]...

yes it should. i was getting really hungry and didn't even read back
over the message before i sent it. 

> > it also will keep up with updates, i.e. when the bool's change.
> 
> actually, i think it only keeps up with changing of bools.  you'll have 
> to use normal treeview tricks to get editable cells.

that it keeps up with bool's was all i was trying to say. there's a todo
at the top of the module code about looking into editable text cells.

things that are broken and/or yet to come:

- scalar column type, doesn't work. i think there's a problem when the
text cell render tries to grab it's source, the scalar, it doesn't seem
to know what to do with a GPerlSV. 

- fetching an empty column, one that should be empty, complains:
        gperl_new_object (NULL) => undef at
/home/rmcfarla/lib/gtk2-perl-xs/Gtk2/blib/lib/Gtk2/SimpleList.pm line
139. 
to invoke this put '$pixbuf = undef;' at line 58 (i think, it's the one
right in front of the initial array assignment) of t/19.GtkSimpleList.t

- get selected_index, select_index, and other such sundries (these would
be great things to look at doing for those of you who's domain is perl
alone, and not xs, but would like to chip in) 

- lots more, ideas welcome...

i'm going to look at writing an example app and then doc'ing the
Gtk2::SimpleList module when i work on things again. after that i'll
look at the above items. muppet, or anyone else, is welcome to track
those down.

personally i think this (and these kind of things) will be the biggest
selling points of Gtk2-Perl. the list tree model stuff is a pain in the
ass by hand. it doesn't get too much simpler than this.

-rm


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe