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
Christian Persch
a4186b6aa5
Correctly clone the toolbutton's icon-name image widget
...
Bug #608162 .
2010-04-03 20:56:08 -04:00
Javier Jardón
239570abdd
[tests] Not use GtkOptionMenu deprecate widget.
...
Replace GtkOptionMenu with GtkComboBox.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=606288
2010-04-03 20:56:07 -04:00
Javier Jardón
bb7ff7b586
[test] Fix some typos
2010-04-03 20:55:23 -04:00
Christian Persch
cf9edf9ff7
Implement property editor for GdkColor properties
...
Bug #606434 .
2010-04-03 20:55:14 -04:00
Christian Dywan
fc2cbf960c
Deprecate flag macros for toplevel, state, no window and composite child
...
Deprecate widget flag macros GTK_WIDGET_STATE, GTK_WIDGET_SAVED_STATE,
GTK_WIDGET_FLAGS, GTK_WIDGET_TOPLEVEL, GTK_WIDGET_NO_WINDOW and
GTK_WIDGET_COMPOSITE_CHILD.
Also deprecate the type macros GTK_WIDGET_TYPE, GTK_OBJECT_TYPE_NAME and
GTK_OBJECT_TYPE which have become redundant.
Instances of GTK_WIDGET_TOPLEVEL are replaced with gtk_widget_is_toplevel,
GTK_WIDGET_TYPE is replaced with G_OBJECT_TYPE, GTK_WIDGET_COMPOSITE_CHILD
is replaced with use of the "composite-child" property and uses of
GTK_WIDGET_NO_WINDOW are adjusted to use gtk_widget_get_has_window.
Uses of GTK_WIDGET_SAVED_STATE and GTK_WIDGET_FLAGS inside GtkWidget are
changed to direct flag usage.
Documentation is updated to refer to gtk_widget_set_has_window and
gtk_widget_get_has_window.
Gail and tests are updated as well.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:55:07 -04:00
Cody Russell
4c4f795da9
Add gtk_offscreen_window_get_pixmap() and gtk_offscreen_window_get_pixbuf(), some API docs.
2010-04-03 20:53:45 -04:00
Cody Russell
6b9924db1c
Add delete-event callback to window, use gtk_widget_queue_draw() instead of gtk_widget_draw()
2010-04-03 20:53:44 -04:00
Cody Russell
87487cea62
GtkOffscreenWindow implementation for #604901
2010-04-03 20:53:44 -04:00
Benjamin Otte
3659db3a4a
Fix up linker flags
...
This adds LDFLAGS everywhere where they were previously pulled in via
other libraries. This is however unsupported by modern linkers.
You can trigger these failures by building with gold (or, I'm told, with
very new ld).
2010-04-03 20:51:57 -04:00
Johannes Schmid
21ebf5df86
native-layout: Change test-case so that it is more obvious that the algorithm tries to show as many
...
widgets with full size as possible.
2009-12-14 17:24:52 +01:00
Johannes Schmid
c659d1a505
Merge branch 'master' into native-layout
2009-12-14 15:36:22 +01:00
Johannes Schmmid
e08d04b561
native-layout: Introduce GtkExtendedLayout interface.
2009-12-14 15:32:49 +01:00
Sven Herzberg
70440523e3
let the close button reflect the page_complete status of SUMMARY pages
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=604289
In order to respect this properly, we have to restore the original
behavior by watching a flag to check if the user has already set this.
* gtk/gtkassistant.c: fix the bug by introducing a flag to check for
non-automatic value setting
* tests/testassistant.c: updated the "generous assistant" to permit
quick manual testing of this feature
2009-12-10 22:06:30 +01:00
Cody Russell
662e69ad3e
Add gdk_screen_get_primary_monitor(). This fixes bug #601712
2009-12-08 11:27:02 -06:00
Christian Persch
65485cbc7c
Add UI manager attribute to always show image in menu items
...
Add always-show-image="true|false" attribute to <menuitem> element in UI
manager markup. If present, it overrides the always-show-image property
on image menu items. Bug #589842 .
2009-11-27 19:14:43 +01:00
Javier Jardón
c7a5ddf8a7
Disable test until it is rewritten to work
2009-11-09 09:36:23 +01:00
Nicola Fontana
1e1131c959
Do not use static GTypeInfo and GInterfaceInfo
...
Either g_type_register_static_simple (used by G_DEFINE_TYPE_EXTENDED)
and G_IMPLEMENT_INTERFACE use automatic variables for GTypeInfo and
GInterfaceInfo structs, while tutorials and source code often use
static variables. This commit consistently adopts the former method.
https://bugzilla.gnome.org/show_bug.cgi?id=600158
2009-11-06 01:21:09 +01:00