apress foundations of gtk plus development 2007 phần 1 pot

apress foundations_of gtk plus development 2007 phần 1 pot

apress foundations_of gtk plus development 2007 phần 1 pot

... X. 79 31. book Page 2 Friday, February 2, 2007 8:28 PM 6 CHAPTER 1 ■ GETTING STARTED GObject The GLib Object System (GObject) was originally a part of the GTK+ 1 library in the form of the GtkObject ... capturing functionality. For example, Figure 1- 1 is a screenshot of the GIMP application, which uses GTK+ . Figure 1- 1. The GIMP Other, less visible basics of GUI devel...

Ngày tải lên: 05/08/2014, 10:20

77 304 0
apress foundations_of gtk plus development 2007 phần 9 pot

apress foundations_of gtk plus development 2007 phần 9 pot

... Description 79 31. book Page 5 31 Wednesday, March 14 , 2007 8:28 PM APPENDIX A ■ GTK+ PROPERTIES 493 Table A- 21. GtkCellView Properties Table A-22. GtkCheckMenuItem Properties Table A-23. GtkColorButton ... slider. value-pos GtkPositionType The position of the GtkScale value with respect to the slider. 79 31. book Page 512 Thursday, March 8, 2007 7:02 PM 518 APPENDIX A ■ GTK+...

Ngày tải lên: 05/08/2014, 10:20

60 281 0
apress foundations_of gtk plus development 2007 phần 2 pdf

apress foundations_of gtk plus development 2007 phần 2 pdf

... container. */ gtk_ table_attach (GTK_ TABLE (table), label, 0, 2, 0, 1, GTK_ EXPAND, GTK_ SHRINK, 0, 0); gtk_ table_attach (GTK_ TABLE (table), label2, 0, 1, 1, 2, GTK_ EXPAND, GTK_ SHRINK, 0, 0); gtk_ table_attach ... < ;gtk/ gtk.h> static void switch_page (GtkButton*, GtkNotebook*); int main (int argc, char *argv[]) { GtkWidget *window, *notebook; GtkWidget *label1,...

Ngày tải lên: 05/08/2014, 10:20

44 327 0
apress foundations_of gtk plus development 2007 phần 3 ppt

apress foundations_of gtk plus development 2007 phần 3 ppt

... 0, 1, 1, 2); gtk_ table_attach_defaults (GTK_ TABLE (table), lbl3, 0, 1, 2, 3); gtk_ table_attach_defaults (GTK_ TABLE (table), lbl4, 0, 1, 3, 4); 7931ch05.fm Page 12 0 Friday, February 9, 2007 12 :36 ... hbox = gtk_ hbox_new (TRUE, 10 ); gtk_ box_pack_start_defaults (GTK_ BOX (hbox), modal); gtk_ box_pack_start_defaults (GTK_ BOX (hbox), nonmodal); 7931ch05.fm Page 14 0 Fr...

Ngày tải lên: 05/08/2014, 10:20

60 281 0
apress foundations_of gtk plus development 2007 phần 4 ppsx

apress foundations_of gtk plus development 2007 phần 4 ppsx

... gtk_ container_set_border_width (GTK_ CONTAINER (window), 10 ); gtk_ widget_set_size_request (window, 200, -1) ; progress = gtk_ progress_bar_new (); gtk_ progress_bar_set_pulse_step (GTK_ PROGRESS_BAR (progress), 0 .1) ; g_timeout_add ... The value of pi divided by 4 with a precision of 50 decimal places • G_SQRT2: The square root of 2 with a precision of 49 decimal places •...

Ngày tải lên: 05/08/2014, 10:20

49 206 0
apress foundations_of gtk plus development 2007 phần 5 pdf

apress foundations_of gtk plus development 2007 phần 5 pdf

... gtk_ text_view_get_buffer (GTK_ TEXT_VIEW (textview)); gtk_ text_buffer_set_text (buffer, "Your 1st GtkTextView widget!", -1) ; scrolled_win = gtk_ scrolled_window_new (NULL, NULL); gtk_ container_add (GTK_ CONTAINER ... Paste"); gtk_ container_set_border_width (GTK_ CONTAINER (window), 10 ); textview = gtk_ text_view_new (); cut = gtk_ button_new_from_stock (GTK_...

Ngày tải lên: 05/08/2014, 10:20

65 286 0
apress foundations_of gtk plus development 2007 phần 6 doc

apress foundations_of gtk plus development 2007 phần 6 doc

... WIDGET 311 window = gtk_ window_new (GTK_ WINDOW_TOPLEVEL); gtk_ window_set_title (GTK_ WINDOW (window), "Accelerator Keys"); gtk_ container_set_border_width (GTK_ CONTAINER (window), 10 ); gtk_ widget_set_size_request ... List"); gtk_ container_set_border_width (GTK_ CONTAINER (window), 10 ); gtk_ widget_set_size_request (window, 250, 17 5); treeview = gtk_...

Ngày tải lên: 05/08/2014, 10:20

60 349 0
apress foundations_of gtk plus development 2007 phần 7 docx

apress foundations_of gtk plus development 2007 phần 7 docx

... other GtkToolButton except there is an extra step of attaching a menu to the GtkMenuToolButton widget. Listing 9-7. Using GtkMenuToolButton GtkToolItem *open; GtkWidget *recent; recent = gtk_ menu_new ... on_home_clicked (GtkToolButton*); void on_info_clicked (GtkToolButton*); void on_go_clicked (GtkButton*); void on_location_activate (GtkEntry*); void on_row_activated (GtkTreeView*, GtkT...

Ngày tải lên: 05/08/2014, 10:20

77 281 0
apress foundations_of gtk plus development 2007 phần 8 doc

apress foundations_of gtk plus development 2007 phần 8 doc

... you view how other GTK+ widgets 79 31. book Page 411 Thursday, March 1, 2007 8:06 PM 450 CHAPTER 12 ■ ADDITIONAL GTK+ WIDGETS The next step is to create a PangoLayout with gtk_ print_context_create_layout(), ... coordinates, one for each corner of the trapezoid. Function Description 79 31. book Page 4 21 Thursday, March 1, 2007 8:06 PM 4 31 ■ ■ ■ CHAPTER 12 Additional GTK+...

Ngày tải lên: 05/08/2014, 10:20

76 233 0
apress foundations_of gtk plus development 2007 phần 10 pptx

apress foundations_of gtk plus development 2007 phần 10 pptx

... Introduced GTK_ STOCK_ABOUT About GTK+ 2.6 GTK_ STOCK_ADD Add GTK+ 2.0 GTK_ STOCK_APPLY Apply GTK+ 2.0 GTK_ STOCK_BOLD Bold GTK+ 2.0 GTK_ STOCK_CANCEL Cancel GTK+ 2.0 GTK_ STOCK_CDROM CD-Rom GTK+ 2.0 GTK_ STOCK_CLEAR ... Indent GTK+ 2.4 GTK_ STOCK_YES Yes GTK+ 2.0 GTK_ STOCK_ZOOM _10 0 Normal Size GTK+ 2.0 GTK_ STOCK_ZOOM_FIT Best Fit GTK+ 2.0 GTK_ STOCK_ZOOM_IN Zoom In...

Ngày tải lên: 05/08/2014, 10:20

76 463 0
w