Back to index

system-config-printer  1.3.9+20120706
Public Member Functions | Public Attributes | Static Public Attributes
scp-dbus-service.ConfigPrintingPrinterPropertiesDialog Class Reference
Collaboration diagram for scp-dbus-service.ConfigPrintingPrinterPropertiesDialog:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def PrintTestPage
def Finished
def on_dialog_closed

Public Attributes

 dialog
 closed_handle

Static Public Attributes

string in_signature = ''
string signature = ''

Detailed Description

Definition at line 338 of file scp-dbus-service.py.


Constructor & Destructor Documentation

def scp-dbus-service.ConfigPrintingPrinterPropertiesDialog.__init__ (   self,
  bus,
  path,
  xid,
  name 
)

Definition at line 339 of file scp-dbus-service.py.

00339 
00340     def __init__ (self, bus, path, xid, name):
00341         bus_name = dbus.service.BusName (CONFIG_BUS, bus=bus)
00342         dbus.service.Object.__init__ (self, bus_name=bus_name, object_path=path)
00343         self.dialog = printerproperties.PrinterPropertiesDialog ()
00344         self.dialog.dialog.set_modal (False)
00345         handle = self.dialog.connect ('dialog-closed', self.on_dialog_closed)
00346         self.closed_handle = handle
00347         self.dialog.show (name)
00348         self.dialog.dialog.set_modal (False)
00349         g_killtimer.add_hold ()


Member Function Documentation

def scp-dbus-service.ConfigPrintingPrinterPropertiesDialog.Finished (   self)

Definition at line 358 of file scp-dbus-service.py.

00358 
00359     def Finished (self):
00360         pass

def scp-dbus-service.ConfigPrintingPrinterPropertiesDialog.on_dialog_closed (   self,
  dialog 
)

Definition at line 361 of file scp-dbus-service.py.

00361 
00362     def on_dialog_closed (self, dialog):
00363         dialog.destroy ()
00364         g_killtimer.remove_hold ()
00365         self.Finished ()
00366         self.dialog.disconnect (self.closed_handle)
00367         self.remove_from_connection ()

Here is the call graph for this function:

def scp-dbus-service.ConfigPrintingPrinterPropertiesDialog.PrintTestPage (   self)

Definition at line 352 of file scp-dbus-service.py.

00352 
00353     def PrintTestPage (self):
00354         debugprint ("Printing test page")
00355         return self.dialog.printTestPage ()


Member Data Documentation

scp-dbus-service.ConfigPrintingPrinterPropertiesDialog.closed_handle

Definition at line 345 of file scp-dbus-service.py.

scp-dbus-service.ConfigPrintingPrinterPropertiesDialog.dialog

Definition at line 342 of file scp-dbus-service.py.

string scp-dbus-service.ConfigPrintingPrinterPropertiesDialog.in_signature = '' [static]

Definition at line 351 of file scp-dbus-service.py.

string scp-dbus-service.ConfigPrintingPrinterPropertiesDialog.signature = '' [static]

Definition at line 357 of file scp-dbus-service.py.


The documentation for this class was generated from the following file: