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

Needed generator features (for gtk module) #102

Open
7 of 13 tasks
EPashkin opened this issue Jul 30, 2015 · 4 comments
Open
7 of 13 tasks

Needed generator features (for gtk module) #102

EPashkin opened this issue Jul 30, 2015 · 4 comments

Comments

@EPashkin
Copy link
Member

EPashkin commented Jul 30, 2015

Generator features:

  • signals
  • detecting downcasts for classes Ex. gtk_dialog_get_content_area
  • detecting downcasts for interfaces ?
  • downcasts for returned out parameters ?
  • records Ex. gtk_container_get_path_for_child
  • TypeKind::Pointer other that Option<String>
  • Transfer::Container ?
  • TranslateFromGlib for all TypeKinds (Interface, Unknown)
  • TranslateToGlib for all TypeKinds (Interface, Unknown)
  • Callbacks as in parameters (Ex. gtk_container_forall)
  • Lists (Ex. gtk_container_get_children)
  • SList (Ex. gtk_radio_action_get_group)
  • CArray (Ex. gtk_about_dialog_add_credit_section, gtk_about_dialog_get_artists)
@EPashkin EPashkin changed the title Generate gtk module Needed generator features (for gtk module) Jul 30, 2015
@EPashkin EPashkin mentioned this issue Jul 30, 2015
@EPashkin
Copy link
Member Author

For records just use ffi name (GtkWidgetPath) or it will be deprefixed?
Also seems need to add use xxx_ffi; for other libs (may be replace current with gtk_ffi also).

@gkoz
Copy link
Member

gkoz commented Jul 30, 2015

In the normal mode all names should be deprefixed.

@EPashkin
Copy link
Member Author

Good. Thanks.

@EPashkin
Copy link
Member Author

Created separate Issue for records discussion.

@EPashkin EPashkin mentioned this issue Jul 30, 2015
sdroege pushed a commit to sdroege/gir that referenced this issue Apr 19, 2018
Make Cancellable Send+Sync and don't generate trait for it
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

No branches or pull requests

2 participants