Alcaro
a1a6e6a36a
doc: Fix there/their typo
2018-07-27 02:28:45 +00:00
Matthias Clasen
8755d884f3
Remove a lot of Since annotations
...
4.0 will represent a clean epoch. We don't want to have
lots of noise in the docs about 2.x or 3.x.
2018-06-25 19:55:04 -04:00
Matthias Clasen
4c150d8eb5
The big versioning cleanup
...
Remove all the old 2.x and 3.x version annotations.
GTK+ 4 is a new start, and from the perspective of a
GTK+ 4 developer all these APIs have been around since
the beginning.
2018-02-06 01:16:32 -05:00
Matthias Clasen
9a3b61ec9d
Drop GtkPlacesSidebar from public API
...
This is a bit of filechooser internals that gets shared with
nautilus, which is fine, but it shouldn't be part of our
public API. There are no other users than nautilus.
2018-01-08 14:38:55 -05:00
Matthias Clasen
d04f66eb52
Add GtkIconSize back to the docs
...
And document how it works now.
2017-12-26 08:40:43 -05:00
Matthias Clasen
2301d8d90b
enums: Change GtkIconSize values
...
The new values are the ones we intend to keep. The old ones had
duplicated meanings and nobody knew which one to take.
2017-11-15 14:22:17 -05:00
Matthias Clasen
18b8a7f91f
Add a state flag for visible focus
...
The new flag is called GTK_STATE_FLAGS_FOCUS_VISIBLE.
2017-10-25 17:49:43 -04:00
Matthias Clasen
774499e10e
Add input hints for Emoji input
...
Allow hinting input methods about whether Emoji support is
useful or not.
2017-09-02 08:47:17 -04:00
Benjamin Otte
95a2a5c54c
gtk: Remove GtkJunctionSides
2016-12-20 18:01:12 +01:00
Timm Bäder
773c16076b
widget: Remove state-flags leftovers
2016-11-02 18:40:00 +01:00
Rico Tzschichholz
471d8d6184
Remove deprecated GTK_RELIEF_HALF
2016-10-23 18:23:58 +02:00
Rico Tzschichholz
a1b519a102
Removed deprecated GtkIM*Style enums
2016-10-23 12:52:00 +02:00
Benjamin Otte
9b9b475f0a
API: stylecontext: Remove regions
2016-10-16 18:17:21 +02:00
Matthias Clasen
158dbbc88f
Use CSS syntax for drop highlighting
...
I hadn't noticed the :drop() pseudo state in the CSS4 Selectors
spec when I added this a while ago. This commit renames
GTK_STATE_FLAG_DND to GTK_STATE_FLAG_DROP_ACTIVE and adds
:drop(active) as equivalent to the :dnd pseudo state.
2015-12-25 22:58:28 -05:00
Matthias Clasen
cbde3ee01f
css: Add a :dnd pseudoclass
...
This will be used for drag highlighting.
2015-12-02 23:23:36 -05:00
Matthias Clasen
e626038467
popover: Make it possible to constrain to toplevel
...
Under X11, popovers are always constrained to the toplevel
window. Under Wayland, they aren't. This commit adds a
property that allows to explicitly constrain popovers to
the toplevel, giving them the same behavior under Wayland
as under X11.
https://bugzilla.gnome.org/show_bug.cgi?id=757474
2015-12-01 17:26:25 -05:00
Matthias Clasen
648c3b39f3
input methods: Add a 'vertical text' hint
...
This has been requested in
https://bugzilla.gnome.org/show_bug.cgi?id=747150
2015-05-10 01:30:38 -04:00
Michael Catanzaro
a017031bee
GtkMessageDialog: Minor documentation update
...
Icons went away in 3.12
https://bugzilla.gnome.org/show_bug.cgi?id=748061
2015-04-17 13:39:48 -05:00
Benjamin Otte
36a2e7ca8e
css: Add a :checked pseudoclass
...
https://bugzilla.gnome.org/show_bug.cgi?id=733967
2014-08-16 16:34:14 +02:00
Matthias Clasen
5f549fa7cb
Docs: Mention that shadow type is a lie
...
As requested here:
https://bugzilla.gnome.org/show_bug.cgi?id=659926#c2
2014-07-10 00:16:04 -04:00
Matthias Clasen
598777166f
GtkButton: Use FLAT style class
...
This commit makes button always draw background and frame.
Buttons with relief none get a new style class, FLAT, which
allows themes to style these buttons as they like.
We also (finally) mark GTK_RELIEF_HALF as deprecated. It
has never done anything different from GTK_RELIEF_NORMAL.
https://bugzilla.gnome.org/show_bug.cgi?id=732256
2014-06-26 22:02:18 -04:00
Carlos Garnacho
ef61c9c58b
gtk: Replace GtkPanOrientation with GtkOrientation
...
And document GtkOrientation to be more generic. There's little added
value in a separate enum for this.
2014-05-27 17:47:12 +02: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
Carlos Garnacho
1c48cc253d
gesture: Add GTK_PHASE_TARGET
...
This phase is meant to run in the default widget handlers, as opposed
to externally as in the bubble/capture phase. This will be most usually
the expected phase for every controller replacing code in event handlers
in GTK+, just so invocation and triggering order is kept unaltered.
2014-05-23 19:54:30 +02:00
Carlos Garnacho
48367b1432
enums: Add missing docs to controller/gesture enums
2014-05-23 19:54:27 +02:00
Carlos Garnacho
4401be22ad
enums: Document GtkPropagationPhase
2014-05-23 19:54:26 +02:00
Carlos Garnacho
c7da5b54f5
Add GtkGesturePan
...
This gesture reports events on horizontal/vertical panning gestures.
2014-05-23 19:54:26 +02:00
Carlos Garnacho
026b5014e8
Add: GTK_PHASE_NONE value to GtkCapturePhase.
...
Gestures attached with this phase will expect callers to have it
receive events through gtk_event_controller_handle_event(), but
the gesture will still be notified of sequence state changes,
grabs, etc...
2014-05-23 19:54:23 +02:00
Carlos Garnacho
f1bb0283dd
widget: Hook GtkEventController to widget event processing.
...
A controller can be optionally hooked on the capture or the bubble
phase, so the controller will automatically receive and handle events
as they arrive without further interaction.
2014-05-23 19:54:22 +02:00
Carlos Garnacho
8f113e07fd
Add GtkGesture
...
This a more specific abstract type that handles one or multiple
streams of pointer/touch events.
2014-05-23 19:54:21 +02: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
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
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
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
William Jon McCann
37a8ee6e95
docs: fully break lines in examples
...
Try to do a better job of keeping example content
from being too wide. It is often rendered as <pre>
text so the only time we can wrap it is in the source.
It is best to full break lines at all punctuation and
to try to keep the width under 70 chars or so.
2014-02-12 18:42:50 -05:00
William Jon McCann
13998c55e7
docs: use proper quotations instead of '*'
2014-02-07 14:22:39 -05:00
William Jon McCann
cb6483d382
docs: use apostrophe in *'d
2014-02-07 13:39:53 -05:00
William Jon McCann
a4b5929e81
docs: use apostrophe in *'re
2014-02-07 13:37:09 -05:00
William Jon McCann
e34bd4137d
docs: use apostrophes in *n't
2014-02-07 13:32:47 -05:00
William Jon McCann
7a208fbbf3
docs: use proper apostrophe
...
https://wiki.gnome.org/Design/OS/Typography
2014-02-07 13:06:10 -05:00
William Jon McCann
2a45418b67
docs: use proper quotes
2014-02-05 15:08:42 -05:00
William Jon McCann
9f99f567c8
docs: use markdown instead of inlinegraphic tags
2014-02-04 16:58:53 -05:00
Matthias Clasen
f4831df8ff
Fix gtkenums doc section
2014-01-23 21:09:24 -05:00
William Jon McCann
b617b003ef
Use 16px as default button and small toolbar icon sizes
...
https://bugzilla.gnome.org/show_bug.cgi?id=350190
2014-01-23 11:51:51 -05:00
William Jon McCann
0db5d93884
docs: add docs for some printing enums
2014-01-21 13:33:46 -05:00
William Jon McCann
212f6cef5e
docs: add docs for GtkIconSize
2014-01-21 13:33:46 -05:00
William Jon McCann
06a619e642
docs: add docs for GtkScrollType and GtkScrollStep
2014-01-21 13:33:46 -05:00
William Jon McCann
59d35e3e51
docs: add docs for GtkPathPriorityType and GtkPathType
2014-01-21 13:33:46 -05:00
William Jon McCann
5366a21334
docs: add docs for GtkPrintPages and GtkPageSet
2014-01-21 13:33:46 -05:00
William Jon McCann
c2bd435203
docs: add docs for GtkIM*Style
2014-01-21 13:33:46 -05:00
William Jon McCann
ab41ef518a
docs: add docs for GtkDirectionType and GtkDeleteType
2014-01-21 13:33:46 -05:00
William Jon McCann
2375148b04
docs: add docs for GtkTextDirection
2014-01-21 13:33:45 -05:00
William Jon McCann
00326d3362
Add an expand button box type
...
https://bugzilla.gnome.org/show_bug.cgi?id=720059
2014-01-17 17:52:07 -05:00
Clayton Walker
568e867dad
gtk: remove unused GTK_BUTTONBOX_DEFAULT_STYLE from gtkenums.h tests: remove GTK_BUTTONBOX_DEFAULT_STYLE from testbbox.c and fix crashing
...
https://bugzilla.gnome.org/show_bug.cgi?id=721317
2014-01-04 13:56:42 -05:00
Timm Bäder
9b1c943190
css parser: Add :link and :visited
...
... which are both to be used for links instead of the current
-GtkWidget-link-color and -GtkWidget-visited-link-color
https://bugzilla.gnome.org/show_bug.cgi?id=709629
2013-11-04 16:36:11 +01:00
Alexander Larsson
9a42942afb
GtkBox: Add baseline alignment for horizontal boxes
...
Report a baseline based height and baseline whenever there
are children with ALIGN_BASELINE.
Assign baseline to childen in size_allocate. Either the one inherited
from the parent if set, or otherwise calculate one based on any
ALIGN_BASELINE children.
2013-04-23 05:50:38 +02:00
Alexander Larsson
f15bc7818e
Add GTK_ALIGN_BASELINE to GtkAlign
...
Setting this means baseline aware containers should align the widget
according to the baseline. For other containers this behaves like
FILL.
In order to not suprise old code with a new enum value we always
return _FILL for _BASELINE unless you specifically request it via
gtk_widget_get_valign_with_baseline().
2013-04-23 05:47:31 +02:00
Will Thompson
c6fbdb67f3
gtkenums: correct various documentation typos
2013-03-04 22:49:43 +00:00
Matthias Clasen
4bb90a7443
Remove GTK_SELECTION_MODE_EXTENDED from the docs
...
It does not exist anymore as an enum value.
2013-02-28 07:48:06 -05:00
Matthias Clasen
48777cb656
Make new state flags show up in the docs
2013-02-01 22:54:21 -05:00
Matthias Clasen
5adecf183b
Move single-include guards inside include guards
...
gcc has optimizations for include guards that only work
if they are outermost in the the header.
https://bugzilla.gnome.org/show_bug.cgi?id=689810
2012-12-28 09:57:56 -05:00
Benjamin Otte
26186c74c6
API: Add state flags for RTL and LTR
...
See http://www.whatwg.org/specs/web-apps/current-work/#pseudo-classes
for the rationale.
2012-12-18 18:25:41 +01:00
Benjamin Otte
1d6e896fef
sizegroup: Move GtkSizeGroupMode to gtkenums.h
...
This is in preparation for the next patch, which would otherwise lead to
conflicts.
2012-11-04 15:24:18 +01:00
Matthias Clasen
563a874f0f
Typo fix
2012-09-23 23:37:46 -04:00
Carlos Garnacho
8d4487b0be
Add GTK_INPUT_HINT_INHIBIT_OSK to GtkInputHints
...
This hint may be used in text widgets to inhibit their
input methods. The most compelling usecase is calculator
applications, which already have a builtin and better
suited onscreen keyboard.
https://bugzilla.gnome.org/show_bug.cgi?id=651244
2012-08-25 15:42:30 -04:00
Krzesimir Nowak
8a8c434737
enums: Add purpose enum and hints flags.
...
This commit adds two enumerations that will be used
to pass additional information to input methods, in
the subsequent commits.
https://bugzilla.gnome.org/show_bug.cgi?id=651244
2012-08-20 18:54:20 -04:00
Cosimo Cecchi
68acf78c5d
level-bar: introduce GtkLevelBar
...
Similar to CcStrengthBar from gnome-control-center, but more generic and
with thorough CSS styling support.
https://bugzilla.gnome.org/show_bug.cgi?id=677892
2012-07-16 01:01:38 -04:00
Matthias Clasen
5de021cfdc
Revert "level-bar: introduce GtkLevelBar"
...
This reverts commit 126a2308ca
.
Pushed by mistake.
2012-07-11 07:15:34 -04:00
Cosimo Cecchi
126a2308ca
level-bar: introduce GtkLevelBar
...
Similar to CcStrengthBar from gnome-control-center, but more generic and
with thorough CSS styling support.
https://bugzilla.gnome.org/show_bug.cgi?id=677892
2012-07-10 22:41:12 -04:00
Ryan Lortie
88c63903a5
printing: Rename GTK_UNIT_PIXEL to GTK_UNIT_NONE
...
...and document that many functions don't accept "none" as a unit.
https://bugzilla.gnome.org/show_bug.cgi?id=460908
2012-05-03 18:30:48 -07:00
Matthias Clasen
050cba6a31
Fix malformed doc comments
...
Most of these are forgotten :'s and similar details
which gtk-doc now warns about.
2012-04-12 21:12:16 -04:00
Javier Jardón
9d0febc9a6
Change FSF Address
2012-02-27 17:06:11 +00:00
Rui Matos
e9adaabc5e
Rename 'window-unfocused' to 'backdrop'
...
'window-unfocused' is too long and mentions "focus" which is historically
loaded with the meaning "input focus".
'backdrop' isn't generally used in GUI speak and still conveys the state the
widgets in an unfocused or background toplevel window are in.
2012-01-09 18:38:00 +01:00
Benjamin Otte
de3111f1ff
API: Add all border styles from CSS 3
2012-01-09 18:37:59 +01:00
Rui Matos
70f87b8bd5
gtk: Add a GTK_STATE_FLAG_WINDOW_UNFOCUSED widget state flag
...
This allows themes to style widgets differently according to whether the
toplevel window they are in is presented as focused.
https://bugzilla.gnome.org/show_bug.cgi?id=661428
2011-11-08 19:33:22 +00:00
Cosimo Cecchi
1f2cfb5619
all: add an 'only-child' pseudo-class selector
...
Add an :only-child pseudo-class selector, which selects single children
of a parent container.
https://bugzilla.gnome.org/show_bug.cgi?id=660833
2011-10-04 11:47:47 -04:00
Matthias Clasen
2e39400e18
Clean up the docs of GTK_SELECTION_MULTIPLE
...
As requested in bug 566202.
2011-09-04 23:46:51 -04:00
Cosimo Cecchi
4e95e6ae21
border-image: move private types to gtkcsstypes.c
2011-06-09 05:51:54 +02:00
Cosimo Cecchi
9976530fe0
border-image: change Gtk9Slice to GtkBorderImage
...
It's a similar private type, which is much more powerful, and respects
the CSS rendering specification for border-image.
https://bugzilla.gnome.org/show_bug.cgi?id=651194
2011-06-09 05:51:53 +02:00
Javier Jardón
14f12a4b1b
Move documentation to inline comments: GtkPrintSettings
2011-04-18 02:08:36 +01:00
Matthias Clasen
b2f872112a
Make GtkWidget::halign RTL-save
...
This commit makes GTK_ALIGN_START/_END pay attention to
the text direction when used in horizontal context.
This is how similar parameters in GtkMisc and GtkAlignment work,
and is generally expected of GTK+ positioning parameters. And this
is new GTK+ 3 api, so it is basically still unused at this point.
If explicit right/left turn out to be needed at some point, we
can expand the enumeration with new values.
2011-03-30 10:34:02 -04:00
Tristan Van Berkom
887142f1f5
Added GTK_SIZE_REQUEST_CONSTANT_SIZE to GtkSizeRequestMode
...
The constant size request mode defines a request mode where
height-for-width geometry is unneeded, thus optimizing GTK+
by reducing the overall amount of requests that need to be
performed and cached while resizing an interface.
2011-03-25 18:42:07 +09:00
Matthias Clasen
6cf78a12c1
Move GtkTextTag docs inline
2011-01-14 17:49:48 -05:00
Matthias Clasen
06864ba656
Move GtkMenuShell docs inline
2011-01-14 16:59:29 -05:00
Matthias Clasen
9d85d87f05
Move GtkMenuBar docs inline
...
And remove some outdated content.
2011-01-13 22:11:22 -05:00
Matthias Clasen
349c3a8839
Move enum docs inline
...
Based on a patch by Garrett Regier
https://bugzilla.gnome.org/show_bug.cgi?id=617324
2011-01-12 18:50:45 -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
Diego Escalante Urrelo
d0a3846eb1
gtkenums: add GTK_STATE_FLAG_NORMAL = 0
...
Allows a more readable omission of GtkStateFlag arguments.
Bug #638608
2011-01-03 20:37:35 -05:00
Matthias Clasen
17c7bda6a3
Fix a doc comment format problem
...
Parameters / enum values come first, then the paragraph.
2010-12-17 14:50:55 -05:00
Matthias Clasen
bcf3de095f
Document various style-related enums
2010-12-04 15:39:26 +01:00
Carlos Garnacho
0057aa5445
Add corners to GtkJunctionSides, defining sides as 2 corners.
2010-12-04 15:39:12 +01:00
Carlos Garnacho
1be9d6ebc9
Document missing GtkStateType values.
...
The documentation has also moved to gtkenums.h.
2010-12-04 15:39:02 +01:00
Carlos Garnacho
1487b34679
Remove GTK_STATE_LAST.
...
It didn't turn out to be that useful, nor widely used.
2010-12-04 15:38:56 +01:00
Carlos Garnacho
912ad78cc5
Remove GTK_REGION_DEFAULT
...
GTK_STYLE_CLASS_DEFAULT is preferred to match a default area, as
it doesn't make sense to have a per-region default.
2010-12-04 15:38:41 +01:00
Carlos Garnacho
34b91a74e5
Document missing value in GtkStateFlags
2010-12-04 15:38:30 +01:00