geany  1.38
About: Geany is a text editor (using GTK2) with basic features of an integrated development environment (syntax highlighting, code folding, symbol name auto-completion, ...). F: office T: editor programming GTK+ IDE
  Fossies Dox: geany-1.38.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

Scintilla::Window Class Reference

Class to hide the details of window manipulation. More...

#include <Platform.h>

Inheritance diagram for Scintilla::Window:
[legend]

Public Types

enum  Cursor {
  cursorInvalid , cursorText , cursorArrow , cursorUp ,
  cursorWait , cursorHoriz , cursorVert , cursorReverseArrow ,
  cursorHand
}
 

Public Member Functions

 Window () noexcept
 
 Window (const Window &source)=delete
 
 Window (Window &&)=delete
 
Windowoperator= (WindowID wid_) noexcept
 
Windowoperator= (const Window &)=delete
 
Windowoperator= (Window &&)=delete
 
virtual ~Window ()
 
WindowID GetID () const noexcept
 
bool Created () const noexcept
 
void Destroy ()
 
PRectangle GetPosition () const
 
void SetPosition (PRectangle rc)
 
void SetPositionRelative (PRectangle rc, const Window *relativeTo)
 
PRectangle GetClientPosition () const
 
void Show (bool show=true)
 
void InvalidateAll ()
 
void InvalidateRectangle (PRectangle rc)
 
virtual void SetFont (Font &font)
 
void SetCursor (Cursor curs)
 
PRectangle GetMonitorRect (Point pt)
 

Protected Attributes

WindowID wid
 

Private Attributes

Cursor cursorLast
 

Detailed Description

Class to hide the details of window manipulation.

Does not own the window which will normally have a longer life than this object.

Definition at line 396 of file Platform.h.

Member Enumeration Documentation

◆ Cursor

Enumerator
cursorInvalid 
cursorText 
cursorArrow 
cursorUp 
cursorWait 
cursorHoriz 
cursorVert 
cursorReverseArrow 
cursorHand 

Definition at line 423 of file Platform.h.

Constructor & Destructor Documentation

◆ Window() [1/3]

Scintilla::Window::Window ( )
inlinenoexcept

Definition at line 400 of file Platform.h.

◆ Window() [2/3]

Scintilla::Window::Window ( const Window source)
delete

◆ Window() [3/3]

Scintilla::Window::Window ( Window &&  )
delete

◆ ~Window()

Window::~Window ( )
virtual

Definition at line 968 of file PlatGTK.cxx.

Member Function Documentation

◆ Created()

◆ Destroy()

◆ GetClientPosition()

◆ GetID()

◆ GetMonitorRect()

◆ GetPosition()

◆ InvalidateAll()

void Window::InvalidateAll ( )

◆ InvalidateRectangle()

◆ operator=() [1/3]

Window & Scintilla::Window::operator= ( const Window )
delete

◆ operator=() [2/3]

Window & Scintilla::Window::operator= ( Window &&  )
delete

◆ operator=() [3/3]

Window & Scintilla::Window::operator= ( WindowID  wid_)
inlinenoexcept

Definition at line 404 of file Platform.h.

References cursorInvalid, cursorLast, and wid.

◆ SetCursor()

void Window::SetCursor ( Cursor  curs)

◆ SetFont()

void Window::SetFont ( Font font)
virtual

Reimplemented in ListBoxX, and Scintilla::ListBox.

Definition at line 1084 of file PlatGTK.cxx.

◆ SetPosition()

◆ SetPositionRelative()

◆ Show()

void Window::Show ( bool  show = true)

Member Data Documentation

◆ cursorLast

Cursor Scintilla::Window::cursorLast
private

Definition at line 427 of file Platform.h.

Referenced by operator=().

◆ wid

WindowID Scintilla::Window::wid
protected

Definition at line 398 of file Platform.h.

Referenced by Created(), GetID(), operator=(), and SetPositionRelative().


The documentation for this class was generated from the following files: