Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

GTK/QT/WinAPI shit

Name: Anonymous 2011-09-17 21:47

What is the point of using them? With frame buffer I have control over every pixel, but GTK/QT output always look messy, some buttons are misaligned, some text is clipped, fonts are always wrong, their rendering is slow and definetely not what I intended. How come framebuffer is more robust and owns all this "modern" segfaulting plasmoid-rotating-cube crap?

Name: Anonymous 2011-09-17 21:49

>>1
Same applies to wxWidgets and various internet browser engines (it's faster and better to serve PNGs, instead of crappy HTML).

Name: Anonymous 2011-09-17 22:14

To allow user customisability.

Name: Anonymous 2011-09-17 22:16

To allow user customisability.

Name: Anonymous 2011-09-17 22:24

To allow your code to be portable. That, along with the simplicity, are are the only reasons you would even want a GUI toolkit.

Name: Anonymous 2011-09-17 22:39

>>5
Frame buffer is portable. Even DOS supports it, and DOS definetely doesn support Qt.

>>3
You mean retarded blonde girls, making backgroud purple and fluffy windo-borders? Fuck them.

Name: Anonymous 2011-09-17 22:41

>>5
along with the simplicity, are are the only reasons you would even want a GUI toolkit.
Programming frame buffer *Pixels++ = Color;

Programming GTK:
I. GTK+ Overview

    Compiling the GTK+ libraries — How to compile GTK+ itself
    Compiling GTK+ Applications — How to compile your GTK+ application
    Running GTK+ Applications — How to run and debug your GTK+ application
    Using GTK+ on the X Window System — X11 aspects of using GTK+
    Using GTK+ on Windows — Windows-specific aspects of using GTK+
    Using GTK+ on Mac OS X — OS X-specific aspects of using GTK+
    Using GTK+ on DirectFB — DirectFB-specific aspects of using GTK+
    Mailing lists and bug reports — Getting help with GTK+
    Common Questions — Find answers to common questions in the GTK+ manual
    The GTK+ Drawing Model — The GTK+ drawing model in detail

II. GTK+ Core Reference

    Main loop and Events — Library initialization, main event loop, and events
    Accelerator Groups — Groups of global keyboard accelerators for an entire GtkWindow
    Accelerator Maps — Loadable keyboard accelerator specifications
    Clipboards — Storing data on clipboards
    Drag and Drop — Functions for controlling drag and drop handling
    GtkIconTheme — Looking up icons by name
    Stock Items — Prebuilt common menu/toolbar items and corresponding icons
    Themeable Stock Images — Manipulating stock icons
    Resource Files — Routines for handling resource files
    Settings — Sharing settings between applications
    Bindings — Key bindings for individual widgets
    Standard Enumerations — Public enumerated types used throughout GTK+
    Graphics Contexts — A shared pool of GdkGC objects
    Styles — Functions for drawing widget parts
    Selections — Functions for handling inter-process communication via selections
    Version Information — Variables and functions to check the GTK+ version
    Signals — Object methods and callbacks
    Types — Handle run-time type creation
    Testing — Utilities for testing GTK+ applications
    Filesystem utilities — Functions for working with GIO

III. GTK+ Widgets and Objects

    Object Hierarchy
    Widget Gallery
    Windows

        GtkDialog — Create popup windows
        GtkInvisible — A widget which is not displayed
        GtkMessageDialog — A convenient message window
        GtkWindow — Toplevel which can contain other widgets
        GtkWindowGroup — Limit the effect of grabs
        GtkAboutDialog — Display information about an application
        GtkAssistant — A widget used to guide users through multi-step operations
        GtkOffscreenWindow — A toplevel container widget used to manage offscreen rendering of child widgets.

    Display Widgets

        GtkAccelLabel — A label which displays an accelerator key on the right of the text
        GtkImage — A widget displaying an image
        GtkLabel — A widget that displays a small to medium amount of text
        GtkProgressBar — A widget which indicates progress visually
        GtkStatusbar — Report messages of minor importance to the user
        GtkInfoBar — Report important messages to the user
        GtkStatusIcon — Display an icon in the system tray
        GtkSpinner — Show a spinner animation

    Buttons and Toggles

        GtkButton — A widget that creates a signal when clicked on
        GtkCheckButton — Create widgets with a discrete toggle button
        GtkRadioButton — A choice from multiple check buttons
        GtkToggleButton — Create buttons which retain their state
        GtkLinkButton — Create buttons bound to a URL
        GtkScaleButton — A button which pops up a scale
        GtkVolumeButton — A button which pops up a volume control

    Numeric/Text Data Entry

        GtkEntry — A single line text entry field
        GtkEntryBuffer — Text buffer for GtkEntry
        GtkEntryCompletion — Completion functionality for GtkEntry
        GtkHScale — A horizontal slider widget for selecting a value from a range
        GtkVScale — A vertical slider widget for selecting a value from a range
        GtkSpinButton — Retrieve an integer or floating-point number from the user
        GtkEditable — Interface for text-editing widgets

    Multiline Text Editor

        Text Widget Overview — Overview of GtkTextBuffer, GtkTextView, and friends
        GtkTextIter — Text buffer iterator
        GtkTextMark — A position in the buffer preserved across buffer modifications
        GtkTextBuffer — Stores attributed text for display in a GtkTextView
        GtkTextTag — A tag that can be applied to text in a GtkTextBuffer
        GtkTextTagTable — Collection of tags that can be used together
        GtkTextView — Widget that displays a GtkTextBuffer

    Tree, List and Icon Grid Widgets

        Tree and List Widget Overview — Overview of GtkTreeModel, GtkTreeView, and friends
        GtkTreeModel — The tree interface used by GtkTreeView
        GtkTreeSelection — The selection object for GtkTreeView
        GtkTreeViewColumn — A visible column in a GtkTreeView widget
        GtkTreeView — A widget for displaying both trees and lists
        GtkTreeView drag-and-drop — Interfaces for drag-and-drop support in GtkTreeView
        GtkCellView — A widget displaying a single row of a GtkTreeModel
        GtkIconView — A widget which displays a list of icons in a grid
        GtkTreeSortable — The interface for sortable models used by GtkTreeView
        GtkTreeModelSort — A GtkTreeModel which makes an underlying tree model sortable
        GtkTreeModelFilter — A GtkTreeModel which hides parts of an underlying tree model
        GtkCellLayout — An interface for packing cells
        GtkCellRenderer — An object for rendering a single cell on a GdkDrawable
        GtkCellEditable — Interface for widgets which can are used for editing cells
        GtkCellRendererAccel — Renders a keyboard accelerator in a cell
        GtkCellRendererCombo — Renders a combobox in a cell
        GtkCellRendererPixbuf — Renders a pixbuf in a cell
        GtkCellRendererProgress — Renders numbers as progress bars
        GtkCellRendererSpin — Renders a spin button in a cell
        GtkCellRendererText — Renders text in a cell
        GtkCellRendererToggle — Renders a toggle button in a cell
        GtkCellRendererSpinner — Renders a spinning animation in a cell
        GtkListStore — A list-like data structure that can be used with the GtkTreeView
        GtkTreeStore — A tree-like data structure that can be used with the GtkTreeView

    Menus, Combo Box, Toolbar

        GtkComboBox — A widget used to choose from a list of items
        GtkComboBoxText — A simple, text-only combo box
        GtkComboBoxEntry — A text entry field with a dropdown list
        GtkMenu — A menu widget
        GtkMenuBar — A subclass widget for GtkMenuShell which holds GtkMenuItem widgets
        GtkMenuItem — The widget used for item in menus
        GtkImageMenuItem — A menu item with an icon
        GtkRadioMenuItem — A choice from multiple check menu items
        GtkCheckMenuItem — A menu item with a check box
        GtkSeparatorMenuItem — A separator used in menus
        GtkTearoffMenuItem — A menu item used to tear off and reattach its menu
        GtkToolShell — Interface for containers containing GtkToolItem widgets
        GtkToolbar — Create bars of buttons and other widgets
        GtkToolItem — The base class of widgets that can be added to GtkToolShell
        GtkToolPalette — A tool palette with categories
        GtkToolItemGroup — A sub container used in a tool palette
        GtkSeparatorToolItem — A toolbar item that separates groups of other toolbar items
        GtkToolButton — A GtkToolItem subclass that displays buttons
        GtkMenuToolButton — A GtkToolItem containing a button with an additional dropdown menu
        GtkToggleToolButton — A GtkToolItem containing a toggle button
        GtkRadioToolButton — A toolbar item that contains a radio button

    Action-based menus and toolbars

        GtkUIManager — Constructing menus and toolbars from an XML description
        GtkActionGroup — A group of actions
        GtkAction — An action which can be triggered by a menu or toolbar item

Name: Anonymous 2011-09-17 22:44

>>1
I like to code, not to debug errwhere

Name: Anonymous 2011-09-17 22:54

>>8
Then u should stay away from Qt and Gtk - they're buggy.

Name: FrozenVoid 2011-09-18 1:13

Name: Anonymous 2011-09-18 1:52

>>1
ihbt, I guess, but most of us want to be able to write MessageBox("fuck you") without first having to write a font renderer, windowing library, message pump, etc...

Name: FrozenVoid 2011-09-18 1:58

>>11
A message box is just a rectangle with text.



orbis terrarum delenda est

Name: Anonymous 2011-09-18 2:04

>>11
PUMP MESSAGES INTO MY ANUS

Name: Anonymous 2011-09-18 2:46

>>11

blit Screen "images/fuckyou.png"

Name: Anonymous 2011-09-18 2:47

>>11
>without first having to write a font renderer
It's better if you write your own, cuz Linux and MacOSX ones suck blurry ass.

Name: Anonymous 2011-09-18 3:47

>>15
Don't worry, MS has had ClearType for a while now to keep up with the Joneses.

Name: Anonymous 2011-09-18 5:38

How come framebuffer is more robust and owns all this "modern" segfaulting plasmoid-rotating-cube crap?
What does this even mean?

Name: FrozenVoid 2011-09-18 8:03

>>17
Complexity of APIs. People can design their own window renderer with font display, but since there is an establsihed API they tend to use that for compatibility. After they learn the API sucks they redesign the app to use lower-level APIs(such as framebuffer), up to the metal(app specific drivers exist.)
 



orbis terrarum delenda est

Name: Anonymous 2011-09-18 8:27

they learn the API sucks
So what does this mean? People often use the terms such as bloated, sucks, shit, and slow when referring to a library or API, and they don't qualify what these things mean. IMO, they're just second rate programmers who do not understand what is happening.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List