What data structure could a word processor use to map the user’s caret position/text selection to its internal representation of the document?
Word processors (e.g. Microsoft Word) display documents to the user as styled text. The user can select a part of this text and apply styles to it, and edit the text.
User selection and object creation
I’m writing a GUI application. The user selects item from a comboBox (non editable). The suitable input data control is then enabled and user enters data. Then the appropriate object according to the comboBox selected item is created.
Data representation with C# and WPF
I’m developing an application handling DB parts. I retrieve the data from the DB with stored procedures and prepared statements. Now I want to display the data in the GUI.
How to get a reference to a central AssetLoader in every Widget?
I’m working on a simple UI system for a game. The building blocks are Widget
objects, which can contain each other. There are several sub classes of Widget
, e.g. LabelWidget
, ImageWidget
and ButtonWidget
.
Why would each widget need a reference to its parent in a simple widget system?
I’m working on a simple widget system (single window, fixed size). Each widget gets its parent (i.e. the widget containing it) passed into its constructor – except for the root widget, which I called Screen.
OOP when using a GUI Designer
I usually do database and web development but at the moment I’m learning desktop development with Mono and Gtk# using using the MonoDevelop IDE. I’m also using the Stetic GUI Designer inside MonoDevelop to create the GUI.
Dynamically change of UI on value changes in list box
I have a list box with several elements, let it be web servers (tomcat, iis etc). For each list box value, UI must have different views. For example, if we choose IIS, user name and password fields appear. If we choose tomcat, some additional fields appear depending on user OS – IP and port for linux and path for windows.
Modern REPL for Haskell – is anybody working on it? [closed]
It’s difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago. It’s time Haskell had a modern REPL like […]
Other than XML, what are some examples of “coding” a GUI design?
I’ve been trying to think outside of the box as to how desktop GUIs can be designed in code(not a graphical designer!). I’ve come across basically three ways this is done:
Are GUIs ever programmed in DirectX for higher performance?
I’ve been researching GDI a little and on some websites I’m lead to believe it can hardly draw a few boxes, while on others it can easily be used in an interactive charting application.