talkatu/talkatu

Parents 3177361bc399
Children c7a4815f9984
Clean up some docs that were missed when TalkatuInput was split out of TalkatuView
--- a/talkatu/reference/talkatu-docs.xml Wed Feb 05 00:24:08 2020 -0600
+++ b/talkatu/reference/talkatu-docs.xml Wed Feb 05 00:33:41 2020 -0600
@@ -40,6 +40,8 @@
<xi:include href="xml/talkatuhistorybuffer.xml"/>
<xi:include href="xml/talkatuhistory.xml"/>
+ <xi:include href="xml/talkatuinput.xml"/>
+
<xi:include href="xml/talkatueditor.xml"/>
<xi:include href="xml/talkatuview.xml"/>
--- a/talkatu/talkatuinput.c Wed Feb 05 00:24:08 2020 -0600
+++ b/talkatu/talkatuinput.c Wed Feb 05 00:33:41 2020 -0600
@@ -27,6 +27,40 @@
#include "talkatu/talkatumarkup.h"
#include "talkatu/talkatumessage.h"
+/**
+ * SECTION:talkatuinput
+ * @Title: Input Widget
+ * @Short_description: The main Talkatu input widget.
+ *
+ * #TalkatuInput handles all of the details for sending messages.
+ */
+
+/**
+ * TALKATU_TYPE_INPUT:
+ *
+ * The standard _get_type macro for #TalkatuInput.
+ */
+
+/**
+ * TalkatuInputClass:
+ * @should_send_message: The class handler for the
+ * #TalkatuInput::should_send_message signal.
+ * @send_message: The class handler for the #TalkatuInput::send_message signal.
+ *
+ * The backing class to #TalkatuInput instances.
+ */
+
+/**
+ * TalkatuInputSendBinding:
+ * @TALKATU_INPUT_SEND_BINDING_RETURN: Represents return.
+ * @TALKATU_INPUT_SEND_BINDING_KP_ENTER: Represents enter.
+ * @TALKATU_INPUT_SEND_BINDING_SHIFT_RETURN: Represents shift-return.
+ * @TALKATU_INPUT_SEND_BINDING_CONTROL_RETURN: Represents control-return.
+ *
+ * Flags for assigning and determining which key bindings should be used to
+ * send a message.
+ */
+
typedef struct {
TalkatuView parent;
--- a/talkatu/talkatuview.c Wed Feb 05 00:24:08 2020 -0600
+++ b/talkatu/talkatuview.c Wed Feb 05 00:33:41 2020 -0600
@@ -48,26 +48,12 @@
* TalkatuViewClass:
* @format_activate: The class handler for the #TalkatuView::format_activate
* signal.
- * @should_send_message: The class handler for the
- * #TalkatuView::should_send_message signal.
- * @send_message: The class handler for the #TalkatuView::send_message signal.
* @open_url: The class handler for the #TalkatuView::open_url signal.
*
* The backing class to #TalkatuView instances.
*/
/**
- * TalkatuViewSendBinding:
- * @TALKATU_VIEW_SEND_BINDING_RETURN: Represents return.
- * @TALKATU_VIEW_SEND_BINDING_KP_ENTER: Represents enter.
- * @TALKATU_VIEW_SEND_BINDING_SHIFT_RETURN: Represents shift-return.
- * @TALKATU_VIEW_SEND_BINDING_CONTROL_RETURN: Represents control-return.
- *
- * Flags for assigning and determining which key bindings should be used to
- * send a message.
- */
-
-/**
* TalkatuView:
*
* A #GtkTextView subclass that's preconfigured with a #TalkatuBuffer.