Extended .NET SDK Documentation 2025 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
54 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxMainFrame_GetMainFrameWidget();
55 SWIGTYPE_p_CFxWidget ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_CFxWidget(cPtr, false);
57 return ret;
58 }
59
60 public virtual CFxStatusBar GetStatusBar() {
61 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxMainFrame_GetStatusBar(swigCPtr);
62 CFxStatusBar ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxStatusBar(cPtr, false);
64 return ret;
65 }
66
67 public virtual IntPtr GetWindowHandle() {
68// test csout
69 /*SIMPLETYPE*/
72 return ret;
73 }
74
76 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxMainFrame_GetFxWidget(swigCPtr);
77 SWIGTYPE_p_CFxContainerWidget ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_CFxContainerWidget(cPtr, false);
79 return ret;
80 }
81
82 public virtual IntPtr GetCommandLineWindowHandle() {
83// test csout
84 /*SIMPLETYPE*/
87 return ret;
88 }
89
90 public virtual IntPtr GetCommandHistoryWindowHandle() {
91// test csout
92 /*SIMPLETYPE*/
95 return ret;
96 }
97
103
108
113
118
123
129
134
139
140 public class CFxCommandWindowInfo : global::System.IDisposable {
141 private Object locker = new Object();
142 private HandleRef swigCPtr;
143 protected bool swigCMemOwn;
144 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
145 public CFxCommandWindowInfo(IntPtr cPtr, bool cMemoryOwn) {
146 swigCMemOwn = cMemoryOwn;
147 swigCPtr = new HandleRef(this, cPtr);
148 }
149 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
150 public static HandleRef getCPtr(CFxCommandWindowInfo obj) {
151 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
152 }
153
155 Dispose(false);
156 }
157
158 public void Dispose() {
159 Dispose(true);
160 global::System.GC.SuppressFinalize(this);
161 }
162
163 protected virtual void Dispose(bool disposing) {
164 lock(this) {
165 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
166 if (swigCMemOwn) {
167 swigCMemOwn = false;
168 PCADGlobalsPINVOKE.delete_CFxMainFrame_CFxCommandWindowInfo(swigCPtr); // NESTED_DTOR_CSHARP
169 }
170 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
171 }
172 }
173 }
174
186
198
210
222
223 public CFxCommandWindowInfo() : this(PCADGlobalsPINVOKE.new_CFxMainFrame_CFxCommandWindowInfo(), true) {
225 }
226
227 }
228
234
239
244
245 public class CFxToolBars : global::System.IDisposable {
246 private Object locker = new Object();
247 private HandleRef swigCPtr;
248 protected bool swigCMemOwn;
249 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
250 public CFxToolBars(IntPtr cPtr, bool cMemoryOwn) {
251 swigCMemOwn = cMemoryOwn;
252 swigCPtr = new HandleRef(this, cPtr);
253 }
254 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
255 public static HandleRef getCPtr(CFxToolBars obj) {
256 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
257 }
258
259 ~CFxToolBars() {
260 Dispose(false);
261 }
262
263 public void Dispose() {
264 Dispose(true);
265 global::System.GC.SuppressFinalize(this);
266 }
267
268 protected virtual void Dispose(bool disposing) {
269 lock(this) {
270 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
271 if (swigCMemOwn) {
272 swigCMemOwn = false;
273 PCADGlobalsPINVOKE.delete_CFxMainFrame_CFxToolBars(swigCPtr); // NESTED_DTOR_CSHARP
274 }
275 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
276 }
277 }
278 }
279
285
290
295
300
301 }
302
304 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxMainFrame_GetToolBars(swigCPtr);
305 CFxMainFrame.CFxToolBars ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxMainFrame.CFxToolBars(cPtr, false);
307 return ret;
308 }
309
310 public enum DockableWidgetArea {
311 LeftDockWidgetArea = 0x1,
313 TopDockWidgetArea = 0x4,
315 }
316
317}
318
319}
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()
static HandleRef getCPtr(CFxMainFrame obj)
CFxMainFrame(IntPtr cPtr, bool cMemoryOwn)
static SWIGTYPE_p_CFxWidget GetMainFrameWidget()
virtual void ClearCommandWindow()
virtual bool IsTextWindowVisible()
virtual void ShowPropertiesWindow(bool bShow)
virtual void Dispose(bool disposing)
virtual CFxString GetInput()
virtual IntPtr GetCommandLineWindowHandle()
virtual void SetTitleSuffix(CFxString suffix)
virtual CFxMainFrame.CFxToolBars GetToolBars()
virtual CFxStatusBar GetStatusBar()
virtual int GetCommandWindowInfo(CFxMainFrame.CFxCommandWindowInfo info)
virtual IntPtr GetCommandHistoryWindowHandle()
virtual void ShowCommandWindow(bool bShow)
virtual void ShowTextWindow(bool bShow)
virtual void ShowMatrixToolbarWindow(bool bShow)
virtual SWIGTYPE_p_CFxContainerWidget GetFxWidget()
virtual void SetInput(CFxString str)
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 global::System.IntPtr CFxMainFrame_GetMainFrameWidget()
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)