gtk / cairo-chart

SSH Git

To clone this repository:

git clone git@git.backbone.ws:gtk/cairo-chart.git

To push to this repository:

# Add a new remote
git remote add origin git@git.backbone.ws:gtk/cairo-chart.git

# Push the master branch to the newly added origin, and configure
# this remote and branch as the default:
git push -u origin master

# From now on you can push master to the "origin" remote with:
git push

Commit: #cf9ec1d

Parent: #5597e2e

In progress: scrolling added.

avatar Kolan Sh 12 days ago

Summary

130 130 return true;
131 131 }
132 132
133 // TODO:
134 public virtual bool scroll_notify_event (Gdk.EventScroll event) {
135 //stdout.puts ("scroll_notify_event\n");
136 return true;
137 }
138
133 139 protected double title_width = 0.0;
134 140 protected double title_height = 0.0;
135 141
353 353 // user's post motion_notify_event operations here...
354 354 return ret;
355 355 });
356 da.add_events(Gdk.EventMask.SCROLL_MASK);
357 da.scroll_event.connect((event) => {
358 // user's pre scroll_notify_event operations here...
359 stdout.puts("pre_scroll\n");
360
361 var ret = chart.scroll_notify_event(event);
362
363 // user's post scroll_notify_event operations here...
364 stdout.puts("post_scroll\n");
365
366 return ret;
367 });
356 368
357 369 var vbox2 = new Box(Orientation.VERTICAL, 0);
358 370 vbox2.pack_start(button1, false, false, 0);

Comments