Alexander Larsson
d4add8cefa
Merge branch 'master' into broadway
2011-02-11 15:27:54 +01: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
9bd175536b
Add a testcase for state propagation problems
2011-02-06 14:14:48 -05:00
Hans Breuer
f55ccce2d9
win32: msvc build update
2011-02-06 15:07:12 +01:00
Matthias Clasen
2e093cdc20
Demonstrate the problem with a workaround
2011-02-05 10:58:50 -05:00
Matthias Clasen
19092fe44f
Add a testcase for cell positions
2011-02-05 01:24:21 -05:00
Matthias Clasen
5f04bf6429
Simple test for display-less widget creation
2011-02-04 22:06:25 -05:00
Benjamin Otte
040b21e7d7
tests: Remove refreh button from testtoolbar test
...
It didn't work and did that by using APIs that are about to go away.
2011-02-01 06:33:02 +01:00
Benjamin Otte
cf94070586
testgtk: Remove ability to reload all rc files
...
That ability didn't work for a while anyway, so removing client messages
doesn't hurt.
2011-02-01 06:33:02 +01:00
Benjamin Otte
9e401bef68
tests: Remove clientmessage test
...
Client messages will not be handled by GDK3 anymore, so no need to test
them.
2011-02-01 06:33:02 +01:00
Carlos Garnacho
081d5b14da
Add some bindings to testgtk.css for testing
2011-01-30 21:24:52 -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
Benjamin Otte
388f9fd181
tests: Use Window instead of GdkNativeWindow in testsocket example
2011-01-28 17:06:07 +01:00
Matthias Clasen
9be8bbc9a0
Add gtk_app_chooser_button_get/set_heading
2011-01-24 19:25:08 -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
Johan Dahlin
b92df453c6
Remove property user_data which doesn't exist anymore
2011-01-20 12:12:22 -02:00
Alexander Larsson
920e8b4343
Merge branch 'master' into broadway2
...
Doesn't build, but fixed up actual conflicts
Conflicts:
configure.ac
gdk/Makefile.am
gtk/Makefile.am
2011-01-19 19:52:00 +01:00
Benjamin Otte
b40dc528f6
tests: Remove useless calls to gtk_widget_style_attach()
2011-01-11 16:46:59 +01:00
Tristan Van Berkom
34a7dbae3b
Fixed GtkCellArea to never activate/start editing insensitive cells.
...
Included extension to tests/testtreeedit to show this is working properly.
2011-01-10 17:58:57 +09:00
Tristan Van Berkom
a28295a742
Dont show the GtkWindow when removing it from a parent and becomming a toplevel
...
Showing the window causes it to try to grab focus, this causes problems
when embedded toplevels run through dispose cycles.
2011-01-06 14:39:41 +09:00
Tristan Van Berkom
72675f1f28
Changes to testtoplevelembed
...
- Made notebook tabs smaller
- No need to hide/show toplevels after removing from a parent,
if it's visible it will be automatically shown after removing
outside of it's previous parent.
2011-01-06 14:39:41 +09:00
Tristan Van Berkom
387d745e0e
Added buttons to notebook tabs in testtoplevelembed
...
Now you can remove and reembed the toplevels (deleting the
toplevels put them back in the notebook).
2011-01-06 14:39:40 +09:00
Tristan Van Berkom
69b1bfb17b
Added tests/testtoplevelembed.
2011-01-06 14:39:40 +09:00
Benjamin Otte
2e064b3378
tests: Port testsocket example to not use deprecated APIs
2011-01-05 23:50:22 +01:00
Benjamin Otte
8136481d75
tests: Fix compile warnings for people who don't read gcc output.
2011-01-05 23:50:22 +01:00
Benjamin Otte
e1cb1b89d8
testgtk: Update adjustment usage for sealing
2011-01-05 23:50:22 +01:00
Benjamin Otte
3d3358b561
testgtk: Rename "adj" variables to "adjustment"
2011-01-05 23:50:22 +01:00
Benjamin Otte
b533305728
tests: Update prop-editor adjustment usage for sealing
2011-01-05 23:50:22 +01: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
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
Tristan Van Berkom
80e427c857
Fixed gtktreemenu for new gtkcellareabox api.
2011-01-04 23:37:13 +09: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
6ae724c0d3
Added LISTMODE env var check to testcombo.c so that one can easily test listmode.
2011-01-04 23:37:13 +09:00
Tristan Van Berkom
b57095412b
Added aligned food menu test to testcombo.c
2011-01-04 23:37:10 +09:00
Tristan Van Berkom
ab3b75aeb1
Adding a combo box to testtreemenu to show the GtkTreeMenu at work as a combo box delegate.
2011-01-04 23:37:10 +09:00
Tristan Van Berkom
b32ee4fde3
Added orientation control to the treemenu test.
2011-01-04 23:37:09 +09:00
Tristan Van Berkom
238bf5cbaa
Oops one of my last commits disabled some tests, re-enabling them.
2011-01-04 23:37:09 +09:00
Tristan Van Berkom
4a5be7c74e
Getting closer to updating the treemenu view properly from the model signals
2011-01-04 23:37:08 +09:00
Tristan Van Berkom
84a726c3ce
Support grid mode in GtkTreeMenu
...
Added properties "wrap-width", "row-span-column" and "column-span-column"
to allow grid style menus from treemodels. Handling row data changes
appropriately.
2011-01-04 23:37:07 +09:00
Tristan Van Berkom
de59f05ccd
Added gtk_tree_menu_set/get_tearoff to allow the root menu to have a tearoff item
...
Combo boxes expose an "add-tearoffs" feature to add a tearoff item to the root of the combo menu, added this feature to GtkTreeMenu to achieve this (and updated the testcase).
2011-01-04 23:37:07 +09:00
Tristan Van Berkom
9ffaae5022
Added GtkTreeMenuHeaderFunc to decide if a submenu gets a leaf header.
...
GtkComboBox needs treemenus to allow selection of all leafs including
rows which may have children, this allows the combobox or combobox user
to decide which row that has children can also be selectable as a header
leaf of the submenu. Test case testtreemenu updated to reflect this.
2011-01-04 23:37:06 +09:00
Tristan Van Berkom
53bdca9dae
Adding more "small" submenus to testtreemenu
2011-01-04 23:37:06 +09:00
Tristan Van Berkom
aef55bb629
Added submenus to tests/testtreemenu
2011-01-04 23:37:06 +09:00
Tristan Van Berkom
26c3f1a26d
Adding GtkTreeMenu class.
...
Added GtkTreeMenu class to automatically render
a GtkTreeModel into a GtkMenu hierarchy (will be
used by GtkComboBox for its dropdown menus). Included
an accompanying testcase tests/testtreemenu
2011-01-04 23:37:06 +09:00
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
Alexander Larsson
07fafe7b23
Merge branch 'master' into broadway
2010-12-04 22:31:15 +01: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
Benjamin Otte
ba20a00570
tests: Remove disabled testtext example
2010-12-02 20:21:04 +01:00
Tristan Van Berkom
cd09abf461
Changed tests/testcellarea.c (and scaffolding) to only reorient the GtkCellArea
...
It's a better test case if the scaffolding only displays the rows from top
to bottom and doesnt line up the cells from left to right (because it shows
that height-for-width still works with vertically oriented areas).
2010-12-02 17:10:10 +09:00
Tristan Van Berkom
03a72118ad
Merge branch 'master' into treeview-refactor
...
Conflicts:
tests/Makefile.am
2010-12-02 13:58:02 +09:00
Cosimo Cecchi
510d65ba08
app-chooser-button: add gtk_app_chooser_button_set_active_custom_item()
...
This allows to pre-select a custom item.
2010-12-01 17:04:22 +01:00
Bastien Nocera
959fc60c47
gtk: Allow hiding the trough/slider in GtkScale
...
When setting a GtkRange's upper and lower values to the same
value, the slider will not be drawn any more.
https://bugzilla.gnome.org/show_bug.cgi?id=549720
2010-12-01 15:39:50 +00:00