Can't find duplicates after only Backspace in entry field.

2010-01-14 Thread Zettai Muri
Hi All, I have used: http://forgeftp.novell.com//gtk2-perl-study/documentation/html/sample_programs/gtk2_treeview_simple.pl as the basis for the attached program. Many thanks to Dirk van der Walt for such an awesome guide. When a row in the tree view is selected it populates the entry box be

Re: Can't find duplicates after only Backspace in entry field.

2010-01-14 Thread Mario Kemper
I've just had a quick look at your program, but I think the regular expression you are using to find the duplicate is not correct in this case. Try if ( $model->get($iter, $column) =~ /^$search_string$/ ) instead of if ( $model->get($iter, $column) =~ /$search_string/ ) See http://perl

Gnome DB bindings

2010-01-14 Thread Tuukka Pasanen
Hi, I've been searching Gnome-DB (http://gnome-db.org) bindings for Perl but I haven't found one. I have used perl-GTK2 and perl-GStreamer bindings and started to wonder how to bind GDA (4.x). I readed the tutorial but GDA is way over the tutorials difficulty. I also studied perl-Glib and GStreamer

Re: Can't find duplicates after only Backspace in entry field.

2010-01-14 Thread Zettai Muri
> I've just had a quick look at your program, but I think the regular > expression you are using to find the duplicate is not correct in this > case. > > Try > if ( $model->get($iter, $column) =~ /^$search_string$/ ) > > instead of > > if ( $model->get($iter, $column) =~ /$search_stri

Re: Gnome DB bindings

2010-01-14 Thread Dan
On Thu, 14 Jan 2010 17:25:17 +0200, Tuukka Pasanen wrote: > Hi, > I've been searching Gnome-DB (http://gnome-db.org) bindings for Perl but > I haven't found one. > I have used perl-GTK2 and perl-GStreamer bindings and started to wonder > how to bind GDA (4.x). Hi. I can't help you with Gnome-DB

UIManager and Menus in Toolbars

2010-01-14 Thread Jeffrey Ray
Hello! I am attempting to use GtkUIManager to create a toolbar with a GtkMenuToolButton item. The documentation for GtkUIManager has this to say: toolitem a GtkToolItem subclass, the exact type depends on the action. Note that tool