Timm Bäder
9ab43dfe9e
spinbutton: Add accessors for (max-)width-chars
2017-07-19 21:27:12 -04:00
Timm Bäder
2cedf1be9c
widget: Remove gtk_widget_set_allocation
2017-07-19 21:27:12 -04:00
Timm Bäder
f736b071b4
spinbutton: Add text property
2017-07-19 21:27:11 -04:00
Daniel Boles
d7b175a3fb
css-overview: Don’t document deleted pseudoclasses
...
Commit b52966a318
stopped the parser from
handling various deprecated pseudoclasses, which were aliases of others,
but it did not update the documentation to reflect that they were gone.
2017-06-22 23:56:44 +01:00
Daniel Boles
6eb58fa67b
css-overview: Fix typo “{with=>which} is disabled”
2017-06-22 20:40:06 +01:00
Matthias Clasen
f135b2527f
center box: complete the baseline support
...
When there is no externally allocated baseline, we should
do the same thing that GtkBox does, and determine one from
the children that want baseline alignment.
This commit adds a GtkCenterBox::baseline-position property
with setters and getters.
2017-06-10 09:14:16 -04:00
Matthias Clasen
e936a35d66
Make GtkCenterBox public
...
It provides functionality that GtkBox used to have,
and is generally useful.
2017-06-04 21:20:27 -04:00
Carlos Garnacho
d9d0c56eb7
gtktoolitem: Remove gtk_tool_item_set_use_drag_window()
...
This API call is not necessary anymore, since it's no longer necessary
to receive events.
2017-05-25 16:25:59 +02:00
Carlos Garnacho
a72404dd5a
gtk: Mass delete all GtkWidget event mask API
...
We now rely on toplevels receiving and forwarding all the events
the windowing should be able to handle. Event masks are no longer a
way to determine whether an event is deliverable ot a widget.
Events will always be delivered in the three captured/target/bubbled
phases, widgets can now just attach GtkEventControllers and let those
handle the events.
2017-05-25 16:25:58 +02:00
Carlos Garnacho
02932bc406
gtkgesture: Drop GdkWindow checks
...
Those are now needless and wrong, as we get guarantees that handled
events will contain widget-relative coordinates. A side effect is
that these events are very possibly not explicitly sent to the
GdkWindow that implementations expect, any extra checks performed
through gtk_gesture_set_window() will be wrong, so the function has
been dropped entirely.
2017-05-25 16:25:58 +02:00
Carlos Garnacho
fee289cd06
gdk: Add gdk_rectangle_contains_point() call
...
A little helper function for a somewhat common operation.
2017-05-25 16:25:58 +02:00
Matthias Clasen
c05b317b1e
Fix the docs build
...
gtk-doc behavior changed, it seems, and these options now
cause the build to break.
2017-05-22 17:35:58 -04:00
Emmanuele Bassi
db2c80d9db
meson: Generate man pages for the installed tools
2017-05-05 11:35:31 +01:00
Timm Bäder
3d21128dbb
Remove gtk_widget_get_preferred_*
...
They are unnecessary now that we have gtk_widget_measure.
2017-05-05 11:18:25 +02:00
Emmanuele Bassi
8acf5a8174
build: Update autotools for API reference changes
2017-05-03 15:10:58 +01:00
Emmanuele Bassi
c984c3b55e
build: Initial attempt at fixing the docs build
...
We need to reference the types file directly, because it won't be copied
into the builddir by Meson — except for GTK, which needs to generate its
own types file using configure_file().
2017-05-03 15:10:57 +01:00
Emmanuele Bassi
ba87e857e2
build: Generate the API references (WIP)
...
Still a work in progress.
2017-05-03 15:10:57 +01:00
Emmanuele Bassi
f942aa53e2
docs: Rename files to match type and version
...
The main GDK API reference index is XML, not SGML.
The overrides file is for GDK 4.x, not 3.x.
2017-05-03 15:10:56 +01:00
Emmanuele Bassi
98b1075764
gdk: Remove GdkX11DisplayManager from the build
...
We don't instantiate it, and we don't use it any more.
2017-05-03 14:15:57 +01:00
Matthias Clasen
92b0d2e8ea
Remove GtkWindow::hide-titlebar-when-maximized
...
This was only every implemented under X11, and with CSD,
this is clearly in the application realm. We should not
pretend that we can support it on the toolkit level.
https://bugzilla.gnome.org/show_bug.cgi?id=775061
2017-05-01 13:26:46 -04:00
Timm Bäder
bb1deaafa4
migration guide: Extend GtkBox child property section
...
Mention the removed expand and fill child properties as well.
2017-04-28 17:14:10 +02:00
Timm Bäder
db4b1d28f5
label: Remove angle property
2017-04-25 20:30:37 +02:00
Timm Bäder
fb927d1993
box: Remove center child
2017-04-25 20:30:37 +02:00
Timm Bäder
c92b7d4224
box: Remove fill child property
...
GtkWidget:halign and GtkWidget:valign are sufficient
2017-04-25 20:30:37 +02:00
Timm Bäder
5729ea7744
box: Remove expand child property
...
GtkWidget already has hexpand/vexpand properties.
2017-04-25 20:30:37 +02:00
Timm Bäder
ba363fbb71
widget: Add gtk_widget_insert_before/after
...
To insert a widget into the widget tree before or after a child widget
of the soon-to-be parent.
2017-04-25 20:29:02 +02:00
Timm Bäder
d5c6692104
gtk4-sections: Add missing GtkWidget child/sibling accessors
2017-04-24 14:15:57 +02:00
Jeremy Bicha
fc70267158
docs: Use https for more links
...
https://bugzilla.gnome.org/show_bug.cgi?id=780878
2017-04-03 16:02:22 -04:00
Jeremy Bicha
183e5bb8a4
docs: Point links to correct versions
...
https://bugzilla.gnome.org/show_bug.cgi?id=780878
2017-04-03 16:02:22 -04:00
Timm Bäder
0ce9f26dc5
window: Remove has-toplevel-focus property
...
Since embedded toplevels don't exist anymore, :has-toplevel-focus is
equivalent to :active.
2017-03-31 09:50:39 +02:00
Timm Bäder
6353433f0e
Make gtk_container_set_focus_child private
2017-03-31 09:50:39 +02:00
Timm Bäder
0d480a3eb0
Remove gtk_container_get_focus_child
2017-03-31 09:50:39 +02:00
Matthias Clasen
e70380a4dd
Document GTK_INSPECTOR_RENDERER
...
Also add GTK_INSPECTOR_DISPLAY to the docs at the same time.
2017-03-30 09:15:22 -04:00
Daniel Boles
a2b72f89e2
css-overview: Fix inconsistent British English use
2017-03-18 12:31:29 +00:00
Daniel Boles
c3892874cb
css-overview: Fix+Explain color expr number ranges
...
Last try, promise. They don’t all use 0 to 1. We should probably explain
the effects too. Hopefully this manages that while not being too verbose
2017-03-18 01:17:14 +00:00
Daniel Boles
e5ae946be3
css-overview: Elaborate how color expressions work
2017-03-17 23:56:25 +00:00
Daniel Boles
a69083c95e
docs/css-overview: Fix color functions’ arg orders
...
shade/alpha/mix() take colour(s) and a number that is the ratio by which
to transform them. It was written here that these shall be passed in the
order (number, colour). That was wrong: they must be passed in the order
(colour[s], number) to work, and for the Inspector not to flag an error.
2017-03-17 23:31:41 +00:00
Murray Cumming
158015be6c
docs: Remove mentions of gtk_init_with_args().
...
Because it has been removed: See commit 7e8eb3ddcd
2017-03-17 21:12:12 +01:00
Timm Bäder
f860ff8647
widget: Remove get_valign_with_baseline
...
This only existed for backwards compat reasons which aren't interesting
for gtk4.
2017-03-05 15:18:32 +01:00
Daniel Boles
385e1236a7
docs/css-properties: Fix info on 3value properties
...
https://developer.mozilla.org/en/docs/Web/CSS/margin#Values
2017-02-17 15:18:24 +00:00
Chris Martin
705fc62840
getting-started: typo tie->the
...
https://bugzilla.gnome.org/show_bug.cgi?id=775864
2017-02-05 20:02:10 +00:00
Timm Bäder
2aea8dfee9
togglebutton: Move :inconsistent to GtkCheckButton
2017-01-30 18:11:00 +01:00
Timm Bäder
66d584ce6e
togglebutton: Move :draw-indicator property to GtkCheckButton
...
It's not used in GtkToggleButton at all, only in GtkCheckButton and
GtkRadioButton.
2017-01-30 18:11:00 +01:00
Timm Bäder
6c6ed7496c
widget: Remove gtk_widget_class_list_style_properties
...
Unused.
2017-01-30 18:11:00 +01:00
Daniel Boles
19e2f347e1
3to4: Fix typo in previous commit
2017-01-21 22:43:50 +00:00
Daniel Boles
0a347c6ff2
3to4: Fix suggested replacements for border-width
...
The new CSS border-spacing does what Grid::(row|column)_spacing and
Box::spacing already did, i.e. controlling the space added between child
widgets, so it’s not a replacement for Container::border-width.
2017-01-21 22:39:06 +00:00
Daniel Boles
439fcf7578
combobox: Remove property cell-area
...
The CellArea is going to become a pure implementation detail & be moved
to the .ui, instead of letting users mess with it (if anyone ever did).
2017-01-21 21:34:45 +00:00
Timm Bäder
f4341ee9f7
widget: Remove show-all property
...
Doesn't make sense anymore now that gtk_widget_show_all is gone.
2017-01-20 21:37:07 +01:00
Timm Bäder
ea897c6df4
Remove gtk_widget_show_all
2017-01-20 21:37:04 +01:00
Matthias Clasen
47bc8603b0
Add a section about initialization to the migration guide
...
Just the facts.
2017-01-19 13:53:11 -05:00