예제 #1
0
파일: gtk-testing.c 프로젝트: asonix/vala
static void __lambda5_ (Block1Data* _data1_) {
	gdouble _tmp0_ = 0.0;
	gdouble _tmp1_ = 0.0;
	gdouble _tmp2_ = 0.0;
#line 79 "/home/riley/git/vala/gtk-testing/src/gtk-testing.vala"
	_tmp1_ = gtk_label_get_angle (_data1_->rotate_label);
#line 79 "/home/riley/git/vala/gtk-testing/src/gtk-testing.vala"
	_tmp2_ = _tmp1_;
#line 79 "/home/riley/git/vala/gtk-testing/src/gtk-testing.vala"
	if (_tmp2_ == ((gdouble) 270)) {
#line 79 "/home/riley/git/vala/gtk-testing/src/gtk-testing.vala"
		_tmp0_ = (gdouble) 0;
#line 301 "gtk-testing.c"
	} else {
		gdouble _tmp3_ = 0.0;
		gdouble _tmp4_ = 0.0;
#line 79 "/home/riley/git/vala/gtk-testing/src/gtk-testing.vala"
		_tmp3_ = gtk_label_get_angle (_data1_->rotate_label);
#line 79 "/home/riley/git/vala/gtk-testing/src/gtk-testing.vala"
		_tmp4_ = _tmp3_;
#line 79 "/home/riley/git/vala/gtk-testing/src/gtk-testing.vala"
		_tmp0_ = _tmp4_ + 90;
#line 311 "gtk-testing.c"
	}
#line 79 "/home/riley/git/vala/gtk-testing/src/gtk-testing.vala"
	gtk_label_set_angle (_data1_->rotate_label, _tmp0_);
#line 315 "gtk-testing.c"
}
예제 #2
0
파일: label.c 프로젝트: amery/clip-itk
int
clip_GTK_LABELGETANGLE(ClipMachine * cm)
{
	C_widget *clbl = _fetch_cw_arg(cm);

	CHECKCWID(clbl,GTK_IS_LABEL);
	_clip_retnd(cm,gtk_label_get_angle(GTK_LABEL(clbl->widget)));
	return 0;
err:
	return 1;
}
예제 #3
0
Php::Value GtkLabel_::get_angle()
{
	gdouble ret = gtk_label_get_angle (GTK_LABEL(instance));

	return ret;
}