bsnes/hiro/gtk/widget/source-edit.hpp

29 lines
821 B
C++

#if defined(Hiro_SourceEdit)
namespace hiro {
struct pSourceEdit : pWidget {
Declare(SourceEdit, Widget)
auto setCursor(Cursor cursor) -> void;
auto setFocused() -> void override;
auto setText(const string& text) -> void;
auto text() const -> string;
GtkScrolledWindow* gtkScrolledWindow = nullptr;
GtkContainer* gtkContainer = nullptr;
GtkSourceBuffer* gtkSourceBuffer = nullptr;
GtkTextBuffer* gtkTextBuffer = nullptr;
GtkSourceLanguageManager* gtkSourceLanguageManager = nullptr;
GtkSourceLanguage* gtkSourceLanguage = nullptr;
GtkSourceStyleSchemeManager* gtkSourceStyleSchemeManager = nullptr;
GtkSourceStyleScheme* gtkSourceStyleScheme = nullptr;
GtkSourceView* gtkSourceView = nullptr;
GtkTextView* gtkTextView = nullptr;
GtkWidget* gtkWidgetSourceView = nullptr;
};
}
#endif