Matthias Clasen
144c3fd478
Fix gdk_rgba_parse call
2010-12-04 16:16:29 -05: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
Benjamin Otte
ba20a00570
tests: Remove disabled testtext example
2010-12-02 20:21:04 +01: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
Cosimo Cecchi
4fe23cae78
app-chooser: other misc doc fixes
2010-11-30 17:27:53 +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
Matthias Clasen
0ca07a6df7
Add a GtkSwitch
2010-11-29 10:14:21 -05:00
Cosimo Cecchi
232a5c7b3b
app-chooser-button: change the API approach for custom items
...
Introduce a 'custom-item-activated' on the widget, which behaves
similairly to GtkEntryCompletion::action-activated, i.e. is emitted when
a custom item is chosen from the dropdown list.
Clients can use the name provided when adding the item as a detail for
the signal, to get notified when that specific item is activated, or use
the signal without details to get notifications for all custom items.
2010-11-29 16:04:59 +01:00
Emmanuele Bassi
0cd0e4091f
Add GtkSwitch, a "light-switch" like widget
...
The GtkSwitch widget is a simple UI control that has two states: on and
off. Toggling between the states is possible by clicking the widget or
by dragging the handle.
https://bugzilla.gnome.org/show_bug.cgi?id=634987
2010-11-29 12:52:10 +00:00
Cosimo Cecchi
06f501fa07
app-chooser-button: rename GtkAppChooserComboBox -> GtkAppChooserButton
2010-11-29 12:19:18 +01:00
Cosimo Cecchi
ef9543e978
tests: fix indentation
2010-11-25 17:32:13 +01:00
Cosimo Cecchi
67e842be87
app-chooser-combobox: add a method to trigger the GtkAppChooserDialog
...
It's an optional special item in the combobox, turned off by default.
2010-11-25 17:30:01 +01:00
Matthias Clasen
a498d9a9ba
Coding style fixups
...
This commit adjusts the app chooser code to GTK+ coding style:
- line up prototypes
- remove some excess {}
- remove tabs and trailing whitespace
- add docs
2010-11-24 18:32:05 -05:00
Matthias Clasen
f64448473e
Coding style fixes
2010-11-24 16:50:00 -05:00
Matthias Clasen
964b684455
Improve packing in testappchooser
2010-11-24 16:47:15 -05:00
Cosimo Cecchi
183d75b812
app-chooser-combobox: make refresh properly work with custom items
...
The refresh implementation leaves the custom items in place, and just
refreshes the recommended applications.
2010-11-24 19:08:17 +01:00
Cosimo Cecchi
2a95707b4c
app-chooser-combobox: add an initial implementation
...
GtkAppChooserCombobox is an implementation of GtkAppChooser inside a
combobox that shows recommended applications for a given content type.
2010-11-24 18:45:42 +01: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
783b36398e
tests: remove radio mode from the test
2010-11-24 15:50:08 +01:00
Michael Natterer
fb5dd9f72f
Move all GdkDevice members to private and add one missing accessor
2010-11-23 20:25:13 +01:00
Cosimo Cecchi
05bb715c51
app-chooser: rename GtkOpenWith to GtkAppChooser
2010-11-23 17:50:15 +01:00
Cosimo Cecchi
44ef183fa1
tests: update to the new API
2010-11-23 16:53:22 +01:00
William Jon McCann
076e851c5f
Add some window border to test open with
2010-11-23 16:51:40 +01:00
William Jon McCann
04452df476
Add a default file to open with test
2010-11-23 16:51:40 +01:00
Cosimo Cecchi
f8a6ac5429
tests: update to new API
2010-11-23 16:51:39 +01:00
Cosimo Cecchi
cf25ec8fa7
open-with: first attempt to split the dialog into a widget + interface
...
Like GtkFileChooser does; GtkOpenWith is a generic interface, which is
now implemented by both GtkOpenWithDialog and GtkOpenWithWidget (and in
the future also by GtkOpenWithComboBox).
2010-11-23 16:51:39 +01:00
Cosimo Cecchi
9d6055d0c8
tests: use new open with mode in the tests
2010-11-23 16:51:39 +01:00
Cosimo Cecchi
df8ccfb800
open-with: change the API to make it symmetric for GFile or content-type
...
It's much more convenient this way.
2010-11-23 16:51:39 +01:00
Cosimo Cecchi
3a6b936573
tests: rewrite the GtkOpenWithDialog test to make it more interactive
...
Now you can play with all the options provided by GtkOpenWithDialog API.
2010-11-23 16:51:39 +01:00
Cosimo Cecchi
be18ca45f0
open-with: initial implementation of GtkOpenWithDialog
2010-11-23 16:51:38 +01:00
Chris Kühl
fad1bc0de4
tests: Fixed argument naming inconsistancy
2010-11-23 10:49:44 +01:00
Javier Jardón
f427d6998d
gtkoffscreenbox.c: Replace size_request by get_preferred_width/height
2010-11-17 23:58:53 +01:00
Matthias Clasen
9dfeee8127
Make GtkFileChooserButton behave as expected when expanding
2010-11-07 11:22:07 -05:00
Cosimo Cecchi
c69075f170
tests: fix the build
...
gtk_box_new() changed API recently.
2010-11-05 17:01:34 +01:00
Cosimo Cecchi
fcfd494b78
tests: add a test for pixbufs implementing the GIcon interface
...
https://bugzilla.gnome.org/show_bug.cgi?id=634060
2010-11-05 16:28:32 +01:00
Michael Natterer
240e1b4b59
tests: missed these two gtk_box_new() which sneaked in by rebasing...
2010-10-31 20:01:28 +01:00