Matthias Clasen
98b140e7b5
Don't use GtkNotebook:tab-pack in testnotebookdnd
2011-01-04 00:55:50 -05:00
Matthias Clasen
b555be06b7
Make styleexamples work
...
If we are keeping this code in source control, might as well
make it work.
https://bugzilla.gnome.org/show_bug.cgi?id=638179
2011-01-03 12:34:23 -05:00
Hans Breuer
23506c0e44
c99ism: declaration in the mid of a block
2011-01-02 13:33:13 +01:00
Hans Breuer
95213b3f04
win32: update msvc build
2011-01-02 13:33:06 +01:00
Benjamin Otte
e4cc259111
testgtk: Don't use deprecated APIs
2010-12-27 19:43:24 +01:00
Benjamin Otte
7ab7422821
testgtk: Use the relevant device to query the widget to snapshot
...
Also gets rid of deprecated functions.
2010-12-27 19:27:16 +01:00
Matthias Clasen
bde1d072e5
Don't use gdk_{pointer,keyboard}_grab
...
Instead use gdk_device_grab.
2010-12-24 20:00:19 -05:00
Kristian Rietveld
26173c7864
Delimit the other_entries array
2010-12-23 18:19:55 +01:00
Matthias Clasen
af9d59aaca
Allow inspection of construct-only object properties
...
The 'Properties' button here is not really modifying the property
in any way, so it doesn't make sense to disable it just because
the object can only be set at construction.
This lets us poke at e.g. the cell area of an icon view.
2010-12-23 00:43:50 -05:00
Robert Ancell
f4419be0d6
Fix DSO link issues
2010-12-22 15:01:50 +11:00
Benjamin Otte
73d8ffd74f
testgtk: Use g_object_unref instead of gdk_cursor_unref
2010-12-21 12:07:05 -05:00
Matthias Clasen
2211e52ec5
Don't use gtk_set_locale
2010-12-21 12:07:02 -05:00
Matthias Clasen
ae2c3a909c
tests: Don't access GdkDragContext fields directly
2010-12-21 12:06:55 -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
Tristan Van Berkom
49273f2277
Added "fixed-size" cell property to GtkCellAreaBox
...
Now a cell can either have a "fixed" size or it can have
an "aligned" starting point or both. "fixed" size cells take
no space when they are invisible.
2010-12-22 00:28:18 +09:00
Tristan Van Berkom
71e7cd0ec4
Merge branch 'master' into treeview-refactor
...
Conflicts:
tests/testtreeedit.c
2010-12-17 15:25:15 +09:00
Javier Jardón
7105e8e907
tests: Use accessor functions to access GtkSelectionData
2010-12-15 23:58:15 +00:00
Kristian Rietveld
5399f7b6e6
Make testtreeview handle RTL environment variable for testing
2010-12-15 21:36:47 +01:00
Kristian Rietveld
0112c32c5b
Make testcellarea handle RTL environment variable for testing
2010-12-15 21:22:35 +01:00
Benjamin Otte
198fc0b774
tests: Hardcode testinput colors instead of trying to use GtkStyle
...
Makes it work with new themeing APIs.
2010-12-15 14:51:26 +01:00
Benjamin Otte
cae6021d3a
tests: Make testiconview-keynav set its custom style using CSS.
2010-12-15 14:51:26 +01:00
Benjamin Otte
e274ac4b6c
tests: gtk_widget_render_icon() => gtk_widget_render_icon_pixbuf()
2010-12-15 14:51:26 +01:00
Benjamin Otte
1312f774f5
tests: gtk_widget_render_icon() => gtk_widget_render_icon_pixbuf()
2010-12-15 14:51:26 +01:00
Benjamin Otte
7caec64bc3
tests: gtk_widget_render_icon() => gtk_widget_render_icon_pixbuf()
2010-12-15 14:51:26 +01:00
Benjamin Otte
6aa745b819
tests: gtk_widget_render_icon() => gtk_widget_render_icon_pixbuf()
2010-12-15 14:51:26 +01:00
Tristan Van Berkom
7e526d57f0
Add an editable cell to testverticalcells showing functional vertical focus navigation.
2010-12-12 17:21:28 +01:00
Tristan Van Berkom
2f4e451075
Added "edit_only" argument to gtk_cell_area_activate()
...
This argument allows the caller to specify that only an editable
cell should start editing but an activatable cell should not toggle
it's state, this is important for public apis like
gtk_tree_view_set_cursor_on_cell() which are only intended to
programatically bring attention to the editing of a specific
row or cell but not actually change any data.
GtkTreeView & CellAreaScaffold updated for the last minute api change.
2010-12-12 17:15:46 +09:00
Tristan Van Berkom
a090d62339
Added expand controls to testtreeedit (now you can play with align & expand effects in cells there).
2010-12-06 16:30:18 +09:00
Tristan Van Berkom
364fe807f4
Added g_getenv("RTL") to test rtl layouting.
2010-12-05 22:15:31 +09:00
Tristan Van Berkom
847581b67c
Adding testverticalcells.c.
...
This test displays a GtkTreeViewColumn rendering a vertically
oriented GtkCellArea along side a horizontally oriented column
in the same treeview.
2010-12-05 22:15:03 +09:00
Tristan Van Berkom
9f4f22faf1
Removed all variables from GtkTreeViewColumn and created GtkTreeViewColumnPrivate
...
Some details:
- button_request was not needed, consult the minimum request of the button
- gtk_tree_view_column_get_button() needed to be public as people can set
tooltips on the button (and libgail accesses the button).
2010-12-05 22:11:08 +09:00
Tristan Van Berkom
c6e1463d1e
Added different icon at the end of testtreeedit to see if RTL is actually working.
2010-12-05 15:24:05 +09:00
Tristan Van Berkom
7b61cd8257
Merge branch 'master' into treeview-refactor
2010-12-05 13:14:39 +09:00
Matthias Clasen
144c3fd478
Fix gdk_rgba_parse call
2010-12-04 16:16:29 -05: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 Garnacho
8c02445bc5
testgtk: Fix gdk_rgba_parse() arguments.
2010-12-04 15:39:58 +01:00
Matthias Clasen
e374f7e4b5
Forgotten files
2010-12-04 15:39:46 +01:00
Matthias Clasen
757837b611
Make tests compile without using GtkStyle api
2010-12-04 15:39:46 +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
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
8d951476bf
Add an activity example
...
This doesn't work, since it trips up on num-steps not being
available for GtkEventBox.
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
31368f16cb
Add the style example code used to generate illustrations
2010-12-04 15:39:37 +01:00
Matthias Clasen
42dd5b2e15
Adapt testgtk.css to parser changes
2010-12-04 15:39:21 +01:00
Carlos Garnacho
5bf9f8c410
testgtk: Try to locate the right file.
2010-12-04 15:39:09 +01:00
Carlos Garnacho
37f9f491d2
Make testgtk load CSS for custom styling.
2010-12-04 15:39:07 +01:00
Tristan Van Berkom
c4eff8b6b0
Added some "align" checkbuttons to show configurable cell alignments in testtreeedit.
2010-12-04 21:41:48 +09:00