Tworzenie stron WWW to podstawa pracy webmastera. Dlatego każdy webmaster ma swój Poradnik Webmastera, z którego korzysta gdy potrzebuje wiedzy o języku HTML, CSS albo szuka czegoś w kursie JavaScript. Dzięki tak potężniej dawce wiedzy może on tworzyć profesjonalnie wyglądające strony WWW.

svn - darmowe linki seo - Android w HTC zgodnie z planem - Warezy.Biz Darmowe Pliki - pozycjonowanie puławy - język niemiecki - Drukarka Brother MFC 490CW - typowanie.potrzeba.net - budowa domów - rodzaj działalności wg pkd - Golf 3 - Mieszkania w Warszawie - Usługi dźwigowe Gdańsk - części - Tworzenie stron internetowych
Podręcznik PEAR
PoprzedniRozdział 42. Gtk2Następny

Gtk2_IndexedComboBox

Spis treści
Simple example -- To get started easily
Conquering Glade combo boxes -- How to use glade combos with this class
Gtk2_IndexedComboBox -- The main class
Gtk2_IndexedComboBox_Model -- Model class behind the scenes

Gtk2_IndexedComboBox is a Gtk2 widget similar to the HTML select box - it lets you not only store values as the normal GtkComboBox, but associated key/value pairs.

Gtk2_IndexedComboBox is meant to be as easy to use as possible, and to have an API similar to the combo boxes created with GtkComboBox::new_text(). You can directly add key/value pairs to the widget instead of using the model (which is possible, too). Retrieving the currently selected key can be done with a single method call.

Both keys and values can be strings, thus allowing integers implicitly. This is very useful if you need a widget to select some row ID from a database, but want to display some descriptive string. By default, a single GtkCellRendererText is used as cell renderer.


PoprzedniSpis treściNastępny
ExamplePoczątek rozdziałuSimple example

Copyright © 2007 Office. Designed by Free CSS Templates.