Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(4)  |  Derive(0)  |  Import(2)

src/w/a/wasp-HEAD/sw/groundstation/tablet.py   wasp(Download)
from gs.plugin import PluginManager
from gs.ui import message_dialog
from gs.ui.info import InfoBox
from gs.ui.graph import Graph, GraphHolder, GraphManager
from wasp.messages import MessagesFile
    def make_status_page(self, show_uav_info=True, show_build=False, show_comm_status=False):
        #hbox for info pages
        ihb = gtk.HBox(homogeneous=True, spacing=5)
        if show_uav_info:
            info = InfoBox(self._source, self._settingsfile, show_images=False, show_build=False, show_comm_status=False)
            ihb.pack_start(info.widget)
        if show_build or show_comm_status:
            vb = gtk.VBox(spacing=5)
            if show_build:
                info = InfoBox(self._source, self._settingsfile, show_images=False, show_uav_status=False, show_build=True, show_comm_status=False)
                vb.pack_start(info.widget, False, False)
            if show_comm_status:
                info = InfoBox(self._source, self._settingsfile, show_images=False, show_uav_status=False, show_build=False, show_comm_status=True)
                vb.pack_start(info.widget, False, False)
            ihb.pack_start(vb, False, True)

src/w/a/wasp-HEAD/sw/groundstation/gs/groundstation.py   wasp(Download)
from gs.ui.msgarea import MsgAreaController
from gs.ui.statusbar import StatusBar
from gs.ui.info import InfoBox
from gs.ui.log import LogBuffer, LogWindow
from gs.ui.map import Map
        self._msgarea = MsgAreaController()
        self._sb = StatusBar(self._source)
        self._info = InfoBox(self._source, self._settingsfile)
        self._statusicon = StatusIcon(icon, self._source)