Gtk.DrawingArea: Port to python3/gtk3

2012-09-12 Thread Patrick Shirkey
() if self.gc_background == None: color_background = colormap.alloc_color('#FF', True, True) self.gc_background = self.area.window.new_gc() self.gc_background.set_foreground(color_background)

Re: gtk apps on iOS/Android?

2012-09-10 Thread Patrick Shirkey
rt gtk to android or ios yet. probably inevitable though so if it's your thing than I'm sure you will be able to make something happen. -- Patrick Shirkey Boost Hardware Ltd ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: button background color in gtk3

2012-08-26 Thread Patrick Shirkey
tton, 10, 1, 1, 1); >> > gtk_widget_modify_bg(Bbutton, GTK_STATE_NORMAL, &colorRed2); >> > gtk_widget_modify_bg(Bbutton, GTK_STATE_PRELIGHT, &colorWht); >> > >> > >> > gtk_widget_show_all(window); >> > gtk_main(); >> > >> > return 0; >> > } >> > >> > >> > ___ >> > gtk-app-devel-list mailing list >> > gtk-app-devel-list@gnome.org >> > https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list >> >> >> ___ >> gtk-app-devel-list mailing list >> gtk-app-devel-list@gnome.org >> https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list >> > ___ > gtk-app-devel-list mailing list > gtk-app-devel-list@gnome.org > https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list > -- Patrick Shirkey Boost Hardware Ltd ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: gtk3 + python : lookup_widget

2012-08-20 Thread Patrick Shirkey
On Mon, August 20, 2012 9:16 am, Tristan Van Berkom wrote: > On Mon, Aug 20, 2012 at 2:32 PM, Patrick Shirkey > wrote: >> >> On Mon, August 20, 2012 6:59 am, Tristan Van Berkom wrote: >>>The "lookup_widget()" paradigm comes from a very old time wh

Re: gtk3 + python : lookup_widget

2012-08-20 Thread Patrick Shirkey
On Mon, August 20, 2012 9:16 am, Tristan Van Berkom wrote: > On Mon, Aug 20, 2012 at 2:32 PM, Patrick Shirkey > wrote: >> >> On Mon, August 20, 2012 6:59 am, Tristan Van Berkom wrote: >>>The "lookup_widget()" paradigm comes from a very old time wh

Re: gtk3 + python : lookup_widget

2012-08-19 Thread Patrick Shirkey
e that deals with my use case. Basically I want to be able to modify the text in a label widget from a Entry or EventBox signal. I haven't found an example of that but if anyone knows of one that would be very helpful. -- Patrick Shirkey Boost Hardware Ltd > Cheers, >

gtk3 + python : lookup_widget

2012-08-19 Thread Patrick Shirkey
cmi_command = self.get_text() messages.set_text(cmi_command) print "command entered: ", args[0] -- Patrick Shirkey Boost Hardware Ltd ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list