Jeremie Laval
946c24405c
Add ForeignPlug widget
...
This widget serves as a barrier between toolkit, only bridge toolkit (i.e. GtkMac) implements it with whatever specific mechanism they have to host a toolkit widget hierarchy into another toolkit widget hierarchy.
In practise that means the parent and the child of a ForeignPlug are from two different toolkits.
2012-07-26 16:41:54 +01:00
Jeremie Laval
4fbaff92dc
Remove staticness from WidgetRegistry.
...
This allow to have different registry instance for different toolkit and to use them at the same time. The staticness is still present through a static property in WidgetRegistry giving the "main" registry.
2012-07-26 16:41:53 +01:00
Jeremie Laval
f49902c09a
Update Popover API to be simpler
2012-07-26 16:41:53 +01:00
Jeremie Laval
0a9b79dca0
Add Expander widget + Gtk and Mac implementation
...
Also add a sample to the widget factory
2012-07-26 16:41:53 +01:00
Alan McGovern
8224377adc
Update the csprojs
2012-07-26 15:47:53 +01:00
Lluis Sanchez
64aa15d232
Fix window position when shown for the first time
2012-06-25 11:34:56 +02:00
Jeremie Laval
226d840c49
[Popover] Pass widget as a reference instead of position
2012-06-22 19:24:07 +01:00
Jeremie Laval
3c983994da
Add some missing headers
2012-06-22 19:24:07 +01:00
Alan McGovern
f4a5f70762
[Xwt] Make Xwt.Size serializable
2012-06-22 14:11:52 +01:00
Jeremie Laval
8a9950ac6a
[SpinButton] Allow to set ButtonStyle on the spinner
2012-06-14 16:38:31 +01:00
Alex Corrado
e27467c5aa
Make TransferDataSource.AddValue generic so the static type of the value can be used
...
This enables:
TBase value = new TDerived ();
drag.Data.AddValue (value);
...
args.Data.GetValue<TBase> ()
2012-06-13 18:52:30 -04:00
Jeremie Laval
feeb8bc3ae
Implement correct event sink boilerplate for SpinButton
2012-06-05 15:02:15 +01:00
Jeremie Laval
d0ec4fcc4b
Implement correct event sink boilerplate for DatePicker
2012-06-05 15:01:55 +01:00
Jeremie Laval
261db46096
Add a DatePicker widget and its Gtk backend
2012-06-05 13:40:19 +01:00
Alan McGovern
49a69ff4a8
[Xwt] Add [Serializable] to Point and Rectangle
...
This allows them to be used as part of drag and drop or copy/paste
to/from clipboard.
2012-05-23 15:42:55 +01:00
Jeremie Laval
e35b890636
Revert "[WindowFrame] Add support for setting window opacity"
...
Not useful for now
This reverts commit e79ecc19a9
.
2012-05-17 18:16:58 +01:00
Jeremie Laval
2d5c104db5
Add Popover widget/dialog
...
Conflicts:
Xwt.Gtk/Xwt.Gtk.csproj
Xwt.Gtk/Xwt.GtkBackend/GtkEngine.cs
Xwt/Xwt.csproj
2012-05-17 17:20:49 +01:00
Jeremie Laval
8f56ffe768
Add SpinButton widget
...
Conflicts:
Xwt.Gtk/Xwt.GtkBackend/GtkEngine.cs
2012-05-17 17:19:08 +01:00
Jeremie Laval
e79ecc19a9
[WindowFrame] Add support for setting window opacity
2012-05-17 17:18:11 +01:00
Lluis Sanchez
a7f037765f
Set the window position when it is shown
2012-05-16 19:46:31 +02:00
Lluis Sanchez
9d27735276
[ImageBuilder] Don't access managed objects in the finalizer
2012-05-16 16:35:51 +02:00
Lluis Sanchez
0b0496ea85
Merge pull request #117 from knocte/master
...
ProgressBar widget implemented for XWT, 3 backends included
2012-05-15 12:24:03 -07:00
Andres G. Aragoneses
5566ee96c2
ProgressBar: correct some headers
2012-05-14 20:32:22 +01:00
Lluis Sanchez
95f89f810b
Make Image implement IDisposable
2012-05-14 16:45:36 +02:00
Andres G. Aragoneses
84f3f0927c
ProgressBar: improve API
...
As adviced by Lluis, a new property Indeterminate is added,
to make it more understandable on what mode of the widget is
being used (instead of a Nullable Fraction property).
Also, as the default value for a bool is false, and it is
better to start the GLib.Timeout loop when indicated by the
user (by changing its Indeterminate value to true) in the
Gtk backend, now Indeterminate is false by default, and the
initial fraction is 0.0.
2012-05-14 19:59:40 +01:00
Andres G. Aragoneses
193d1e2102
ProgressBar: convert comment to a TODO item
...
It is not really a limitation since this could be workarounded
in the Gtk backend, as pointed out by Lluis.
2012-05-14 19:37:30 +01:00
Andres G. Aragoneses
df8f3f3803
ProgressBar: add validation for Fraction setter
...
Gtk backend doesn't allow setting a MinValue or MaxValue, so Xwt
uses the same assumed max and min values by the Gtk backend, and
adjust the other 2 backends to this limits.
2012-05-14 00:28:30 +01:00
Andres G. Aragoneses
4608d3027c
ProgressBar: remove unneeded API, and add a basic API for Fraction
...
This makes Xwt.ProgressBar API very simple: just a Fraction property
which is nullable.
If the value is null, progress bar will be indeterminate. If the value
is not null, the bar
will be determinate.
Samples now includes the 2 types of ProgressBar. This has been tested
successfully
in GTK. Next backends will be adjusted after this commit.
2012-05-13 21:53:14 +01:00
Lluis Sanchez
472ac66b13
Added Handled property to mouse events
...
Replaced CancelEvent method in keyboard events by
a Handled property.
2012-05-09 13:51:55 +02:00
lytico
bf7d30d2c7
added missing using
2012-05-04 16:10:57 +02:00
lytico
356e12e906
adjusted ToString in Point, Rectangle, Size
2012-05-04 16:06:23 +02:00
Andres G. Aragoneses
9a65e2d85d
ProgressBar: first draft, which already works in Mac
...
Basically copy+pasted from Button sources and modified from there.
Next commits will cleanup unused elements.
2012-04-29 21:37:42 +01:00
Lluis Sanchez
333cd966b8
Merge pull request #107 from knocte/shown_and_hidden_in_mac
...
Mac: implement Shown and Hidden events for Window
2012-04-27 10:00:50 -07:00
Andres G. Aragoneses
a9eeb4b4fa
Mac: use [Flags] instead of a HashSet for Shown&Hidden events.
2012-04-24 19:59:52 +01:00
Lluis Sanchez
b5c2fb702e
Added color selector widget with custom implementation
...
Also added support for creating widget backends using
XWT itself.
2012-04-20 13:42:31 +02:00
Lluis Sanchez
fddb81f242
Added Window.Present method
2012-04-20 10:38:15 +02:00
Lluis Sanchez
99b509b2a2
Add Clear method to ListStore
2012-04-19 16:06:42 +02:00
Antony Denyer
77e96b4065
Bind event using MapEvent and virtual method.
2012-04-19 10:10:52 +01:00
Antony Denyer
76d5886857
Make OnHidden protected virtual
2012-04-19 10:02:08 +01:00
Antony Denyer
6df26471e2
Fixed as per @slluis comments
2012-04-18 18:03:40 +01:00
Antony Denyer
c87d3ae886
Window: Add Shown and Hidden events
...
For now we only add support for these events in the WPF backend.
Signed-off-by: Andres G. Aragoneses <andres@7digital.com>
2012-04-18 14:59:44 +01:00
Lluis Sanchez
8c1d88b215
Add dirty rect argument to Canvas.OnDraw
2012-04-18 00:49:51 +02:00
Lluis Sanchez
298ea6de7c
Fix HSL conversions
2012-04-16 17:10:02 +02:00
Lluis Sanchez
97642aa54c
Fix default tree store creation
2012-04-16 17:09:47 +02:00
Lluis Sanchez
28d9d6e063
[Image] Added GetPixel and SetPixel
2012-04-16 17:09:27 +02:00
Lluis Sanchez
3fc91bc40b
Add dirty rect parameter to Canvas.OnDraw
2012-04-16 16:08:54 +02:00
Lluis Sanchez
c8ea6a49e5
Merge pull request #100 from knocte/master
...
StatusIcon support (Mac only for now)
2012-04-15 01:56:31 -07:00
Andres G. Aragoneses
7577226127
StatusIcon: dispose properly
...
Override Dispose method of Component class, so it calls the backend's
Dispose method.
2012-04-14 11:24:14 +01:00
Andres G. Aragoneses
3bb3e98051
StatusIcon: rework API
...
Rework API of StatusIcon so it can only be created by calling a static
method in Application class, like Lluis suggested.
2012-04-14 11:04:36 +01:00
Andres G. Aragoneses
207cb68722
StatusIcon: Expose Menu as a property
...
Rather than initializing the menu in the constructor, it will be now
accessed via a property like Lluis suggested.
2012-04-13 04:36:49 +01:00