I want to create a list with multiple columns. Therefore I use the script added below (actually there are 8 columns, but I reduced them to make it less complicated). The subroutine abfrage_all returns an array with references to arrays. Each referred array is a row in a database. I now want to
hi
is there a way to make circular button in gtk2? i guess i could do it with
images, but is there a better way?
regards, bostjan
--
igzebedze - he who speaks loud and say nothing
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
I have a question about events. I have some sample code that I took from
one of the examples that hooks up an event handler to a
Gnome2::Canvas::Rect as follows:
$rect-signal_connect (event=rectevent);
and then later there's the handler code:
sub rectevent
{
warn(event: . $event-type .
hi
i'm using the 'arrow' widget... when i wnat to change direction with:
$me-set('arrow-type' = 'right');
i get an error:
*** unhandled exception in callback:
*** FATAL: invalid enum GtkArrowType value arrow-type, expecting: up /
GTK_ARROW_UP, down / GTK_ARROW_DOWN,
I have localized my Gtk2 app in this way:
use Locale::gettext;
use POSIX qw(setlocale);
use Encode qw(decode);
sub _ {return decode(iso-8859-1,dgettext( PACKAGE,$_[0]));}
setlocale(LC_MESSAGES, );
textdomain(PACKAGE);
i think the problem is in the decode('iso...')
hi
first, i'm sorry for the mess on the list because of my previous post...
... the context submenu still doesn't work. muppet's example works perfectly,
and i copied it literaly to my code, and it stopped working. now, i am
attaching the whole function, and maybe somebody will see what's
hi
i have a problem with creating a submenus, because the signals somehow don't
get connected / nothing happens...
here's an excerpt:
-
my $form = get_form;
my $menu = new Gtk2::Menu;
my $cols = new Gtk2::Menu;
my $columns =
... ok, it's key_release, but i guess it's irrelevant?
maybe, maybe not. why did you choose release?
mmm... just so that nothing happens if i hold the key instead of simply
hitting it... i don't like it if holding button means consecutive actions...
Here's a working example i just cooked up:
hi
1) i've noticed strange spinbutton behaviour:
- i've created it with glade and set it a default value. it is placed in a
notebook.
- the i changed it's value from the code, but using -set_text call.
- if it's tab is active while the update happens, all is well, but if i have
some other tab
Yes. Connect to the key-press-event of the tree view, handle events for
which $event-keyval == $Gtk2::Gdk::Keysyms{ Delete } and return TRUE.
When you edit a cell, the tree view doesn't have focus and thus doesn't
receive events either -- so your signal handler never gets called.
... well, i
i'm tracking an output of an external program and plotting a graph based on it.
i've got my pixmap plotting quite nicelly now... but:
a) how do i resize it properly, if the main window is resized?
b) i'd like it to continue plotting, after the points reach it's border - maybe
use a scrollbar and
11 matches
Mail list logo