openmedicus / gtk-sharp

DEPRECATED: Use https://github.com/GLibSharp/GtkSharp or https://github.com/GtkSharp/GtkSharp
Other
22 stars 6 forks source link

GLib / Gio No constructor or properties for SimpleAction #14

Open harry-cpp opened 8 years ago

harry-cpp commented 8 years ago

https://developer.gnome.org/gio/stable/GSimpleAction.html

mikkeljohnsen commented 8 years ago

I just pushed an update to 3.20.6 and also included GSimpleAction.

Could you test if it works ?

harry-cpp commented 8 years ago

Partially, the constructor now exists, but the object is missing events, tho now AddSignal can be used for it. There are still a bunch of inconsistency in C# Gio bindings :(, I personally wrote my own for the stuff I need.

mikkeljohnsen commented 8 years ago

What events are missing ?

I had to remove "State" and "StateHint", but I believe they are in Widget.

harry-cpp commented 8 years ago

They are missing activate and change-state signals, which should get translated to c# events.