Re: Gnome / Toolbar Style



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]