This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| static gboolean label_exposed(GtkWidget *widget, GdkEventExpose *event, gpointer userdata) | |
| { | |
| double width = 4.0; | |
| int offset_x = 2; | |
| int offset_y = 2; | |
| cairo_t *cr = gdk_cairo_create(widget->window); | |
| gint x = widget->allocation.x; | |
| gint y = widget->allocation.y; | |
| PangoLayout *layout = gtk_label_get_layout(GTK_LABEL(widget)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sqlalchemy as sa | |
| import sqlalchemy.ext.declarative | |
| """ | |
| How to avoid monkey-patching sqlalchemy.ext.declarative.api._as_declarative??? | |
| """ | |
| USE_EVENT=True | |
| if USE_EVENT: |
NewerOlder