Matthias Clasen
71991f339d
GtkScrolledWindow: document changed default policy
2010-09-25 12:54:47 -04:00
Matthias Clasen
5aad25aa42
Nuke the 'Types' section from the docs
2010-09-24 23:03:51 -04:00
Matthias Clasen
3fd767c92d
Remove mention of input dialog from the docs
2010-09-24 22:16:53 -04:00
Matthias Clasen
cc9ac5b7ea
Update docs of GtkAboutDialog and GtkLinkButton
...
Remove references to global hooks from the docs. Also move remaining
docs inline, and remove the templates.
2010-09-24 13:41:29 -04:00
Christian Dywan
7dde4d93ad
gtkeditable: move documentation to inline comments
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=617316
2010-09-24 18:42:44 +02:00
Matthias Clasen
3c19eea34b
GtkNotebook: replace group by group_name
...
Dealing with bare pointers is problematic for language bindings,
using interned strings is much more straightforward and more than
good enough for what is needed here.
http://bugzilla.gnome.org/show_bug.cgi?id=630521
2010-09-24 11:13:30 -04:00
Matthias Clasen
b47b1428b8
GtkNotebook: remove gtk_notebook_set_window_creation_hook
...
http://bugzilla.gnome.org/show_bug.cgi?id=630521
2010-09-24 11:10:51 -04:00
Matthias Clasen
3557761fb3
docs: Add a CODING-STYLE document
...
This document mostly codifies the existing GTK+ coding style
conventions; it is strongly based on the clutter document of
the same name.
2010-09-23 22:28:02 -04:00
Matthias Clasen
65db1100ec
docs: remove defsformat.txt
...
We should not ship documentation for file formats we are no longer
using.
2010-09-23 22:28:01 -04:00
Matthias Clasen
c45985ae01
docs: remove gtk-config.txt
...
Considering that gtk-config has been obsoleted by pkg-config
a decade ago, we should stop shipping docs for it...
2010-09-23 22:28:01 -04:00
Matthias Clasen
b0713fb3bb
Remove url hooks from GtkAboutDialog and GtkLinkButton
...
With gtk_show_uri, global configurability of link activation has
moved to GIO/gvfs. For local overrides, GtkLinkButton has the ::clicked
signal, and GtkAboutDialog gets an ::activate-link signal.
Bug 339745
2010-09-22 00:36:13 -04:00
Matthias Clasen
e0aa12eb0a
Tons of transfer annotations
2010-09-21 00:18:11 -04:00
Matthias Clasen
def95d1319
Add new error trap api to gdk.symbols and gdk3-sections.txt
2010-09-19 22:45:02 -04:00
Matthias Clasen
6b4992d647
Point to the new GtkWidget align and margin properties
2010-09-19 01:01:09 -04:00
Havoc Pennington
b837ef5a6d
Revamp and modernize X error traps
...
* add per-display gdk_x11_display_error_trap_push()
(X11-specific because gdk_error_trap_push() probably
should have been)
* make gdk_error_trap_push() handle only GDK displays
not displays opened without a GDK wrapper
* make gdk_error_trap_pop() and gdk_x11_display_error_trap_pop()
automatically sync only if needed, so manual gdk_flush() is not
required
* add gdk_error_trap_pop_ignored() which just asynchronously
ignores errors, so never needs to sync
* add G_GNUC_WARN_UNUSED_RESULT to plain pop(), because
if you use plain pop() and don't need the return value,
the async gdk_error_trap_pop_ignored() should be used
instead. This results in lots of warnings to clean
up in a later patch.
The main objective here was to avoid the need to sync just
to ignore an error. Now, syncing is automatic, and only
happens when we need to know the error code.
https://bugzilla.gnome.org/show_bug.cgi?id=629608
2010-09-18 18:19:27 -04:00
Matthias Clasen
2f78aa3024
Rename h/v-align to h/valign
...
And adjust the getters and setters to match. Also include some
documentation by Havoc Pennington about adjustment of size requests
and allocations.
2010-09-15 20:14:56 -04:00
Matthias Clasen
b9f66d9197
Add docs for new API
2010-09-15 13:52:52 -04:00
Javier Jardón
b140884fec
Use gtk_size_request_get_size() instead deprecated gtk_widget_size_request()
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=629598
Signed-off-by: Javier Jardón <jjardon@gnome.org>
Signed-off-by: Tristan Van Berkom <tristanvb@openismus.com>
2010-09-15 03:02:58 +02:00
Tristan Van Berkom
2ee532645f
Adjusted new documentation for GtkSizeGroup.
2010-09-15 04:51:36 +09:00
Tristan Van Berkom
266476d32b
Added documentation to gtksizegroup.sgml explaining what happens with height-for-width widgets.
...
When grouping height-for-width trading widgets (wrapping labels for instance)
vertically; the height for the minimum width will always be used for the entire
group... this patch warns about this in the docs.
2010-09-15 04:04:02 +09:00
Javier Jardón
6eae25e0b0
GtkWindow: move public members to private structure
...
Signed-off-by: Christian Dywan <christian@twotoasts.de>
2010-09-11 02:22:28 +02:00
Matthias Clasen
056ec835cc
Include gdkkeysyms.h in gdk.h
...
Followup to bug 629093
2010-09-10 11:08:18 -04:00
Matthias Clasen
95eb4a868e
Remove GDK_DISPLAY() usage
2010-09-09 21:55:28 -04:00
Matthias Clasen
0dcaad3a85
Drop the gdk_display variable from gdk
...
This was the last exported variable; it wasn't multihead safe,
and there's easy replacement with gdk_display_get_default().
Also drop the GDK_DISPLAY() macro which was just a wrapper around
the variable.
2010-09-09 19:46:41 -04:00
Matthias Clasen
001d16cb87
Fix the docs build after GtkItem removal
2010-09-09 16:11:31 -04:00
Matthias Clasen
3bd93e5bfd
Remove GtkItem
...
With the demise of GtkList and GtkTree, it has GtkMenuItem as sole
derived class, and is not really adding any value as a separate class.
Its few useful features have been merged into GtkMenuItem.
Bug 629104
2010-09-08 23:38:09 -04:00
Colin Walters
e08c43faf4
porting guide: Update to mention GDK_KEY_ transition
2010-09-08 18:51:44 -04:00
Colin Walters
913cdf3be7
GDK: Prefix key names with KEY_
...
The keysyms create a lot of potential namespace conflicts for
C, and are especially problematic for introspection, where we take
constants into the namespace, so GDK_Display conflicts with GdkDisplay.
For C application compatiblity, add gdkkeysyms-compat.h which uses
the old names.
Just one user in GTK+ continues to use gdkkeysyms-compat.h, which is
the gtkimcontextsimple.c, since porting that requires porting more
custom Perl code.
2010-09-08 18:51:44 -04:00
Javier Jardón
1b0d2fcd51
Use G_CALLBACK() instead deprecated GTK_SIGNAL_FUNC()
2010-09-08 23:42:25 +02:00
Javier Jardón
016093d007
docs: Remove GtkFileSelection deprecated docs
2010-09-08 22:58:03 +02:00
Javier Jardón
a76d198508
GtkWidget: Move public members to private structure
2010-09-08 21:28:16 +02:00
Tor Lillqvist
2ab562a6f7
Remove also the docs for the gdk_threads_mutex variable
2010-09-08 21:31:33 +03:00
Tor Lillqvist
cb24bcc613
Turn the gtk version and age variables into functions
...
Having variables exported from a DLL is slightly painful and
potentially error-prone on Windows, so let's try get rid of them now
when we can. Starting with these.
2010-09-08 21:31:33 +03:00
Javier Jardón
ca3348f8f1
Do not use deprecated API in docs and examples
...
gtk_calendar_display_options() was deprecated and removed. Use
gtk_calendar_set_display_options() instead
2010-09-08 17:10:37 +02:00
Matthias Clasen
1be5f91491
Document --disable-Bsymbolic option
2010-09-02 22:56:41 -04:00
Matthias Clasen
18b47b6cd0
Remove blinking from status icons
...
This feature was just a bad idea.
2010-09-02 09:37:06 -04:00
Matthias Clasen
46f15e7d68
Adapt docs to dialog api changes
2010-09-02 09:35:50 -04:00
Matthias Clasen
a60a933ca6
Update docs or GtkProgressBar api changes
2010-09-02 08:59:27 -04:00
Matthias Clasen
55d5d3679e
Table gymnastics
2010-09-02 08:59:26 -04:00
Matthias Clasen
42a90aa00c
Add information about progressbar migration
...
Add a section to the migration guide about GtkProgressBar.
Also, actually include the wrap box docs.
2010-09-02 00:05:32 -04:00
Matthias Clasen
e4af3782d3
Rename GtkIconView::orientation property
...
Rename the ::orientation property of GtkIconView to item-orientation,
which is both clearer and avoids the conflict with the orientation
property of GtkOrientable implementations.
2010-09-01 23:03:48 -04:00
Matthias Clasen
15ea566813
Wrap box assimilation
...
Some coding style cleanups, rename Priv to Private, add docs
2010-09-01 20:03:30 -04:00
Javier Jardón
6e5d65c9af
gtkscale: move documentation to inline comments
2010-09-01 20:37:39 +02:00
Javier Jardón
5484211c90
gtktexttagtable: move documentation to inline comments
2010-09-01 20:37:39 +02:00
Javier Jardón
7eadf45888
gtktypeutils: move documentation to inline comments
2010-09-01 20:37:39 +02:00
Javier Jardón
a47e5483b6
gtkimcontextsimple: move documentation to inline comments
2010-09-01 20:37:39 +02:00
Javier Jardón
3a752e03a8
gtkimmulticontext: move documentation to inline comments
2010-09-01 20:37:39 +02:00
Carl-Anton Ingmarsson
38fad43129
docs: Further fix GtkStock documentation
...
Some icons were left out from the
commit 9688665334
https://bugzilla.gnome.org/show_bug.cgi?id=628308
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-09-01 17:43:59 +02:00
Matthias Clasen
9688665334
Fix GtkStock documentation
...
After the big icon rename, all the links in the docs have to
be updated, and we need to copy the right icons.
2010-09-01 00:14:45 -04:00
Javier Jardón
f84707d6f9
Add gtk_calendar_day_is_marked() function
...
The marked state of calendar day is not accessible
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=627028
2010-08-29 19:14:24 +02:00
Javier Jardón
face33a411
docs/reference/gtk/gtk3-sections.txt: Use GtkFooPrivate instead GtkFooPriv
...
This completes commit 1e5d7c0225
2010-08-28 03:24:04 +02:00
Benjamin Otte
8856bfc60e
directfb: Remove
...
As announced by email and on IRC, this backend is removed from GTK 3.
It has been broken for over a year with no one fixing it.
2010-08-23 12:44:58 +02:00
Javier Jardón
a1c2a00d63
docs: Add GtkLicense enum definition to the docs
2010-08-22 20:53:58 +02:00
Javier Jardón
76b0a349ef
docs/tools/widgets.c: Use accessor functions to access GtkWidget
2010-08-22 18:29:09 +02:00
Javier Jardón
3d77c49e16
docs/tools/shooter.c: Use accessor functions to access GtkWidget
2010-08-22 18:29:02 +02:00
Javier Jardón
9016f0d9a6
Use standard icon names in demos and tests
2010-08-21 03:08:15 +02:00
Matthias Clasen
6917d46749
Remove a dangling reference
2010-08-17 00:04:10 -04:00
Matthias Clasen
ce08b9bb01
Fix some documentation issues
2010-08-16 23:52:03 -04:00
Benjamin Otte
2944561ba3
API: Add gdk_window_get_background_pattern()
...
This is the suggested way for GTK3 to store a Window's background so it
makes sense to use the same function today already.
2010-08-16 19:48:46 +02:00
Benjamin Otte
c989d3000a
API: Add gdk_window_create_similar_surface()
2010-08-12 23:43:11 +02:00
Benjamin Otte
416d132a72
docs: Some style fixes to the migration guide
...
Most importantly, I decided to not capitalize "cairo".
2010-08-11 05:12:49 +02:00
Matthias Clasen
2acf529b3b
Beef up the migration guide
...
This includes a first cut at documenting the rendering cleanup changes
and the region removal.
2010-08-10 21:22:40 -04:00
Benjamin Otte
c9d08d02e5
gdk: Remove data consructors for GdkPixmap
...
That is all of the gdk_pixmap/bitmap_create_from_* constructors.
2010-08-10 21:02:31 +02:00
Benjamin Otte
d0d2a6f12c
API: remove gdk_colormap_query_color
2010-08-10 21:02:30 +02:00
Benjamin Otte
25fc4d97f8
textview: remove GtkTextAttributes (un)realize code
...
It was unused (apart from a few assertion that indeed it was unused).
2010-08-10 21:02:30 +02:00
Benjamin Otte
6a48a042c7
API: remove GdkGC
...
XXX: Some traces in the win32 code are left. I suppose they'd best be
replaced using Cairo.
2010-08-10 21:02:29 +02:00
Benjamin Otte
ac3ddfa2a7
API: Remove gtk_gc_get() and gtk_gc_release()
...
With this change, GTK does not use GdkGC anymore.
2010-08-10 21:02:29 +02:00
Benjamin Otte
1ac8d80e34
API: remove GdkPangoRenderer
...
Also removes the pango attributes for stipple, emboss and emboss color
2010-08-10 21:02:29 +02:00
Benjamin Otte
61d4a019f8
API: remove gdk_draw_drawable()
2010-08-10 21:02:29 +02:00
Benjamin Otte
a581401920
API: remove gdk_draw_layout_*()
2010-08-10 21:02:28 +02:00
Benjamin Otte
9f1939cbd5
API: Remove GtkTextTag's stipple properties
...
They seem pretty much unused and the only reason why GtkTextView uses a
GdkPangoRenderer and not a PangoCairoRenderer.
2010-08-10 21:02:28 +02:00
Benjamin Otte
600fbd3e74
API: remove gdk_draw_rectangle()
2010-08-10 21:02:28 +02:00
Benjamin Otte
9ee5176492
API: remove gdk_draw_point(s)
2010-08-10 21:02:27 +02:00
Benjamin Otte
a9e99e7f5b
API: remove gdk_draw_{line,lines,segments}
...
Those were the 3 intermixed line drawing calls.
2010-08-10 21:02:27 +02:00
Benjamin Otte
e85dfc7cc4
API: remove gdk_draw_polygon()
2010-08-10 21:02:27 +02:00
Benjamin Otte
d2b1da4e84
API: remove gtk_paint_polygon()
...
Almost noone uses it in real applications and it's broken in most theme
engines.
2010-08-10 21:02:27 +02:00
Benjamin Otte
89d28eb09d
API: remove gdk_draw_glyphs() and gdk_draw_glyphs_transformed()
2010-08-10 21:02:27 +02:00
Benjamin Otte
92f4882497
API: remove gdk_draw_trapezoids() and GdkTrapezoid struct
2010-08-10 21:02:27 +02:00
Benjamin Otte
559ae63f01
API: remove gdk_draw_arc()
2010-08-10 21:02:27 +02:00
Benjamin Otte
14fe04ec89
API: remove GdkImage
...
It was unused and buggy.
2010-08-10 21:02:26 +02:00
Benjamin Otte
6f5084551a
API: remove gdk_drawable_copy_to_image()
2010-08-10 21:02:26 +02:00
Benjamin Otte
2a72ffd4de
API: remove gdk_drawable_get_image()
2010-08-10 21:02:26 +02:00
Benjamin Otte
a1a1b135ac
API: remove gdk_pixbuf_get_from_image()
2010-08-10 21:02:26 +02:00
Benjamin Otte
39b47eaf25
API: Add gdk_pixbuf_get_from_surface()
...
New API to copy any cairo surface into a pixbuf.
2010-08-10 21:02:26 +02:00
Benjamin Otte
b926ce719b
API: remove gdk_draw_image()
2010-08-10 21:02:26 +02:00
Benjamin Otte
d18abf42b7
API: Get rid of GdkRGB
2010-08-10 21:02:26 +02:00
Benjamin Otte
d54c2cfeee
API: remove gdk_screen_get_rgb_colormap/visual()
...
People want to use gdk_screen_get_default_colormap/visual().
Also, GdkRGB is about to die.
2010-08-10 21:02:26 +02:00
Benjamin Otte
24a867f8da
image: remove GdkImage as a possible image type
...
GdkImage is about to be deprecated.
2010-08-10 21:02:25 +02:00
Benjamin Otte
4f8dbd4a8d
API: Remove gdk_draw_pixbuf()
2010-08-10 21:02:25 +02:00
Benjamin Otte
a66e4ebe1a
docs: Add sgml goo for new notebook APIs
2010-08-10 21:02:25 +02:00
Benjamin Otte
472b9d6f66
docs: Add sgml goo for new GtkExpander APIs
2010-08-10 21:02:25 +02:00
Benjamin Otte
1481ab6626
docs: Add sgml goo for gdk_display_is_closed()
2010-08-10 21:02:25 +02:00
Emmanuele Bassi
73030c462f
about: Add :license-type property
...
The :license-type property of GtkAboutDialog allows using a symbolic
enumeration value that will construct a placeholder license preamble
linking to a specific URL. This allows localization of the licensing
text without using a translation of the actual license, since it would
not be valid.
Bug 336225.
2010-08-10 00:00:15 -04:00
Matthias Clasen
79ef5de505
Make it possible to make the expander label fill the entire space
...
This adds a boolean GtkExpander::label-fill property and uses it
when allocating space to the label. Based on a patch by Matt Barnes,
bug 614049.
2010-08-09 23:08:39 -04:00
Hiroyuki Ikezoe
0824862e3b
Drop xim-related configure options from the docs
...
These options have been dropped from configure a while ago,
so they should no longer be in the docs either. Bug 605190.
2010-08-09 21:31:25 -04:00
Sam Thursfield
a2b72c5953
Add missing accessors for notebook details
...
The ms-windows theme engine needs to access the tab-{h,v}border,
so add accessors. Bug 625655.
2010-08-09 21:20:07 -04:00
Javier Jardón
3ccc617052
Completely remove any use of GtkWindow allow-grow and allow-shrink properties
...
These have been deprecated and removed from master.
GtkWindow:resizable should be used instead.
This completes commit 1a03a65e36
Reported by Benjamin Otte
2010-08-07 17:19:16 +02:00
John Stowers
4198dd8519
Add gdk_display_is_closed
...
https://bugzilla.gnome.org/show_bug.cgi?id=624224
2010-08-07 23:21:31 +12:00
Benjamin Otte
decbe42212
docs: Add gdk_cursor_get_cursor_type() template
2010-07-31 22:42:59 +02:00
Benjamin Otte
f03ce229e9
docs: Remove GtkNotebookPage from docs
2010-07-31 22:41:51 +02:00