1

Monodoc tells me "AppendItem" is deprecated, but it doesn't tell me what to use instead.

1 Answer 1

1

See Gtk+ documentation. Do you have an "insert" function available?

Edit: add code sample from jpobst

myToolBar.Insert (myToolItem, myToolBar.NItems);
3
  • And yes, I realize that you're using C#, and I pointed to the C docs Dec 30, 2009 at 22:10
  • I do have the insert function available, but I'd rather just append the buttons, so that I don't have to worry about indices.
    – Matthew
    Dec 30, 2009 at 22:39
  • 1
    myToolBar.Insert (myToolItem, myToolBar.NItems);
    – jpobst
    Dec 30, 2009 at 23:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.