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

30 lines
872 B
C++

#if defined(Hiro_SourceEdit)
namespace hiro {
struct pSourceEdit : pWidget {
Declare(SourceEdit, Widget)
auto setFocused() -> void override;
auto setPosition(signed position) -> void;
auto setSelected(Position selected) -> void;
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