Features/GTK3/Porting/Implode: Difference between revisions
No edit summary |
No edit summary |
||
| Line 12: | Line 12: | ||
=== expose-event === | === expose-event === | ||
This signal was override by '''draw''' and it have to be connected with the method that was connected with the ''expose-event'' before. The method itself does not change but the arguments that it receives do. This is the new definition of the function in my case: | This signal was override by '''draw''' and it have to be connected with the method that was connected with the ''expose-event'' before. The method itself does not change but the arguments that it receives do. This is the new definition of the function in my case: | ||
| Line 20: | Line 18: | ||
=== size-allocate === | === size-allocate === | ||
This signal was used to resize the gtk.DrawingArea every time the window grows and at the startup of the activity. This is useful to re-draw the widget for different resolutions (desktops and XOs for example). | This signal was used to resize the gtk.DrawingArea every time the window grows and at the startup of the activity. This is useful to re-draw the widget for different resolutions (desktops and XOs for example). | ||
| Line 77: | Line 73: | ||
= Useful Links = | = Useful Links = | ||
* http://developer.gnome.org/gtk3/3.5/GtkWidget.html#GtkWidget-draw | |||
* http://developer.gnome.org/gtk3/3.5/GtkWidget.html#GtkWidget-configure-event | |||
* http://developer.gnome.org/rsvg/stable/ | * http://developer.gnome.org/rsvg/stable/ | ||