summaryrefslogtreecommitdiff
path: root/examples/application3
Commit message (Collapse)AuthorAgeFilesLines
* tutorial: Drop excessive margin from headerbarMatthias Clasen2016-02-271-1/+0
| | | | | It is no longer necessary to add extra margins around the center child in a headerbar.
* examples: Clean up the standalone MakefilesEmmanuele Bassi2015-05-261-7/+8
| | | | | Do not hardcode GCC as the compiler; use $(shell) expansion instead of backticks; split the built source into its own variable.
* examples: Fix clean rule in stand alone MakefilesEmmanuele Bassi2014-12-061-0/+1
| | | | Remove all the built files, including the exampleapp binary.
* Add standalone Makefile for the examplesEmmanuele Bassi2014-12-021-0/+24
| | | | | | | We want to allow people to build the examples easily, without necessarily requiring them to build the whole of GTK+. https://bugzilla.gnome.org/show_bug.cgi?id=741041
* Beautify example Makefiles a bitMatthias Clasen2014-11-291-14/+13
|
* Make include order consistent in example applicationsMatthias Clasen2014-11-282-2/+4
| | | | | Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=740537
* example: Fix up marginsMatthias Clasen2014-04-171-0/+1
| | | | | | This makes the code match what we show in the screenshots. This broke when headerbars were changed to allow titles to extend into the margin.
* examples: Use git.mkJasper St. Pierre2013-08-071-0/+2
|
* Another round of template binding api changesMatthias Clasen2013-07-261-1/+1
| | | | | | | | | | | We rename the gtk_widget_class_bind_template_child{_internal} macros by appending a _private to their name. Otherwise, it would be too magic to pass the 'public' names as arguments, but affect a member of the Private struct. At the same time, Add two new macros with the old names, gtk_widget_class_bind_template_child{_internal} that operate on members of the instance struct.
* Rename the widget template APIEmmanuele Bassi2013-07-261-1/+1
| | | | | | | | | | | | | | | | | | | | The macros and functions are inconsistently named, and are not tied to the "template" concept - to the point that it seems plausible to use them without setting the template. The new naming scheme is as follows: gtk_widget_class_bind_template_child_full gtk_widget_class_bind_template_callback_full With the convenience macros: gtk_widget_class_bind_template_child gtk_widget_class_bind_template_child_internal gtk_widget_class_bind_template_callback https://bugzilla.gnome.org/show_bug.cgi?id=700898 https://bugzilla.gnome.org/show_bug.cgi?id=700896
* widget: Use a real offset in gtk_widget_class_automate_childAlexander Larsson2013-07-261-1/+1
| | | | | | | | | | Using an offset from the struct means you can have children in both the public and private (via G_PRIVATE_OFFSET) parts of the instance. It also matches the new private macros nicer. https://bugzilla.gnome.org/show_bug.cgi?id=702563 Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
* Getting started: Coding style updatesMatthias Clasen2013-07-245-64/+71
| | | | Make the new examples use GTK+ coding style.
* Add a new example appMatthias Clasen2013-07-208-0/+255
Add a new example to the getting started part of the docs. The focus of this example is on 'new stuff': GtkApplication, templates, settings, gmenu, gaction, GtkStack, GtkHeaderBar, GtkSearchBar, GtkRevealer, GtkListBox, GtkMenuButton, etc. It is being developed in several steps. Each step is put in a separate directory below examples/: application1, ..., application8. This is a little repetitive, but lets us use the code of all examples in the documentation.