fix some git url refs
This commit is contained in:
parent
26afdbdcad
commit
d6888cdc25
|
@ -11,7 +11,7 @@ Clouseau is the EFL user interface inspection tool. It is designed to make it ea
|
|||
Clouseau is available from the Enlightenment git repository using the following command:
|
||||
|
||||
```bash
|
||||
git clone https://git.enlightenment.org/tools/clouseau.git
|
||||
git clone https://git.enlightenment.org/enlightenment/clouseau.git
|
||||
```
|
||||
|
||||
## Debugging with Clouseau ##
|
||||
|
@ -139,4 +139,4 @@ This will display all the program's objects, demonstrating that widgets are just
|
|||
|
||||
Highlighted in yellow is the ``Efl.Ui.Box``, which is an ``Efl.Canvas.Box`` composed of an ``Efl.Canvas.Rectangle``, an ``Efl.Ui.Text`` and an ``Efl.Ui.Button``.
|
||||
|
||||
A Button widget is an Efl.Ui.Button which is composed of four ``Efl.Canvas.Rectangle``, one ``Efl.Canvas.Image`` and two ``Efl.Canvas.Text``.
|
||||
A Button widget is an Efl.Ui.Button which is composed of four ``Efl.Canvas.Rectangle``, one ``Efl.Canvas.Image`` and two ``Efl.Canvas.Text``.
|
||||
|
|
|
@ -9,7 +9,7 @@ EFL is event-driven. This means that execution usually takes place within an int
|
|||
|
||||
Events play a central role in EFL. In this guide, you'll learn more about the required methods to handle them.
|
||||
|
||||
You can also find usage examples in the EFL examples repository: [reference/c/core/src/core_event.c](https://git.enlightenment.org/tools/examples.git/tree/reference/c/core/src/core_event.c)
|
||||
You can also find usage examples in the EFL examples repository: [reference/c/core/src/core_event.c](https://git.enlightenment.org/enlightenment/examples/src/branch/master/reference/c/core/src/core_event.c)
|
||||
|
||||
## Prerequisites ##
|
||||
|
||||
|
@ -54,7 +54,7 @@ The parameters here have the same meaning as for ``efl_event_callback_add()``. N
|
|||
> **NOTE:**
|
||||
> Registering and unregistering callbacks is an resource-intensive process. If you perform these operations continuously on several callbacks at the same time do so in a batch as this is more efficient. You can use ``efl_even_callback_array_add()`` and ``efl_even_callback_array_del()`` to accomplish this. Remember however that you can't unregister an individual callback which has been registered in a batch. They must all be unregistered together.
|
||||
|
||||
Below is an example code snippet based on [reference/c/core/src/core_event.c](https://git.enlightenment.org/tools/examples.git/tree/reference/c/core/src/core_event.c):
|
||||
Below is an example code snippet based on [reference/c/core/src/core_event.c](https://git.enlightenment.org/enlightenment/examples/src/branch/master/reference/c/core/src/core_event.c):
|
||||
|
||||
```c
|
||||
static void
|
||||
|
@ -120,7 +120,7 @@ Now emit the event using ``efl_event_callback_call()``:
|
|||
*event_info* will be passed to the callback through the ``event->info`` parameter. Its meaning is completely up to you as the event creator.
|
||||
|
||||
## Further Reading ##
|
||||
[reference/c/core/src/core_event.c](https://git.enlightenment.org/tools/examples.git/tree/reference/c/core/src/core_event.c)
|
||||
[reference/c/core/src/core_event.c](https://git.enlightenment.org/enlightenment/examples/src/branch/master/reference/c/core/src/core_event.c)
|
||||
: EFL examples repository
|
||||
|
||||
[``Efl.Object`` API Reference](/develop/api/efl/object)
|
||||
|
|
|
@ -99,7 +99,7 @@ Read the entire documentation in ``Efl.Io.File`` [API Reference guide](/develop/
|
|||
|
||||
You can use this object in a similar way as you would a plain ``FILE *`` in C in that you create it, give it a filename, perform some read or write operations and then destroy the object.
|
||||
|
||||
Here's an example from the EFL examples repository: [reference/c/core/src/core_io.c](https://git.enlightenment.org/tools/examples.git/tree/reference/c/core/src/core_io.c)
|
||||
Here's an example from the EFL examples repository: [reference/c/core/src/core_io.c](https://git.enlightenment.org/enlightenment/examples/src/branch/master/reference/c/core/src/core_io.c)
|
||||
|
||||
```c
|
||||
Eina_Slice content = EINA_SLICE_STR("### This is a sample string for the file io test ###");
|
||||
|
@ -159,7 +159,7 @@ efl_io_closer_close(send_queue);
|
|||
efl_unref(send_queue);
|
||||
```
|
||||
|
||||
More usage examples can be found in the EFL examples repository: [reference/c/net/src/net_io.c](https://git.enlightenment.org/tools/examples.git/tree/reference/c/net/src/net_io.c)
|
||||
More usage examples can be found in the EFL examples repository: [reference/c/net/src/net_io.c](https://git.enlightenment.org/enlightenment/examples/src/branch/master/reference/c/net/src/net_io.c)
|
||||
|
||||
### ``Efl.Io.Buffer`` ###
|
||||
|
||||
|
@ -217,7 +217,7 @@ The most representative methods of ``Efl.Io.Copier`` are:
|
|||
|
||||
* ``EFL_IO_COPIER_EVENT_PROGRESS`` is emitted when the amount of bytes read, written or total changes.
|
||||
|
||||
Here's an usage example extracted from the EFL examples repository [reference/c/core/src/core_io.c](https://git.enlightenment.org/tools/examples.git/tree/reference/c/core/src/core_io.c). It copies data from *stdin* to *stdout* until ``Ctrl+D`` is pressed:
|
||||
Here's an usage example extracted from the EFL examples repository [reference/c/core/src/core_io.c](https://git.enlightenment.org/enlightenment/examples/src/branch/master/reference/c/core/src/core_io.c). It copies data from *stdin* to *stdout* until ``Ctrl+D`` is pressed:
|
||||
|
||||
```c
|
||||
EFL_CALLBACKS_ARRAY_DEFINE(copier_cbs,
|
||||
|
@ -244,7 +244,7 @@ EFL_CALLBACKS_ARRAY_DEFINE(copier_cbs,
|
|||
|
||||
To discover how different events are registered through a single callback array read the [Events Programming Guide](/develop/guides/c/core/events.md).
|
||||
|
||||
A more complex usage example can be found in the EFL examples repository [reference/c/net/src/net_io.c](https://git.enlightenment.org/tools/examples.git/tree/reference/c/net/src/net_io.c). It sends commands to an HTTP server using an ``Efl.Io.Copier`` which reads from an ``Efl.Io.Queue``. It then receives answers using a second ``Efl.Io.Copier`` and another ``Efl.Io.Queue``.
|
||||
A more complex usage example can be found in the EFL examples repository [reference/c/net/src/net_io.c](https://git.enlightenment.org/enlightenment/examples/src/branch/master/reference/c/net/src/net_io.c). It sends commands to an HTTP server using an ``Efl.Io.Copier`` which reads from an ``Efl.Io.Queue``. It then receives answers using a second ``Efl.Io.Copier`` and another ``Efl.Io.Queue``.
|
||||
|
||||
### ``Efl.Io.Buffered_Stream`` ###
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ efl_main(void *data, const Efl_Event *ev)
|
|||
|
||||
Timers allow events to be triggered periodically after the given time has elapsed. After an event callback has been registered with the timer, it will be called at regular intervals.
|
||||
|
||||
You can find usage examples in the EFL repository: [reference/c/core/src/core_idler.c](https://git.enlightenment.org/tools/examples.git/tree/reference/c/core/src/core_idler.c) and [reference/c/core/src/core_poll.c](https://git.enlightenment.org/tools/examples.git/tree/reference/c/core/src/core_poll.c).
|
||||
You can find usage examples in the EFL repository: [reference/c/core/src/core_idler.c](https://git.enlightenment.org/enlightenment/examples/src/branch/master/reference/c/core/src/core_idler.c) and [reference/c/core/src/core_poll.c](https://git.enlightenment.org/enlightenment/examples/src/branch/master/reference/c/core/src/core_poll.c).
|
||||
|
||||
### Creating and Destroying Timers ###
|
||||
|
||||
|
@ -114,7 +114,7 @@ efl_event_thaw(timer_object);
|
|||
|
||||
EFL can monitor the system's file descriptor activity through ``Efl.Loop.Fd`` objects and trigger relevant events.
|
||||
|
||||
You can find usage examples in the EFL examples repository: [reference/c/core/src/core_loop.c](https://git.enlightenment.org/tools/examples.git/tree/reference/c/core/src/core_loop.c)
|
||||
You can find usage examples in the EFL examples repository: [reference/c/core/src/core_loop.c](https://git.enlightenment.org/enlightenment/examples/src/branch/master/reference/c/core/src/core_loop.c)
|
||||
|
||||
### Creating and Destroying FD Monitors ###
|
||||
|
||||
|
@ -181,7 +181,7 @@ EFL defines three different events you can use to be notified of the above condi
|
|||
|
||||
Register a callback to be notified of these events using ``efl_event_callback_add()``, as outlined in the [Events Programming Guide](events.md).
|
||||
|
||||
You can also view the example in the EFL examples repository: [reference/c/core/src/core_idler.c](https://git.enlightenment.org/tools/examples.git/tree/reference/c/core/src/core_idler.c).
|
||||
You can also view the example in the EFL examples repository: [reference/c/core/src/core_idler.c](https://git.enlightenment.org/enlightenment/examples/src/branch/master/reference/c/core/src/core_idler.c).
|
||||
|
||||
## Polling ##
|
||||
|
||||
|
@ -197,7 +197,7 @@ You can choose from among the predefined polling priorities depending on which e
|
|||
|
||||
The actual polling period is controlled by EFL and can be changed system-wide.
|
||||
|
||||
You can find usage examples in the EFL examples repository: [reference/c/core/src/core_poll.c](https://git.enlightenment.org/tools/examples.git/tree/reference/c/core/src/core_poll.c)
|
||||
You can find usage examples in the EFL examples repository: [reference/c/core/src/core_poll.c](https://git.enlightenment.org/enlightenment/examples/src/branch/master/reference/c/core/src/core_poll.c)
|
||||
|
||||
## Further Reading ##
|
||||
[``Efl.Loop`` API Reference](/develop/api/efl/loop)
|
||||
|
|
|
@ -257,7 +257,7 @@ eina_value_free(hash);
|
|||
Any number of ``Eina_Value``s can be grouped and handled through a single ``Eina_Value_Struct``, just like regular structures in other languages. Upon creation the contents of the structure has to be described through an ``Eina_Value_Struct_Desc`` object.
|
||||
|
||||
|
||||
*Create* a new ``Eina_Value_Struct`` with ``eina_value_struct_new(description)``, or configure an existing one with ``eina_value_struct_setup(description)``. The ``description`` parameter is an object of type ``Eina_Value_Struct_Desc`` which lists the members of the structure, among other things. Look at the [Generic Value API](https://www.enlightenment.org/develop/legacy/api/c/start#group__Eina__Value__Group.html) reference for details, or [this example in the EFL repository](https://git.enlightenment.org/tools/examples.git/tree/reference/c/eina/src/eina_value.c).
|
||||
*Create* a new ``Eina_Value_Struct`` with ``eina_value_struct_new(description)``, or configure an existing one with ``eina_value_struct_setup(description)``. The ``description`` parameter is an object of type ``Eina_Value_Struct_Desc`` which lists the members of the structure, among other things. Look at the [Generic Value API](https://www.enlightenment.org/develop/legacy/api/c/start#group__Eina__Value__Group.html) reference for details, or [this example in the EFL repository](https://git.enlightenment.org/enlightenment/examples/src/branch/master/reference/c/eina/src/eina_value.c).
|
||||
|
||||
*Dispose of* the structure or its contents with ``eina_value_free()`` and ``eina_value_flush()`` respectively.
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ When using this method the widget currently selected will lose the focus and the
|
|||
|
||||
This method can only be used on widgets implementing the ``Efl.Ui.Focus.User`` and ``Efl.Ui.Focus.Object`` interfaces but most widgets inherit from ``Elm.Widget`` which already does this, so you don't have to worry.
|
||||
|
||||
Here's an usage example based on the EFL examples repository [reference/c/ui/src/focus_main.c](https://git.enlightenment.org/tools/examples.git/tree/reference/c/ui/src/focus_main.c):
|
||||
Here's an usage example based on the EFL examples repository [reference/c/ui/src/focus_main.c](https://git.enlightenment.org/enlightenment/examples/src/branch/master/reference/c/ui/src/focus_main.c):
|
||||
|
||||
```c
|
||||
button = efl_add(EFL_UI_BUTTON_CLASS, hbox,
|
||||
|
@ -69,7 +69,7 @@ Here's an usage example based on the EFL examples repository [reference/c/ui/src
|
|||
|
||||
Every time a widget gains or loses the focus, it emits the event ``EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_CHANGED``. You can then retrieve the current focused state of the widget through the ``focus`` property using ``efl_ui_focus_object_focus_get()``.
|
||||
|
||||
Here's an usage example based on the EFL examples repository [reference/c/ui/src/focus_main.c](https://git.enlightenment.org/tools/examples.git/tree/reference/c/ui/src/focus_main.c):
|
||||
Here's an usage example based on the EFL examples repository [reference/c/ui/src/focus_main.c](https://git.enlightenment.org/enlightenment/examples/src/branch/master/reference/c/ui/src/focus_main.c):
|
||||
|
||||
```c
|
||||
static void
|
||||
|
@ -114,5 +114,5 @@ Here's an usage example based on the EFL examples repository [reference/c/ui/src
|
|||
[EFL API Reference guide](/develop/api/)
|
||||
: Detailed documentation on the EFL API.
|
||||
|
||||
[EFL Examples Repository](https://git.enlightenment.org/tools/examples.git/tree/reference/c/ui/src/focus_main.c)
|
||||
[EFL Examples Repository](https://git.enlightenment.org/enlightenment/examples/src/branch/master/reference/c/ui/src/focus_main.c)
|
||||
: Usage example of the focus API.
|
|
@ -8,7 +8,7 @@ Sometimes when building a *user interface (UI)* you need to set the size of some
|
|||
|
||||
A better approach is to set *minimum* and *maximum* values for the size of these elements. This means they can be customized while still allowing for some flexibility.
|
||||
|
||||
You can find an usage example in the [EFL examples repository](https://git.enlightenment.org/tools/examples.git/) in [reference/c/ui/src/ui_sizing.c](https://git.enlightenment.org/tools/examples.git/tree/reference/c/ui/src/ui_sizing.c).
|
||||
You can find an usage example in the [EFL examples repository](https://git.enlightenment.org/tools/examples.git/) in [reference/c/ui/src/ui_sizing.c](https://git.enlightenment.org/enlightenment/examples/src/branch/master/reference/c/ui/src/ui_sizing.c).
|
||||
|
||||
## Prerequisites ##
|
||||
|
||||
|
|
|
@ -62,7 +62,7 @@ Remember that ALL events emitting from a object are stopped if it's frozen, exce
|
|||
|
||||
## Example ##
|
||||
|
||||
Below is the `core_event.cs` example taken from [the examples repository](https://git.enlightenment.org/tools/examples.git/tree/reference/csharp/core/src/core_event.cs):
|
||||
Below is the `core_event.cs` example taken from [the examples repository](https://git.enlightenment.org/enlightenment/examples/src/branch/master/reference/csharp/core/src/core_event.cs):
|
||||
|
||||
```csharp
|
||||
public class Example
|
||||
|
@ -159,7 +159,7 @@ The exact amount of `Poll from Mainloop` messages you get depends on the frequen
|
|||
|
||||
## Further Reading ##
|
||||
|
||||
[`core_event.cs` example](https://git.enlightenment.org/tools/examples.git/tree/reference/csharp/core/src/core_event.cs)
|
||||
[`core_event.cs` example](https://git.enlightenment.org/enlightenment/examples/src/branch/master/reference/csharp/core/src/core_event.cs)
|
||||
: C# Source code for this example.
|
||||
|
||||
[`Efl.Object` API Reference](https://www.enlightenment.org/develop/api/efl/object)
|
||||
|
|
|
@ -34,7 +34,7 @@ This guide will put the application's main loop to a variety of uses.
|
|||
|
||||
Timers allow events to be triggered periodically after the given time has elapsed. After an event callback has been registered with the timer, it will be called at regular intervals.
|
||||
|
||||
You can find usage examples in the [EFL examples repository](https://git.enlightenment.org/tools/examples.git): [`reference/csharp/core/src/core_idler.cs`](https://git.enlightenment.org/tools/examples.git/tree/reference/csharp/core/src/core_idler.cs) and [`reference/csharp/core/src/core_poll.cs`](https://git.enlightenment.org/tools/examples.git/tree/reference/csharp/core/src/core_poll.cs).
|
||||
You can find usage examples in the [EFL examples repository](https://git.enlightenment.org/tools/examples.git): [`reference/csharp/core/src/core_idler.cs`](https://git.enlightenment.org/enlightenment/examples/src/branch/master/reference/csharp/core/src/core_idler.cs) and [`reference/csharp/core/src/core_poll.cs`](https://git.enlightenment.org/enlightenment/examples/src/branch/master/reference/csharp/core/src/core_poll.cs).
|
||||
|
||||
### Creating and Destroying Timers ###
|
||||
|
||||
|
@ -127,7 +127,7 @@ EFL defines three different events you can use to be notified of the above condi
|
|||
|
||||
Register a callback to be notified of these events using the `+=` operator, as described in the [Events Programming Guide](events.md).
|
||||
|
||||
You can also view the example in the EFL examples repository: [`reference/csharp/core/src/core_idler.cs`](https://git.enlightenment.org/tools/examples.git/tree/reference/csharp/core/src/core_idler.cs).
|
||||
You can also view the example in the EFL examples repository: [`reference/csharp/core/src/core_idler.cs`](https://git.enlightenment.org/enlightenment/examples/src/branch/master/reference/csharp/core/src/core_idler.cs).
|
||||
|
||||
## Polling ##
|
||||
|
||||
|
@ -143,7 +143,7 @@ You can choose from among the predefined polling priorities depending on which e
|
|||
|
||||
The actual polling period is controlled by EFL and can be changed system-wide.
|
||||
|
||||
You can find usage examples in the EFL examples repository: [`reference/csharp/core/src/core_poll.cs`](https://git.enlightenment.org/tools/examples.git/tree/reference/csharp/core/src/core_poll.cs)
|
||||
You can find usage examples in the EFL examples repository: [`reference/csharp/core/src/core_poll.cs`](https://git.enlightenment.org/enlightenment/examples/src/branch/master/reference/csharp/core/src/core_poll.cs)
|
||||
|
||||
## Further Reading ##
|
||||
[`Efl.Loop` API Reference](/develop/api/efl/loop)
|
||||
|
|
|
@ -8,7 +8,7 @@ The `Eina` namespace provides data types and useful tools which are not availabl
|
|||
|
||||
The `Eina.Value` class provides storage of and access to generic data, allowing you to store whatever you want in a single `Eina.Value` type. It is meant for simple data types, providing uniform access and release functions for the exchange of data while preserving their types. `Eina.Value` supports a number of predefined types, can be extended with additional user-provided types and can convert between differing data types including strings.
|
||||
|
||||
Examples of `Eina.Value` usage can be found in the [EFL examples git repository](https://git.enlightenment.org/tools/examples.git/) in the file [`reference/csharp/eina/src/eina_value.cs`](https://git.enlightenment.org/tools/examples.git/tree/reference/csharp/eina/src/eina_value.cs).
|
||||
Examples of `Eina.Value` usage can be found in the [EFL examples git repository](https://git.enlightenment.org/tools/examples.git/) in the file [`reference/csharp/eina/src/eina_value.cs`](https://git.enlightenment.org/enlightenment/examples/src/branch/master/reference/csharp/eina/src/eina_value.cs).
|
||||
|
||||
| | WARNING | |
|
||||
| --- | ------- | --- |
|
||||
|
@ -268,7 +268,7 @@ int count = vhash.Count();
|
|||
|
||||
## Further Reading ##
|
||||
|
||||
[Eina Value example](https://git.enlightenment.org/tools/examples.git/tree/reference/csharp/eina/src/eina_value.cs)
|
||||
[Eina Value example](https://git.enlightenment.org/enlightenment/examples/src/branch/master/reference/csharp/eina/src/eina_value.cs)
|
||||
: Miscellaneous usage example for the `Eina.Value` type.
|
||||
|
||||
[Generic Value API](/develop/legacy/api/c/start#group__Eina__Value__Group.html)
|
||||
|
|
|
@ -52,7 +52,7 @@ When using this method the widget currently selected will lose the focus and the
|
|||
|
||||
This method can only be used on widgets implementing the `Efl.Ui.Focus.Object` interface but most widgets inherit from `Efl.Ui.Widget` which already does this, so you don't typically have to worry.
|
||||
|
||||
Here's an usage example taken from the EFL examples repository [`reference/csharp/ui/src/focus_main.cs`](https://git.enlightenment.org/tools/examples.git/tree/reference/csharp/ui/src/focus_main.cs):
|
||||
Here's an usage example taken from the EFL examples repository [`reference/csharp/ui/src/focus_main.cs`](https://git.enlightenment.org/enlightenment/examples/src/branch/master/reference/csharp/ui/src/focus_main.cs):
|
||||
|
||||
```csharp
|
||||
// Manually transfer focus to the first check box
|
||||
|
@ -63,7 +63,7 @@ Efl.Ui.Focus.Util.Focus(first_checkbox);
|
|||
|
||||
Every time a widget gains or loses the focus, it emits the event `FocusChangedEvt`. You can then retrieve the current focused state of the widget through the `GetFocus()` method.
|
||||
|
||||
Here's an usage example taken from the EFL examples repository [`reference/csharp/ui/src/focus_main.cs`](https://git.enlightenment.org/tools/examples.git/tree/reference/csharp/ui/src/focus_main.cs):
|
||||
Here's an usage example taken from the EFL examples repository [`reference/csharp/ui/src/focus_main.cs`](https://git.enlightenment.org/enlightenment/examples/src/branch/master/reference/csharp/ui/src/focus_main.cs):
|
||||
|
||||
```csharp
|
||||
public static void FocusChangedCb(object sender, EventArgs e)
|
||||
|
@ -109,5 +109,5 @@ win.SetFocusHighlightEnabled(true);
|
|||
[EFL API Reference guide](/develop/api/)
|
||||
: Detailed documentation on the EFL API.
|
||||
|
||||
[EFL Examples Repository](https://git.enlightenment.org/tools/examples.git/tree/reference/csharp/ui/src/focus_main.cs)
|
||||
[EFL Examples Repository](https://git.enlightenment.org/enlightenment/examples/src/branch/master/reference/csharp/ui/src/focus_main.cs)
|
||||
: Usage example of the focus API.
|
|
@ -8,7 +8,7 @@ Sometimes when building a *user interface (UI)* you need to set the size of some
|
|||
|
||||
A better approach is to set **minimum** and **maximum** values for the size of these elements. This means they can be customized while still allowing for some flexibility.
|
||||
|
||||
You can find an usage example in the [EFL examples repository](https://git.enlightenment.org/tools/examples.git/) in [`reference/csharp/ui/src/ui_sizing.cs`](https://git.enlightenment.org/tools/examples.git/tree/reference/csharp/ui/src/ui_sizing.cs).
|
||||
You can find an usage example in the [EFL examples repository](https://git.enlightenment.org/tools/examples.git/) in [`reference/csharp/ui/src/ui_sizing.cs`](https://git.enlightenment.org/enlightenment/examples/src/branch/master/reference/csharp/ui/src/ui_sizing.cs).
|
||||
|
||||
| | WARNING | |
|
||||
| --- | ------- | --- |
|
||||
|
|
Loading…
Reference in New Issue