Matthias Clasen
17f99f663f
GtkGrid: Add a way to insert rows or columns
...
This is useful functionality that makes it easier to insert
things in the middle of an already populated grid.
Bug 653817
2011-08-08 13:13:48 +02:00
Matthias Clasen
b555a979a4
Drop non-existing functions
2011-07-22 21:53:20 -04:00
Benjamin Otte
b0b287f7b5
themingengine: Use the default way of indicating privates
2011-07-21 02:43:54 +02:00
Benjamin Otte
b17ad131ea
API: Add gtk_widget_class_set_accessible_role()
...
Easy access to modifying the roles of subclasses, as this is a thing
that commonly changes for various subclasses.
2011-07-18 18:30:49 +02:00
Matthias Clasen
d8c00cd537
Revert "Add a getter for the accessible type of a widget class"
...
This reverts commit 9a212b3120
.
2011-07-14 19:28:07 -04:00
Matthias Clasen
9a212b3120
Add a getter for the accessible type of a widget class
...
This will be necessary to port out-of-tree a11y implementations
from the atk object factory approach to this new way of doing
things.
2011-07-13 23:02:25 -04:00
Matthias Clasen
86fcb8b66f
Add gtk_assistant_remove_page
...
This was suspiciously missing, considering we have the usual
append/prepend/insert_page methods.
2011-07-11 23:12:55 -04:00
Javier Jardón
32e00d1f43
Use AM_CPPFLAGS instead the obsolete INCLUDES
2011-07-06 15:58:32 +01:00
Javier Jardon
f90f2858c8
Fix few typos in the migration docs
...
gdk_pixbuf_get_from_surface() don't take 8 args but 5
2011-07-06 11:59:56 +01:00
Benjamin Otte
ebf8bf0000
API: Add gtk_widget_class_set_accessible_type()
...
The function is supposed to bypass the ATK registry. For 2 reasons:
1) We get rid of a lot of boilerplate madness.
2) The registry allows creating multiple accessibles per widget and we
don't.
The old code for registries is still there.
2011-07-05 16:07:57 -04:00
Matthias Clasen
c2449763ce
Fix up docs for predefined style classes.
...
The table was incomplete and out of date. Instead, just
put a list of links in that place, and move all the extra
documentation to the macros. Bug 653785
2011-06-30 19:18:26 -04:00
Javier Jardón
d2b6480ba2
docs: remove tmpl directories
...
We do not use template files anymore
2011-06-20 14:24:57 +01:00
Ignacio Casal Quinteiro
cfb2a45f9a
overlay: add initial version of gtkoverlay
2011-06-12 23:27:18 -04:00
Javier Jardón
a8f5a8b919
docs: Do not use G_CONST_RETURN
2011-06-10 13:07:54 +01:00
Cosimo Cecchi
514e77581a
stylecontext: add gtk_render_icon()
2011-06-09 23:17:09 +02:00
Javier Jardón
d87190f60f
docs: Make "migrating to GtkStyleContext" a separate chapter
2011-06-07 17:02:49 +01:00
Javier Jardón
c5868f05db
docs: building: Fix links to the location of tarballs
2011-06-06 14:30:47 +01:00
Javier Jardón
955dbdc042
docs: building: Update links to the location of tarballs
...
Mention ftp.gtk.org for glib and use download.gnome.org instead
ftp.gnome.org
2011-06-06 14:27:47 +01:00
Javier Jardón
e8f36232de
docs: building: Update links to the location of tarballs
...
Nowadays the tarballs are uploaded to ftp.gnome.org instead ftp.gtk.org
2011-06-06 13:50:33 +01:00
Javier Jardón
15206d85f5
docs: dependencies: Split the list of dependencies
...
External and non-external
2011-06-06 13:09:52 +01:00
Javier Jardón
1739dab356
docs:building: re-order list of dependencies
...
Libraries that GTK+ depends on maintained by the GTK+ team first
2011-06-06 12:35:42 +01:00
Javier Jardón
007b718688
docs: building: gz is not used anymore, but xz instead
2011-06-06 12:27:17 +01:00
Benjamin Otte
cc3afc7c0f
Revert "API: Add API to set style properties to be inherit"
...
Inheritance is now done using style property flags, so thereis no ned
anymore to clobber the pspec flags namespace.
Also, there is no need to expose this functionality in the public API
without exposing more of the styleproperty API.
This essentially reverts commit 9bfd3d2eec
.
2011-06-02 02:03:52 +02:00
Benjamin Otte
79de8e4d08
API: Add support for siblings to widget paths
2011-06-02 02:03:51 +02:00
Benjamin Otte
03eb4c38c9
widgetpath: Make structure refcounted
...
I want to use widget paths in a way that make a lot more sense with a
refcounted structure. See the following patches.
2011-06-02 02:03:51 +02:00
Matthias Clasen
80a7e21e6a
Make cross-references to gio docs work
2011-05-31 20:00:11 -04:00
Matthias Clasen
9fd0458f1c
Simplify GtkLockButton
...
Now it is actually just a button, which makes things simpler
and is closer to what the designers want.
2011-05-25 20:19:08 -04:00
Benjamin Otte
9bfd3d2eec
API: Add API to set style properties to be inherit
...
The API is not used anywhere yet.
2011-05-18 22:17:57 +02:00
Benjamin Otte
b1556abe04
API: gtk: Add gtk_css_provider_to_string()
...
This is intented to convert the contents of a CSS provider back to a
string.
It is not complete yet but good enough for starting a testsuite. :)
2011-05-18 21:58:43 +02:00
Benjamin Otte
8b6f92d087
API: Add gtk_gradient_to_string()
2011-05-18 21:58:43 +02:00
Benjamin Otte
6e18b5f3de
API: gtk: Add gtk_symbolic_color_to_string()
...
See future commits for why this is useful. Or try to debug some color
problem.
2011-05-18 21:58:43 +02:00
Matthias Clasen
76a96626fd
Flesh out the GtkGrid migration chapter some more
2011-05-12 19:34:10 -04:00
Matthias Clasen
3ace68ee6f
Add an initial migration chapter for GtkGrid
2011-05-11 23:55:54 -04:00
Matthias Clasen
1de66e0c52
Another distcheck fix
2011-05-07 13:00:58 -04:00
Matthias Clasen
1d647df176
Add a lock button widget
...
This is a special-purpose button that can be used together with
GPermission objects to control the sensitivity of system settings.
Suitable permission objects can e.g. be obtained from PolicyKit.
http://bugzilla.gnome.org/show_bug.cgi?id=626457
2011-05-06 22:44:38 -04:00
Matthias Clasen
b8fe808e15
GtkButtonBox: add a non-homogeneous child property
...
This makes it easier to add things like lock buttons in
dialogs. Part of #626457 .
2011-05-05 07:46:03 -04:00
Colin Walters
b90e8cfc36
gtkdnd: Add API that takes GIcon
...
This will be useful for me to port gnome-panel to gnome-menus 4, which
uses GAppInfo, which in turn returns icon references as GIcon.
https://bugzilla.gnome.org/show_bug.cgi?id=649295
2011-05-03 12:53:46 -04:00
Javier Jardón
8e1fdaebe7
docs/reference/gtk/text_widget.sgml: Use GdkRGBA instead GdkColor
2011-05-02 14:08:43 +01:00
Javier Jardón
5f3e73eae3
Move documentation to inline comments: GtkRc
...
The last one!
2011-04-19 11:51:06 +01:00
Javier Jardón
edd186e274
Move documentation to inline comments: GtkUIManager
2011-04-18 18:55:34 +01:00
Javier Jardón
5ae68baaf2
docs: Remove no longer needed template files
2011-04-18 02:08:38 +01:00
Javier Jardón
d2d42f9bfc
Move documentation to inline comments: GtkMenuItem
2011-04-18 02:08:37 +01:00
Javier Jardón
93522ce25f
Move documentation to inline comments: GtkFontSelectionDialog
2011-04-18 02:08:37 +01:00
Javier Jardón
9d63d16e3e
Move documentation to inline comments: GtkWindowGroup
2011-04-18 02:08:37 +01:00
Javier Jardón
f7b7e8a6b8
Move documentation to inline comments: GtkDnd
2011-04-18 02:08:37 +01:00
Javier Jardón
911ae50956
Move documentation to inline comments: GtkTreeModelSort
2011-04-18 02:08:37 +01:00
Javier Jardón
b83a4f2e1d
Move documentation to inline comments: GtkToggleButton
2011-04-18 02:08:37 +01:00
Javier Jardón
5ff0fb6bbd
Move documentation to inline comments: GtkSizeGroup
2011-04-18 02:08:37 +01:00
Javier Jardón
0553a5524d
Move documentation to inline comments: GtkTextBuffer
2011-04-18 02:08:36 +01:00
Javier Jardón
138409faae
Move documentation to inline comments: GtkPrintUnixDialog
2011-04-18 02:08:36 +01:00
Javier Jardón
14f12a4b1b
Move documentation to inline comments: GtkPrintSettings
2011-04-18 02:08:36 +01:00
Javier Jardón
25c2569a5d
Move documentation to inline comments: GtkPrintContext
2011-04-18 02:08:36 +01:00
Javier Jardón
c029306b4c
Move documentation to inline comments: GtkRadioMenuItem
2011-04-18 02:08:36 +01:00
Javier Jardón
c9af14678e
Move documentation to inline comments: GtkTextMark
2011-04-18 02:08:36 +01:00
Javier Jardón
7ee963c260
Move documentation to inline comments: GtkRadioToolButton
2011-04-18 02:08:36 +01:00
Javier Jardón
09efa564cb
Move documentation to inline comments: GtkHSV
2011-04-15 02:14:14 +01:00
Javier Jardón
b398f96bed
Move documentation to inline comments: GtkMenuToolButton
2011-04-15 02:14:14 +01:00
Javier Jardón
c0b3bfd7b6
Move documentation to inline comments: GtkToolButton
2011-04-15 01:41:13 +01:00
Javier Jardón
c1e8577a66
Move documentation to inline comments: GtkLabel
2011-04-15 01:41:13 +01:00
Javier Jardón
c5a760ad2b
Move documentation to inline comments: GtkListStore
2011-04-15 01:41:13 +01:00
Javier Jardón
0dd93537b3
Move documentation to inline comments: GtkIconTheme
2011-04-15 01:41:13 +01:00
Javier Jardón
dd28e22aa1
Move documentation to inline comments: GtkIconFactory
2011-04-14 00:07:42 +01:00
Javier Jardón
6ec9ba2aad
Move documentation to inline comments: GtkHandleBox
2011-04-14 00:07:42 +01:00
Javier Jardón
39179e3402
Move documentation to inline comments: GtkFontSelection
2011-04-14 00:07:42 +01:00
Javier Jardón
fe65ec5b87
Move documentation to inline comments: GtkFileChooserDialog
2011-04-14 00:07:42 +01:00
Javier Jardón
2da9a5791f
Move documentation to inline comments: GtkFileChooserButton
2011-04-14 00:07:42 +01:00
Javier Jardón
fbb57d301d
Move documentation to inline comments: GtkToggleToolButton
2011-04-14 00:07:42 +01:00
Matthias Clasen
6c0c63cc53
Add new symbols to the docs
...
And add a 'Since 3.2' index too.
2011-04-13 14:09:39 -04:00
Javier Jardón
9e26102704
Move documentation to inline comments: GtkColorSelectionDialog
2011-04-13 14:36:28 +01:00
Javier Jardón
b0977dcef9
docs: Fix a typo: gtk_style_get_context -> gtk_style_has_context
2011-04-13 13:56:16 +01:00
Javier Jardón
85b356da10
Move documentation to inline comments: GtkClipboard
2011-04-13 12:48:47 +01:00
Javier Jardón
bc6472905d
Move documentation to inline comments: GtkCheckMenuItem
2011-04-13 12:32:47 +01:00
Javier Jardón
7b2113fd32
Move documentation to inline comments: GtkCheckButton
2011-04-13 12:25:06 +01:00
Javier Jardón
5d106e6ee5
Move documentation to inline comments: GtkTable
2011-04-13 02:12:40 +01:00
Javier Jardón
94e977538d
Move documentation to inline comments: GtkStatusIcon
2011-04-13 02:02:43 +01:00
Javier Jardón
8a2c942f3d
Move documentation to inline comments: GtkHButtonBox
2011-04-13 02:02:43 +01:00
Javier Jardón
7f504fdfa0
Move documentation to inline comments: GtkFrame
2011-04-13 02:02:43 +01:00
Javier Jardón
518d030220
Move documentation to inline comments: GtkTearoffMenuItem
2011-04-11 23:07:41 +01:00
Javier Jardón
4a7400db99
Move documentation to inline comments: GtkCellRendererPixbuf
2011-04-11 23:07:41 +01:00
Javier Jardón
3990af227f
Move documentation to inline comments: GtkCellRendererCombo
2011-04-11 23:07:41 +01:00
Javier Jardón
1f50a4d011
Move documentation to inline comments: GtkHSeparator
2011-04-11 22:33:38 +01:00
Javier Jardón
1f9f5e8890
Move documentation to online comments: GtkCellRendererSpin
2011-04-11 22:14:35 +01:00
Javier Jardón
ebda721f4e
Move documentation to inline comments: GtkFileChooserWidget
2011-04-11 03:27:08 +01:00
Javier Jardón
62c878b0cd
Move documentation to inline comments: GtkHScale
2011-04-11 03:27:08 +01:00
Javier Jardón
610d46d12e
Move documentation to inline comments: GtkCellRendererAccel
2011-04-11 03:27:08 +01:00
Javier Jardón
de210bd2ae
Move documentation to inline comments: GtkHScrollbar
2011-04-11 02:54:53 +01:00
Javier Jardón
5f7433a644
Remove unneded template: gtkimcontext.sgml
2011-04-11 02:51:46 +01:00
Javier Jardón
9dc0e7460e
Move documentation to inline comments: GtkFontButton
2011-04-11 02:47:43 +01:00
Javier Jardón
fc0e045d92
Move documentation to inline comments: GtkCellRendererToggle
2011-04-11 02:42:54 +01:00
Javier Jardón
f7f7d4eee4
Move documentation to inline comments: GtkHPaned
2011-04-11 02:36:23 +01:00
Javier Jardón
735f3a23a4
Move documentation to inline comments: GtkInvisible
2011-04-11 02:31:56 +01:00
Javier Jardón
ca8d880a20
Move documentation to inline comments: GtkCellRendererProgress
2011-04-11 02:18:13 +01:00
Javier Jardón
3662744eaa
Move documentation to inline comments: GtkMisc
2011-04-11 02:14:08 +01:00
Javier Jardón
f2fd3ee1d5
Move documentation to inline comments: GtkImageMenuItem
2011-04-11 02:13:02 +01:00
Benjamin Otte
5bd32b88d2
docs: Update the drawing model description for GTK 3
...
https://bugzilla.gnome.org/show_bug.cgi?id=645937
2011-03-29 00:09:39 +02:00
Benjamin Otte
c6ddbe675a
docs: Fixes for icon renaming
...
Fixes up breakage from 39d4207ab7
2011-03-29 00:09:39 +02:00
Benjamin Otte
8b4b3cf090
API: Add gtk_widget_path_to_string()
...
Dumps the widget path into a string representation. It tries to match the CSS
style as closely as possible (Note that there might be paths that cannot be
represented in CSS).
The main use of this code is for debugging purposes, so that you can
g_print() the path or dump it in a gdb session.
2011-03-27 01:47:17 +01:00
Carlos Garcia Campos
ef061c4e96
gtkentry: Add hinting to GtkEntry
...
gtk_entry_set_placeholder_text() makes the entry display the given text
when it is empty and unfocused. Based on previous patch by Alberto
Garcia.
https://bugzilla.gnome.org/show_bug.cgi?id=440963
2011-03-21 09:37:37 +01:00
Benjamin Otte
2a2ad8523f
gdk: Add GDK_RENDERING environment variable
...
It's useful for debugging rendering issues, both correctness and
performance wise.
See the added documentation for what it does and how it works.
2011-03-11 02:10:47 +01:00
Alexander Larsson
a3b2840cae
Remove support for GDK_NATIVE_WINDOWS
...
GDK_NATIVE_WINDOWS was a way to keep some old apps running that did weird
things in gtk2. We should not have to carry this forwards in gtk 3.x.
We do however keep a g_warning() call reminding people of this fact to
ease debugging when they try to port their applications.
https://bugzilla.gnome.org/show_bug.cgi?id=644119
2011-03-08 23:13:39 +01:00
Cosimo Cecchi
6a21e4ce94
docs: update to include the new style classes
2011-03-03 17:48:26 -05:00
Benjamin Otte
4a286010d3
docs: Fix typo
2011-02-21 00:06:08 +01:00
Benjamin Otte
5f2ac56ec6
docs: Replace pixmap use in migration guide with cairo surfaces
...
Merge my patch for this with Matthias' previous patch and keep the best
of both.
https://bugzilla.gnome.org/show_bug.cgi?id=642677
2011-02-20 23:46:58 +01:00
Matthias Clasen
608c1e40eb
Remove no-longer existing API from the migration guide
...
Some parts of the migration guide were written before the demise
of pixmaps, and still referred to pixmap API in their replacements.
2011-02-20 17:05:04 -05:00
Matthias Clasen
50233edbc9
Replace GtkStyle uses from migration guide examples
...
Part of https://bugzilla.gnome.org/show_bug.cgi?id=642677
2011-02-19 13:47:43 -05:00
Matthias Clasen
5cb6beec54
Fix a typo
...
https://bugzilla.gnome.org/show_bug.cgi?id=642751
2011-02-19 13:35:55 -05:00
Javier Jardón
d1fbb52eb4
docs: migrating-2to3: improve cross-reference
2011-02-18 22:17:04 +00:00
Javier Jardón
5a987c314b
docs: migrating-2to3: Make the examples look prettier
2011-02-18 22:09:40 +00:00
Emmanuele Bassi
64934a7623
m4: Fix GTK_CHECK_BACKEND() to also check for a minimum version
...
This should make the macro slightly more useful.
Update the documentation mentioning the macro as well.
2011-02-17 09:33:07 +00:00
Emmanuele Bassi
32298832ed
Allow checking for GDK backends
...
Now that a single shared object can contain multiple backends we also
need to provide a simple way for third party code to verify that the
copy of GDK they are linking to supports their backend.
The simplest way to verify is an m4 macro, GTK_CHECK_BACKEND(), shipped
with the gtk+ m4 macros.
The usage is pretty basic:
GTK_CHECK_BACKEND([x11], [gtk_has_x11=yes], [gtk_has_x11=no])
AM_CONDITIONAL(BUILD_X11_CODE, test "x$gtk_has_x11" = "xno")
https://bugzilla.gnome.org/show_bug.cgi?id=642479
2011-02-16 18:46:19 +00:00
Benjamin Otte
9f5c734e14
doc: Document the GDK_BACKEND environment variable
2011-02-12 22:09:58 +01:00
Colin Walters
63b415df92
docs: Link to all versions of both GTK3 and GTK2
...
Now that library supports both cleanly, fix the links so that
the user can go from the online doc to any version better.
2011-02-11 12:39:07 -05:00
Matthias Clasen
edf592024b
Correct sonames appearing in the docs
2011-02-10 15:02:33 -05:00
Matthias Clasen
524ce69bcb
Bump the version to 3.0.0
...
At the same time, change the library sonames for -3.0 to just -3.
This is necessary since the 2.99 releases installed libraries like
libgtk-3.0.so.0.9903.0, and we want to prevent the library version
number from jumping back. So 3.0 will have libgtk-3.so.0.0.0.
2011-02-10 14:41:02 -05:00
Matthias Clasen
981cadb578
Make online references point to the right place
2011-02-09 16:54:19 -05:00
Matthias Clasen
f0fabcd9e4
Quell another warning
2011-02-09 09:25:31 -05:00
Matthias Clasen
69745041f8
Add some more info for desktop app info
...
Small gotchas that can easily be avoided.
2011-02-09 09:01:16 -05:00
Matthias Clasen
7e7eaf315b
Documentation tweaks
2011-02-09 00:21:37 -05:00
Matthias Clasen
394ae46ec0
Add some missing symbols to the docs
2011-02-08 23:21:39 -05:00
Matthias Clasen
99b5af11e4
Add warnings about environment variables
...
These variables all get read by GTK 2.x as well, which makes
them dangerous at best.
2011-02-08 13:11:18 -05:00
Matthias Clasen
ab66ac50cf
Migration guide additions
...
Some information about plugs and sockets, and event filters.
2011-02-05 01:56:19 -05:00
Matthias Clasen
2b2e607492
Improve GtkApplication migration guide
...
As pointed out in bug 641517, the examples did not actually
do the same.
2011-02-04 21:21:14 -05:00
Javier Jardón
03df034684
Remove latest bits of GtkItemFactory
2011-02-04 17:30:11 +00:00
Matthias Clasen
677c8c2189
Remove references to RC files in the env var docs
2011-01-31 09:29:40 -05:00
Matthias Clasen
cfa6505504
Mention key themes in the migration guide
2011-01-30 23:53:19 -05:00
Matthias Clasen
f67ab808fd
doc fixes
2011-01-30 23:35:25 -05:00
Matthias Clasen
b448bb81ce
Move GtkBindings docs inline
2011-01-30 23:00:12 -05:00
Carlos Garnacho
53ca6eb0b5
Add gtk_binding_entry_add_signal_from_string()
...
This function rescues part of the old parser (which
is now standalone) to load a bind/unbind definition
string into a GtkBindingSet.
2011-01-30 21:24:51 -05:00
Matthias Clasen
6c3ce36f63
Remove GTK+ 1 era xbm icons
2011-01-30 02:43:38 -05:00
Matthias Clasen
bcdfd15893
Remove some dead templates
2011-01-30 02:38:59 -05:00
Matthias Clasen
837c504a11
Move GtkPrintOperation docs inline
2011-01-30 02:34:59 -05:00
Matthias Clasen
cbc4e82314
Mention theme-specific settings in the migration guide
2011-01-29 22:59:32 -05:00
Matthias Clasen
02d952ca6d
More documentation tweaks
2011-01-29 22:52:02 -05:00
Matthias Clasen
f6cd9c1553
Documentation tweaks
2011-01-29 22:47:33 -05:00
Matthias Clasen
bc58a60a0b
Minor rewording in the tutorial
2011-01-29 22:44:29 -05:00
Matthias Clasen
f783a75d61
Add a gtkx.h header for X11-specific GTK+ api
...
This keeps us from pulling gdkx.h into gtk.h
https://bugzilla.gnome.org/show_bug.cgi?id=640902
2011-01-29 14:16:47 -05:00
Matthias Clasen
1641e71c9a
Add a missing end tag
2011-01-29 13:40:19 -05:00
Matthias Clasen
6bbe86a763
Mention GtkEntryCompletion signal parameter change
2011-01-28 11:10:07 -05:00
Carlos Garnacho
41d6837fa2
Make GtkCellArea use GtkStyleContext
...
gtk_cell_area_[gs]et_style_detail() is no longer needed, as
the passed widget's context would already have all necessary
info.
2011-01-27 19:32:07 +01:00
Carlos Garnacho
f96aae68f4
Add gtk_cell_renderer_get_state()
...
This is a helper function to help retrieve a GtkStateFlags
from a GtkCellRendererState, also given the cell renderer
and widget sensitivities.
2011-01-27 19:32:07 +01:00
Colin Walters
22527e802c
Clarify documentation header about GTK+ 3 vs 2
...
I think it's confusing for a lot the developers out there who
may not even be aware of GTK+ 3 coming, if suddenly GTK+ 3 becomes
the "stable" version of "gtk" on library.gnome.org. It may
not even be feasible for them to port to GTK+3 if it's not
shipped in the operating systems they're targeting (for example,
RHEL 6).
Since practically speaking, we expect people to consume GTK+ 2 for
several years at least, redirect these people to the right pages.
(I didn't attempt to explain the differences between the libraries
here, but hopefully the major version difference is enough of a hint)
As a side effect, this makes the generated HTML look better; previously
it looked rather crappy, since the "for GTK &version;" was totally
offset and in a different group from the documentation title.
2011-01-27 11:32:55 -05:00
Tristan Van Berkom
a6a7b7e9cf
Added GtkBuildable support for adding rules to GtkRecentFilter
...
Also added documentation section for this. Since the GtkRecentFilter
documentation was still living in sgml, as a side-effect I migrated these
docs to the gtkrecentfilter.[ch] sources.
2011-01-26 23:55:01 +09:00
Matthias Clasen
9be8bbc9a0
Add gtk_app_chooser_button_get/set_heading
2011-01-24 19:25:08 -05:00
Matthias Clasen
74f7e08811
Add a migration guide section about GdkDrawable
...
https://bugzilla.gnome.org/show_bug.cgi?id=640188
2011-01-23 12:27:18 -05:00
Matthias Clasen
a7bcb8a4d7
Add a way to set the heading of GtkAppChooserDialog
...
The application can probably set a better string than the default
we construct, like 'Select an application for "software" files'.
2011-01-20 20:57:47 -05:00
Florian Müllner
497b66a5ab
docs: Fix typo
...
s/gtk_builder_add_From_file/gtk_builder_add_from_file
2011-01-20 12:29:17 +01:00
Matthias Clasen
b29af18a26
Add a GtkBuilder section to the tutorial
2011-01-20 01:30:34 -05:00
Matthias Clasen
2f7245699b
Add gtk_text_view_get_cursor_locations
...
In GTK 3.0 it's no longer possible to e.g. pop up something
at a text view's cursor (this wasn't exactly possible before
either without including gtktextlayout, but this is a quite
special need anyway).
2011-01-19 17:01:19 -05:00
Matthias Clasen
eb7e81ddd6
Use simplesect in the tutorial
...
This avoids blowing up the global toc even more.
2011-01-19 14:34:08 -05:00
Matthias Clasen
80e1340e51
Add a drawing example to the tutorial
2011-01-18 23:59:17 -05:00
Matthias Clasen
ceeaf183a1
Add a packing example to the tutorial
2011-01-18 23:59:17 -05:00
Matthias Clasen
ce1244fdd7
Add a paragraph explaining events and signals
2011-01-18 23:59:17 -05:00
Pavel Holejsovsky
729c823955
[GI] Mark callbacks' context parameter with (closure) annotation.
2011-01-18 17:20:32 +01:00
Matthias Clasen
77ff699226
Drop gtk-builder-convert
...
It will still be shipped in gtk 2.24.
2011-01-17 09:55:52 -05:00
Pavel Holejsovsky
09d395f629
Move GtkFileFilter docs inline
2011-01-17 15:27:06 +01:00
Pavel Holejsovsky
4dab3a601d
Move GtkMenu docs inline
2011-01-17 15:27:04 +01:00
Pavel Holejsovsky
2bd38dc7f5
Move GtkFixed docs inline
...
Also remove incorrect documentation of opaque GtkFixed class struct.
2011-01-17 15:27:02 +01:00
Matthias Clasen
ccc3d874ef
Add accessors for GtkRange::round-digits
...
Patch by Christian Dywan,
https://bugzilla.gnome.org/show_bug.cgi?id=351755
2011-01-15 00:08:39 -05:00
Matthias Clasen
d790fd4fdd
Update information about visuals
...
Based on a patch by Jasper St. Pierre,
https://bugzilla.gnome.org/show_bug.cgi?id=639520
2011-01-14 20:45:53 -05:00
Matthias Clasen
1cba79677c
Add --enable-gtk2-dependency option
...
This can be used to suppress building of gtk-update-icon-cache
in favor of using a preexisting version. Based on a patch by
Colin Walters,
https://bugzilla.gnome.org/show_bug.cgi?id=639471
2011-01-14 20:01:05 -05:00
Matthias Clasen
d8d31c60ca
Drop never-updated revision attributes
2011-01-14 19:35:34 -05:00
Matthias Clasen
abc8ac1a8b
Move GtkSelection docs inline
...
At the same time, move private selection API to gtkselectionprivate.h
2011-01-14 19:20:56 -05:00
Matthias Clasen
00a3685f41
Move GtkPrintJob docs inline
2011-01-14 18:39:01 -05:00
Matthias Clasen
6cf78a12c1
Move GtkTextTag docs inline
2011-01-14 17:49:48 -05:00
Matthias Clasen
06864ba656
Move GtkMenuShell docs inline
2011-01-14 16:59:29 -05:00
Matthias Clasen
92c8a3e0e1
Remove an overlooked instance of gdk drawing api
2011-01-13 23:42:12 -05:00
Matthias Clasen
985b0e57b2
Add a migration guide section about multiple backends
2011-01-13 23:40:47 -05:00
Matthias Clasen
04248fbd39
Update some outdated content in the question index
...
Based on a patch by Jasper St. Pierre
https://bugzilla.gnome.org/show_bug.cgi?id=639494
2011-01-13 23:10:25 -05:00
Matthias Clasen
b23839c7a5
Add an example for custom css
2011-01-13 22:19:58 -05:00
Matthias Clasen
9d85d87f05
Move GtkMenuBar docs inline
...
And remove some outdated content.
2011-01-13 22:11:22 -05:00
Matthias Clasen
76de8aa790
Move GtkTreeModel docs inline
2011-01-12 18:50:45 -05:00
Matthias Clasen
349c3a8839
Move enum docs inline
...
Based on a patch by Garrett Regier
https://bugzilla.gnome.org/show_bug.cgi?id=617324
2011-01-12 18:50:45 -05:00
Christian Persch
b6464b6c0a
Add target version handling to gtk-builder-convert
...
When converting to gtk3, replace GtkComboBoxEntry with GtkComboxBox
has-entry=True, and remove the has-separator property from GtkDialogs.
Bug #639327 .
2011-01-12 22:45:57 +01:00
Christian Dywan
35d361fce9
2 to 3 migration should say gtk_widget_set_visual
2011-01-11 16:36:19 +01:00
Javier Jardón
df2a4a6131
docs: question_index: Do not reference deprecated API
2011-01-11 09:37:05 +00:00
Javier Jardón
44f16bfe6d
docs: question_index: GtkComboBoxEntry no longer exists
2011-01-11 09:35:15 +00:00
Javier Jardón
1a79d9939c
docs: question_index: Some documentation fixes
2011-01-11 09:31:08 +00:00
Carlos Garnacho
529fcc84cf
Add missing CSS class defines to gtk3-sections.txt
2011-01-10 23:52:47 +01:00
Carlos Garnacho
fa2bfd93f8
Add gtk_widget_set_device_enabled()
...
This function is a more convenient variant than
gtk_widget_set_device_events(), as it will
1) perform changes down a widget hierarchy, to
all windows.
1) use the same event mask than gdk_window_get_events()
2011-01-10 23:01:02 +01:00
Carlos Garnacho
de36dda925
Add gtk_style_context_scroll_animations()
...
This function will be needed in widgets like GtkTreeView,
since gdk_window_scroll() doesn't trigger the usual
mechanisms to update the invalidation area, this function
is needed together with it.
2011-01-10 20:49:41 +01:00
Matthias Clasen
efd0e6ec1f
Add a setter for GtkWindow.has_user_ref_count
...
This is needed for some language bindings.
https://bugzilla.gnome.org/show_bug.cgi?id=638880
2011-01-10 11:49:06 -05:00
Tristan Van Berkom
03975b8e74
Added GtkBuilder support for "menu" child type of GtkMenuToolButton
2011-01-10 18:48:07 +09:00
Carlos Garnacho
e6277d3b82
Add gtk_style_context_cancel_animations()
...
This function takes a region ID and cancels all animations
on or beneath that region (as in push/pop_animatable_region).
First user of this is GtkWidget itself, so unmapped widgets
have looping animations cancelled. Fixes bug #638119 , reported
by Jesse van den Kieboom.
2011-01-10 03:50:01 +01:00
Matthias Clasen
6cdb6255af
More documentation fixes
2011-01-06 09:44:08 -05:00
Matthias Clasen
7b88b29763
Add appchooser docs
2011-01-06 02:07:35 -05:00
Matthias Clasen
80a11b7483
Documentation polishing
2011-01-06 01:13:50 -05:00
Matthias Clasen
a601b43b83
Cosmetic changes
2011-01-06 00:14:02 -05:00
Tristan Van Berkom
01a35e4483
Added gtk_icon_view_new_with_area()
2011-01-06 13:51:48 +09:00
Szilárd Pfeiffer
8219ed3a26
Add gtk_tree_model_iter_previous() vfunc
...
https://bugzilla.gnome.org/show_bug.cgi?id=128058
2011-01-05 23:39:11 -05:00
Matthias Clasen
53b67b9a72
Drop the G_SEAL definition from gdkconfig.h
...
All sealed members removed. Yay!
2011-01-05 19:00:14 -05:00
Matthias Clasen
7799fbf239
Add GtkNumerableIcon
...
This is a subclass of GEmblemedIcon that can show a number or
short string as an emblem, overlayed on top of another emblem.
Written by Cosimo Cecchi
https://bugzilla.gnome.org/show_bug.cgi?id=637169
2011-01-05 16:33:15 -05:00
Matthias Clasen
67b8f22d8b
Remove some dropped symbols from gtk3-sections.txt
2011-01-05 11:01:46 -05:00
Benjamin Otte
c43a31ea33
API: range: Remove update policy
...
It's unused and complicates code a lot. In particular, it breaks the
adjustment/range abstractions.
2011-01-05 14:30:58 +01:00
Matthias Clasen
2690b8b924
Move GtkEntryCompletion docs inline
...
Based on a patch by Garrett Regier
https://bugzilla.gnome.org/show_bug.cgi?id=617322
2011-01-04 17:54:47 -05:00
Matthias Clasen
82c9013e01
Add gtkcellrenderer.sgml to .gitignore
2011-01-04 17:52:14 -05:00
Matthias Clasen
b123bc41fd
Move docs for gtkmain inline
...
At the same time, introduce a gtkmainprivate.h header
and various other cleanups.
Based on a patch by Tadej Borovšak.
https://bugzilla.gnome.org/show_bug.cgi?id=617471
2011-01-04 17:32:12 -05:00
Matthias Clasen
1283368b1b
Remove GtkArg, GtkCallbackMarshal and GtkFunction
...
Based on a patch by Javier Jardón.
https://bugzilla.gnome.org/show_bug.cgi?id=629955
2011-01-04 13:49:37 -05:00
Javier Jardón
7e7d8c4ccc
Remove deprecated gtk_quit_* API
2011-01-04 13:39:35 -05:00
Matthias Clasen
3e348181ed
Move GtkExpander docs inline
...
Based on a patch by Garrett Regier.
https://bugzilla.gnome.org/show_bug.cgi?id=617327
2011-01-04 13:26:32 -05:00
Matthias Clasen
c770fdd08a
Move GtkDrawingArea docs inline
...
Based on a patch by Garrett Regier.
https://bugzilla.gnome.org/show_bug.cgi?id=617315
2011-01-04 13:26:32 -05:00
Matthias Clasen
deab5ff1c9
Remove gtk_tree_menu_get_type from gtk3.types
2011-01-04 12:54:47 -05:00
Matthias Clasen
c009149670
Move GtkDialog docs inline
...
Based on a patch by Garrett Regier.
https://bugzilla.gnome.org/show_bug.cgi?id=617312
2011-01-04 12:54:47 -05:00
Matthias Clasen
0a069e1643
Document DESKTOP_STARTUP_ID use
...
Closes https://bugzilla.gnome.org/show_bug.cgi?id=165987
2011-01-04 10:58:04 -05:00
Matthias Clasen
06f6f7bd93
Move GtkEventBox docs inline
...
At the same time, add a private pointer, and generally clean
things up.
2011-01-04 10:33:33 -05:00
Tristan Van Berkom
7b2d6e5cdf
Make GtkTreeMenu a private class:
...
- Removed GtkTreeMenu from gtk-docs.sgml
- Removed GtkTreeMenu from gtk3-sections.txt
- Removed GtkTreeMenu from gtk.symbols
- Make GtkTreeMenu apis prefixed with '_' (including _get_type()).
- Updated GtkComboBox sources to use the private apis
- Updated GtkCellView to not mention #GtkTreeMenu in gtk-doc statements
- Updated tests/testtreemenu to not use a GtkTreeMenu but still
show a very fancy GtkComboBox
- Moved gtktreemenu.h to private headers section in the makefile.
- Removed include of gtktreemenu.h from gtk.h
2011-01-04 23:37:13 +09:00
Tristan Van Berkom
57857f13df
Added new constructors gtk_combo_box_new_with_area and gtk_combo_box_new_with_area_and_entry.
2011-01-04 23:37:13 +09:00
Tristan Van Berkom
e8503f600e
Added GtkTreeMenu to gtk+ documentation and updated sections for newly added GtkCellView apis.
2011-01-04 23:37:11 +09:00
Matthias Clasen
a975d62071
Rename gtk-update-icon-cache and gtk-builder-convert back
...
In bug 635207, it was pointed out that it is a bad idea to
rename these tools purely in the name of parallel-installability,
since it forces dependencies to make a choice between running
gtk-update-icon-cache and gtk-update-icon-cache-3.0 (or both ?!).
So, we rename these utilities back to their un-suffixed names
and rely on distributors to resolve the conflict between GTK+ 2.x
and GTK+ 3.0 packages, which can be done e.g. by dropping the
utilities from the gtk3 packages and add a gtk3 -> gtk2 dependency.
2011-01-03 21:35:23 -05:00
Matthias Clasen
c7f39eb07e
add gtk_selection_data_get_data_with_length API which can be bound
...
* gtk_selection_data_get_data can't be bound because we need to know the length
of data inorder to marshal it
https://bugzilla.gnome.org/show_bug.cgi?id=635299
2011-01-03 12:13:30 -05:00
Kristian Høgsberg
9c002cf2c1
Silence automake warnings
...
When commenting out a binary, also comment out the related variables.
Don't include Makefile.decl in gtk-doc Makefile.am's as they disagree
on assigning to EXTRA_DIST.
2011-01-03 11:59:45 -05:00
Kristian Høgsberg
cacee7e7a3
configure.ac: Support multiple GDK backends in one build
2011-01-03 11:59:45 -05:00
Matthias Clasen
c07f9c040f
Some configure.ac cleanups
...
Change from --with-xinput to --enable-xinput, and consistently
use AC_HELP_STRING. Also document the packagekit options in the
docs.
2011-01-03 11:29:26 -05:00
Matthias Clasen
83f5e4868c
Drop no-longer-used migration docs
2011-01-02 23:57:03 -05:00
Matthias Clasen
85fe6cb2c4
Move GtkSpinButton docs inline
...
...and modernize the examples at the same time.
This fixes a problem pointed out in bug 638193.
2011-01-02 23:30:02 -05:00
Matthias Clasen
1d41b98cf8
Add deprecation guards for deprecated GdkAppLaunchContext API
...
Also adapt the docs to not use deprecated API.
2010-12-24 17:37:00 -05:00
Matthias Clasen
7650482e46
Add sufficient API to make gail work
...
The accessible implementations should really be folded into
gtk proper. Until that happens, we need some more guts exposed...
2010-12-23 20:11:38 -05:00
Matthias Clasen
3e08a23237
Drop long-obsolete linux framebuffer APIs
...
The functions to set frames on windows stopped being interesting
when the linux framebuffer port was dropped, many years ago.
Similar functionality may come back with client-side decorations
in the future.
2010-12-23 12:59:49 -05:00
Javier Jardón
187762d8b3
docs: fix a typo
2010-12-22 17:05:50 +00:00
Matthias Clasen
05b43caf4c
Add a section about gdk_spawn to migration guide
2010-12-22 11:13:31 -05:00
Matthias Clasen
fdabc9585d
Drop g[dt]k_set_locale
...
These functions were essentially just calling setlocale anyway.
The X11 version was also setting a gdk_use_mb variable that
is not used anywhere.
2010-12-21 12:07:02 -05:00
Matthias Clasen
902fd60a86
Remove the --sync commandline option
...
Remove the --sync option and remove the possibility of backend-specific
commandline options altogether. --sync is being replaced by
a GDK_SYNCHRONIZE environment variable.
2010-12-21 12:07:02 -05:00
Matthias Clasen
968668629b
Go back to installing libgdk.so
2010-12-21 12:06:59 -05:00
Matthias Clasen
5eb4506b94
Drop the --screen cmdline argument
...
Commandline arguments should go away altogether, but this one
goes first, since we then don't need to worry about
_gdk_windowing_substitute_screen_number anymore.
2010-12-21 12:06:59 -05:00
Matthias Clasen
07d49ee56a
Merge libgdk and libgtk
...
This commit does a number of things:
- remove some dead wchar configury from configure.ac and gdkconfig.h
- repurpose gdkconfig.h as header that contains GDK_WINDOWING_foo
macros for each included backend, include it in gdk.h and install
it in $includedir instead of below $libdir
- drop the backend from the library names
- build libgdk-3.0.la as a convenience lib and include it in libgtk-3.0.la
It does not yet enable building multiple backends at the same time.
2010-12-21 12:06:55 -05:00
Matthias Clasen
5b299ce7af
Remove reference to GTK2_RC_FILES from the docs
...
Pointed out in bug 637471.
2010-12-20 10:23:43 -05:00
Matthias Clasen
8105125369
Remove sealed members from GtkPrintJob
...
Also add accessors for these members, and use them in print backends.
2010-12-18 17:45:31 -05:00
Matthias Clasen
33fb60e050
Fix an escaping problem
...
& must be escaped as & in examples.
2010-12-17 14:53:43 -05:00
Matthias Clasen
4317ae32c3
Adjust symbol lists in the docs
2010-12-17 14:24:25 -05:00
Cosimo Cecchi
b792a31995
widgetpath: allow GTypes non-derived from GTK_TYPE_WIDGET
...
This makes things like GtkCellRenderer or GtkNumerableIcon more easily
themeable.
https://bugzilla.gnome.org/show_bug.cgi?id=637169
2010-12-17 18:30:57 +01:00
Carlos Garnacho
2c8c1c6df4
Remove *_set_extension_events() and old API to query devices.
...
The old functions to get core pointer and devices list are gone as
well. This slice is entirely replaced internally by multidevice
handling and may just go.
2010-12-17 16:25:14 +01:00
Tristan Van Berkom
71e7cd0ec4
Merge branch 'master' into treeview-refactor
...
Conflicts:
tests/testtreeedit.c
2010-12-17 15:25:15 +09:00
Matthias Clasen
b7fd6f1e88
Remove gtk_widget_reset_shapes
...
See bug 637155.
2010-12-14 22:15:33 -05:00
Diego Escalante Urrelo
b0560107e9
docs: fix link failure on gtk-doc scanner binaries
...
Bug #637243
2010-12-14 20:31:14 -05:00
Benjamin Otte
9929743f24
docs: Redo drawing area drawing docs
...
They don't seem to have been updated for a long time...
2010-12-14 21:10:22 +01:00
Carlos Garnacho
fbb75b9b5d
Add headers/docs changes for gtk_theming_engine_get_font()
...
Apparently I didn't git add enough...
2010-12-13 22:42:05 +01:00
Paolo Borelli
f285a84bd6
Add convenience function for the font description.
2010-12-13 22:31:27 +01:00
Tristan Van Berkom
623abdedf6
Added gtk_entry_completion_new_with_area()
2010-12-13 15:58:07 +09:00
Tristan Van Berkom
96d636a780
Updated some docs and gtk.symbols file for new apis
...
Added gtk_cell_area_context_get_preferred_height_for_width and
width_for_height & gtk_cell_area_copy_context() to gtk.symbols
and gtk3-sections.txt (also finished up documenting those apis).
2010-12-13 15:43:58 +09:00
Tristan Van Berkom
a47a557fc3
Merge branch 'master' into treeview-refactor
2010-12-08 15:24:49 +09:00
Matthias Clasen
38321eacbf
GtkStyleContext migration guide tweaks
...
Move the guide into the 2-to-3 guide, since it is something
you have to do when porting from 2 to 3. Also add an example
for handling of temporary state changes and some more text
about color handling.
2010-12-07 12:59:17 -05:00
Tristan Van Berkom
5fef00de2c
Adding gtk_tree_view_column_new_with_area to gtk.symbols and gtk3-sections.txt.
2010-12-07 17:04:04 +09:00
Matthias Clasen
5f75ffc974
Add gtk_widget_path_get_type to the headers
...
Bug 636591
2010-12-06 09:50:01 -05:00
Matthias Clasen
3b753aa05e
Fix Makefile syntax
2010-12-06 07:26:00 -05:00
Tristan Van Berkom
2588165bfb
Added gtk_cell_area_foreach_alloc() to further simplify GtkCellArea subclasses
...
gtk_cell_area_foreach_alloc() itterates over an allocated list of cells
and calls a callback with the cell's allocation until the callback returns
TRUE.
- Removed vfunc get_cell_allocation() and implemented
gtk_cell_area_get_cell_allocation() using foreach_alloc()
- Added gtk_cell_area_get_cell_at_position() using foreach_alloc()
- Removed GtkCellAreaBox ->event() implementation and implemented
mouse "click" cell activation in GtkCellArea class directly using
gtk_cell_area_get_cell_at_position().
2010-12-06 14:11:28 +09:00
Tristan Van Berkom
4b065f5389
Changed gtk_cell_area_forall to gtk_cell_area_foreach since thats more widely used semantics.
...
Also gave a boolean return value to the callback to allow breaking out of the loop.
2010-12-06 12:41:38 +09:00
Tristan Van Berkom
7b61cd8257
Merge branch 'master' into treeview-refactor
2010-12-05 13:14:39 +09:00
Carlos Garnacho
3d28adf317
Make gtk_widget_override_cursor() take GdkRGBAs
...
Even though the style properties have the GdkColor type, the other
gtk_widget_override_* API takes RGBA colors, so it is consistent
now.
2010-12-04 17:49:28 +01:00
Tristan Van Berkom
0d786985a3
Merge branch 'master' into treeview-refactor
...
Conflicts:
gtk/gtkmarshalers.list
tests/Makefile.am
2010-12-05 00:36:37 +09:00
Carlos Garcia Campos
07eeae1582
GtkWidget: add gtk_widget_render_icon_pixbuf()
...
and deprecate gtk_widget_render_icon()
2010-12-04 15:39:57 +01:00
Carlos Garcia Campos
905ba2f198
GtkIconFactory: add gtk_icon_set_render_icon_pixbuf()
...
and deprecate gtk_icon_set_render_icon().
2010-12-04 15:39:57 +01:00
Carlos Garnacho
bacb7906f2
Add helper API for getting colors/borders in GtkStyleContext/GtkThemingEngine
2010-12-04 15:39:55 +01:00
Carlos Garnacho
9aca6c8071
GtkWidget: Add gtk_widget_override_cursor().
...
This function replaces gtk_widget_modify_cursor().
2010-12-04 15:39:54 +01:00
Carlos Garnacho
afeac82fbd
GtkThemingEngine: Add gtk_theming_engine_lookup_color()
...
It could also be handy for theme engines...
2010-12-04 15:39:53 +01:00
Matthias Clasen
2578f4f4c3
Trivial doc fixes
2010-12-04 15:39:47 +01:00
Matthias Clasen
e598f17871
Some header cleanups
...
Move GtkGradient to their own files, also move GtkBorder out of
gtkstyle.h, so that header can be all deprecated.
2010-12-04 15:39:47 +01:00
Matthias Clasen
1915a19503
Add deprecation notes
2010-12-04 15:39:46 +01:00
Matthias Clasen
ab0a8fc17f
Improve the migration guide
...
Add some hints about dealing with colors.
2010-12-04 15:39:45 +01:00
Matthias Clasen
091c882996
Some tweaks for the GtkStyleContext migration guide
2010-12-04 15:39:42 +01:00
Matthias Clasen
0f98b15090
Add illustration to gtk_render_handle docs
2010-12-04 15:39:42 +01:00
Matthias Clasen
d1f1af202b
Add a frame-gap illustration
2010-12-04 15:39:42 +01:00
Matthias Clasen
4e3dabf582
Fix up symbol list for docs
2010-12-04 15:39:41 +01:00
Matthias Clasen
8abe9f300c
Forgotten file
2010-12-04 15:39:41 +01:00
Matthias Clasen
e57e0e978d
Illustrate extension rendering
2010-12-04 15:39:39 +01:00
Matthias Clasen
8589c5c65e
Add slider illustration
2010-12-04 15:39:38 +01:00
Matthias Clasen
7e96a51953
Add examples for frame rendering
2010-12-04 15:39:38 +01:00
Matthias Clasen
e522381183
Add a background example to the docs
2010-12-04 15:39:38 +01:00
Matthias Clasen
f13f315312
Some more images for gtk_render docs
2010-12-04 15:39:37 +01:00
Matthias Clasen
a5e10e9b26
Improve some gtk_render_ docs
...
With pictures !!
2010-12-04 15:39:36 +01:00
Matthias Clasen
d7a0fe5bf1
Document predefined style provider priorites
...
Also, rename GTK_STYLE_PROVIDER_PRIORITY_DEFAULT to _THEME and
use it for themes.
2010-12-04 15:39:35 +01:00
Matthias Clasen
3a7f79e814
Document border images better
2010-12-04 15:39:30 +01:00
Matthias Clasen
7d6fb7b7e7
Add some images to the docs
...
Add graphs for the transition functions and gradient examples.
2010-12-04 15:39:28 +01:00
Matthias Clasen
bcf3de095f
Document various style-related enums
2010-12-04 15:39:26 +01:00
Matthias Clasen
5e26fb75a0
Add GtkStyleProperties to the docs
2010-12-04 15:39:22 +01:00
Javier Jardón
295cf25d6b
docs: Refer to gtk_paint_*() instead draw_*() vfuncs in the migration guide
2010-12-04 15:39:17 +01:00
Carlos Garnacho
44b1a6c852
GtkStyleContext: Add #define's for the default properties.
2010-12-04 15:39:03 +01:00
Carlos Garnacho
1be9d6ebc9
Document missing GtkStateType values.
...
The documentation has also moved to gtkenums.h.
2010-12-04 15:39:02 +01:00
Carlos Garnacho
2fe0a51ed0
Add gtk_render_icon_pixbuf() function to docs.
2010-12-04 15:38:56 +01:00
Carlos Garnacho
04fbb74388
Add GtkStyleContext migration docs.
2010-12-04 15:38:56 +01:00
Carlos Garnacho
3f12fc2bd8
GtkStyleContext: Add gtk_style_context_set_background().
...
This function replaces gtk_style_set_background().
2010-12-04 15:38:54 +01:00
Carlos Garnacho
f383e6b0a2
GtkWidget: Add new set of methods to override style information.
...
gtk_widget_override_*() deprecates gtk_widget_modify_*(). There are
only functions to modify fg/bg/font/symbolic color, If anything more
fancy/complex is needed. There is the possibility of adding a
GtkStyleProvider yourself.
2010-12-04 15:38:36 +01:00
Carlos Garnacho
33e95ae65f
GtkStyleContext: Add the start of a default set of class names/regions.
2010-12-04 15:38:36 +01:00
Carlos Garnacho
071ccaf8a7
Theming documentation fixes
...
2 functions were not in -sections.txt, and GtkStyleSet was renamed
to GtkStyleProperties.
2010-12-04 15:38:35 +01:00
Carlos Garnacho
cd98204619
Implement widget states as a set of flags
...
gtk_widget_(set|unset|get)_state_flags() has been added, using GtkStateFlags
to represent the widget state. GtkStateType API has been implemented on top
of the new one.
2010-12-04 15:38:30 +01:00
Carlos Garnacho
c9a3da5025
GtkStyleContext: s/set/add/ and s/unset/remove/ for classes/regions.
...
Several classes and regions may be set to GtkStyleContext, so rename
the functions to be more intuitive.
2010-12-04 15:38:24 +01:00
Carlos Garnacho
d0f681e898
GtkStyleContext: Add gtk_style_context_new().
2010-12-04 15:38:22 +01:00
Carlos Garnacho
68bfb94f69
Change semantics of the methods to check whether an animation is running.
...
It actually messed up with the state being actually set, and having a
transition animation running for it. Now this dichotomy is removed, and
gtk_style_context_state_is_running() only checks whether an animation is
running, leaving state checking to flags & GTK_STATE_FLAG_*.
2010-12-04 15:38:22 +01:00
Carlos Garnacho
a79626b7fb
Add theming docs
...
Both API and file format is documented, there's still missing
a migration doc though.
2010-12-04 15:38:21 +01:00
Tristan Van Berkom
b0f849eafd
Changed GTK_CELL_AREA_WARN_INVALID_CHILD_PROPERTY_ID for GTK_CELL_AREA_WARN_INVALID_CELL_PROPERTY_ID
2010-12-04 20:52:03 +09:00
Tristan Van Berkom
9c6a801f52
Migrated GtkCellLayout documentation into the source code.
...
Also added a section on specifying <cell-packing> properties
in the GtkCellLayout UI description.
2010-12-04 15:41:42 +09:00
Tristan Van Berkom
c5a60e035d
Removed GtkCellAreaBoxPrivate from GtkCellAreaBox section.
2010-12-03 17:21:28 +09:00
Benjamin Otte
e3013a5cf5
docs: Replace mentions of drawable with window in migration guide
...
No need to let gtk3-aware people learn about wonderous gtk2 terms when
they are migrating old code. ;)
2010-12-02 20:21:04 +01:00
Benjamin Otte
65dde2f92f
API: Remove gdk_cairo_reset_clip()
...
You should not ever ever ever call cairo_reset_clip(). If you do, your
code is broken and you deserve everything you get.
And we should definitely not support this insanity.
2010-12-02 20:17:28 +01:00
Benjamin Otte
cf51750bf4
API: x11: gdk_drawable_get_xid => gdk_window_get_xid
...
Also moves the function implementations to gtkwindow-x11.c.
2010-12-02 20:17:27 +01:00
Tristan Van Berkom
513546f3df
Adding GtkCellArea to gtk-doc build (added to gtk3.types, gtk-docs.sgml and updated gtk3-sections.txt file).
2010-12-03 00:29:43 +09:00
Cosimo Cecchi
6e6379c633
app-chooser: add docs and symbols coverage for new API
2010-12-01 17:04:22 +01:00
Matthias Clasen
bdeba634d9
Update checkmenuitem docs slightly
2010-11-30 11:36:34 -05:00
Cosimo Cecchi
4fe23cae78
app-chooser: other misc doc fixes
2010-11-30 17:27:53 +01:00
Cosimo Cecchi
960516bf33
app-chooser: add more symbols & docs
2010-11-30 16:30:33 +01:00
Cosimo Cecchi
cb916f2746
Merge branch 'master' into open-with-dialog
...
Conflicts:
docs/reference/gtk/gtk3-sections.txt
gtk/gtk.symbols
2010-11-30 16:27:28 +01:00
Ryan Lortie
922324553b
Bug 619148 - "active ID" properties (GtkComboBox)
...
Based on a patch by Matthias, add an "active-id" property for
GtkComboBox and add some convenience API for GtkComboBoxText.
Also, add a test case to gtk-demo.
2010-11-30 00:29:16 -05:00
Matthias Clasen
2392dacb2b
No more rulers
2010-11-29 13:56:27 -05:00
Matthias Clasen
99aa90b0bc
Add GtkSwitch to the widget gallery
2010-11-29 11:23:07 -05:00
Emmanuele Bassi
044040dfd1
docs: Add GtkSwitch to the API reference
...
https://bugzilla.gnome.org/show_bug.cgi?id=634987
2010-11-29 12:52:10 +00:00
Bastien Nocera
b850f8bf18
docs: Make docs build after GtkRuler removal
2010-11-26 00:47:55 +00:00
Benjamin Otte
e0fb7a86e5
gtk: Remove GtkRuler
...
It is really bad code, mostly unused and no one stepped up to fix it.
Note that Gtk developers do not object to a ruler widget in priciple,
just to the current implementation. If someone wants to propose a sane
version, please don't hesitate.
https://bugzilla.gnome.org/show_bug.cgi?id=613942
2010-11-24 16:56:10 +01:00
Cosimo Cecchi
77b5fcfa93
open-with: add docs and integrate with the build GTK+ conventions
2010-11-23 16:51:39 +01:00
Javier Jardón
abe20a7c97
docs: Add private structures to private sections
2010-11-20 21:26:50 +01:00
Javier Jardón
a61d63d607
docs: Add new GtkAssitant API to gtk3-sections
2010-11-20 21:15:00 +01:00
Javier Jardón
5cd64fbd08
docs: Add the new GtkScrollablePolicy API to gtk3-sections
2010-11-20 21:14:41 +01:00
Evan Martin
d3f1312c98
docs: Copy GtkSizeGroup ownership discussion to GtkWindowGroup
...
The two behave identically, so the text is the same with s/size/window/.
2010-11-19 09:24:02 -05:00
Javier Jardón
c4be956473
gtkentry: move public members to private structure
2010-11-19 08:38:12 +01:00
Javier Jardón
c295ab0943
gtktbutton: Move public members to private structure
2010-11-19 06:15:26 +01:00
Javier Jardón
9f16f99358
docs: Improve cross-referencing in the migration guide
2010-11-19 04:44:42 +01:00
Javier Jardón
70d95f04e7
gtkmain: Remove deprecated gtk_init_add() function
...
https://bugzilla.gnome.org/show_bug.cgi?id=629955
2010-11-16 06:54:01 +01:00
Javier Jardón
ac94503180
docs: Do not refer to deprecated GNOME2 porting guide
...
But to the related sections of Pango manual
2010-11-14 01:56:14 +01:00
Javier Jardón
97862638ec
docs: Update URL of some documentation links
...
http://developer.gnome.org -> http://library.gnome.org
2010-11-14 01:24:19 +01:00
Patrick Bernaud
76ba033f59
docs: Move documentation to inline comments: GtkPaned
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=634338
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-11-08 23:22:03 +01:00
Patrick Bernaud
6a93e3bbe1
docs: Move documentation to inline comments: GtkProgressBar
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=634339
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-11-08 23:21:57 +01:00
Patrick Bernaud
692024940c
docs: Move documentation to inline comments: GtkPageSetup
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=634340
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-11-08 23:21:49 +01:00
Garrett Regier
3aad9f6617
docs: Move documentation to inline comments: GtkCellView
...
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-11-06 18:21:36 +01:00
Garrett Regier
d5593dec9e
docs: Move documentation to inline comments: GtkCellRendererText
...
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-11-06 18:21:36 +01:00
Javier Jardón
6cfd907290
docs: Move documentation to inline comments: GtkCellRenderer
2010-11-06 18:21:35 +01:00
Javier Jardón
c418ea89e5
docs: Move documentation to inline comments: GtkSettings
2010-11-06 18:21:35 +01:00
Garrett Regier
aa4c96544b
docs: Move documentation to inline comments: GtkColorSelection
...
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-11-06 17:42:00 +01:00
Garrett Regier
65536550c5
docs: Move documentation to inline comments: GtkLayout
...
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-11-06 17:42:00 +01:00
Javier Jardón
c08e7f01fe
docs: move documentation to inline comments: GtkColorButton
2010-11-06 03:26:14 +01:00
Javier Jardón
5efde9d6d0
docs: move documentation to inline comments: GtkTreeView
2010-11-06 03:26:14 +01:00
Javier Jardón
f90bdb33c8
docs: Move documentation to inline comments: GtkTextView
2010-11-06 03:26:14 +01:00
Javier Jardón
0e0c4ee129
docs: move documentation to inline comments: GtkEntry
2010-11-05 20:49:20 +01:00
Javier Jardón
cf71dbde90
docs: Fix generation of GtkGrid documentation
2010-11-05 17:28:18 +01:00
Matthias Clasen
750a9f3225
Fix a typo
2010-10-31 22:16:41 -04:00
Matthias Clasen
a3f19ddae8
Mention actions in the libunique migration guide
2010-10-31 22:14:53 -04:00
Javier Jardón
73bac5af3b
Emphasize that GtkBox and GtkTable can be replaced by GtkGrid
2010-10-30 06:53:44 +02:00
Javier Jardón
b2207f6730
docs: remove template of deprecated gtkcombo widget
2010-10-30 05:03:02 +02:00
Matthias Clasen
9795bd4c8c
Migration guide additions
...
Add some information about expand flags and the scrollable interface.
2010-10-29 22:48:26 -04:00
Javier Jardón
b3a7d401a1
Use gtk_paned_new() instead gtk_[v|h]paned_new()
2010-10-30 02:26:23 +02:00
Matthias Clasen
ac3fe174f7
GtkComboBox: Add a constructor that takes a model and adds an entry
...
https://bugzilla.gnome.org/show_bug.cgi?id=633050
2010-10-29 12:28:42 -04:00
Matthias Clasen
df4c566220
Add a migration guide section on size_request
2010-10-27 15:55:33 -04:00
Ignacio Casal Quinteiro
fdea6c5c19
Fix typo.
2010-10-24 22:51:51 +02:00
Matthias Clasen
520a6aeb8f
Fix up docs
2010-10-23 23:41:08 +02:00
Matthias Clasen
d7653e7c0c
Add a unique->GtkApplication migration guide
2010-10-23 22:51:38 +02:00
Matthias Clasen
3e594dd845
Fix doc build
2010-10-23 21:23:22 +02:00
Matthias Clasen
7651c231e0
Revert the id-column patch
...
It didn't quite turn out as I wanted it.
I'll put it in bug 619148 for now.
2010-10-23 19:34:20 +02:00
Matthias Clasen
9fb36fff36
Add a way to associate numeric ids with combobox values
...
This will let us use combo boxes as property editors for
GSettings enmerations easily.
2010-10-23 02:31:30 +02:00
Javier Jardón
38dbb84095
gtkadjustment: Move documentation to inline comments
2010-10-23 00:31:37 +02:00
Javier Jardón
96f2f2ff5b
gtkscrollbar: Move documentation to inline comments
2010-10-23 00:31:37 +02:00
Javier Jardón
ec0c739520
gtktreemodelfilter: Move documentation to inline comments
2010-10-23 00:31:37 +02:00
Javier Jardón
8d3b36d534
gtktreeselection: Move documentation to inline comments
2010-10-23 00:31:37 +02:00
Javier Jardón
e51daa79fe
gtktreesortable: Move documentation to inline comments
2010-10-23 00:31:37 +02:00
Javier Jardón
16cf23959f
gtktreeviewcolumn: Move documentation to inline comments
2010-10-23 00:31:36 +02:00
Javier Jardón
8f766d36f4
gtktreestore: Move documentation to inline comments
2010-10-23 00:31:36 +02:00
Carlos Garnacho
1bbbd005a4
GtkColorButton: Add API to deal with GdkRGBA.
2010-10-22 20:14:57 +02:00
Carlos Garnacho
cb5b74e9c6
GtkColorSelection: Add API to deal with GdkRGBA.
...
The hook to change the global palette is still unchanged, it is quite
tied to GdkColor and the color format used to store the palette in
GtkSettings.
2010-10-22 20:14:56 +02:00
Matthias Clasen
c750003168
Point to GtkGrid from the GtkBox and GtkTable docs
2010-10-22 19:59:29 +02:00
Matthias Clasen
09ec50af90
Remove GtkScrollablePolicy again
...
This was a miscommunication, the properties need to live elsewhere.
2010-10-22 19:24:03 +02:00
Matthias Clasen
0d9ebb501d
Move min-display-width/height to GtkScrolledWindow
...
It is just too annoying to have to implement these properties in
every scrollable. Instead, we now have ::min-content-height/width
in GtkScrolledWindow.
We also add GtkScrollablePolicy to determine how to size the
scrollable content.
2010-10-22 19:21:17 +02:00
Javier Jardón
8999053b5f
docs: Add gtk-doc notation
...
to emphasize that GtkMisc and GtkAdjustment are not encouraged in new code
2010-10-22 17:59:38 +02:00
Matthias Clasen
8cd13d09e8
Discourage use of GtkMisc and GtkAlignment
2010-10-22 16:52:08 +02:00
Matthias Clasen
8f0ae8e8a3
Add GtkGrid
...
GtkGrid is a container similar to GtkTable, without legacy
properties and unnecessary restrictions.
It does height-for-width geometry management.
2010-10-22 16:42:50 +02:00
Christian Persch
b0fe3e49bb
Add gtk_recent_info_get_gicon()
...
https://bugzilla.gnome.org/show_bug.cgi?id=617174
2010-10-22 11:58:00 +01:00
Emmanuele Bassi
03fc0dd5ca
recent-manager: Add RecentInfo.create_app_info()
...
A simple wrapper that makes it possible to create a GAppInfo from a
GtkRecentInfo blob.
2010-10-22 11:54:53 +01:00
Tadej Borovšak
55196a705f
Add GtkScrollable interface
...
The GtkScrollable interface provides "hadjustment" and "vadjustment"
properties that are used by GtkScrolledWindow. It replaces
the ::set_scroll_adjustment signal. The scrollable interface
also has ::min-display-width/height properties that can be
used to control the minimally visible part inside a scrolled window.
2010-10-22 11:03:45 +02:00
Christian Dywan
5862075e9d
comboboxtext: Add gtk_combo_box_text_remove_all()
...
https://bugzilla.gnome.org/show_bug.cgi?id=324899
2010-10-21 14:30:11 +02:00
Matthias Clasen
596da84312
Make GtkEntry a no-window widget
...
Use input-only windows for capturing input, and just draw onto
the parent window. This allows themes to make entries with rounded
corners. Patch by Boram Park.
https://bugzilla.gnome.org/show_bug.cgi?id=632736
2010-10-21 13:17:33 +02:00
Javier Jardón
9f035742e3
gtkapplication: fix docs
2010-10-20 11:07:11 +02:00
Matthias Clasen
0219eea4d7
Remove GtkComboBoxEntry and the combo box text api
2010-10-20 11:02:03 +02:00
Javier Jardón
9b3ee686ea
Completely remove gtk_widget_hide_all
...
This completes commit d1a9d764a8
2010-10-19 20:25:33 +02:00
Javier Jardón
04900c8caa
docs: Update templates
2010-10-19 03:31:02 +02:00
Benjamin Otte
ff142ac2ef
gtk: Add gtk_widget_queue_draw_region()
...
People were requesting it and it mirrors the behavior of GdkWindow.
2010-10-18 19:22:44 +02:00
Javier Jardón
f2ae6814e7
docs: Remove template about deprecated GtkItemFactory
2010-10-16 05:24:24 +02:00
Javier Jardón
45c463e376
GtkComboBoxText: Use gtk_combo_box_text_remove instead gtk_combo_box_text_remove_text
2010-10-16 02:07:38 +02:00
Matthias Clasen
50cbd23d5b
docs: cross-reference to GtkComboBoxText
2010-10-15 16:58:28 -04:00
Matthias Clasen
3e9bdf6fd9
Add docs for GtkComboBoxText
2010-10-15 16:58:27 -04:00
Javier Jardón
80d3f1fcda
docs: update OSX port project page
2010-10-15 20:55:32 +02:00
Alberto Garcia
8d05e74212
Make gtk_accelerator_get_default_mod_mask() return a GdkModifierType
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=313350
2010-10-15 14:46:22 -04:00
Matthias Clasen
921fc8807c
Deprecate gtk_init_add, gtk_remove_add and friends
...
This functions are going to be removed in GTK+ 3.
https://bugzilla.gnome.org/show_bug.cgi?id=629955
2010-10-15 14:13:32 -04:00
Colin Walters
18578b33c5
Add boxed type and constructor
...
This allows bindings to sanely construct these.
https://bugzilla.gnome.org/show_bug.cgi?id=632095
2010-10-15 13:54:37 -04:00
Matthias Clasen
f87023d8ee
Forgotten file
2010-10-15 13:07:08 -04:00
Matthias Clasen
28cb8583c3
docs: move some tutorial content to the reference
...
We add a "Getting started" chapter that will grow into a
(hopefully) non-outdated, maintained tutorial. For now, it
includes two minimal examples by xincluding them.
2010-10-15 13:02:50 -04:00
Emmanuele Bassi
f085c8b272
docs: Move the introduction of the tutorial in the reference
...
The tutorial should just go away, but some of its contents can be moved
to the API reference as chapters.
https://bugzilla.gnome.org/show_bug.cgi?id=632059
2010-10-15 13:02:50 -04:00
Matthias Clasen
56e797397b
Improve GtkBox and GtkTable docs a bit
...
This adds some details gleaned from the tutorial, before its
impending demise.
2010-10-15 10:58:35 -04:00
Tristan Van Berkom
9612c64817
Deprecate GtkComboBoxEntry in favor of added properties to GtkComboBox
...
GtkComboBox now sports a construct-only "has-entry" property which
decides if it uses a GtkEntry to allow additional user input. Also
it has a new "entry-text-column" to fetch strings for the entry
from the model.
This patch deprecates the GtkComboBoxEntry and updates the rest of GTK+
to use the new semantics on GtkComboBox instead.
GtkComboBoxEntry will be removed altogether before GTK+ 3, in a
later commit.
2010-10-13 21:52:27 -04:00
Matthias Clasen
7c8ee80c5a
Add new API to docs and symbol list
2010-10-13 11:24:56 -04:00
Matthias Clasen
b36819957f
Remove GtkWrapBox from the docs, too
2010-10-13 10:21:04 -04:00
Tristan Van Berkom
e3cc39cb98
Removed all traces of GtkWrapBox from GTK+.
2010-10-13 22:26:44 +09:00
Matthias Clasen
f106d369a7
Don't link to old stuff
2010-10-12 01:10:32 -04:00
Matthias Clasen
5a6ea62125
Add a missing close tag
2010-10-12 01:05:39 -04:00
Matthias Clasen
b23dc8477f
Remove a note about GTK 1.2 api
2010-10-12 00:57:13 -04:00
Matthias Clasen
6899956770
Reorder some sections
2010-10-12 00:47:49 -04:00
Matthias Clasen
cf1745a935
Remove mentions of dialog separator from the docs
2010-10-12 00:38:04 -04:00
Matthias Clasen
82712a150a
Some documentation updates
2010-10-12 00:33:38 -04:00
Javier Jardón
c2ab54a31f
docs: Move documentation do inline comments: GtkContainer
2010-10-11 05:13:45 +02:00
Javier Jardón
ee58c6c37d
docs: Move documentation to inline comments: GtkScrolledWindow
2010-10-11 02:17:08 +02:00
Matthias Clasen
f8490e425f
Add a migration guide section about resize grips
2010-10-08 02:18:15 -04:00
Matthias Clasen
b04bceb47e
Remove resize grip handling from GtkStatusbar
...
We remove the resize grip from GtkStatusbar, but keep the code
that makes the content avoid the grip, and adapt it to GtkWindow
grips.
The gtk_status_bar_set/get_has_resize_grip() functions and related
properties are removed.
2010-10-08 02:14:19 -04:00
Matthias Clasen
f6347baf64
Add resize grips to GtkWindow
...
Allow any window to display a resize grip, in the south-east or
south-west corner, depending on text direction. This is implemented
as a shaped window that gets overlayed on top of whatever content
is there. We add api that allows widgets to avoid the resize grip,
if desired.
The ::has-resize-grip property controls if a window may display
a resize grip. It will only be displayed if the window is resizable
and not maximized.
The size and visual appearance of the resize grip is under theme
control, using the resize-grip-width/height style properties and
the paint_resize_grip style function.
2010-10-08 02:14:10 -04:00
Javier Jardón
cc0ada40b5
docs: reword GtkAdjustment short description
2010-10-05 22:55:08 +02:00
Javier Jardón
5a30dad531
docs: Move documentation to inline comments: GtkComboBox
2010-10-04 02:37:42 +02:00
Javier Jardón
bbd80b671a
docs: Move documentation to inline comments: GtkNotebook
2010-10-03 20:21:48 +02:00
Javier Jardón
c4705377f4
docs: Latest 2.x release will be 2.24, not 2.22
2010-10-03 04:59:23 +02:00