Re: [gtk-list] SOLVED: Perl Gtk: right mouse button context menu



Joern Reder wrote:

>         my $win = new Gtk::Widget "Gtk::Window",
>                         type => -popup,
>                         border_width => 0;
>                         position => -pos_mouse;
> 
>         Unknown argument position of GtkWindow at ./test.pl line 232.
> 

I solved the problem after crawling through the Perl Gtk test programs.
Calling

	$win->position (-mouse)

works fine.


Joern

-- 
Joern Reder            dimedis GmbH   http://www.dimedis.de/
Software Development   50674 Koeln    joern@dimedis.de

supporting: http://www.zyn.de/ http://www.netcologne.de/~nc-joernre/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]