Re: ANNOUNCE: Phasing out GTK mailing lists and move to Discord

2019-04-01 Thread Adam Tauno Williams
> The problem for me is clock. I tried Slack for a development project
> I'm  leading, but important messages got lost in the shuffle. Also,
> it wasjust another website to check, another interface to learn.

+1

> Email has been a good aggregator tool to save time--it is just one
> place I have to check. I suppose this discourse instance is OK if gtk
> is all you do, but how many different sites can I visit to keep up on
> what is...

+1

Is it easy in discourse to turn on email, 

Kinda;  its still pretty crumby, and a pain to respond to anything.

E-mail had a great run, solved almost every problem when used
correctly;  then people decided to try something else ... about every
~90 days it seems.   I'm just too tired of it all to learn yet-another-
messaging-platform.  #shrug

-- 
Adam Tauno Williams 
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Python3, GObject objects & models

2018-12-18 Thread Adam Tauno Williams
I have created, and registered, a custom GObject type [an object].  I
can place that type into a ListModel: aka model =
Gtk.ListModel(MyClass).

One of the advantages of creating a GObject is the whole property
system - - - and most notably change signals.

What I have not been able to find is how to connect/map something like
a Gtk.CellRendererText to a property, such that having a type in a
model has some advantage [vs. a model like (int, str, str)].  ???


-- 
Adam Tauno Williams <mailto:awill...@whitemice.org> GPG D95ED383
OpenGroupware Developer <http://www.opengroupware.us/>
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Async Callbacks w/Python 3 + Gtk3

2018-12-17 Thread Adam Tauno Williams
I'm rebuilding an old application in Python3+Gtk.

The applications makes calls to remote services which I'd like to have
be asynchronous.  I've search around the interwebz and found a wide
variety of answers to this question [Gtk.mainloop + async(other-
loop?)];  almost all of them are pretty old.

Is there an "official" / endorsed / classical way to handle this?

None of the "official" HOWTOs I have found address this - - - unless I
have missed one [entirley possible]

-- 
Adam Tauno Williams <mailto:awill...@whitemice.org> GPG D95ED383
OpenGroupware Developer <http://www.opengroupware.us/>
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: Curves Widget for GTK+3

2013-04-02 Thread Adam Tauno Williams
On Fri, 2013-03-22 at 14:34 -0600, Christopher Sosa wrote:
 Hello everyone. I'm writting an game content editor for my OGRE3D-based 
 game engine using C++/Gtkmm (I'm love in GTK+ due their small memory and 
 space footprint for my applications). I see an widget called Curves, but 
 was deprecated in Gtk 2.4 due are too specialized. So my question is 
 were can download the updated GTK+3 Curves widget and their GTKmm 
 wrapper (specific 3.4.0)? (I will thanks if exists an Glade .catalog file).

I believe, as it is deprecated in 2.4, that there will not be such a
widget in Gtk3 [deprecated proceeds dropped].  So there is not
updated GTK+3 Curves widget.

You could extract the Curves widget from Gtk 2.4 sources and port it to
Gtk 3, offering it as an extra add-on widget.

quote
This widget is considered too specialized or little-used for PyGTK, and
will in the future be moved to some other package. If your application
needs this widget, feel free to use it, as the widget does work and is
useful in some applications; it's just not of general interest. However,
it will eventually move out of the PyGTK distribution.
/quote

-- 
Adam Tauno Williams  GPG D95ED383
Systems Administrator, Python Developer, LPI / NCLA

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: switch printer tray during printing

2013-03-11 Thread Adam Tauno Williams
On Thu, 2013-02-21 at 14:51 -0600, Michael Cronenworth wrote:
 Michael Cronenworth wrote:
  Does anyone know if GTK allows switching print trays in the middle of a
  GtkPrintOperation?
  I tried setting the source to Tray 2 in the request-page-setup signal
  for the second page, but this did not work. The second page printed to
  Tray 1 (default).
 Old message, but I still wanted to reply for the Google archives.
 I cannot get GTK to change tray during a print job. I had to break the
 print job into two jobs and manually call
 gtk_print_settings_set_default_source() inbetween jobs.
 Ideally GTK should be able to change tray *and* paper orientation/size
 during a print job. There doesn't seem to be an RFE for this, but I
 think it would be a good feature.

I'm not sure this is even possible.   Tray select, duplex, etc... are
often encoded in either the PCL preamble of a print job or in a PJL
envelope [common for Postscript].  They really are attributes of the
*job*.

I'd guess that Gtk/GNOME would have to 'emulate' this behavior by
splitting the ob silently into multiple jobs.  That could get wierd.

-- 
Adam Tauno Williams  GPG D95ED383
Systems Administrator, Python Developer, LPI / NCLA

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list