Re: Gnome / Toolbar Style
- From: Paolo Molaro <lupus ximian com>
- To: gtk-perl-list gnome org
- Subject: Re: Gnome / Toolbar Style
- Date: Sun, 11 Feb 2001 18:37:06 +0100
On 01/23/01 Jens Luedicke wrote:
How can I set the style of a Toolbar that was created
with $app->create_toolbar( ... );
Is there a way to set the usual Gtk::Toolbar style's
such as text, icons or both ...
libgnome doesn't expose an API that allows that, you need to create
the toolbar, fill it with the newly added $app->fill_toolbar() and set the
toolbar style aftewards. Basically:
$toolbar = new Gtk::Toolbar ("horizontal", $style);
$app->fill_toolbar($toolbar, $accel_group, ... toolbar items...);
$app->set_toolbar($toolbar);
lupus
--
-----------------------------------------------------------------
lupus debian org debian/rules
lupus ximian com Monkeys do it better
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]