Re: Tutorial perl-Gtk3 and Windows/MSys

2021-07-20 Thread Mike Martin via gtk-perl-list
t t/a.t line 92. # got: undef # expected: 'CODE(0x20a7dea97b0)' On Mon, 19 Jul 2021 at 14:25, Mike Martin wrote: > Further info (gcc wasnt installed) > > "C:\msys64\mingw64\bin\perl.exe" -MExtUtils::Command::MM -e cp_nonempty -- > Glib.bs blib\arch\a

Re: Tutorial perl-Gtk3 and Windows/MSys

2021-07-19 Thread Mike Martin
ghal wrote: > On 2021-07-17 at 15:19:25 +0100, Mike Martin via gtk-perl-list wrote: > > Hi I am struggling with this, been trying to install on mingw64 for a > week. > > > > Anyone had any joy recently? > > various issues tried compiling one by one and glib fails wi

Re: Tutorial perl-Gtk3 and Windows/MSys

2021-07-19 Thread Mike Martin
| ^~~~ mingw32-make: *** [Makefile:452: Glib.o] Error 1 On Mon, 19 Jul 2021 at 12:36, Mike Martin wrote: > Thanks for this. > I am sill getting an issue, it seems to be an oddity with paths > > from cpanm build.log > > [ CC Glib.c ] > process_begin: CreateProces

Re: Tutorial perl-Gtk3 and Windows/MSys

2021-07-19 Thread Mike Martin via gtk-perl-list
| ^~~~ mingw32-make: *** [Makefile:452: Glib.o] Error 1 On Mon, 19 Jul 2021 at 12:36, Mike Martin wrote: > Thanks for this. > I am sill getting an issue, it seems to be an oddity with paths > > from cpanm build.log > > [ CC Glib.c ] > process_begin: CreateProces

Re: Tutorial perl-Gtk3 and Windows/MSys

2021-07-19 Thread Mike Martin via gtk-perl-list
ghal wrote: > On 2021-07-17 at 15:19:25 +0100, Mike Martin via gtk-perl-list wrote: > > Hi I am struggling with this, been trying to install on mingw64 for a > week. > > > > Anyone had any joy recently? > > various issues tried compiling one by one and glib fails wi

Re: Tutorial perl-Gtk3 and Windows/MSys

2021-07-17 Thread Mike Martin via gtk-perl-list
Hi I am struggling with this, been trying to install on mingw64 for a week. Anyone had any joy recently? various issues tried compiling one by one and glib fails with symbols error (using cpanm) On Thu, 8 Jun 2017 at 12:31, wrote: > Hello everybody, > > I have created a little tutorial about pe

Using Gtk macros

2019-09-06 Thread Mike Martin via gtk-perl-list
How do I use Gtk macros in perl-gtk? eg in c GTK_IS_CONTAINER(widget) What is the corresponding method in perl-gtk thanks ___ gtk-perl-list mailing list gtk-perl-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-perl-list

Strange issue with cell_data_func and Gtk3::FileSelectionDalog

