Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[GtkTemplate (ui = "/org/gnome/calculator/math-window.ui")]
public class MathWindow : Gtk.ApplicationWindow
{
[GtkChild]
private Gtk.MenuButton menu_button;
[GtkCallback]
private void scroll_changed_cb (Gtk.Adjustment adjustment)
{
return;
}
}
@benwaffle

This comment has been minimized.

Show comment
Hide comment
@benwaffle

benwaffle Feb 9, 2016

you missed a [

you missed a [

@aruiz

This comment has been minimized.

Show comment
Hide comment
@aruiz

aruiz Feb 9, 2016

Fixed! Thanks!

Owner

aruiz commented Feb 9, 2016

Fixed! Thanks!

@genodeftest

This comment has been minimized.

Show comment
Hide comment
@genodeftest

genodeftest Feb 9, 2016

Is this done with stock Gtk+ code or do you have to use special code for GtkTemplates?

I'm asking because exaile is using its own GtkTemplate implementation (example, code)

Is this done with stock Gtk+ code or do you have to use special code for GtkTemplates?

I'm asking because exaile is using its own GtkTemplate implementation (example, code)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment