Mercurial > dwindows
comparison dwtest.c @ 207:767fca804cea
Fixed scrollbar value_change on OS/2... ID must be set on the scrollbar,
similar to OS/2 container widgets.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sat, 01 Feb 2003 09:15:29 +0000 |
parents | f7911991c5df |
children | f8b50901ac45 |
comparison
equal
deleted
inserted
replaced
206:f7911991c5df | 207:767fca804cea |
---|---|
176 | 176 |
177 textbox2 = dw_render_new( 101 ); | 177 textbox2 = dw_render_new( 101 ); |
178 dw_box_pack_start( pagebox, textbox2, font_width*width2, font_height*rows, TRUE, TRUE, 4); | 178 dw_box_pack_start( pagebox, textbox2, font_width*width2, font_height*rows, TRUE, TRUE, 4); |
179 dw_window_set_font(textbox2, "9.WarpSans"); | 179 dw_window_set_font(textbox2, "9.WarpSans"); |
180 | 180 |
181 scrollbar = dw_scrollbar_new(FALSE, 100, 0); | 181 scrollbar = dw_scrollbar_new(FALSE, 100, 50); |
182 dw_box_pack_start( pagebox, scrollbar, 100, 20, TRUE, FALSE, 0); | 182 dw_box_pack_start( pagebox, scrollbar, 100, 20, TRUE, FALSE, 0); |
183 dw_scrollbar_set_range(scrollbar, 100, 50); | 183 dw_scrollbar_set_range(scrollbar, 100, 50); |
184 dw_scrollbar_set_pos(scrollbar, 10); | 184 dw_scrollbar_set_pos(scrollbar, 10); |
185 | 185 |
186 status = dw_status_text_new("", 0); | 186 status = dw_status_text_new("", 0); |