GTK

From Gui

http://library.gnome.org/devel/gtk/stable/

Contents

[edit] Widgets

[edit] Layouts

Similar to Tk, especially Table (Grid)

[edit] Horizontal packing

  • Horizontal padding only, widget always fills full height
  • Widget can be stretched to cell or extra padding can be automatically added

[edit] Vertical packing

  • Vertical padding only, widget always fills full width
  • Widget can be stretched to cell or extra padding can be automatically added

[edit] Table (Grid) packing

  • Basically, horizontal and vertical packed cells that are tied to each other in row/column relationships
  • Widgets may be padded horizontal and vertically
  • Widgets may span multiple cells (rows/columns)

[edit] Layout (Absolute/Place)

  • Widgets are absolutely sized and positioned withing the container

[edit] Properties

[edit] GtkLabel / GtkAccelLabel

  • label
  • selectable
  • wrap
  • wrap-mode
  • width-chars
  • max-width-chars
  • single-line-mode
  • ellipsize
  • justify
  • use-markup
  • use-underline
    • pattern
  • mnemonic-keyval
  • mnemonic-widget
    • (also, accel-widget for GtkAccelLabel)

[edit] GtkImage

  • storage-type

[edit] One of

  • file
  • gicon
  • icon-set
  • image
  • pixbuf
  • stock

[edit] Events

Personal tools