El binding de Vala de Gvn.Value ahora tiene un namespace propio dentro de Gvn.
Ventana principal ahora tiene tamaño mínimo. Modificaciones en la documentación.
This commit is contained in:
parent
0048d83191
commit
1a2d0bdee0
|
@ -30,7 +30,7 @@ typedef struct _DbColumn DbColumn;
|
|||
* DbResult:
|
||||
* @nrows: Number of rows.
|
||||
* @ncols: Number of columns.
|
||||
* @data: (element-type DbRow): Has a #GList.
|
||||
* @data: (element-type DbRow): Has a #GPtrArray.
|
||||
* @column: Has a #DbColumn.
|
||||
*
|
||||
* Has the information of a row.
|
||||
|
@ -59,13 +59,14 @@ DbColumnInfo;
|
|||
|
||||
/**
|
||||
* DbColumn:
|
||||
* @name: Name of the column
|
||||
* @alias: The name given to the column in the query
|
||||
* @table: Name of the table
|
||||
* @table_alias: The name given to the table in the query
|
||||
* @info: A #DbColumnInfo
|
||||
* @spec: A #GvnParamSpec
|
||||
* @table: Name of the table
|
||||
* @name: Name of the column
|
||||
* @display: The name given to it in the query
|
||||
*
|
||||
* Has the information of a column.
|
||||
* The information of a column.
|
||||
**/
|
||||
struct _DbColumn
|
||||
{
|
||||
|
|
|
@ -72,6 +72,7 @@
|
|||
<title>SqlLib</title>
|
||||
<xi:include href="xml/sql-parser.xml"/>
|
||||
<xi:include href="xml/sql-render.xml"/>
|
||||
<xi:include href="xml/sql-batch.xml"/>
|
||||
<xi:include href="xml/sql-object.xml"/>
|
||||
<xi:include href="xml/sql-stmt.xml"/>
|
||||
<xi:include href="xml/sql-expr.xml"/>
|
||||
|
@ -119,15 +120,16 @@
|
|||
</chapter>
|
||||
<chapter id="vnfield">
|
||||
<title>Fields</title>
|
||||
<xi:include href="xml/vn-entry.xml"/>
|
||||
<xi:include href="xml/vn-image.xml"/>
|
||||
<xi:include href="xml/vn-spin.xml"/>
|
||||
<xi:include href="xml/vn-calendar.xml"/>
|
||||
<xi:include href="xml/vn-check.xml"/>
|
||||
<xi:include href="xml/vn-combo.xml"/>
|
||||
<xi:include href="xml/vn-date-chooser.xml"/>
|
||||
<xi:include href="xml/vn-completion.xml"/>
|
||||
<xi:include href="xml/vn-date-chooser.xml"/>
|
||||
<xi:include href="xml/vn-entry.xml"/>
|
||||
<xi:include href="xml/vn-http-image.xml"/>
|
||||
<xi:include href="xml/vn-image.xml"/>
|
||||
<xi:include href="xml/vn-label.xml"/>
|
||||
<xi:include href="xml/vn-spin.xml"/>
|
||||
</chapter>
|
||||
<chapter id="vncolumn">
|
||||
<title>Columns</title>
|
||||
|
|
|
@ -24,16 +24,6 @@
|
|||
* @Title: Miscelaneous utility functions
|
||||
**/
|
||||
|
||||
/**
|
||||
* gvn_object_warning:
|
||||
* @instance: the object instance within which the warning was emitted
|
||||
* @message: (allow-none): a string with the message to show or #NULL
|
||||
*
|
||||
* Prints a more verbose warning message than g_warning(), showing the type of
|
||||
* the object @instance, the file and line from where it's been called and
|
||||
* @message, if any.
|
||||
**/
|
||||
|
||||
/**
|
||||
* gvn_key_file_save:
|
||||
* @self: a #GKeyFile
|
||||
|
|
|
@ -19,11 +19,13 @@
|
|||
#include "sql-value.h"
|
||||
|
||||
/**
|
||||
* SECTION: sql_batch
|
||||
* @Short_description: represents an SQL statement or a part of it
|
||||
* SECTION: sql-batch
|
||||
* @Short_description: binds identifiers with #SqlObject
|
||||
* @Title: SqlBatch
|
||||
*
|
||||
* The #SqlBatch is the base class for all objects in SqlLib.
|
||||
* The #SqlBatch is a collection of identifiers bound to #SqlObject in
|
||||
* an SQL statement. These identifiers are replaced by the value represented
|
||||
* by the #SqlObject when the statement is renderend.
|
||||
**/
|
||||
G_DEFINE_TYPE (SqlBatch, sql_batch, G_TYPE_INITIALLY_UNOWNED);
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Gvn cheader_filename="gvn/gvn.h"
|
||||
|
||||
value_new_with_content skip=false
|
||||
value_get_valist skip=false
|
||||
value_new_with_content skip=false parent="Gvn.Value" name="new_with_content"
|
||||
value_get_valist skip=false parent="Gvn.Value" name="get_valist"
|
||||
|
||||
Param.value_changed#method name="emit_value_changed"
|
||||
|
||||
|
|
|
@ -25,12 +25,17 @@ G_DEFINE_TYPE_WITH_CODE (VnModel, vn_model, DB_TYPE_MODEL,
|
|||
vn_model_buildable_init)
|
||||
);
|
||||
|
||||
/* GtkBuildable custom tag implementation
|
||||
*
|
||||
/* GtkBuildable custom tag implementation:
|
||||
*
|
||||
* <links>
|
||||
* <link field="db.table.field" param="param-id"/>
|
||||
* <link field="db.table.field" param="param-id" linked="true"/>
|
||||
* ...
|
||||
* </links>
|
||||
*
|
||||
* <batch>
|
||||
* <holder id="id" param="param-id"/>
|
||||
* ...
|
||||
* </batch>
|
||||
*/
|
||||
|
||||
typedef struct
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
<requires lib="gtk+" version="3.0"/>
|
||||
<!-- interface-local-resource-path ../image -->
|
||||
<object class="GtkApplicationWindow" id="window">
|
||||
<property name="width_request">500</property>
|
||||
<property name="height_request">500</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="window_position">center</property>
|
||||
<property name="icon">../image/icon.svg</property>
|
||||
|
|
Reference in New Issue