Bastien Nocera
d454d986d9
docs: Sort GDK_DEBUG values alphabetically
...
https://bugzilla.gnome.org/show_bug.cgi?id=732330
2014-06-28 12:17:04 +02:00
Bastien Nocera
7c88f19c74
docs: Sort GDK_DEBUG values alphabetically
...
https://bugzilla.gnome.org/show_bug.cgi?id=732330
2014-06-28 12:17:04 +02:00
Matthias Clasen
e6341a0b63
Add a FLAT style class
...
This will be used for frame-less buttons and frames in the future.
2014-06-26 22:02:08 -04:00
Matthias Clasen
a5f474bc66
Add an icon browser
...
This is meant to help app authors choose the right icons.
2014-06-24 21:58:40 -04:00
Matthias Clasen
ef30b8c051
docs: Drop image references for stock items
...
Most of those images are no longer in our tree, so just
say which ones have icons and rtl variants, instead of
showing it.
2014-06-20 10:55:48 -04:00
Matthias Clasen
4f1ff179bb
Revert "Document gtk_icon_theme_add_resource_path"
...
This reverts commit 988b6b483d
.
2014-06-20 08:46:42 -04:00
Matthias Clasen
988b6b483d
Document gtk_icon_theme_add_resource_path
2014-06-20 01:17:47 -04:00
Matthias Clasen
a666827d3a
gtk-update-icon-cache: Add an --include-image-data option
...
Now that we don't include the image data by default anymore,
lets add an option that does it.
2014-06-14 19:30:17 -04:00
Matthias Clasen
9bc07a2634
Add a message-dialog style class
...
This helps in separating message dialogs from other dialogs,
theming-wise.
2014-06-12 09:22:36 -04:00
Matthias Clasen
e97cf2fd0b
Add GTK_STYLE_CLASS_POPUP to the docs
2014-06-12 09:22:06 -04:00
Dieter Verfaillie
072e215ff3
docs: fix link to language bindings page
...
Reported on irc://irc.gnome.org/gtk+ by Rena.
https://bugzilla.gnome.org/show_bug.cgi?id=731377
2014-06-11 23:03:00 -04:00
Matthias Clasen
5334fb8921
Drop GDK_MULTIHEAD_SAFE
...
We don't support multiple screens anymore, so there is no need
for marking API as multihead safe any longer.
2014-06-11 21:55:15 -04:00
Matthias Clasen
b355493d12
docs: Add GtkActionBar to the type list
...
Without this, we don't get object hierarchy, among other things.
2014-06-09 21:41:43 -04:00
Matthias Clasen
5b5cf89a63
Add GtkActionBar and GtkSearchBar to visual index
...
These were missing.
2014-06-09 21:41:43 -04:00
Matthias Clasen
60cd7076cf
Add a csd style class
...
This will be used for client-side decorated windows.
https://bugzilla.gnome.org/show_bug.cgi?id=731187
2014-06-09 14:01:42 -04:00
Matthias Clasen
111b3bca0b
docs: Sort style classes alphabetically
...
Otherwise, it is pretty hard to keep track of what
classes are missing from the list. As a consequence,
several of the existing classes were missing. Add those
at the same time.
2014-06-06 22:07:15 -04:00
Carlos Garnacho
8c21b0bee5
docs: Add some more information in the "input handling model" chapter
...
Grabs/Touch/Gestures are now fairly well covered. Only keyboard handling
is left.
2014-05-28 15:52:14 +02:00
Matthias Clasen
e4680d64a0
Documentation fixes
...
Add a few missing symbols, and match up parameters in headers
and doc comments.
2014-05-27 14:33:32 -04:00
Matthias Clasen
4ce2f3e769
Silence gtk-doc warnings
2014-05-27 13:17:34 -04:00
Carlos Garnacho
d05a9f9a7b
gesture: Replace gtk_gesture_attach/detach with event controller API
...
Event controllers now auto-attach, and the GtkCapturePhase only determines
when are events dispatched, but all controllers are managed by the widget wrt
grabs.
All callers have been updated.
2014-05-27 17:47:12 +02:00
Carlos Garnacho
2e903243c6
eventcontroller: Make the event-mask property and methods private.
...
This will rarely have any use if no subclassing is allowed, so just make it
private for our own.
2014-05-27 17:47:12 +02:00
Matthias Clasen
38daabd838
docs: enum cleanup
...
Move GtkIMPreeditStyle nad GtkIMStatusStyle to the settings where
they are solely used.
2014-05-26 10:37:34 -04:00
Matthias Clasen
0bd0f39576
docs: enum cleanup
...
Move GtkStateType to the GtkWidget apis where it is used, and
mark the enum as deprecated.
2014-05-26 10:37:06 -04:00
Matthias Clasen
4ae95157ae
docs: remove markup
...
The overview chapters don't go through shorthand processing, so
don't use them there.
2014-05-26 10:17:07 -04:00
Benjamin Otte
4f89eb05cf
API: widget: Add gtk_widget_set_clip() API
...
And handle the fact that drawing bounds are now handled by this API and
the corresponding gtk_widget_get_clip().
Also add _gtk_widget_supports_clip() function to check if a widget has
been ported to the new world.
2014-05-24 16:12:20 +02:00
Matthias Clasen
1d897a9bf2
docs: Flesh out the inspector section a bit
2014-05-24 10:07:46 -04:00
Rico Tzschichholz
3f140d5391
docs: Fix make dist
2014-05-24 12:16:56 +02:00
Matthias Clasen
9037f7b64e
docs: more input handling docs
2014-05-24 01:56:44 -04:00
Matthias Clasen
70bccb38c3
Revert "docs: GtkEventController was dropped from public api"
...
This reverts commit eefac03b395a6b885fd61c100b48652200beb996.
2014-05-23 19:54:32 +02:00
Matthias Clasen
9917b15bd3
docs: gtk_gesture_cancel_sequence was made private
2014-05-23 19:54:32 +02:00
Matthias Clasen
6cc9744558
docs: GtkEventController was dropped from public api
2014-05-23 19:54:32 +02:00
Carlos Garnacho
0b3f4d5555
gesturesingle: Add an "exclusive" boolean property
...
All "exclusive" gestures listen for either pointer events, or
"pointer emulating" touch events, so only a single sequence at
a time can make these run.
2014-05-23 19:54:31 +02:00
Carlos Garnacho
44a960199b
gesture: Make gtk_gesture_get_last_update_time() private
2014-05-23 19:54:29 +02:00
Carlos Garnacho
0288fd0a88
gesture: Make gtk_gesture_check() private
2014-05-23 19:54:29 +02:00
Carlos Garnacho
5369c77029
gesture: Simplify gesture/widget interaction public API
...
The propagation phase property/methods in GtkEventController are gone,
This is now set directly on the GtkWidget add/remove controller API,
which has been made private.
The only public bit now are the new functions gtk_gesture_attach() and
gtk_gesture_detach() that will use the private API underneath.
All callers have been updated.
2014-05-23 19:54:29 +02:00
Carlos Garnacho
bf6181a382
docs: Add missing GtkEventController functions
2014-05-23 19:54:28 +02:00
Carlos Garnacho
958efad71d
docs: Add missing controller/gesture docs
2014-05-23 19:54:27 +02:00
Carlos Garnacho
7f787e1d3b
docs: Add GtkGestureSingle to docs
2014-05-23 19:54:22 +02:00
Carlos Garnacho
4ec1fafe2f
docs: Add GtkWidget gesture functions
2014-05-23 19:54:22 +02:00
Carlos Garnacho
73c2964e85
hook GtkGesture* into docs generation
2014-05-23 19:54:21 +02:00
Matthias Clasen
b26da6ed4f
docs: Include input handling overview
...
Now that it is not entirely empty anymore, lets include it.
2014-05-22 15:46:42 -04:00
Matthias Clasen
e491da532a
Some more input handling docs
2014-05-22 15:45:31 -04:00
Matthias Clasen
3d981069ab
Fill in some content in the input handling overview
2014-05-22 15:16:37 -04:00
Matthias Clasen
3263b963e6
Add a skeleton for an input handling overview document
...
Not integrated in the docs yet, since there's no content.
2014-05-20 10:10:31 -04:00
Matthias Clasen
edd6c4d487
docs: enum cleanup
...
Move GtkExpanderStyle over to the deprecated GtkStyle.
2014-05-20 09:54:01 -04:00
Matthias Clasen
575d0eabfb
docs: enum cleanup
...
Move GtkResizeMode to the only place it is used.
2014-05-20 09:54:01 -04:00
Matthias Clasen
1c271365ab
docs: Minor fix
2014-05-20 09:54:01 -04:00
Matthias Clasen
d5251141ce
docs: enum cleanup
...
Move GtkWindowPosition and GtkWindowType to the only place
they are used.
2014-05-20 09:54:01 -04:00
Matthias Clasen
59e4be9752
docs: enum cleanup
...
Move GtkJunctionSides, GtkRegionFlags and GtkBorderStyle
to the GtkStyleContext docs.
2014-05-20 09:54:01 -04:00
Matthias Clasen
73d0bcb874
docs: enum cleanup
...
Move GtkDragResult to the DND section
2014-05-20 09:54:01 -04:00
Matthias Clasen
04192d04a2
docs: enum cleanup
...
Move types that are only used in binding parsing to
gtkrc, together with the deprecated api.
2014-05-20 09:54:01 -04:00
Matthias Clasen
e5a1734ce9
docs: enum cleanup
...
scrolledwindow part 2
2014-05-20 09:54:01 -04:00
Matthias Clasen
a846e7f818
docs: enum cleanup
...
Move GtkCornerType to the GtkScrolledWindow docs.
2014-05-20 09:54:01 -04:00
Matthias Clasen
2430762f9b
docs: enum cleanup
...
Move GtkButtonBoxStyle to the one place it is used, GtkButtonBox.
2014-05-20 09:54:01 -04:00
Matthias Clasen
cf1c8c8c69
docs: enum cleanup
...
Move GtkAttachOptions to the only place its used: GtkTable
2014-05-20 09:54:01 -04:00
Matthias Clasen
ee244473d6
doc: enum cleanup
...
Move GtkArrowType to where it is used in undeprecated api:
GtkMenuButton.
2014-05-20 09:54:01 -04:00
Matthias Clasen
edde7aca60
docs: enum cleanup
...
Move GtkArrowPlacement to the GtkMenu docs. This type is
only used for a style property there.
2014-05-20 09:54:01 -04:00
Matthias Clasen
b72f932b9a
docs: enum cleanup
...
Move GtkAccelFlags to the GtkAccelGroup docs.
2014-05-20 09:54:01 -04:00
Rico Tzschichholz
0c4dc3c157
docs: Fix make dist
2014-05-20 08:11:44 +02:00
Matthias Clasen
9af2710d84
Add man pages for gtk3-demo and gtk3-widget-factory
...
We install the applications, so they should also have some docs.
2014-05-19 23:20:56 -04:00
Matthias Clasen
e80df0aed0
Minor doc fix
2014-05-15 08:43:43 -04:00
Matthias Clasen
99f36ffbb4
docs: Add an index for 3.14 additions
2014-05-14 15:56:01 -04:00
Matthias Clasen
a600718846
Deprecate GtkArrow
...
https://bugzilla.gnome.org/show_bug.cgi?id=729564
2014-05-13 23:50:13 -04:00
Matthias Clasen
069a2603ef
inspector: Add a setting to disable the keybinding
...
This will be needed for lockdown, e.g. on the login screen.
https://bugzilla.gnome.org/show_bug.cgi?id=730007
2014-05-13 15:20:36 -04:00
Matthias Clasen
b8531087bd
inspector: All to turn it on programmatically
...
Export gtk_window_set_interactive_debugging.
https://bugzilla.gnome.org/show_bug.cgi?id=730008
2014-05-13 15:20:36 -04:00
Matthias Clasen
63288829b0
Add an alternative keybinding for the inspector
...
Control-Shift-I is already used for similar things in many
applications, so provide Control-Shift-D as an alternative.
https://bugzilla.gnome.org/show_bug.cgi?id=730043
2014-05-13 11:04:43 -04:00
Matthias Clasen
ec0a60a248
Deprecate GtkMisc
...
This has been dangling ever since 3.0.
2014-05-13 08:45:00 -04:00
Matthias Clasen
ea33d7a1e1
Move GtkIconFactory to deprecated section in the docs
...
Just catching up with reality.
2014-05-11 22:03:27 -04:00
Matthias Clasen
49733154a6
Deprecate GtkNumerableIcon
...
It was a failed experiment, it is basically unused, and it complicates
code in GtkIconTheme that we want to rework.
2014-05-11 22:02:32 -04:00
Matthias Clasen
53a67d20a2
extract-strings: Support more GtkBuilder markup
...
The inspector templates are using the <item> tag with an
id attribute, which was causing extract-strings to fail.
Fix this.
2014-05-10 22:04:38 -04:00
Matthias Clasen
2e1d0df1ed
example: Update screenshots
2014-04-17 22:55:41 -04:00
Matthias Clasen
b718b95aab
example: Port to gtk_application_set_accels_for_action
...
Instead of hardcoding an accelerator in the ui file, use
gtk_application_set_accels_for_action.
2014-04-17 22:55:38 -04:00
Matthias Clasen
f521dddaed
example: Don't set a nonexisting property
...
The GtkHeaderBar::show-fallback-app-menu property does not exist,
and isn't needed anyway.
2014-04-17 22:55:36 -04:00
Matthias Clasen
4c03903045
Add new switch api to the docs
2014-04-06 01:52:49 -04:00
Matthias Clasen
4ebd2d3f7e
Add new listbox api to docs
2014-04-06 01:52:47 -04:00
Matthias Clasen
15004e5930
Allow selecting a dark variant with GTK_THEME
...
Dark themes need to be debugged, too.
Author: Matthias Clasen <mclasen@redhat.com>
2014-03-06 19:30:33 -05:00
William Jon McCann
abe9ce45f3
docs: fix headerbar screenshot
2014-02-25 20:41:36 -05:00
William Jon McCann
5c856c96f6
docs: update the screenshots
...
From the doc shooter.
2014-02-20 14:04:18 -05:00
Matthias Clasen
2f78ffc3e2
docs: Improve section headings
2014-02-19 19:39:07 -05:00
Matthias Clasen
832d90cc3a
Small documentation fixes
2014-02-19 01:03:38 -05:00
Matthias Clasen
fc19d02b99
Add gtk_popover_bind_model to the docs
2014-02-17 06:52:38 -05:00
Yosef Or Boczko
598123fe25
Fix doc build
2014-02-17 11:43:55 +02:00
Matthias Clasen
8bfa5e4611
Drop GtkCenterBox
...
Its functionality has been subsumed in GtkBox.
2014-02-16 23:05:21 -05:00
Matthias Clasen
06716a6c79
Add center widget support to GtkBox
...
This makes GtkCenterBox unnecessary, and at the same time
adds more features: the center widget can be expanded, and
baseline alignment is supported.
2014-02-16 22:57:24 -05:00
William Jon McCann
c86ee0558c
Rename GtkActionBar to GtkCenterBox
...
https://bugzilla.gnome.org/show_bug.cgi?id=723929
2014-02-12 08:08:03 -05:00
Matthias Clasen
cf4a41a856
Add GtkEntry:max-width-chars
...
This property allows specifying a natural width of
the entry that is bigger than the minimum width.
https://bugzilla.gnome.org/show_bug.cgi?id=724094
2014-02-11 17:54:25 -05:00
Matthias Clasen
3459a0a273
Revert "Introduce API to get the preferred visual"
...
This reverts commit 2b95d1a34e
.
Conflicts:
gdk/gdkscreen.c
2014-02-10 22:15:28 -05:00
Matthias Clasen
7f6a964c47
Docs: Remove all entities and turn off sgml mode
...
With all element markup gone, it is time to turn off
sgml mode, and get rid of entities as well.
2014-02-09 17:58:07 -05:00
Matthias Clasen
9822d510a6
GtkMenuButton: Support popovers
...
Add api to allow explicitly setting a GtkPopover instead of
a GtkMenu as the popup of a GtkMenuButton. Also, add api to
instruct the menu button to construct a popover when given
a menu model.
We set the style class "menu-button" on the button only when
it pops up a menu, to allow different treatment for the active
state of the button in the two cases.
https://bugzilla.gnome.org/show_bug.cgi?id=723878
2014-02-08 20:42:20 -05:00
Matthias Clasen
2fea2d4dbd
Populate popovers from menu models
...
This adds a new function, gtk_popover_new_from_model, which creates
a popover and populates it with suitable content according to the
menu model. The current implementation uses GtkModelButton for the
individual items, and a GtkStack for submenus.
https://bugzilla.gnome.org/show_bug.cgi?id=723014
2014-02-07 15:11:51 -05:00
Matthias Clasen
2b95d1a34e
Introduce API to get the preferred visual
...
Unless GDK_RGBA=0 is set, this will be the RGBA visual.
The new function is called gdk_screen_get_preferred_visual().
https://bugzilla.gnome.org/show_bug.cgi?id=630217
2014-02-04 13:15:46 -05:00
Matthias Clasen
15060a8f24
Revert "gdk: enable rgba visuals by default"
...
This reverts commit a2ccb6601e
.
This turns out to break GtkStatusIcon, and invalidates
the documentation of gdk_screen_get_system_visual().
2014-02-04 13:15:46 -05:00
Matthias Clasen
668c31bf97
Build gtk-doc scanner without deprecation warnings
...
Use of deprecated symbols is expected in this code,
no need to warn about it.
2014-01-23 21:09:24 -05:00
William Jon McCann
a2ccb6601e
gdk: enable rgba visuals by default
...
Unless GDK_RGBA=0 is set.
https://bugzilla.gnome.org/show_bug.cgi?id=630217
2014-01-23 11:51:51 -05:00
Carlos Garnacho
168227165d
window: Make popover window private
2014-01-22 17:10:07 +01:00
Carlos Garnacho
1d495cbafd
popover: Add a "modal" boolean property to GtkPopover
...
This property is TRUE by default, when a popover is modal, it
will automatically set a GTK+ grab on the popover, and grab
the keyboard focus into the popover.
2014-01-22 17:10:06 +01:00
Carlos Garnacho
ace25368b1
window: Add gtk_window_get_popover_position()
...
A getter to complement the setter
2014-01-22 17:10:05 +01:00
Carlos Garnacho
bb7ef098c4
popover: Add documentation
2014-01-22 17:10:05 +01:00
William Jon McCann
9401381e29
docs: don't use property syntax for child properties
2014-01-21 23:20:38 -05:00
William Jon McCann
fa6ace97aa
docs: don't try to link vfunc
2014-01-21 22:40:55 -05:00