Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added docs for DragDrop Events and Key Events #2650

Draft
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

clicketyclackety
Copy link

@clicketyclackety clicketyclackety commented Apr 30, 2024

I'm using Eto more and more so I'm going to try and improve docs for things that confused me

@@ -131,7 +131,9 @@ protected virtual void OnSizeChanged(EventArgs e)
public const string KeyDownEvent = "Control.KeyDown";

/// <summary>
/// Occurs when a key has been pressed and is down
/// Occurs when a key has been pressed and is down.
/// Focus is required for this event to be raised. Ensure CanFocus is set to true.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CanFocus is only on a Drawable. Other controls intrinsically can get focus like TextBox, TextArea, DropDown, CheckBox, etc when they are Enabled

@@ -1213,11 +1218,11 @@ public Window ParentWindow
public IEnumerable<string> SupportedPlatformCommands => Handler.SupportedPlatformCommands;

/// <summary>
/// Specifies a command to execute for a platform-specific command
/// Specifies a command to execute for a Mac platform-specific command
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would also be used for any other platform that has similar needs, not just Mac. Even though it is only useful for Mac at this point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants