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

Widgets sample: Button page #68

Merged
merged 48 commits into from
May 28, 2022
Merged

Widgets sample: Button page #68

merged 48 commits into from
May 28, 2022

Conversation

kenz-gelsoft
Copy link
Owner

@kenz-gelsoft kenz-gelsoft commented May 20, 2022

Implement the Button page's basic behaviors which is part of the wx's widgets sample.

Some TODO's will be resolved in another PR.


  • Generate new wx Classes bindings
    • wxTextEntry
      • Mixed-in wxTextCtrl manually
    • wxItemContainerImmutable
      • Mixed-in wxRadioBox manually
    • wxIcon
    • wxBitmapButton
  • Add and fixed some Builder pattern construtors
    • Add wx::BitmapButton builder
    • Fix constructor default styles for classes
  • Add and expand wx generic wxList bindings
    • wxSizerItem
  • Support following param types
    • wxDirection -> c_int
  • Fix existing binding bugs
    • wx-returns non-ASCII string was cut off
  • Support Additional Event types
    • (wx)EVT_CHECKBOX -> wx::RustEvent::CheckBox
    • (wx)EVT_RADIOBOX -> wx::RustEvent::RadioBox

@kenz-gelsoft kenz-gelsoft changed the base branch from main to widgets_sample_before_button_page May 23, 2022 23:41
@kenz-gelsoft kenz-gelsoft changed the base branch from widgets_sample_before_button_page to main May 23, 2022 23:42
@kenz-gelsoft
Copy link
Owner Author

TODO: fix windows build.

@kenz-gelsoft kenz-gelsoft changed the title Widgets sample Widgets sample: Button page May 28, 2022
@kenz-gelsoft kenz-gelsoft marked this pull request as ready for review May 28, 2022 09:34
@kenz-gelsoft kenz-gelsoft merged commit e078d64 into main May 28, 2022
@kenz-gelsoft kenz-gelsoft deleted the widgets_sample branch May 28, 2022 09:35
@kenz-gelsoft
Copy link
Owner Author

part of #61

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

1 participant