Package conduit :: Package gtkui :: Module UI :: Class MainWindow
[hide private]

Class MainWindow

source code

The main conduit window.

Instance Methods [hide private]
 
__init__(self, conduitApplication, moduleManager, typeConverter, syncManager)
Constructs the mainwindow.
source code
 
on_developer_menu_item_clicked(self, menuitem, name, url) source code
 
on_conduit_added(self, syncset, cond) source code
 
set_model(self, syncSet) source code
 
present(self)
Present the main window.
source code
 
minimize_to_tray(self)
Iconifies the main window
source code
 
is_visible(self)
Returns True if mainWindow is visible (not minimized or withdrawn)
source code
 
on_sync_started(self, thread) source code
 
on_sync_completed(self, thread, aborted, error, conflict) source code
 
on_synchronize_all_clicked(self, widget)
Synchronize all valid conduits on the canvas
source code
 
on_cancel_all_clicked(self, widget)
Cancels all currently runnings syncs
source code
 
on_clear_canvas(self, widget)
Clear the canvas and start a new sync set
source code
 
on_conduit_preferences(self, widget)
Show the properties of the current sync set (status, conflicts, etc Edit the sync specific properties
source code
 
on_about_conduit(self, widget)
Display about dialog
source code
 
on_help(self, widget)
Display help
source code
 
on_window_state_event(self, widget, event) source code
 
on_window_closed(self, widget, event=None)
Check if there are any synchronizations currently in progress and ask the user if they wish to cancel them
source code
 
drop_cb(self, wid, context, x, y, time)
drop cb
source code
 
drag_data_received_data(self, treeview, context, x, y, selection, info, etime)
DND
source code
 
save_settings(self, widget)
Saves the application settings to an XML document.
source code
Method Details [hide private]

__init__(self, conduitApplication, moduleManager, typeConverter, syncManager)
(Constructor)

source code 
Constructs the mainwindow. Throws up a splash screen to cover the most time consuming pieces

present(self)

source code 
Present the main window. Enjoy your window

save_settings(self, widget)

source code 
Saves the application settings to an XML document. Saves the GUI settings (window state, position, etc to gconf)