Matthias Clasen
cda60c3c40
Another round of template binding api changes
...
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.
2013-07-26 16:29:12 -04:00
Emmanuele Bassi
89ae3524a3
Rename the widget template API
...
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
2013-07-26 13:52:15 -04:00
William Jon McCann
88771f7b1b
Add an optional close button to the info bar
...
This adds gtk_info_bar_{get,set}_show_close_button.
Similar to the one for the search bar. This can replace Cancel
buttons.
https://bugzilla.gnome.org/show_bug.cgi?id=704274
2013-07-24 17:01:42 -04:00
Matthias Clasen
977c6cf4c7
Getting started: Add docs for property actions
...
Use the just added example to add another section to the docs.
2013-07-24 07:31:05 -04:00
Matthias Clasen
84244d56fc
Getting started: Add information about activate and open
...
The difference between the various GApplication entry points
is a little mysterious to many people, so talk a bit about
this here.
2013-07-24 07:31:05 -04:00
Matthias Clasen
1e93e46b12
Gettting started: Improve some screenshots
...
Use default GNOME background, and have a desktop file and
icon installed for the app menu screenshot.
2013-07-24 07:31:05 -04:00
Matthias Clasen
91f2d10710
Getting started: Add docs about desktop file and icon
2013-07-24 07:31:05 -04:00
Matthias Clasen
99203f09f2
Getting started: Coding style updates
...
Make the new examples use GTK+ coding style.
2013-07-24 07:31:05 -04:00
Matthias Clasen
8488ae6d78
Fix a wrong link in the new example
...
The links point to the online cgit locations, so were hard to check
before the commit...
2013-07-21 17:44:13 -04:00
Matthias Clasen
8087bb7a22
Add a new example app
...
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.
2013-07-20 23:04:47 -04:00
Rico Tzschichholz
68025551e1
docs: Drop reference to refcounting.txt to fix make dist
...
In addition to 94d6971ca4
2013-07-20 13:03:59 +02:00
William Jon McCann
67bfa41645
docs: use a separate platform support section
2013-07-17 21:38:13 -04:00
William Jon McCann
837402496a
docs: move core and theming under widgets
...
They aren't that interesting.
2013-07-17 21:32:42 -04:00
William Jon McCann
0da8b2b468
docs: move stock to deprecated
2013-07-17 21:31:44 -04:00
William Jon McCann
3b0782e0bf
docs: update the order of widgets to put recommended ones on top
2013-07-17 21:28:28 -04:00
William Jon McCann
1a9c0c9cae
docs: move imagemenuitem to deprecated
2013-07-17 21:15:37 -04:00
William Jon McCann
a14b810e70
docs: move builder to under applications
2013-07-17 21:11:35 -04:00
William Jon McCann
fcc136b456
docs: move action support into deprecated
2013-07-17 21:11:01 -04:00
William Jon McCann
a366d99890
docs: move application support to the top of the widget list
2013-07-17 21:10:29 -04:00
William Jon McCann
d861be9bd3
docs: Use sections in the widget gallery
2013-07-17 20:48:59 -04:00
William Jon McCann
e550c25eec
docs: remove deprecated font and color selectors from gallery
2013-07-17 20:48:59 -04:00
William Jon McCann
dc3a7ddb6b
docs: update generated images of widgets
2013-07-17 20:48:59 -04:00
William Jon McCann
f5ea5996b4
docs: make the spinner spin for the screenshot
2013-07-17 20:48:59 -04:00
William Jon McCann
580c35937a
docs: use a nicer image for the screenshot
2013-07-17 20:48:59 -04:00
William Jon McCann
db3ef57cf5
docs: don't vertically fill statusbar
2013-07-17 20:48:59 -04:00
William Jon McCann
06186b9a88
docs: remove deprecated font selector screenshot
2013-07-17 20:48:59 -04:00
William Jon McCann
5264ba2705
docs: remove deprecated color selection screenshot
2013-07-17 20:48:59 -04:00
William Jon McCann
77da3f5cc2
docs: update copyright text
2013-07-17 20:48:59 -04:00
William Jon McCann
31a38a6793
docs: make bar widgets stretch horizontally in shots
2013-07-17 20:48:59 -04:00
William Jon McCann
becc69055f
docs: don't use an icon by default in the combobox shot
2013-07-17 20:48:59 -04:00
Jasper St. Pierre
1a0c5acb26
shooter: Make sure to free the surface
2013-07-17 20:10:05 -04:00
Jasper St. Pierre
5c926ca6bb
shooter: Use the reftests code for taking screenshots
2013-07-17 16:57:55 -04:00
Jasper St. Pierre
52601e936d
doc-shooter: Remove inappropriate menu usage
2013-07-17 15:15:40 -04:00
Jasper St. Pierre
94d6971ca4
docs: Remove old refcounting file
...
This references GTK+2-era objects, and isn't really useful anymore.
2013-07-17 14:48:19 -04:00
William Jon McCann
519930cfc6
docs: use informal figures for screenshots
2013-07-17 13:09:28 -04:00
William Jon McCann
8e3f8d8720
docs: update getting started screenshots
2013-07-17 09:59:12 -04:00
William Jon McCann
c8d4d24425
docs: add filename hints for getting started examples
2013-07-17 09:59:12 -04:00
William Jon McCann
497c7f3df0
docs: fix use of multiplication typography
2013-07-17 09:59:12 -04:00
Matthias Clasen
0b45a5968f
Fix a typo
2013-07-09 13:49:39 -04:00
Matthias Clasen
2c8ffef284
Document new environment variables
...
Explain GDK_SCALE and GDK_DPI_SCALE.
2013-07-09 10:25:40 -04:00
Matthias Clasen
660a1f304e
Add new api to the gtk docs
2013-07-09 10:25:40 -04:00
Matthias Clasen
822f9019fa
Add new gdk api to the docs
2013-07-09 10:25:40 -04:00
Emmanuele Bassi
19bc27c6f1
docs: Update the coding style
...
We should mention that newly written code should not have the private
data pointer in the instance structure, and that private data should be
added using the new GObject macros.
https://bugzilla.gnome.org/show_bug.cgi?id=702996
2013-07-09 09:30:02 +01:00
Benjamin Otte
6449b4a610
tools: Fix casting warnings
2013-07-08 16:17:18 +02:00
Matthias Clasen
2741672cf1
Add GtkListBox to the widget gallery
2013-06-30 01:28:37 -04:00
Matthias Clasen
8b9370d194
Add missing GtkSearchEntry API to the docs
2013-06-30 01:02:46 -04:00
Matthias Clasen
c73b48f28a
Add a gtk_window_close function
...
This is useful when adding close buttons in custom titlebars.
2013-06-28 22:19:15 -04:00
Rico Tzschichholz
b5863f38a0
docs: Don't drop xml/gtkstock.xml
2013-06-27 21:14:07 +02:00
Rico Tzschichholz
b39ce832ce
build: Fix make dist
2013-06-27 19:43:47 +02:00
Emanuele Aina
4eddc00911
docs: Add GtkListBox functions to their section and fix links
...
https://bugzilla.gnome.org/show_bug.cgi?id=702981
2013-06-27 16:28:40 +02:00