2019-05-08 Thread Mike Martin via gtk-perl-list
I am getting annoying G_IS_ObJECT warnings when I have a cell_data_function my $cellfunc1=$widgete{controlview}->get_column(1)->get_cells; $widgete{controlview}->get_column(1)->set_cell_data_func ($cellfunc1, sub { my ($column, $cell, $model, $iter,$cellfunc1) = @_; my $path=$

Re: G_IS_OBJECT (object)' failed at /usr/share/perl5/vendor_perl/Gtk3.pm line 546 gtk-perl x

2019-04-24 Thread Mike Martin via gtk-perl-list
When I tried running my program from gdb I got an error about program type, when I attached gdb to a running instance no widgets were responsive On Wed, 17 Apr 2019 at 14:36, Emmanuele Bassi wrote: > On Wed, 17 Apr 2019 at 14:11, Mike Martin via gtk-perl-list < > gtk-perl-list@gnome.o

G_IS_OBJECT (object)' failed at /usr/share/perl5/vendor_perl/Gtk3.pm line 546 gtk-perl x

2019-04-17 Thread Mike Martin via gtk-perl-list
I've now got this dreaded message. Is there any way to find out which line is triggering it? thanks Mike ___ gtk-perl-list mailing list gtk-perl-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-perl-list

Setting background of ToggledButton on pressed

2019-03-13 Thread Mike Martin via gtk-perl-list
After a fairly frustrating day working out how to change the background on togglebutton when pressed, here is my code, if it helps anyone my $display = Gtk3::Gdk::Display::get_default (); my $screen = $d->get_default_screen; my $provider = Gtk3::CssProvider->new; $provider->load_from_data ( 'butto

Re: Treeview sortingis this a bug

2019-03-06 Thread Mike Martin via gtk-perl-list
Apparently , yes this is a bug in gtk upstream https://gitlab.gnome.org/GNOME/gtk/issues/794 On Tue, 5 Mar 2019 at 23:12, Mike Martin wrote: > I am trying to toggle sorting on a liststore, so I am trying to use > > $list->get_column(0)->set_sort_column_id(-2) > where

Treeview sortingis this a bug

2019-03-05 Thread Mike Martin via gtk-perl-list
I am trying to toggle sorting on a liststore, so I am trying to use $list->get_column(0)->set_sort_column_id(-2) where list is a treeview containing a liststore as per GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID #define GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID (-2) The GTK_TREE_SORTABLE_DEFAULT_

Re: Build errors against current Gtk3

2019-02-26 Thread Mike Martin via gtk-perl-list
. Files=1, Tests=162, 1 wallclock secs ( 0.07 usr 0.02 sys + 0.44 cusr 0.05 csys = 0.58 CPU) Result: FAIL On Tue, 26 Feb 2019 at 17:25, Jeff via gtk-perl-list < gtk-perl-list@gnome.org> wrote: > On 26/02/2019 13:21, Mike Martin via gtk-perl-list wrote: > > Trying to build Gtk3-pe

Build errors against current Gtk3

2019-02-26 Thread Mike Martin via gtk-perl-list
Trying to build Gtk3-perl and getting the following errors Test Summary Report --- t/overrides.t(Wstat: 65280 Tests: 162 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 233 tests but ran 162. Files=22, Tests=843, 5 wallclock secs ( 0.1

Issue with iters with cellrenderercombo and sorted columns

2019-02-25 Thread Mike Martin via gtk-perl-list
I have a wierd issue with iters and and a liststore with a combo cellrender and edited signal. If I dont sort the column everything is fine the iter points to the right row. However if I do sort the iter points to a different row Code is setup for column renderers sub tv_cols { my ($cols,$li

Re: Strange issue with subroutine being called too late

2019-01-18 Thread Mike Martin via gtk-perl-list
Ignore message, found issue, needed a return value of 0 to the sub-routine On Fri, 18 Jan 2019 at 10:47, Mike Martin wrote: > Hi > I have a procedure which should be called on error (if a directory doesn't > exist a window pops up as follows; > > foreach my $fil

Strange issue with subroutine being called too late

2019-01-18 Thread Mike Martin via gtk-perl-list
Hi I have a procedure which should be called on error (if a directory doesn't exist a window pops up as follows; foreach my $filesg (keys %{$changes}){ my ($filename,$dirname,$ext)=fileparse($changes->{$filesg}->{newname},qr/\.[^.]*/); unless (-d $dirname){

Problems with populating combo box with editing-started signal

2018-11-24 Thread Mike Martin via gtk-perl-list
Hi $datamwidgetw->{keyfieldc}->get_cells->signal_connect('editing-started'=>sub{ print 'editing',"\n"; my ($cell,$combo)=@_; my $model=$combo->get_model; print $model; $model->clear; } ) This doesnt do anything (at all), $datamwidgetw->{keyfieldc} is

Re: Prolems with liststore insert_with valuesv

2017-08-07 Thread Mike Martin
partial answer to my own question if I replace insert_with_valuesv to insert_with_values it works On 7 August 2017 at 17:35, Mike Martin wrote: > Hi > I am trying to use insert_with_valuesv to populate a liststore as follws > > my ($resultmodel,$result)=@_; > no strict '

Prolems with liststore insert_with valuesv

2017-08-07 Thread Mike Martin
Hi I am trying to use insert_with_valuesv to populate a liststore as follws my ($resultmodel,$result)=@_; no strict 'refs'; #print $resultmodel; my @cols=0 .. scalar @{$result->[0]} -1; foreach my $f (@{$result}){ my $iter=$resultmodel->insert_with_valuesv(-1,\@cols,$f); } $r

Re: Combox - show one column but two columns in popup

2017-06-20 Thread Mike Martin
file}->clear; $widgetsm{tunefile}->pack_start ($renderer, 'FALSE'); $widgetsm{tunefile}->add_attribute ($renderer, text => 0); $window->resize($w,$h); } } ); On 20 June 2017 at 00:59, Mike Martin wrote: > Is this possible? > &g

Combox - show one column but two columns in popup

2017-06-19 Thread Mike Martin
Is this possible? ie I have a combobox based on a two column liststore I want only the first column to be shown in the combobox, but both columns to be shown in the popup The model is populated by an array of filename/directory name I'm sure I must be missing something obvious thanks example

Struggling with TreeModelFilter

2017-05-22 Thread Mike Martin
Hi I have a small (3 columns including filter column) treeview with a treemodel filter. Editing works fine if no filter is applied, but if a filter is applied I cant get the edit to apply to the correct row in the underlying model. I assume its something to do with setting an iter_to_child_iter m

Is there a way to access the g_* (gobject) methods directly within gtk-perl

2017-05-21 Thread Mike Martin
Hi I think I need to access the g_ methods directly within my app, in particular the g_signal stuff eg: where $vtype is a widget $vtype->signal_list_ids; $vtype->signal_lookup('changed'); The Gtk3 docs seem to imply that this should work, but obviously I am doing something wrong thanks Mike _

How to access signal_id from widget

2017-05-20 Thread Mike Martin
Is this possible? I have tried $widget->signal_lookup, but I get Can't locate object method "signal_lookup" via package "Gtk3::ComboBoxText. Same for signal_list_ids Basically I need to block changed signal while the combobox model gets updated by a sub in another part of the application ___

How to stop glib main loop mixing up perl loops

2017-03-16 Thread Mike Martin
*I have a weird issue on an application I am developing* *The application is fully tabbed and runs loops to transcode video files, and I would like to be able to run the main transcoding loop fully in parellel, ie: the process running in one tab is totally separate to that running in another tab*

Re: Glib threads in gtk-perl?

2017-03-15 Thread Mike Martin
Suspected as much. Looks like it's back to square one. On 15 Mar 2017 3:08 p.m., "Brian Manning" wrote: > On Tue, Mar 14, 2017 at 4:24 AM, Mike Martin wrote: > > Hi > > It was suggested that I look into using glib threads after posting the > > problem belo

Glib threads in gtk-perl?

2017-03-14 Thread Mike Martin
Hi It was suggested that I look into using glib threads after posting the problem below to gtk-list I keep getting method not found when I try to create threads using Glib::ThreadPool->new or Glib::Thread->new Are g_threads not implemented? Alternately any other ideas on the issue thanks Mike

Liststore sorting and update questions

2017-02-06 Thread Mike Martin
Hi I have two questions that I cant findout how to do with simple list 1. Sorting I want to enable manual sorting by clicking on header, but disable the automatic sorting that happens when you change a value 2. Is there a way that the value in the cell gets updated when you leave the liststore (e

Gtk3:: List number of rows

2016-11-08 Thread Mike Martin
Anyone got a way to get the number of rows / last row inserted from an existing Gtk3::Grid thanks Mike ___ gtk-perl-list mailing list gtk-perl-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-perl-list

Re: 'Cannot convert arbitrary SV to GValue' when setting child property of GtkStack

2016-10-19 Thread Mike Martin
Hi , I am migrating an app from gtk2 to gtk3 and when I call child_get from a table widget I am getting Gtk3:;Table has no method child_get. Could this be related? On 10 August 2016 at 12:40, Daniel Kasak wrote: > That's it :) Thanks Torsten. > > Dan > > On Tue, Aug 9, 2016 at 5:53 PM, "Torsten

Issues with upstream gtk

2016-09-30 Thread Mike Martin
Anyone else seeing significant issues with upstream gtk? In particular directory selection has been broken since April and ditto scrolledwindow. Not seen any bug reports but breaking various apps of mine ___ gtk-perl-list mailing list gtk-perl-list@gnome

Annoyance with treestore (SimpleList) and remove row

2010-10-25 Thread Mike Martin
Hi when I remove a row in a simplelist I get the following warning Gtk-CRITICAL **: gtk_list_store_get_value: assertion `VALID_ITER (iter, list_store)' failed at /usr/lib/perl5/Gtk2/SimpleList.pm line 248. *** unhandled exception in callback: *** [gperl_sv_from_value] FIXME: unhandled type - 0

CellRenderCombo in SimpleList example and question re: go to position

2010-10-08 Thread Mike Martin
Hi I am working on getting CellRendererCombo working as I want Code ##Setup combo column type## Gtk2::SimpleList->add_column_type( 'combo',type=>'Glib::Scalar',renderer=>'Gtk2::CellRendererCombo',attr=> sub{ $_[1]->set("text",$_[2]->get($_[3],$_[4])); $_[1]->set("has_entry","TRUE"); $_[1]->set("ed

Re: Get Iter/Path from CellRendererCombo

2010-10-02 Thread Mike Martin
On 02/10/2010, Mike Martin wrote: > I think we may have crossed as that is more or less what I have done > $cat_rend->signal_connect('changed'=>sub{ my $rend_iter=$_[2]; # iter of selected item $valid=$cat_rend->get("model")->get_value($rend_iter,0); } ); $

Re: Get Iter/Path from CellRendererCombo

2010-10-02 Thread Mike Martin
annoying - just would be nice to be able to get the path direct from the model On 01/10/2010, Kevin Ryde wrote: > Mike Martin writes: >> >> if ( $cell->get("model")->get( $combo_iter, 1 ) eq $val ) { > > If you know what columns are what then th

Get Iter/Path from CellRendererCombo

2010-09-30 Thread Mike Martin
Is there any way to do this All methods seem to require path to get iter and vice-versa This was the only way to achieve what I wanted (seriously unscalable and prone to error) my $combo_iter = $cell->get("model")->get_iter_first; my $found_match = 'FALSE'; my $new_text; while ( $combo_it

Re: Adventures in gtk-perl - tables and windows

2010-09-18 Thread Mike Martin
On 18/09/2010, Mario Kemper wrote: > Did you have a look at the Gnome2::Wnck module? It covers most of the > functionality you might need. > > Gnome2::Wnck::Screen provides $screen->get_window_manager_name: > http://gtk2-perl.sourceforge.net/doc/pod/Gnome2/Wnck/Screen.html > > Gnome2::Wnck::Window

Re: Adventures in gtk-perl - tables and windows

2010-09-17 Thread Mike Martin
On 17/09/2010, Kevin Ryde wrote: > Mike Martin writes: >> >> ->{table}->child_get_property($w,'left-attach'); > > Yes. > >> I cant find any way to get the X11 name from GDK, > > $win->property_get, but it's a little icky :). I forget

Adventures in gtk-perl - tables and windows

2010-09-16 Thread Mike Martin
Hi After a frustrating couple of days googling I have come up with the follwing bits of code to solve a couple of things which seem to have a lot of questions on google but no answers. Comments apprieciated 1. getting widgets from a table matching co-ordinates (ie: row/column) foreach my $w ($ta

Problem with Gtk2::Combobox->new_with_model

2010-09-02 Thread Mike Martin
Hi - getting confused I have a liststore my $dvd_modelx=Gtk2::ListStore->new('Glib::String'); foreach my $list (keys %cds){ my $iter=$dvd_modelx->append(); $dvd_modelx->set($iter, 0,$list ) } my $wid=Gtk2::ComboBox->new_with_model($dvd_modelx);# fails to add to combobo

Re: Question about cancelling sub-routine

2010-08-14 Thread Mike Martin
On 14 August 2010 00:41, muppet wrote: > > On Aug 12, 2010, at 11:07 PM, Mike Martin wrote: > >> This works >> >> if ($append == 1){ >> >> die (main::encode_loop) if $count == 100; # this is a count as a test >> - the loop goes from 1-150 >>

Question about cancelling sub-routine

2010-08-12 Thread Mike Martin
This works if ($append == 1){ die (main::encode_loop) if $count == 100; # this is a count as a test - the loop goes from 1-150 } but if I try to put it as the action for a cancel sub it fails silently $widget{btn_cancel}->signal_connect('clicked', sub { die (main::encode_loop) ); an

Creating a function to create widgets from a hash - is there a better way?

2010-08-09 Thread Mike Martin
Hi I have this code ## Master hash to define widgets with options ## my %widgets=( 1=>{name=>'$open_hbox',type=>'Gtk2::HBox',action=>'new',opts=>[0,0],wname=>'open_hbox'}, 2=>{name=>'$encode_open_lab',type=>'Gtk2::Label',action=>'new',opts=>[$sel_opts_open_lab],wname=>'open_label'}, 3=>{name=>'$im

Test for whether a widget has children

2010-07-23 Thread Mike Martin
Does such a thing exist in Gtk? eg: if I do something like foreach my $widget ($vbox->get_children){ print $widget } It will fail if there are any widgets that dont have children such as a label or a GTkEntry I've googled and searched API docs but cant see anything ___

Re: Issues with performance of Simple List

2010-03-01 Thread Mike Martin
On 27 February 2010 22:28, Mike Martin wrote: > I am having issues with the performance of simple list in a wierd way > > Basicaly I have a simple list object embedded into a window which gets > data from a sqlite database via user defined criteria > > If I dont access the

Issues with performance of Simple List

2010-02-27 Thread Mike Martin
I am having issues with the performance of simple list in a wierd way Basicaly I have a simple list object embedded into a window which gets data from a sqlite database via user defined criteria If I dont access the simplelist at all changes to the data are nearly instantaeous however if access t

Problem installing gtk-perl on windows (XP)

2009-05-21 Thread Mike Martin
Hi I am trying to install packages from http://lostmind.de/gtk2-perl/ However when I try to install with ppm I "PPD does not support this platform" any ideas (Gtk ,glib runtime, and activestate perl installed fine) ___ gtk-perl-list mailing list gtk-pe

show different value to actual value in combobox - is this possible

2009-03-17 Thread Mike Martin
Basically my question is : In msaccess you can have a query linked to a combox with two or more values, with the first being the data value and the second being for presentation You can have the "presentation" value appear in the combobox by hiding the first column, but the first column is still t

accessing liststore of Combobox

2008-11-10 Thread Mike Martin
Hi is there a way of accessing (removing) the contents of the underlying liststore of a ComboBox constructed using simple text methods To Explain I have a combobox which depending on selection adds a GtkEntry, GtkComboBox or GtkComoboBoxEntry, or directly runs a query. Everything works fine excep

Manipulating popup menus

2008-10-15 Thread Mike Martin
Hi Is it possible to edit the contents of stock popup menus eg: the edit menu that is automatically attached to a Gtk::Entry I have worked out how to add add entries using populate -popup signal, but I cant find any way to remove entries thanks ___ gtk-

Signals for combobox entry

2008-10-07 Thread Mike Martin
Hi I have a drop-down box which adds to the display depending on selection Combobox Comboboxentry Entry However I am having problems with signals with the combobox entry the actions are Combobox = changed Entry = Keypress event (tab/entry/return) however for the comboboxentry, changed isnt ac

Behaviour of "lazy-load"

2008-09-16 Thread Mike Martin
Hi Since updating to F9 and so per l5.10 and appropriate gtk-perl packages I keep getting a message about fail to llazy-load when there is a problem in my code with usually references to glib.pm or sometimes another module. The message gives go indication of where in the script the error has occu

Creating re from computed values

2008-07-28 Thread Mike Martin
I am trying to create a regular expression for an if statement from computed values passed to the sub-routine as follows sub get_list { my ($black_list,$table,$crit)[EMAIL PROTECTED]; # $crit is a hash reference containing key to search and search expression my $listings; my @crit='$guide{$guide

Another question about foreach loops and gtk

2008-06-24 Thread Mike Martin
I have a long-running foreach loop which I want to give feedback through the GUI ie: foreach my $keys1 (sort {$a <=> $b} keys %menu_jpegs){ &gd_frame($keys1,$sel_opts_vbox,$menu_file) } which runs sub gd_frame { my ($keys1,$sel_opts_vbox,$menu_file)[EMAIL PROTECTED]; my $frame_new=$options{'d

Question about behaviour of foreach and Glib:IO-> add_handler

2008-06-10 Thread Mike Martin
Hi I was always under the impression that a foreach loop iterated over a list sequentially, which in every other case at least seems to happen. However I have the following code sub encode_loop { my ($opts,$prog,$ext,$sel_opts_vbox)[EMAIL PROTECTED]; my $subname='encode'; foreach my $fil

Help with using sub to update hash

2007-03-07 Thread Mike Martin
I have the following code #caller; my %titles; my %dvd_titles; $dvd_act_btn->signal_connect('clicked'=>sub{$count++ && &dvd_setup($vbox2,$count,$sel_opts_vbox,\%titles,\%dvd_titles)}); #sub called sub dvd_setup { my ($vbox2,$count,$sel_opts_vbox,$titles,$dvd_titles)[EMAIL PROTECTED]; my $subnam

Question about getting values from nested GTK::Boxes

2007-02-07 Thread Mike Martin
Hi I have the following function which gets the values from nested h/vboxes. sub get_files { my ($sel_opts_vbox)[EMAIL PROTECTED]; my @files; my @add_opts; foreach my $child ($sel_opts_vbox->get_children){ if ($child->get_name eq 'filesel'){ foreach my $child1 ($child->get_children){ foreach my $

Re: Simplelist and remove functions

2007-01-31 Thread Mike Martin
On 31/01/07, Mike Martin <[EMAIL PROTECTED]> wrote: > I have a Gtk2::Simplelist setup which is working fine except I cant > delete any rows > > ie: this works > $add_encode_type_btn->signal_connect('clicked',sub{push > (@{$mod_model->{data}},[undef,undef

Simplelist and remove functions

2007-01-31 Thread Mike Martin
I have a Gtk2::Simplelist setup which is working fine except I cant delete any rows ie: this works $add_encode_type_btn->signal_connect('clicked',sub{push (@{$mod_model->{data}},[undef,undef,undef,undef,undef])}); which adds a record but this doesnt $delete_encode_type_btn->signal_connect('clic

Adding signal to Combobox

2007-01-30 Thread Mike Martin
Is it possible to add a clicked signal to a combobox ie: when I click the combobox it runs a sub before showing the list. I have tried using button_prees_event in an enclosing eventbox but no joy What I am trying to do is to update the list of the combobox from a prefernce dialog I have a butto

CPU load increasing with IO watch

2007-01-24 Thread Mike Martin
I have the following code using IO watch open($file, "-|","$prog $inp1 $opts $newfile 2>&1" ); my $end_mark=$buffer->create_mark('end',$buffer->get_end_iter,0); our $tag= Glib::IO->add_watch ( fileno($file), ['in', 'hup'], sub { my ($fileno, $condition,$tag) = @_; if ($conditi

Optimising tex-buffer/iter?

2007-01-03 Thread Mike Martin
I have the following code ($prog in this case is customisable ffmpeg commands) else { $pid=open($file, "-|","$prog $inp1 $opts $newfile 2>&1" ) or die "Failed running perl subprocess\n"; $pid1=$pid+1; # not relvant push (@pids,$pid1); # to this issue } our $tag= Glib::IO->add_watch ( fileno($fi

Changing background color for a box widget

2006-06-05 Thread Mike Martin
Is it possible to alter the background color for a box widget. I am not having a lot of luck To explain I have a dynamically created hbox added to a vbox inside a frame. In this hbox I have two widgets a label frame (a file name) and a remove button. I would like the background to be white so t

Approaches to implementing su in gtk-perl

2006-05-25 Thread Mike Martin
Does anyone have any ideas of how to go about this. Basically I want to throw up a dialog asking for password and pass this to the main program. However everything I have tried so far throws me back to typing password at shell Any help appreciated. __

Re: Foreach and add_watch not working as I would expect

2006-05-18 Thread Mike Martin
On 5/13/06, muppet <[EMAIL PROTECTED]> wrote: On May 12, 2006, at 10:14 AM, Mike Martin wrote: > I am having problems with using IO::Watch Gtk2::Helper etc under a > foreach loop. > > For some reason it will only run the last element of the array. Here > is example code. [

Showing http links in gtk-perl

2006-05-18 Thread Mike Martin
Is it possibe to show a clickable http link using only gtk-perl? All I have been able to find is something using gnome. ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Foreach and add_watch not working as I would expect

2006-05-12 Thread Mike Martin
I am having problems with using IO::Watch Gtk2::Helper etc under a foreach loop. For some reason it will only run the last element of the array. Here is example code. sub watch_loop { my @files2=arr_create(); my ($opts,$prog,$ext)[EMAIL PROTECTED]; foreach my $files (@files2){ #my [EMAIL PROTECT