Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
CFxMainFrame.cs
Go to the documentation of this file.
1//------------------------------------------------------------------------------
2// <auto-generated />
3//
4// This file was automatically generated by SWIG (http://www.swig.org).
5// Version 4.0.2
6//
7// Do not make changes to this file unless you know what you are doing--modify
8// the SWIG interface file instead.
9//------------------------------------------------------------------------------
10
11namespace PCAD_DOT_NET {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16using Teigha.TD;
17
18public class CFxMainFrame : global::System.IDisposable {
19 private Object locker = new Object();
20 private HandleRef swigCPtr;
21 protected bool swigCMemOwn;
22 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
23 public CFxMainFrame(IntPtr cPtr, bool cMemoryOwn) {
24 swigCMemOwn = cMemoryOwn;
25 swigCPtr = new HandleRef(this, cPtr);
26 }
27 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
28 public static HandleRef getCPtr(CFxMainFrame obj) {
29 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
30 }
31
33 Dispose(false);
34 }
35
36 public void Dispose() {
37 Dispose(true);
38 global::System.GC.SuppressFinalize(this);
39 }
40
41 protected virtual void Dispose(bool disposing) {
42 lock(this) {
43 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
44 if (swigCMemOwn) {
45 swigCMemOwn = false;
47 }
48 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
49 }
50 }
51 }
52
53 public virtual CFxStatusBar GetStatusBar() {
54 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxMainFrame_GetStatusBar(swigCPtr);
55 CFxStatusBar ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxStatusBar(cPtr, false);
57 return ret;
58 }
59
60 public virtual IntPtr GetWindowHandle() {
61// test csout
62 /*SIMPLETYPE*/
65 return ret;
66 }
67
69 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxMainFrame_GetFxWidget(swigCPtr);
70 SWIGTYPE_p_CFxContainerWidget ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_CFxContainerWidget(cPtr, false);
72 return ret;
73 }
74
75 public virtual IntPtr GetCommandLineWindowHandle() {
76// test csout
77 /*SIMPLETYPE*/
80 return ret;
81 }
82
83 public virtual IntPtr GetCommandHistoryWindowHandle() {
84// test csout
85 /*SIMPLETYPE*/
88 return ret;
89 }
90
91 public virtual CFxString GetInput() {
94 return ret;
95 }
96
97 public virtual void SetInput(CFxString str) {
100 }
101
102 public virtual void ShowPropertiesWindow(bool bShow) {
105 }
106
107 public virtual void ShowCommandWindow(bool bShow) {
110 }
111
112 public virtual void ShowMatrixToolbarWindow(bool bShow) {
115 }
116
117 public virtual bool IsTextWindowVisible() {
120 return ret;
121 }
122
123 public virtual void ClearCommandWindow() {
126 }
127
128 public virtual void ShowTextWindow(bool bShow) {
131 }
132
133 public class CFxCommandWindowInfo : global::System.IDisposable {
134 private Object locker = new Object();
135 private HandleRef swigCPtr;
136 protected bool swigCMemOwn;
137 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
138 public CFxCommandWindowInfo(IntPtr cPtr, bool cMemoryOwn) {
139 swigCMemOwn = cMemoryOwn;
140 swigCPtr = new HandleRef(this, cPtr);
141 }
142 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
143 public static HandleRef getCPtr(CFxCommandWindowInfo obj) {
144 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
145 }
146
148 Dispose(false);
149 }
150
151 public void Dispose() {
152 Dispose(true);
153 global::System.GC.SuppressFinalize(this);
154 }
155
156 protected virtual void Dispose(bool disposing) {
157 lock(this) {
158 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
159 if (swigCMemOwn) {
160 swigCMemOwn = false;
161 PCADGlobalsPINVOKE.delete_CFxMainFrame_CFxCommandWindowInfo(swigCPtr); // NESTED_DTOR_CSHARP
162 }
163 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
164 }
165 }
166 }
167
168 public bool visibleMain {
169 set {
172 }
173 get {
176 return ret;
177 }
178 }
179
180 public bool visibleSecond {
181 set {
184 }
185 get {
188 return ret;
189 }
190 }
191
192 public int linesCountMain {
193 set {
196 }
197 get {
200 return ret;
201 }
202 }
203
204 public int linesCountSecond {
205 set {
208 }
209 get {
212 return ret;
213 }
214 }
215
216 public CFxCommandWindowInfo() : this(PCADGlobalsPINVOKE.new_CFxMainFrame_CFxCommandWindowInfo(), true) {
218 }
219
220 }
221
225 return ret;
226 }
227
228 public virtual void hideApplicationWindows(bool hide) {
231 }
232
233 public virtual void SetTitleSuffix(CFxString suffix) {
236 }
237
238 public class CFxToolBars : global::System.IDisposable {
239 private Object locker = new Object();
240 private HandleRef swigCPtr;
241 protected bool swigCMemOwn;
242 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
243 public CFxToolBars(IntPtr cPtr, bool cMemoryOwn) {
244 swigCMemOwn = cMemoryOwn;
245 swigCPtr = new HandleRef(this, cPtr);
246 }
247 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
248 public static HandleRef getCPtr(CFxToolBars obj) {
249 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
250 }
251
252 ~CFxToolBars() {
253 Dispose(false);
254 }
255
256 public void Dispose() {
257 Dispose(true);
258 global::System.GC.SuppressFinalize(this);
259 }
260
261 protected virtual void Dispose(bool disposing) {
262 lock(this) {
263 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
264 if (swigCMemOwn) {
265 swigCMemOwn = false;
266 PCADGlobalsPINVOKE.delete_CFxMainFrame_CFxToolBars(swigCPtr); // NESTED_DTOR_CSHARP
267 }
268 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
269 }
270 }
271 }
272
273 public virtual bool IsVisible(CFxUIToolbarItem pToolbarDef) {
276 return ret;
277 }
278
279 public virtual void SetVisible(CFxUIToolbarItem pToolbarDef, bool bVisible) {
282 }
283
284 public virtual void SetVisible(CFxUIToolbarItemCollection pToolbars, bool show) {
287 }
288
289 public virtual void SaveState(CFxUIToolbarItem pToolbarDef) {
292 }
293
294 }
295
297 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxMainFrame_GetToolBars(swigCPtr);
298 CFxMainFrame.CFxToolBars ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxMainFrame.CFxToolBars(cPtr, false);
300 return ret;
301 }
302
303 public enum DockableWidgetArea {
304 LeftDockWidgetArea = 0x1,
306 TopDockWidgetArea = 0x4,
308 }
309
310}
311
312}
static HandleRef getCPtr(CFxCommandWindowInfo obj)
CFxCommandWindowInfo(IntPtr cPtr, bool cMemoryOwn)
virtual void SetVisible(CFxUIToolbarItem pToolbarDef, bool bVisible)
virtual void SaveState(CFxUIToolbarItem pToolbarDef)
static HandleRef getCPtr(CFxToolBars obj)
virtual void Dispose(bool disposing)
CFxToolBars(IntPtr cPtr, bool cMemoryOwn)
virtual void SetVisible(CFxUIToolbarItemCollection pToolbars, bool show)
virtual bool IsVisible(CFxUIToolbarItem pToolbarDef)
virtual IntPtr GetWindowHandle()
Definition: CFxMainFrame.cs:60
static HandleRef getCPtr(CFxMainFrame obj)
Definition: CFxMainFrame.cs:28
CFxMainFrame(IntPtr cPtr, bool cMemoryOwn)
Definition: CFxMainFrame.cs:23
virtual void ClearCommandWindow()
virtual bool IsTextWindowVisible()
virtual void ShowPropertiesWindow(bool bShow)
virtual void Dispose(bool disposing)
Definition: CFxMainFrame.cs:41
virtual CFxString GetInput()
Definition: CFxMainFrame.cs:91
virtual IntPtr GetCommandLineWindowHandle()
Definition: CFxMainFrame.cs:75
virtual void SetTitleSuffix(CFxString suffix)
virtual CFxMainFrame.CFxToolBars GetToolBars()
virtual CFxStatusBar GetStatusBar()
Definition: CFxMainFrame.cs:53
virtual int GetCommandWindowInfo(CFxMainFrame.CFxCommandWindowInfo info)
virtual IntPtr GetCommandHistoryWindowHandle()
Definition: CFxMainFrame.cs:83
virtual void ShowCommandWindow(bool bShow)
virtual void ShowTextWindow(bool bShow)
virtual void ShowMatrixToolbarWindow(bool bShow)
virtual SWIGTYPE_p_CFxContainerWidget GetFxWidget()
Definition: CFxMainFrame.cs:68
virtual void SetInput(CFxString str)
Definition: CFxMainFrame.cs:97
virtual void hideApplicationWindows(bool hide)
static HandleRef getCPtr(CFxString obj)
Definition: CFxString.cs:28
static HandleRef getCPtr(CFxUIToolbarItemCollection obj)
static HandleRef getCPtr(CFxUIToolbarItem obj)
static bool CFxMainFrame_IsTextWindowVisible(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxMainFrame_CFxCommandWindowInfo_visibleSecond_set(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void CFxMainFrame_hideApplicationWindows(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void CFxMainFrame_CFxToolBars_SetVisible__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3)
static void delete_CFxMainFrame_CFxToolBars(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxMainFrame_SetInput(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_CFxMainFrame_CFxCommandWindowInfo(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxMainFrame_CFxCommandWindowInfo_linesCountMain_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void CFxMainFrame_CFxToolBars_SetVisible__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3)
static void CFxMainFrame_SetTitleSuffix(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr CFxMainFrame_GetWindowHandle(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_CFxMainFrame(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr CFxMainFrame_GetCommandHistoryWindowHandle(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxMainFrame_CFxToolBars_SaveState(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int CFxMainFrame_GetCommandWindowInfo(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr CFxMainFrame_GetToolBars(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxMainFrame_GetFxWidget(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxMainFrame_ShowMatrixToolbarWindow(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static int CFxMainFrame_CFxCommandWindowInfo_linesCountSecond_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxMainFrame_CFxCommandWindowInfo_visibleMain_set(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool CFxMainFrame_CFxToolBars_IsVisible(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr CFxMainFrame_GetStatusBar(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxMainFrame_ClearCommandWindow(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxMainFrame_CFxCommandWindowInfo_visibleSecond_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxMainFrame_ShowCommandWindow(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void CFxMainFrame_ShowTextWindow(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static global::System.IntPtr CFxMainFrame_GetInput(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxMainFrame_ShowPropertiesWindow(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool CFxMainFrame_CFxCommandWindowInfo_visibleMain_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr CFxMainFrame_GetCommandLineWindowHandle(global::System.Runtime.InteropServices.HandleRef jarg1)
static int CFxMainFrame_CFxCommandWindowInfo_linesCountMain_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxMainFrame_CFxCommandWindowInfo_linesCountSecond_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)