Hi all.
I've wrapped up the recent-files stuff in libegg, in order to use it
with Perl. the binding it's still in its infancy, but it's coming
along pretty well. Right now, you can add and remove stuff from the
recent model.
I'm planning to complete the EggRecentModel bindings by tonight
(localti
On Wed, 26 Jan 2005 00:05:24 -0500, muppet <[EMAIL PROTECTED]> wrote:
First system (notebook, Sempron 3000+, 512 MB RAM, local display, Ubuntu Hoary):
* First run:
[EMAIL PROTECTED]:/tmp $ ./gtk2-perl-startup-timer.pl
time to load Glib 1.072: 0,136s
time to load Gtk2 1.072: 0,392s
time for Gtk2-
Hi all.
Here's another version of the Gtk2::Recent module, now with the
complete bindings for:
* EggRecentItem (the item inside the recent files list)
* EggRecentModel (the object watching the list)
* EggRecentView (the interface for model viewers)
EggRecentView is a GInterface for creating mode
]
* Require Glib 1.070. [Emmanuele]
* Require GConf >= 2.0.0. [Emmanuele]
+++
Ciao,
Emmanuele.
--
Emmanuele Bassi (Zefram) [ http://www.emmanuelebassi.net ]
GnuPG Key fingerprint = 4DD0 C90D 4070 F071 5738 08BD 8ECC DB8F A432 0FF4
Hi all.
In my recent effort to wrap some of the stuff in libegg, here's
another binding for a module of that library.
Gtk2::StatusIcon binds the EggStatusIcon object, which is a more
complex and powerful widget to be placed inside the notification area
than the Gtk2::TrayIcon object.
The binding
Hi all.
New week, new release of the development cycle of Gnome2::GConf - the
"Breaking up is hard to do" release.
The most important feature of this release is the shiny new error
handling mechanism for Gnome2::GConf::Client.
As a bit of background: in C, each GConfClient function that might
fa
namely: a man page, some
documentation and an icon), though, but it's basically finished:
http://www.emmanuelebassi.net/linux/perl/gnome-hello-perl-0.3.tar.gz
Regards,
Emmanuele.
--
Emmanuele Bassi <[EMAIL PROTECTED]>
___
gtk-perl-list m
> --prefix=/tmp/usr \
> --disable-schemas-install
At this point, I have a working sandbox where testing the correct
installation of files, the correct loading of modules/icons/data, etc.
Regards,
Emmanuele.
--
Emmanuele Bassi (Zefram) [ htt
Hi,
On Tue, 2005-04-12 at 18:20 -0400, Sean Dague wrote:
> Though what is a bit disconcerting is that Chapter1 of that tutorial
> (http://gtk2-perl.sourceforge.net/doc/gtk2-perl-tut/ch-TutorialDownload.html)
> has the following:
>
> "A packaged verion of this tutorial is available from
> ftp://f
wiki page. :-)
I for one welcome our new Wiki overlord!
Kind regards,
Emmanuele.
--
Emmanuele Bassi <[EMAIL PROTECTED]>
Blog: http://log.emmanuelebassi.net
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/l
On Fri, 2005-04-15 at 10:34 -0400, Lee Aylward wrote:
> On Fri, 2005-04-15 at 08:17 -0400, Ross McFarland wrote:
> >
> > we really need to migrate the FAQ to a wiki, anyone?
> >
>
> I can do this over the weekend. I've started a page at:
>
> http://live.gnome.org/GTK2-PerlFAQ
Please, don't st
On Fri, 2005-04-15 at 13:35 -0400, Ross McFarland wrote:
> Emmanuele Bassi said:
> > I've already put up a subpage here:
> >
> > http://live.gnome.org/GTK2_2dPerl_2fFrequentlyAskedQuestions
>
> should i go ahead and point the faq link (on the main site) there?
d with the source code
> but I could not find
> it in the Perl source code. Am I right that it is only available in
> the C source code?
If you check out the GTK2-Perl tutorial from CVS, you'll get all the
examples source code.
Regards,
Emmanuele.
--
Emmanuel
On Sat, 2005-04-16 at 11:38 +0300, Gabor Szabo wrote:
> On 4/16/05, Emmanuele Bassi <[EMAIL PROTECTED]> wrote:
> >
> > The Perl tutorial is in CVS, under the module gtk2-perl-tutorial. I
> > think we'll need to package it, even if it's still incomplete.
>
tely. It's still missing a display
widget, but since the eggrecentviewgtk object really sucks (${DEITY}, I
instantly regret having had lunch, when I look at it) I'll soon put up
my all-Perl implementation of a recent files menu.
Happy hacking,
Emmanuele.
--
Emmanuele Bass
nd out.
This has become a FAQ. You might want to check out this new entry:
http://live.gnome.org/GTK2_2dPerl_2fFrequentlyAskedQuestions#head-27b058f6e5000f8b3f41618781010a9a7a266eed
And the mailing list archives for more code.
Ciao,
Emmanuele.
--
Emmanuele Bassi <[EMAIL PROTEC
rial or as a simple (g)zip-ed file
> without any real installation.
The "Tutorial" could be easly mistaken for the gtk2-perl tutorial in
perldoc format (uhm, could be an interesting pet project).
How about "Gtk2::Ex::Recipes"?
Ciao,
Emmanuele.
--
Emmanuele Bassi <[EM
xel buffer (255 value marking and one-byte
per pixel, three-byte per pixel and four-byte per pixel, respectively).
So, you must convert a JPEG image to the appropriate buffer (using
pack).
Ciao,
Emmanuele.
--
Emmanuele Bassi <[EMAIL PROTECTED]>
Web site: http://log.emmanuele
Gtk2::Gdk::Pixbuf in what they want and how they want it.
Ciao,
Emmanuele.
--
Emmanuele Bassi <[EMAIL PROTECTED]>
Web site: http://log.emmanuelebassi.net
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list
$pixbuf->get_height,
$pixbuf->get_rowstride);
}
$context->showpage;
It could be interesting to write an example.
Ciao,
Emmanuele.
--
Emmanuele Bassi <[EMAIL PROTECTED]>
Web site: http://log.emmanuelebassi.net
___
::Context::rgbimage is a
plain binding of the C function, if this method does not work is a bug
in libgnomeprint.
Ciao,
Emmanuele.
--
Emmanuele Bassi <[EMAIL PROTECTED]>
Web site: http://log.emmanuelebassi.net
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list
#x27;s CVS).
+++
[1] http://www.emmanuelebassi.net/linux/perl/gnome-hello-perl-0.6.tar.gz
Ciao,
Emmanuele.
--
Emmanuele Bassi <[EMAIL PROTECTED]>
Web site: http://log.emmanuelebassi.net
___
gtk-perl-list mailing list
gtk-perl-list@gnome.
idoc *and* the Gtk API at
http://developer.gnome.org/doc/API/2.0/gtk
Regards,
Emmanuele.
--
Emmanuele Bassi <[EMAIL PROTECTED]>
Web site: http://log.emmanuelebassi.net
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/m
ick.
I had been thinking about binding this library, but haven't got much
time around; plus, toying with GLib runtime modules and Perl is quite
out of my XS skills, at the moment.
Regards,
Emmanuele.
--
Emmanuele Bassi <[EMAIL PROTECTED]>
Web site: ht
and optimize that, instead of using SimpleList.
Regards,
Emmanuele.
--
Emmanuele Bassi <[EMAIL PROTECTED]>
Web site: http://log.emmanuelebassi.net
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list
uf = $form->render_icon('gtk-index', 'menu');
- $menu_item->set_image($pixbuf);
+ my $image = Gtk2::Image->new_from_pixbuf($pixbuf);
+ $menu_item->set_image($image);
Hint: if the apidoc is ambiguous, go to the C API reference, at:
http://developer.gnome.org/
se could be done?
A: Add recipes and/or FAQ entries on the Wiki[1].
Q: What else?
A: Create a wiki-fied version of the tutorial.
As you see, there's plenty to be done - and any help would be most
welcome.
Regards,
Emmanuele.
+++
[1] http://live.gnome.org/GTK2-Perl
--
Emmanuele Bassi <[
7;t commit it without at least a test run.
Regards,
Emmanuele.
--
Emmanuele Bassi <[EMAIL PROTECTED]>
Web site: http://log.emmanuelebassi.net
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list
tion fixes.
* Wrapped GConfEngine as Gnome2::GConf::Engine.
Overview of changes since 1.013
===
* The "Differential Engine" release
* Fix Gnome2::GConf::Engine reference mechanism.
* Use Glib::CodeGen from the stable Glib release.
Enjoy,
Emmanuele.
--
E
med
on the owner of the engine, so it could be possible to get away with it
- but it's not guaranteed to work now or in the future.]
Regards,
Emmanuele.
--
Emmanuele Bassi - <[EMAIL PROTECTED]>
Log: http://log.emmanuelebassi.net
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list
is compiled.
> Anyway, that's great, it works ;-) So if anybody wants to know, to
> delete a dir you just have to $client->unset() all keys in it...
I've never had to do it - breaks backward compatibility and stuff - but
thanks. I'll add it into the Gnome2::GConf::Clie
e_id=164878
[2] http://search.cpan.org/~ebassi/Gtk2-SourceView-1.000/
--
Emmanuele Bassi - <[EMAIL PROTECTED]>
Log: http://log.emmanuelebassi.net
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list
Hi,
On Thu, 2005-09-29 at 09:17 +0200, Jaap Karssenberg wrote:
> File::MimeInfo is a clean perl implementation of the freedesktop.org
> mime info specification (which is also used by the gnome implementation).
This sounds very, very interesting.
Ciao,
Emmanuele.
--
Emmanuele
ent
> the refresh I have to set the clipping region on redraws otherwise I get
> bugs.
Ah, now you explain - you are writing something that is not really a
common use case.
> > The changes to get_time() look all right. To pass undef, you'll have
> > to call it lik
other ways of improving the
performances of your code, e.g. populating the child nodes only when the
parent is expanded, or setting the height of the cell renderers as fixed
if you know that you'll always display your data with the same format.
Ciao,
Emmanuele.
-
2, or is there some define that holds
> the value? (And how is a "normal" user supposed to know this? :-/)
The API at http://developer.gnome.org/doc/API/ should always fill in the
Perl apidoc.
Ciao,
Emmanuele.
--
Emmanuele Bassi - <[EMAIL PROTECTED]>
Log: http://log.emmanue
Hi,
On Sun, 2005-10-09 at 19:59 +0200, Florian Schaefer wrote:
> Hi Emmanuele!
>
> On Sun, 09 Oct 2005 19:39:11 +0200, Emmanuele Bassi said:
>
> [...]
> > Strategy 1) is always the best one when updating the contents of a
> > TreeModel implementation; the TreeView
o;
3. you should really try the 'fixed-height-mode' property for
Gtk2::TreeView. ;-)
Ciao,
Emmanuele.
--
Emmanuele Bassi - <[EMAIL PROTECTED]>
Log: http://log.emmanuelebassi.net
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list
and 2; adding a pkg-config file to the
binding libraries, pointing to the C headers and Perl typemaps would
increase the ability to actually use the bindings code outside the
library case - and also would make ExtUtils::Depend go away, now that I
think of it.
Comments? LARTs?
Ciao,
Emmanu
e Gtk2.
All widgets and objects are created from C objects and dynamically
loaded, so you can't include them directly.
Ciao,
Emmanuele.
--
Emmanuele Bassi - <[EMAIL PROTECTED]>
Log: http://log.emmanuelebassi.net
___
gtk-perl-list mail
gt;= 0.2
ExtUtils::PkgConfig >= 1.03
Gtk2 >= 1.100 (perl module)
Overview of changes since 1.020
===
* The "An Address Indicates Where It Is" release.
* Wrap Gnome2::GConf::Engine::get_for_addresses. [Emmanuele]
Ciao,
Emmanuele.
--
E
you could at least copy from the C source. ;-)
Ciao,
Emmanuele.
--
Emmanuele Bassi - <[EMAIL PROTECTED]>
Log: http://log.emmanuelebassi.net
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list
throughout all the modules. Of course,
I'm not sure it's the best option - and anyone is more than welcome to
propose an alternative solution and point me in the right direction; but
I feel that pkg-config, auto-tools integration in the tool chain and
standard locations for the build stuff
ally move the mouse twice: the first time to the corner, the other
time on the centre of the dialog. Thus, you are kindly invited to
follow the human interface guidelines in order to ensure both UI
consistency with the rest of the platform and the best user experience.
Ciao,
Emmanuele.
--
E
nd not the standard gnome
> style)?
This is more a question for gtk-app-devel than gtk-perl. Anyway, the
answer is: no. It was planned to use native dialogs, ma no-one really
got around it, AFAIR.
Ciao,
Emmanuele.
--
Emmanuele Bassi - <[EMAIL PROTECTED]>
there a container in which to add the image to that
> will grab the signal ?
Put the Gtk2::Image inside a Gtk2::EventBox and connect to its
'button-press-signal'; you might need to use Gtk2::Widget::add_events on
the event box, to add the 'button-press-mask'.
Ciao,
Emmanuel
configure all the widgets that are attached to this signal.
> > $set->set_value(clamp ($set->value,
> >$set->upper - $set->page_size,
> >$set->lower));
> >
> > t
l-ish syntax.
The style and format style is inside the CVS module.
Anyone wants to be my hero?
Ciao,
Emmanuele.
--
Emmanuele Bassi - <[EMAIL PROTECTED]>
Log: http://log.emmanuelebassi.net
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
Hi Joe, my hero
On Thu, 2006-05-18 at 08:37 -0400, Joe Smith wrote:
> Emmanuele Bassi wrote:
> > ...
> > We really, *really* need some hero to take over the tutorial and finish
> > it off. ...
>
> Hey, I've been lurking around here in awe of the great work y
every LinkButton inside an application - much like you can set the
url and email hook for the Gtk2::AboutDialog widget.
Ciao,
Emmanuele.
--
Emmanuele Bassi - <[EMAIL PROTECTED]>
Log: http://log.emmanuelebassi.net
___
gtk-perl-list mailing list
gtk
n are
not trivial (maybe muppet or Torsten have some patch lying around so
I'll be shamed into a corner, though ;-)).
Ciao,
Emmanuele.
--
Emmanuele Bassi - <[EMAIL PROTECTED]>
Log: http://log.emmanuelebassi.net
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list
Hi muppet,
On Fri, 2006-06-02 at 21:05 -0400, muppet wrote:
> On May 28, 2006, at 9:15 AM, Emmanuele Bassi wrote:
>
> > Unfortunately, GObject::constructor has no Perl counterpart: you can
> > control the initialisation of an Glib::Object but you can't control
>
gt; Yes, that fixed it.
>
> Will commit to cvs if sourceforge ever starts behaving again.
Given the shortages and funny CVS status of SF.net, maybe we should
discuss moving the gtk2-perl bindings on the gnome.org SVN, as soon as
it'll be up (mid-July, after GUADEC, if everything work
of the archives.
The sysadmins are at work.
Ciao,
Emmanuele.
--
Emmanuele Bassi, E: [EMAIL PROTECTED]
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/m
>= 0.2
ExtUtils::PkgConfig >= 1.03
COPYRIGHT AND LICENSE
Copyright (C) 2003-2006 by Emmanuele Bassi <[EMAIL PROTECTED]>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software
er" signal one could hook into?
No, and no. Why would you do anything like this is beyond me, given
that signals may have very different signatures and require different
return values.
Ciao,
Emmanuele.
--
Emmanuele Bassi, E: [EMAIL PROTECTED]
W: http://www.emmanuelebassi.net
B: http
On Fri, 2006-08-04 at 18:24 +0100, Dirk Koopman wrote:
> How do you grey things like buttons out? I am thinking of the visuals
> here rather than the mechanicals (unless that just falls out of the
> solution).
Gtk2::Widget::set_sensitive()
Ciao,
Emmanuele.
--
Emmanuele Bassi,
ent
colours according to the palette, so that an inverted theme (for high
contrast rendering of the screen) and a "normal" theme will apply the
right colours.
Ciao,
Emmanuele.
--
Emmanuele Bassi, E: [EMAIL PROTECTED]
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net
:Object::Subclass.
Ciao,
Emmanuele.
--
Emmanuele Bassi, E: [EMAIL PROTECTED]
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list
file.png'));
otherwise, there's the hard way:
my $image_button = Gtk2::Button->new;
$image_button->add(Gtk2::Image->new_from_file('some-file.png'));
for further reference, see:
perldoc Gtk2::Button
perldoc Gtk2::Image
Ciao,
Emman
On Tue, 2006-08-15 at 10:05 -0400, James Muir wrote:
> Emmanuele Bassi wrote:
> > This won't be covered in a tutorial, but more likely in a recipe-style
> > documentation. A Gtk2::Cookbook pod might come out handy, if anyone
> > wants to tackle this. *hint* *hint* ;-)
Hi;
On Sun, 2006-08-20 at 18:16 -0400, muppet wrote:
> [1] In fact, i think Torsten has been doing everything by himself
> for the last several months. Anyone who lives near him should buy
> him a beer.
Actually, more than one beer.
And a hug.
Ciao,
Emmanuele.
--
Emmanuele
you also need:
ExtUtils::Depends >= 0.2
ExtUtils::PkgConfig >= 1.03
COPYRIGHT AND LICENSE
Copyright (C) 2003-2006 by Emmanuele Bassi <[EMAIL PROTECTED]>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
Licens
of the event should contain the 'maximized' flag.
$window->signal_connect(window_state_event => sub {
my ($w, $event) = @_;
if ($event->changed_mask & [ 'maximized', ]) {
print "The window has been maximized\n";
}
ad Gtk2::Gdk::Event::WindowState - I pointed you in
the right direction but this mailing list is not an excuse for not
reading the documentation.
Anyway, you want to keep a boolean flag ('$is_maximized') around and
check if the window has already been maximized or not.
The changed_mask sho
zed', ]" return array reference ?
>
> If the answer to both questions is YES, how will it work ?
Sheer magic, or more probably an error due to my badly deteriorating
memory. I'll let you decide and, in case, test.
Ciao,
Emmanuele.
--
Emmanuele Bassi, E: [EMAIL PROTECTE
On Wed, 2006-09-06 at 06:54 -0700, Sergei Steshenko wrote:
>
> --- Emmanuele Bassi <[EMAIL PROTECTED]> wrote:
>
> > On Wed, 2006-09-06 at 14:54 +0200, Ratcliffe, Jeffrey (Peters) wrote:
> > > How do I check whether a window has been maximized or not?
> >
&
, without being paid
a dime for them.
I would really like to hope that this is because, like myself, your
first language is not english; unfortunately, as I said, this comes
after your utter disregard of the work done by the gtk-perl team
developers that you have shown in the past on bugzilla and th
k2::IconSet->new_from_pixbuf($icon);
$IconFactory->add($stock_id, $set);
}
sub init_icons {
return if defined $IconFactory;
$IconFactory = Gtk2::IconFactory->new();
$IconFactory->add_default();
register_icon('foo', '/path/to/foo.png');
re
button, get the row/column
pair using Gtk2::TreeView::get_row_at_pos() using the event coordinates,
build a Gtk2::Menu and then use Gtk2::Menu::popup() on it.
Ciao,
Emmanuele.
--
Emmanuele Bassi, E: [EMAIL PROTECTED]
W: http://www.emmanuelebassi.net
B: ht
op. If you need to poll a file descriptor,
Glib::IO->add_watch() usually does what you want.
Ciao,
Emmanuele.
--
Emmanuele Bassi, E: [EMAIL PROTECTED]
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net
___
gtk-perl-list mailing list
gtk-per
your+query+site%3Amail.gnome.org): the
embedded search function of mail.gnome.org has been broken/not so
accurate for a while, now.
Ciao,
Emmanuele.
--
Emmanuele Bassi, E: [EMAIL PROTECTED]
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net
_
GtkTreeView tutorial at:
http://scentric.net/tutorial/
and translating it into Perl. If someone feels brave enough can write a
small Gtk2::TreeView::Cookbook module based on that; or even a chapter
in the gtk2-perl tutorial.
Ciao,
Emmanuele.
--
Emmanuele Bassi, E: [EMAIL PROTEC
"noises" come from?
If you want to play with sound (pun intended), you're better off using
GStreamer and constructing a pipeline.
Ciao,
Emmanuele.
--
Emmanuele Bassi, E: [EMAIL PROTECTED]
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net
___
s INIT_INSTANCE. this means that you get to set
up the *initial* state of an object's new instance. since you want your
object to be constructed differently depending on a constructor property
you should override the constructor - but, in perl, you really can't.
Ciao,
Emmanuel
ifferently depending on a constructor property
you should override the constructor - but, in perl, you really can't.
Ciao,
Emmanuele.
--
Emmanuele Bassi, E: [EMAIL PROTECTED]
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net
_
urn calls the init vfunc), but for sake of clarity
I'll leave it at that.
ciao,
Emmanuele.
--
Emmanuele Bassi, E: [EMAIL PROTECTED]
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net
___
gtk-perl-list mailing list
gtk-p
Hi Cyril;
On Mon, 2006-10-30 at 12:43 +0100, Cyril Cheneson wrote:
> My question is : how to close the window (from the Glade file) without
> quitting the main application?
just ->hide() the window if you want to be able to ->show() it again
later.
if you want to handle the delete-event case au
hi Cyril - you should keep gtk-perl-list on the loop;
On Mon, 2006-10-30 at 15:44 +, Cyril Cheneson wrote:
> or, if you don't have Gtk2::Widget::hide_on_delete you can implement it
> > like this:
> >
> > $window->signal_connect(delete_event => sub { $window->hide(); TRUE; });
> my $main = G
k2::TrayIcon worked on platforms other than
linux/X, though.
ciao,
Emmanuele.
--
Emmanuele Bassi, E: [EMAIL PROTECTED]
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mai
);
$menu->append($item);
$item->show();
$menu->popup(undef, undef,
undef, undef,
$event->button,
$event->time);
return TRUE;
});
$b->show();
Gtk2->main();
0;
ciao,
Emmanuel
erl, so you'll have to use a
script; you can bind a script to an action using the nautilus-action
extension.
ciao,
Emmanuele.
--
Emmanuele Bassi, E: [EMAIL PROTECTED]
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net
___
gtk-perl-li
way: adding a tip to a label means that the label is not clear
enough, so you should consider clarifying the content of the label. tip
are also used on action widgets.
ciao,
Emmanuele.
--
Emmanuele Bassi, E: [EMAIL PROTECTED]
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.
On Wed, 2006-12-13 at 17:43 +0700, beast wrote:
> I have an image and I would like it to have 3D border ( etched-in?).
> Which widget suitable for this purpose?
Gtk2::Frame with a Gtk2::Image embedded in?
ciao,
Emmanuele.
--
Emmanuele Bassi, E: [EMAIL PROTECTED]
W
hi;
On Wed, 2006-12-13 at 18:17 +0700, beast wrote:
> Emmanuele Bassi wrote:
> > On Wed, 2006-12-13 at 17:43 +0700, beast wrote:
> >
> >> I have an image and I would like it to have 3D border ( etched-in?).
> >> Which widget suitable for this purpose?
> >
;
> $hbbox->add($spacer);
> $hbbox->add($cancel);
drop the button box and use a Gtk2::Alignment:
Gtk2::HBox
+ Gtk2::Button [back]
+ Gtk2::Button [next]
+ Gtk2::Alignment
+ Gtk2::Button [cancel]
set the alignment to full right and add a padding of 10 px
pile the gtk2-perl bindings against that. most
distributions already have both gtk+ and the perl bindings up to date if
you don't want to compile stuff yourself.
ciao,
Emmanuele.
--
Emmanuele Bassi, E: [EMAIL PROTECTED]
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net
pletely platform independent.
if you are targeting another operating system, win32 and osx have their
own API for calling email clients; you should check whether there's a
Perl module covering those APIs.
ciao,
Emmanuele.
--
Emmanuele Bassi, E: [EMAIL PROTECTED]
W: http:/
ead the man pages and pod, but I am unsure of
> a few things...
if you have specific questions, just ask them here or on the IRC channel
#gtk-perl on irc.gnome.org
ciao,
Emmanuele.
--
Emmanuele Bassi, E: [EMAIL PROTECTED]
W: http://www.emm
and update
the variable there: it's called 'event-driven programming' for a reason,
you know. ;-)
ciao,
Emmanuele.
--
Emmanuele Bassi, E: [EMAIL PROTECTED]
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list
AIL PROTECTED];
my $on_change_ref = \&on_change;
# set the the action wit value 'SCAN_ADF' as the default
$action_group->add_radio_actions($radio_actions_ref, SCAN_ADF,
$on_change_ref);
ciao,
Emmanuele.
--
Emmanuele Bassi, E: [EMAIL PROTECTED]
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list
hi Jeffrey;
On Thu, 2007-01-04 at 19:32 +0100, Jeffrey Ratcliffe wrote:
> On 04/01/07, Emmanuele Bassi <[EMAIL PROTECTED]> wrote:
> > you should not use that: switching to Gtk2::UIManager usually solves
> > most issues, and UIManager is at least actively maintained - whi
On Thu, 2007-01-04 at 21:44 +, Emmanuele Bassi wrote:
> > Ah. Didn't know that. I'll add switching to the UIManager to the to do
> > list. Is there any chance of getting this added to the POD? The same
> > applies to FileChooser and FileSelector and I'm sure
hi Torsten;
On Fri, 2007-01-05 at 00:24 +0100, Torsten Schoenfeld wrote:
> On Thu, 2007-01-04 at 23:03 +0000, Emmanuele Bassi wrote:
>
> > > hmm. we should really add a marker in the apidoc generator for
> > > deprecated objects.
>
> Good idea! The patches
tespace-only fix commit, I've
fixed the patch to go with 8 spaces tabs, and I committed it as such.
it would be best to add a modeline to all the pure perl modules, so that
everyone working on them would conform to the same coding style. :-)
ciao,
Emmanuele.
--
Emmanuele Bassi, E: [E
g', 'Glib::String');
will create a list holding two columns of strings.
the C tutorial can be of help:
http://scentric.net/tutorial/
ciao,
Emmanuele.
--
Emmanuele Bassi, E: [EMAIL PROTECTED]
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net
___
> b) get which button is active in the group so that I can do something
> useful with the value.
since Gtk2::RadioButton is a Gtk2::ToggleButton, just use the
get_active() method on the radio button.
$is_toggled = $radio->get_active();
ciao,
Emmanuele.
--
Emmanuele B
torial
at:
http://devel.emmanuelebassi.net/gtk2-perl/tutorial/
(for instance, your question is answered in depth on the page about
signals:
http://devel.emmanuelebassi.net/gtk2-perl/tutorial/sec-TheoryOfSignalsAndCallbacks.html)
and the Gtk2-Perl FAQ on the GNOME wiki:
http://live.gnome.or
an be found here:
http://developer.gnome.org/doc/API/2.0/glib/glib-The-Main-Event-Loop.html
And, obviously, on Google.
ciao,
Emmanuele.
--
Emmanuele Bassi, E: [EMAIL PROTECTED]
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net
___
should do what jhbuild does for you, and set up a sandbox
where installing the dependencies of gtk+: glib, cairo, pango, and atk.
> Presumably, I will need more recent versions of GLib, Pango, & ATK too?
and, for gtk+ >= 2.8, cairo.
ciao,
Emmanuele.
--
Emmanuele Bassi, E: [EMAIL PROTE
1 - 100 of 270 matches
Mail list logo