Javier Jardón
2d9aaf4cf3
Use accessor funtions to acces GtkFrame
2010-07-13 19:40:47 +02:00
Javier Jardón
7f2cc85db9
Use accessor functions to access GtkDialog
2010-07-13 19:40:47 +02:00
Javier Jardón
4427760bcc
Use GtkBin accessors
2010-07-13 19:40:47 +02:00
Javier Jardón
3a10216dd0
Use accessor functions to acces GtkContainer
2010-07-13 19:40:46 +02:00
Javier Jardón
9663801be7
Use accessor functions to access GtkColorSelectionDialog
2010-07-13 19:40:46 +02:00
Javier Jardón
d562611660
Use accessor functions to access GtkNotebook
2010-07-13 17:50:48 +02:00
Christian Dywan
04c54efe5c
Deprecate GtkNotebookPage as used in switch-page
...
Fixes: 618327
2010-07-13 16:49:53 +02:00
Ignacio Casal Quinteiro
d219adfa5a
Move sealed attributes to private struct.
2010-07-12 21:12:46 +02:00
Javier Jardón
319d2bb4f1
[gdk] Remove GdkWindowObject public structure
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=622677
2010-07-01 02:26:34 +02:00
Benjamin Otte
300e6b84cd
s/GdkRegion/cairo_region_t/ in all of gtk
...
https://bugzilla.gnome.org/show_bug.cgi?id=613284
2010-06-29 16:06:38 +02:00
Benjamin Otte
3e96cfe8fc
Deprecate the GdkRegion API
...
Includes fixing all callers to use the cairo region API instead. This is
usually just replacing the function names, the only difference is
gdk_region_get_rectangles() being replaced by
cairo_region_num_rectangles() and cairo_region_get_rectangle() which
required a bit more work.
https://bugzilla.gnome.org/show_bug.cgi?id=613284
2010-06-29 16:06:38 +02:00
Colin Walters
905f988166
Revert "Add length to gtk_tree_path_get_indices"
...
This reverts commit eebb16eb1a
.
Was an accidental commit.
2010-06-28 14:15:10 -04:00
Colin Walters
eebb16eb1a
Add length to gtk_tree_path_get_indices
...
The old version wasn't introspectable as it didn't have a length
return parameter. Also, delete gtk_tree_path_get_indices_with_depth,
since it's no longer needed.
2010-06-28 13:50:36 -04:00
Matthias Clasen
75b9f68338
don't build testapplication on OS X
...
See bug 622827
2010-06-26 21:41:58 -04:00
Matthias Clasen
cc5500ad85
Remove pure gdk-pixbuf tests
...
These have been moved over to the gdk-pixbuf module.
2010-06-26 01:09:05 -04:00
Matthias Clasen
16ecf55832
Make GTK+ use an external gdk-pixbuf
2010-06-26 01:09:05 -04:00
Matthias Clasen
686294cb3b
Add an expander-in-dialog example
...
To show how I expect this kind of construction to work, makes it
easier to find the code the next time I need it somewhere.
2010-06-24 00:35:24 -04:00
Carlos Garnacho
604beadbcd
testinput: Do not use deprecated API.
2010-06-24 02:30:54 +02:00
Javier Jardón
1569f722cd
[testapplication] Fix some compilation warnings
2010-06-24 01:51:33 +02:00
Javier Jardón
a7041e9c40
[testinput] Fix compilation warning: Use guint instead int
2010-06-24 01:39:24 +02:00
Tristan Van Berkom
4e23171803
Removed extendedlayoutexample.c (was a failed git mv --> testheightforwidth.c)
2010-06-18 00:12:55 -04:00
Tristan Van Berkom
edd57602b8
Mass api change from GtkExtendedLayout --> GtkSizeRequest
...
This commit makes a few massive changes to the extended layout
code:
a.) gtkextendedlayout.c --> gtksizerequest.c
b.) _is_height_for_width --> get_request_mode()
c.) get_desired_size(), get_desired_width(), get_desired_height() -->
get_size(), get_width(), get_height()
This is the first partial commit and only effects portions
of the tree that have already been merged in master (in order to
easily cherry pick this commit).
Conflicts:
gtk/Makefile.am
gtk/gtk.h
gtk/gtk.symbols
gtk/gtkextendedlayout.h
2010-06-18 00:11:26 -04:00
Colin Walters
bdaefd7efe
[GtkApplication] Update for GApplication API changes
...
Move appid parameter first to match GApplication.
2010-06-16 11:02:39 -04:00
Tor Lillqvist
eb1233d11b
Fix build breakage on non-Unix
...
gdesktopappinfo.h does is in gio-unix headers, so can compile
testapplication only on Unix.
2010-06-09 11:10:22 +03:00
Matthias Clasen
5e0dfed135
Get rid of GtkProgress
...
The entire api was deprecated since 2.0. This patch detangles
GtkProgress from GtkProgressBar and moves all the pieces into
GtkProgressBar that are required for non-deprecated progressbar
functionality.
Bug #620618
2010-06-09 00:35:09 -04:00
Matthias Clasen
1ae257d00a
Add GtkApplication
...
This is a work in progress to stub out an application class. The
primary goal is to provide a mechanism for applications to export
GtkActions, and there is a standard "Quit" action.
This is based on GApplication.
Future work:
* Add a way to say "This is my application menubar", which gets
put into all toplevel windows on non-OS-X, and into the top
on OS X.
* Support session management.
* Support application settings.
https://bugzilla.gnome.org/show_bug.cgi?id=127958
2010-06-07 16:46:30 -04:00
Javier Jardón
da8643e457
Remove some GTK_DISABLE_DEPRECATED and ENABLE_BROKEN guards
2010-06-07 04:50:05 +02:00
Matthias Clasen
354086bafc
Fix a typo
2010-06-03 13:36:09 -04:00
Matthias Clasen
c557f7b7c4
Improved icon view keynav
...
Use ::keynav-failed for arrow navigation in icon views, so that
it is possible to override error handling. Also add API to get the
row/col of an item. With this, it is possible to make arrow keynav
span adjacent icon views, which is desired in the new control-center
shell. testiconview-keynav demonstrates this.
2010-05-30 02:17:51 -04:00
Javier Jardón
cc8dcf738a
Remove deprecated GtkToolbar code
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=616817
2010-05-24 20:16:07 +02:00
Matthias Clasen
c51f965782
Some cleanups after the module cache file change
...
Bring the various 'run uninstalled' hacks in line with the
new way of doing things, and fix make install for module cache
files.
Patch by Tadej Borovsak.
2010-05-18 19:23:06 -04:00
Matthias Clasen
7f1f1c09ce
Make gail parallel-installable too
...
Move libgail-util to libgail-util-3.0, and gail.pc to gail-3.0.pc
2010-05-10 20:06:10 -04:00
Javier Jardón
37b62be296
[tests] Move filechooser test files to correct location
2010-05-11 00:50:54 +02:00
Matthias Clasen
7447ef0fc2
Make 3.0 parallel-installable to 2.x
...
In particular, rename
- libraries to lib*-3.0.so
- pc files to *-3.0.pc
- include paths to /usr/include/gtk-3.0/*
- module paths to /usr/lib/gtk-3.0/*
- rc files names to gtk-3.0/gtkrc
- commandline utilities to *-3.0
- adjust documentation
Also change the install location for unix-print headers to
/usr/include/gtk-3.0/unix-print/gtk.
2010-05-08 01:18:53 -04:00
Matthias Clasen
2f6b88ff48
Clean up docs, disable testtext for now.
2010-05-07 00:04:57 -04:00
Matthias Clasen
77d4d3cdae
Merge branch 'gtk-2-90'
...
Conflicts:
gtk/gtkentry.h
2010-05-06 22:55:02 -04:00
Javier Jardón
bcfc53066a
tests: Too many arguments in call to 'create_menu'
2010-05-03 02:59:35 +02:00
Javier Jardón
901105766e
Do not use deprecated GtkNoteBook api in testgtk
2010-05-03 01:51:23 +02:00
Javier Jardón
7065c566a3
Remove deprecated GtkProgress functionality from testgtk
2010-05-03 01:51:23 +02:00
Javier Jardón
2c2726f818
Port testtreeview to new API
...
Use GtkComboBox instead the deprecated GtkOptionMenu
https://bugzilla.gnome.org/show_bug.cgi?id=616679
2010-05-03 01:51:23 +02:00
Christian Dywan
765882ce9a
Declare random item correctly in stresstest-toolbar
2010-05-03 01:51:23 +02:00
Christian Dywan
b4188f876f
Use GtkComboBox, GtkOrientable and no GtkObject in testtoolbar
2010-05-03 01:51:23 +02:00
Christian Dywan
7ccd787f04
Don't set child-min-width/ height in the button box test
...
This is not a property. The feature was removed.
2010-05-03 01:51:23 +02:00
Christian Dywan
786b5774e3
Revert accidental removal of book pixmap strings
2010-05-03 01:51:23 +02:00
Christian Dywan
09c84a006f
Remove unused dump_accels() function from testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
0c0976be1d
Remove GtkTipsQuery demo from testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
1dabde28ac
Don't use gtk_widget_set_uposition/size in testgtk
...
Use gtk_window_move and gtk_widget_set_size_request instead.
2010-05-03 01:51:22 +02:00
Christian Dywan
646b417c20
Remove unused text helper functions from testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
6536ad7299
Use new 2.14 GtkColorSelection API in testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
eaf3ccfba0
Replace GtkFileSelection with GtkFileChooser in testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
c30e1865d8
Use GtkComboBoxEntry for the display list in testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
36c3426efb
Use GtkComboBoxEntry in entry test in testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
81c8fcb72b
Declare book_open/closed_xpm in testgtk notebook
2010-05-03 01:51:22 +02:00
Christian Dywan
a927f1f17d
Remove item factory test from testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
298f1ea9f6
Use "activate" rather than "clicked" for menu items
2010-05-03 01:51:22 +02:00
Christian Dywan
187e49992d
Use GtkComboBox instead of GtkCombo in testsocket
2010-05-03 01:51:22 +02:00
Christian Dywan
464eeda24c
Don't use GtkItemFactory in testsocket
2010-05-03 01:51:22 +02:00
Christian Dywan
44af4852ee
Replace GtkText in testselection with GtkTextView
2010-05-03 01:51:22 +02:00
Christian Dywan
e0602fd6a8
Remove obsolete GtkText test from testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
2f70bb98cb
Remove obsolete GtkTree test from testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
1eefd43961
Use an array and new toolbar API in testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
b8727e11fd
Replace option menu with combo box in testoffscreen
2010-05-03 01:51:22 +02:00
Christian Dywan
274395063a
Replace option menus in testgtk with combo boxes
2010-05-03 01:51:22 +02:00
Christian Dywan
63131903ad
Use new progress bar API in testgtk progress test
2010-05-03 01:51:22 +02:00
Christian Dywan
3b721ea9c9
Use a tree view in testgtk selection target test
2010-05-03 01:51:21 +02:00
Javier Jardón
e850958c56
Remove GtkOptionMenu tests
2010-05-03 01:51:21 +02:00
Christian Dywan
e8f1a3ccf0
Remove deprecated GtkTooltips
2010-05-03 01:51:21 +02:00
Javier Jardón
04a548a463
Removed a call to a recently removed test function
...
The function was a test of the deprecated GtkList
2010-05-03 01:51:20 +02:00
Javier Jardón
74e6844488
Remove GtkCurve completely
2010-05-03 01:51:20 +02:00
Javier Jardón
d97ca04f5b
Remove GtkGammaCurve completely
2010-05-03 01:51:20 +02:00
Javier Jardón
20342702f4
Remove gtkmain stuff from docs and tutorial.
...
Also, substitue the deprecated functions with the new ones in
documentation and in tests code
2010-05-03 01:51:18 +02:00
Christian Dywan
d72b1e35c9
Use GtkComboBox in the property editor code
2010-05-03 01:51:17 +02:00
Christian Dywan
46b170ba0e
Don't use GtkInputDialog in testinput
2010-05-03 01:51:17 +02:00
Javier Jardón
858d4fb007
Remove remaining GtkButtonBox deprecated stuff
...
This completes commit b1b986cc604bffd924a13fbcb180dd234a0b8d14
2010-05-03 01:49:40 +02:00
Javier Jardón
c9dae4c600
Remove deprecated code: GtkCheckMenuItem
2010-05-03 01:48:45 +02:00
Christian Dywan
014b05e6bd
Don't use gtk_socket_steal in the socket test
2010-05-03 01:41:36 +02:00
Christian Dywan
6f5b7bad3a
Don't use old toolbar API in toolbar stress test
2010-05-03 01:41:36 +02:00
Christian Dywan
a42886d81d
Remove GtkCList, GtkCTree, GtkFileSelection and GtkPreeview tests
2010-05-03 01:39:50 +02:00
Matthias Clasen
4cf9ac5b4d
Add a frame to the examples
2010-05-01 21:40:44 -04:00
Matthias Clasen
ff267664b8
Fix a few typos
2010-04-25 16:59:13 -04:00
Tristan Van Berkom
909ca43c1a
Renamed testextendedlayout2 --> extendedlayoutexample, also removed testextendedlayout and letting it reside for now in native-layout branch.
2010-04-21 04:11:55 -04:00
Tristan Van Berkom
504ec365a7
Improved legibility of the label parameters test.
2010-04-20 22:02:48 -04:00
Tristan Van Berkom
7db18bb726
Added test reflecting the usage of GtkLabel parameters.
2010-04-20 20:44:24 -04:00
Tristan Van Berkom
a3a245ab56
Updated test for api change.
2010-04-20 20:44:11 -04:00
Tristan Van Berkom
4d06d75dce
Updating test for api change.
2010-04-20 20:43:41 -04:00
Tristan Van Berkom
630357beb3
Added test to demonstrate width-for-height labels.
2010-04-20 18:58:44 -04:00
Tristan Van Berkom
a141c66253
Added testextendedlayout2.c to tests.
...
This test is a collection of builder files which demonstrate the
added features of natural sizes and height-for-width geometry; so
far it only contains 3 cases, more to come...
2010-04-19 01:07:20 -04:00
Tristan Van Berkom
33039c1452
Fixed extended layout test to compile without the gtk_label_set_fullsize() api.
2010-04-18 17:56:58 -04:00
Tristan Van Berkom
19ff8cb026
Fixed test to call the extended layout api instead of consulting ->requisition
2010-04-17 22:50:12 -04:00
Tristan Van Berkom
c67559ad03
Adding tests ported over from the old branch by Matthias.
2010-04-10 22:03:20 -04:00
Javier Jardón
8ea37e551b
Don't use GTK_WIDGET_STATE in internal code anymore
...
Use gtk_widget_get/set_state() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:59:06 -04:00
Javier Jardón
e082783fbb
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_REALIZED)
...
Use new API instead: gtk_widget_set_realized ()
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:59:03 -04:00
Javier Jardón
e2f79c33ff
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_NO_WINDOW)
...
Use new API instead: gtk_widget_set_has_window ()
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:59:02 -04:00
Javier Jardón
ee0bf98769
Deprecate widget flag: GTK_WIDGET_REALIZED
...
Use gtk_widget_get_realized() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:58:59 -04:00
Javier Jardón
e53efb120a
Deprecate widget flag: GTK_WIDGET_MAPPED
...
Use gtk_widget_get_mapped() instead.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:58:58 -04:00
Javier Jardón
ec20658b51
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_CAN_DEFAULT)
...
Use new API instead: gtk_widget_set_can_default ()
2010-04-03 20:58:22 -04:00
Javier Jardón
76943117be
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_CAN_FOCUS)
...
Use new API instead: gtk_widget_set_can_focus ()
2010-04-03 20:58:22 -04:00
Javier Jardón
edc65ce1d2
Deprecate widget flag: GTK_WIDGET_VISIBLE
...
Use gtk_widget_get_visible() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:58:20 -04:00
Javier Jardón
e7127daf84
Deprecate widget flag: GTK_WIDGET_IS_SENSITIVE
...
Use gtk_widget_is_sensitive() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:56:29 -04:00
Javier Jardón
04aba4bde2
Deprecate widget flag: GTK_WIDGET_DRAWABLE
...
Use gtk_widget_is_drawable() instead.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:56:29 -04:00