comparison gtk3/dw.c @ 1926:3c60066cb16f

Added dw_mle_set_auto_complete() stubs for GTK2/3.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 20 Apr 2017 10:56:46 +0000
parents bc70b3e9dbb1
children 25da63f0eddc
comparison
equal deleted inserted replaced
1925:0448507827e6 1926:3c60066cb16f
1 /* 1 /*
2 * Dynamic Windows: 2 * Dynamic Windows:
3 * A GTK like cross-platform GUI 3 * A GTK like cross-platform GUI
4 * GTK3 forwarder module for portabilty. 4 * GTK3 forwarder module for portabilty.
5 * 5 *
6 * (C) 2000-2016 Brian Smith <brian@dbsoft.org> 6 * (C) 2000-2017 Brian Smith <brian@dbsoft.org>
7 * (C) 2003-2011 Mark Hessling <mark@rexx.org> 7 * (C) 2003-2011 Mark Hessling <mark@rexx.org>
8 * (C) 2002 Nickolay V. Shmyrev <shmyrev@yandex.ru> 8 * (C) 2002 Nickolay V. Shmyrev <shmyrev@yandex.ru>
9 */ 9 */
10 #include "config.h" 10 #include "config.h"
11 #include "dw.h" 11 #include "dw.h"
4851 4851
4852 if(tmp && GTK_IS_TEXT_VIEW(tmp)) 4852 if(tmp && GTK_IS_TEXT_VIEW(tmp))
4853 gtk_text_view_set_wrap_mode(GTK_TEXT_VIEW(tmp), state ? GTK_WRAP_WORD : GTK_WRAP_NONE); 4853 gtk_text_view_set_wrap_mode(GTK_TEXT_VIEW(tmp), state ? GTK_WRAP_WORD : GTK_WRAP_NONE);
4854 } 4854 }
4855 DW_MUTEX_UNLOCK; 4855 DW_MUTEX_UNLOCK;
4856 }
4857
4858 /*
4859 * Sets the word auto complete state of an MLE box.
4860 * Parameters:
4861 * handle: Handle to the MLE.
4862 * state: Bitwise combination of DW_MLE_COMPLETE_TEXT/DASH/QUOTE
4863 */
4864 void dw_mle_set_auto_complete(HWND handle, int state)
4865 {
4856 } 4866 }
4857 4867
4858 /* 4868 /*
4859 * Sets the current cursor position of an MLE box. 4869 * Sets the current cursor position of an MLE box.
4860 * Parameters: 4870 * Parameters: