Bug 442 - The Gtk# Tutorial mentions non-existant classes such as ButtonWithMnemonic
Summary: The Gtk# Tutorial mentions non-existant classes such as ButtonWithMnemonic
Alias: None
Product: Gtk#
Classification: Mono
Component: other ()
Version: unspecified
Hardware: All All
: --- trivial
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2011-08-25 15:26 UTC by Florian Haag
Modified: 2011-08-25 16:36 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report for Bug 442 on GitHub or Developer Community if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: GitHub Markdown or Developer Community HTML
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:

Description Florian Haag 2011-08-25 15:26:44 UTC
On http://www.mono-project.com/GtkSharp:_Buttons , new Gtk# users will first of all get confused because the tutorial mentions a button with a mnemonic can be created by calling:

Button button1 = new ButtonWithMnemonic();

However, there is no ButtonWithMnemonic class, the call should read:

Button button1 = Button.NewWithMnemonic("Hello World");

Also (as seen above), that method is not an "argument-less constructor".

Futher down on the same page, the equally non-existant classes CheckButtonWithLabel and CheckButtonWithMnemonic are mentioned.
Comment 1 Florian Haag 2011-08-25 16:36:02 UTC
Sorry to reopen this, but now the text is saying

"After creating a button using its argument-less constructor"

where there is not a single argument-less call.

Also, on the same page, "new CheckButtonWithLabel" and "new CheckButtonWithMnemonic" are still mentioned even though they do not exist (should be "CheckButton.NewWithLabel" and "CheckButton.NewWithMnemonic", respectively).

If you prefer it like that, I can file each of these three issues as separate bugs.