[Gtk-sharp-list] Toolbar buttons

Milen Dzhumerov gamehack at 1nsp1r3d.co.uk
Thu Jun 16 18:07:49 EDT 2005


Hello again,

After some investigating of the ToolBar API at
http://www.go-mono.com/docs/monodoc.ashx?link=T%3aGtk.Toolbar%2f%2a I
did found out that almost(!) all methods are deprecated. The only way to
append a widget is with the function AppendWidget(Widget, string,
string) which is not as convenient as AppendItem(); or AppendElement();
The only methods which seems to be usable(not deprecated) are
AppendSpace() and PrependSpace(); and Append/PrependWidget(); which IMHO
are not as convenient as the other ones. If I add my own button with
AppendWidget() which contains text and images in a say HBox, when the
user changes the global options for toolbar style, my custom toolbar
wouldn't be sharing the same ToolBar.Style, would it? So is there are
*any* API(not deprecated) which could be used for easy standard adding
of Toolbar items? Any advice is greatly appreciated.

Regards

On Thu, 2005-06-16 at 21:51 +0100, Milen Dzhumerov wrote:
> Hi all,
> 
> I want to ask what's the proper way of adding toolbar buttons to the
> toolbar widget so when users chose toolbars without text, your
> application automatically does this. Any help is greatly appreciated.
> 
> Regards
-- 
Milen Dzhumerov
Iroxa Creative Technology / Iroxa.net
ICQ# / 230197935
Email / gamehack at 1nsp1r3d.co.uk



More information about the Gtk-sharp-list mailing list